Commit Graph

1042 Commits

Author SHA1 Message Date
YuanSheng Wang
a446cd057b
change: limit the maximum length of Lua code to 100. (#1525) 2020-04-29 21:44:13 +08:00
Nirojan Selvanathan
d970dab5c2
doc: fixed wrong configurations in the logger docs (#1530) 2020-04-29 21:43:38 +08:00
Vinci Xu
3a9e0fc675
feature: add batch request plugin. (#1388) 2020-04-29 21:40:45 +08:00
Nirojan Selvanathan
c6cc2b5fcb
plugin(kafka-logger): Updating kafka logger to use the batch processor util (#1358) 2020-04-29 12:12:41 +08:00
YuanSheng Wang
89a07efb51
test: reindex by tools reindex. (#1519) 2020-04-28 18:54:14 +08:00
罗泽轩
972840ec96
fix: skip tombstone mark when iterating the global values (#1517)
Close #1473.
2020-04-28 17:25:55 +08:00
YuanSheng Wang
0f3310562c
bugfix: init clean_handlers when add new item from etcd. (#1412)
fix #1384
2020-04-28 16:01:04 +08:00
dabue
50d2957a8a
doc: fix the doc style for serverless*.md (#1511) 2020-04-28 15:53:29 +08:00
罗泽轩
06acbe9047
test: check lua code style in all Lua file under apisix/ (#1518) 2020-04-28 15:53:04 +08:00
nic-chen
a53b4707fb
feat: support saving k8s deployment info to upstream (#1502)
* feat: support save k8s deployment info to upstream
2020-04-27 10:47:17 +08:00
Wen Ming
d426bbb228
doc: update steps of build dashboard. (#1506) 2020-04-26 11:05:22 +08:00
Wen Ming
0e828f444b
rocks: used tag instead of branch. (#1503) 2020-04-26 11:05:09 +08:00
罗泽轩
ca91387a60
test: fix regex usage in some cases (#1504) 2020-04-26 10:43:08 +08:00
eiyouwang
a5cb1bebe9
doc: add short introduction about how to change log level (#1484) 2020-04-24 12:24:08 +08:00
YuanSheng Wang
c351b38086
bugfix(lrucache): when creating cached objects, use resty-lock to avoid repeated creation. (#1486)
* bugfix(lrucache): one common use case for this library is avoid the so-called "dog-pile effect",
    that is, to limit concurrent backend queries for the same key when a cache miss happens.
* bugfix: catch the error messag by pcall, it may fail when generate new validator.
2020-04-22 17:47:16 +08:00
Wen Ming
19663a87a0
bug: fixed wrong string join in limit-count plugin. (#1487) 2020-04-22 13:27:00 +08:00
琚致远
96c9642e01
doc(readme.md): upload Node.js version for building dashboard. (#1485) 2020-04-22 09:48:53 +08:00
Wen Ming
9a2ab9d0eb
release: released 1.2 version. (#1436) 2020-04-21 09:14:01 +08:00
YuanSheng Wang
216c854201
Travis: install the luacov when create deps folder (#1477)
fix travis: https://travis-ci.org/github/apache/incubator-apisix/jobs/677082965#L524

Install the luacov when create deps folder.

Then we can avoid installing "luacov" after copying "deps" from the "build-cache" folder to the current folder.
2020-04-20 15:05:05 +08:00
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