Commit Graph

1898 Commits

Author SHA1 Message Date
罗泽轩
8983a8dd27
fix(etcd): avoid getting with prefix (#2772)
Fix #2771.
2020-11-17 21:28:55 +08:00
罗泽轩
671d184ceb
bugfix: we didn't keep the create_time correctly (#2760) 2020-11-17 18:39:28 +08:00
罗泽轩
dec9518d3c
test: improve bin/apisix test cases. (#2761)
* test: improve bin/apisix test cases.

Avoid modifying config-default,yaml directly.

* unset APISIX_PROFILE

* increase sleep time
2020-11-17 18:00:30 +08:00
HelloBug0
a3f537b999
docs: add node-status.md in English to the doc (#2752) 2020-11-17 16:34:02 +08:00
Wen Ming
1c4a3fd274
CI: remove travis. (#2773) 2020-11-17 16:16:29 +08:00
HelloBug0
c1ac7d6952
docs: add a English link of node-status.md (#2753) 2020-11-16 20:06:46 +08:00
idbeta
4d316bc068
call the checker:clear() before call the checker:stop() . (#2747) 2020-11-16 13:08:31 +08:00
Firstsawyou
8166f7a2d7
fix: the log report of the custom log format is incorrect. (#2729)
fix #2723
2020-11-15 19:46:50 +08:00
罗泽轩
cce4f516c0
chore: add a deprecate log for enable_websocket in upstream (#2691) 2020-11-15 19:40:37 +08:00
罗泽轩
02ec388a6f
ci: refactor runners (#2722) 2020-11-15 19:39:50 +08:00
罗泽轩
f2655013b1
fix(etcd): handle etcd compaction (#2687)
Close #2680
2020-11-15 19:38:29 +08:00
罗泽轩
0654687aed
test: write the config.yaml according to the profile (#2736) 2020-11-15 19:36:53 +08:00
罗泽轩
23a47b9eac
fix: user's route was prior to the plugin's one (#2733) 2020-11-15 17:28:56 +08:00
罗泽轩
91d99452c5
test: check SSL configuration for stand alone mode (#2705) 2020-11-15 17:23:02 +08:00
罗泽轩
58cba26e51
fix(http-logger): validate uri (#2708) 2020-11-15 17:22:25 +08:00
罗泽轩
da4e12e0f7
feat: generate create/update_time automatically (#2740) 2020-11-15 17:20:51 +08:00
罗泽轩
6b52811557
feat: support ENV variable in configuration (#2743)
Close #2675.
2020-11-14 19:39:29 +08:00
Firstsawyou
3ff46e28eb
chore: code format optimization of t/lib/server.lua file. (#2742)
fix #2697
2020-11-13 22:27:03 +08:00
Alex Zhang
3c12b61207
docs: mentioned the etcd gRPC gateway (#2734) 2020-11-13 16:08:43 +08:00
琚致远
b2c4df7df2
fix(docs): kafka-logger in Chinese (#2728)
fix https://github.com/apache/apisix/issues/2719
2020-11-13 13:45:41 +08:00
罗泽轩
dadebc7e75
docs: clarify how we handle disabled plugin which is matched (#2706) 2020-11-13 13:30:06 +08:00
idbeta
358d83a757
docs: modify the stand-alone.md to add instructions for enable SSL (#2702) 2020-11-13 09:21:36 +08:00
idbeta
bbe6fc1ceb
modify batch-requests.md, example's --d should be --data (#2724) 2020-11-13 09:12:32 +08:00
罗泽轩
2f8762c22f
docs: add create/update_time fields (#2712)
Close #2654
2020-11-13 00:23:49 +08:00
罗泽轩
39879630ae
fix: reload plugin when plugin attribute is cahnged (#2704)
Close #2655
2020-11-13 00:23:30 +08:00
Firstsawyou
2ba28ff6a7
chore: sort the request headers output by the _M.uri and _M.old_uri function in t/lib/server.lua (#2696)
fix #2636
2020-11-12 14:37:51 +08:00
罗泽轩
8c9a0c39a3
fix: upgrade lua-resty-etcd to 1.4.2 (#2701) 2020-11-12 08:54:13 +08:00
罗泽轩
a2fa3ff89d
ci: self host openid configuration (#2698)
Also split long test
2020-11-11 11:38:25 +08:00
罗泽轩
b3f240c80c
feat: increase the length of rule name to 100 (#2667)
Close #2665
2020-11-11 10:36:28 +08:00
罗泽轩
1ea912d752
fix: use same config-default.yaml for different environments (#2663)
Close #2634.
2020-11-10 19:07:46 +08:00
dabue
70453aece3
chore(core): enabled websocket in route and service (#2593) 2020-11-10 16:56:38 +08:00
琚致远
9d4b4181c8
fix(doc): broken links (#2682) 2020-11-10 16:10:49 +08:00
罗泽轩
2c37f0e5f2
fix(key-auth): 'key' is required in consumer configuration (#2689)
Close #2686.

According to the
https://github.com/apache/apisix/pull/2120#discussion_r477153261,
instead of skipping consumer without key, we should make 'key' required
only for consumer configuration.
2020-11-10 16:08:46 +08:00
琚致远
81bcf61d62
feat(CI): create markdown-link-checker.yml (#2684)
* Create markdown-link-checker.yml

* Update markdown-link-checker.yml

Now we have all broken links, let's update this CI to only check modified files.
2020-11-10 14:05:58 +08:00
罗泽轩
3ba6629daa
feat: disable example-plugin by default (#2673)
Close #2659.
2020-11-10 08:46:54 +08:00
idbeta
14e544a6aa
doc: remove meanless content (#2669) 2020-11-09 23:08:07 +08:00
Yousa
0ff2ab8242
fix: disable ssl_session_tickets by default (#2641)
fix #2638

In a word, 'ssl_session_tickets' would make Perfect Forward Secrecy useless.

reference:
ingress-nginx:kubernetes/ingress-nginx#6196
mozilla:mozilla/server-side-tls#135
2020-11-09 22:44:26 +08:00
tzssangglass
53a8f5a2ed
fix: the jwt plugin does not handle the case where exp is empty. (#… (#2657)
fix #2649
2020-11-09 11:01:08 +08:00
罗泽轩
d2d826e6ab
fix(log-rotate): avoid creating multiple timers (#2596) 2020-11-09 09:09:33 +08:00
罗泽轩
ebf0563a40
change: disable skywalking by default. (#2632)
* fix: disable skywalking by default.

Close #2623.

* trailing sw

* clean test
2020-11-09 08:12:52 +08:00
YuanSheng Wang
021f24a7b2
docs: put the chapter "admin api" to the front, and sync the Chinese version from English version (#2650) 2020-11-08 11:44:54 +08:00
琚致远
6a6d8729a3
feat: added policy for semantic-pr (#2652)
According to https://github.com/zeke/semantic-pull-requests , we use this configuration to allow this bot to only to check PR's title.
2020-11-08 11:19:00 +08:00
YuanSheng Wang
4b349dc5b3
CI: specified to use openresty 1.17.8.2. (#2646)
will support `1.19.3.1` later.
2020-11-07 08:19:28 +08:00
Alex Zhang
188355494d
feat: hide APISIX version from Server header. (#2639)
Sometimes expose version is dangerous, which can be utilized by
malicious crackers when there are some security bugs in that version.
2020-11-07 00:04:28 +08:00
罗泽轩
2ad7f65659
fix(jwt-auth): validate if the claimed secret is base64 encoded. (#2642) 2020-11-06 23:48:21 +08:00
HelloBug0
3ab580fa71
docs: node-status.md (#2615)
* Create node-status.md

* Update node-status.md

* Update node-status.md

* Update node-status.md

1. add a blank line after #目录
2. remove some unnecessary lines

* Update node-status.md

1. add language type in code
2. change '插件属性为空' to ‘无’
3. change '接口插件' to '插件接口' which could add link to directory '插件接口'
2020-11-06 10:51:28 +08:00
tzssangglass
27875e5790
feat(jwt-auth): support to use of the RS256 algorithm (#2594)
* example for #2523

* fix: jwt-auth plugin RS256 algorithm is not easy to use. (#2523)

fix: add more test cases for jwt plugin. (#2355)

fix #2523

fix #2355
2020-11-06 10:16:20 +08:00
罗泽轩
3c89a437a1
chore: remove redundant installation of limit-count (#2631)
The directory is already installed a few lines above.
2020-11-05 21:18:28 +08:00
Firstsawyou
6061c8722b
fix: after proxy-mirror plugin mirroring request, http version change… (#2629)
fix #2618
2020-11-05 14:48:58 +08:00
罗泽轩
794393c3ae
chore: exclude ngx_tpl.lua from the style check (#2630) 2020-11-05 11:59:37 +08:00