Commit Graph

973 Commits

Author SHA1 Message Date
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps folder, that is a bug for older luarocks (#1471)
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.

We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
dabue
46a94d1bb6
doc: fix some doc styles for files in doc/ (#1475) 2020-04-20 09:07:42 +08:00
dabue
ea97645137
doc: update README_CN.md (#1468)
Fix #1466
2020-04-18 19:11:48 +08:00
Nirojan Selvanathan
fe1732ce2b
doc: Add external loggers to the Read Me file (#1454) 2020-04-16 19:22:44 +08:00
dabue
3405b61d7a
doc: fix some doc styles by markdownlint (#1460) 2020-04-16 19:21:46 +08:00
罗泽轩
9baad7856b
bug(proxy-rewrite): reject invalid header (#1462) 2020-04-16 19:01:19 +08:00
YuanSheng Wang
c31edf3899
bug: uri safe encode. (#1461) 2020-04-16 08:00:45 +08:00
Wen Ming
f39dd6efa2
bugfix: only allow 127.0.0.1 access admin API and dashboard by default. (#1458) 2020-04-15 22:39:11 +08:00
dabue
48b56039f7
doc: fixed doc style of how-to-build-cn.md and how-to-build.md (#1448) 2020-04-15 10:28:12 +08:00
dabue
8876b7f79d
doc: fix style for CHANGELOG.md. (#1446) 2020-04-15 10:11:35 +08:00
YuanSheng Wang
bead35007b
travis: When the error message is found, set the exit code to 1. (#1445) 2020-04-13 10:45:13 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua to search path. (#1443) 2020-04-13 09:54:07 +08:00
YuanSheng Wang
bd5fc91e25
doc: minor style. (#1442) 2020-04-13 09:48:32 +08:00
YuanSheng Wang
669772f5d5
bugfix: check if the service's upstream node is host. (#1402) 2020-04-12 09:31:58 +08:00
Zhang Qiang
c3893a5c08
doc: update admin-api doc (#1433)
clarify route priority sorting rule.
2020-04-10 10:12:19 +08:00
Wen Ming
1e269aab0f
doc: updated link of user wall. (#1428)
fixed #1424
2020-04-08 22:59:30 +08:00
YuanSheng Wang
256cc19980
bugfix: throw error meg when call admin API to enable mqtt plugin but stream_proxy is disabled. (#1407) 2020-04-08 16:24:55 +08:00
YuanSheng Wang
4a50ad4dfa
update lua-resty-healthcheck to version 2.2.0 . (#1417) 2020-04-08 15:52:28 +08:00
paoying
c91da997eb
feature(jwt-auth): support base64 secret for jwt-auth plugin. (#1224) 2020-04-08 09:34:14 +08:00
Ayeshmantha Perera
285af562ea
change(tcp-logger): fix small error log. (#1411) 2020-04-08 09:31:14 +08:00
Lien
f5a078274f
feature: add service name and report local server IP for Zipkin plugin (#1386) 2020-04-08 08:47:41 +08:00
YuanSheng Wang
076ecf3ade
bugfix: should not drop the error msg of dns_parse. (#1398)
fix #573 .
2020-04-06 11:04:09 +08:00
Ayeshmantha Perera
2e5f982459
Refactor the way to run global rule in log/header filter/body filter (#1393) 2020-04-04 08:23:36 +08:00
agile6v
8e9cd56c63
Fixed some typos. (#1391) 2020-04-03 21:38:13 +08:00
Nirojan Selvanathan
25e110135a
featue: Updating the UDP logger to use the batch processor util (#1355) 2020-04-03 16:33:32 +08:00
wonglend
f653c1b115
feature: add example .yaml resource files which support to run Apache APISIX on kubernetes (#1218) 2020-04-03 12:54:25 +08:00
Nirojan Selvanathan
d90e982e6e
feature: Updating TCP logger to use the batch processor util (#1356) 2020-04-03 10:54:05 +08:00
罗泽轩
eb358e94c8
bugfix: plugin in header_filter/body_filter should be run like log phase (#1383) 2020-04-02 17:20:13 +08:00
Lien
69d2039520
plugin(response-rewrite): rewrite binary data to client by base64 (#1381) 2020-04-02 12:03:58 +08:00
dabue
5d50895790
change: update to use the local DNS resolver by default (#1387)
close #1378
2020-04-02 09:16:24 +08:00
罗泽轩
e24fd851a3
change: blacklist $request_method in proxy-cache's cache key. (#1385)
Close #1307
2020-04-02 08:55:48 +08:00
Ayeshmantha Perera
b61db0865a
feature: support to run header_filter and body_filter phase for global rules. (#1364) 2020-04-02 08:46:00 +08:00
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
wonglend
ef76d2700b
bugfix: remove misc --add-dynamic-module for tengine branch ci test cases (#1377)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`

* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`

* bugfix: remove misc `--add-dynamic-module` for tengine since we do not set `load_module` in nginx.conf
2020-03-31 21:51:49 +08:00
xxm404
88385992e3
doc: Fix json format error. (#1373) 2020-03-31 13:56:07 +08:00
iGeeky
84707263d0
plugin(wolf-rbac): added new api change_pwd and user_info. (#1204) 2020-03-31 13:39:49 +08:00
qiujiayu
11a9646866
change: check item count of DNS resolver (#1361) 2020-03-31 13:37:50 +08:00
YuanSheng Wang
d7f54ff518
feature: support to print log with specific prefix. (#1284) 2020-03-31 10:25:05 +08:00
SuperWalle
12677c322b
feature: Allow add custom shared dict (#1367) 2020-03-31 10:22:58 +08:00
wonglend
d0900caf27
feature: merge upstream tengine (2.3.2 < version < 2.3.3) patches (#1371)
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Delete unused variable`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `POST request with keepalive peer cause 400 response`
* feature: merge upstream tengine (2.3.2 < version < 2.3.3) patch: `Memory content leak in nginx "rewrite" implementation`
2020-03-31 08:38:16 +08:00
Ayeshmantha Perera
661f3adfbc
feature: updated openresty to 1.15.8.3 (#1363) 2020-03-30 16:52:53 +08:00
Nirojan Selvanathan
7585382bd1
Adding code style and doc linting tool for contribution guidelines (#1368) 2020-03-30 16:52:14 +08:00
Nirojan Selvanathan
52934b5fc7
Batch Processor: Fix for rescheduling execution for max_retry_count is 0 and 1 (#1349) 2020-03-30 09:44:33 +08:00
Nirojan Selvanathan
c3400867d5
Adding test case for public key based introspection (#1354) 2020-03-30 09:42:27 +08:00
YuanSheng Wang
aa13b72c0d
luacov: add new path plugins/limit-count and plugins/utils. (#1357) 2020-03-29 10:58:11 +08:00
Vinci Xu
c363ea46d9
feature: add cors plugin (#1327) 2020-03-29 10:30:59 +08:00
Wen Ming
7ff43d51ca
dashboard: add dashboard as submodule. (#1360) 2020-03-29 10:06:42 +08:00
YuanSheng Wang
51684de77b
bugfix: fail to get the http request header by ngx.var. * (#1348)
* bugfix: to get the HTTP request header by `ngx.var.*`, we need to convert
  the name to lower case with dashes replaced by underscores.

more information:

http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_

* change: the key should be a string object when fetching a value from `ctx.var`.

* bug(make lint): If the code style is bad, do exit with code 1.
2020-03-27 23:13:46 +08:00
YuanSheng Wang
f06f36186e
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address. (#1347)
for tengine case.
2020-03-27 16:34:32 +08:00
YuanSheng Wang
0c98fed398
bugfix: use 127.0.0.1 instead of localhost, avoid to get a IPv6 address, (#1346)
the travis ENV does not support IPv6 address.
2020-03-27 15:50:40 +08:00