Commit Graph

1361 Commits

Author SHA1 Message Date
dabue
e472d2c2db
doc: fixed some typo and incorrect examples in getting-started.md and syslog.md (#2458)
fix #2457
2020-10-28 22:24:32 +08:00
Firstsawyou
146e222e0c
fix: the plugin hmac-auth missed a \n (#2543)
* fix: the plugin hmac-auth missed a `\n`.
fix #2527

* docs: modify doc.

* fix: consumer-restriction.t and custom_hmac_auth.t
2020-10-28 13:37:22 +08:00
tzssangglass
9b63fd5710
feature: prometheus plugin apisix_http_status metric route tag Improve recognition (#2497)
fix #1574
2020-10-28 13:22:25 +08:00
Wen Ming
0ba62a8b98
doc: add videos of ApacheCon. (#2534) 2020-10-28 13:19:37 +08:00
Wen Ming
bf3300ae90
doc: fix steps of install from source code. (#2545) 2020-10-28 13:18:26 +08:00
Alex Zhang
d87ce33485
feature: support injecting lua_ssl_trusted_certificate. (#2519) 2020-10-28 06:49:20 +08:00
Vinci Xu
d08d9466d8
chore: change test case to keep stable (#2541) 2020-10-27 23:37:48 +08:00
琚致远
16f9753fde
feat(docs): update README (#2539)
more beautiful
2020-10-27 21:51:12 +08:00
Alex Zhang
3306a3ed3c
feature: support percentage for fault injection (#2516) 2020-10-27 14:10:44 +08:00
Wen Ming
ba324fe7f4
doc: fixed download links. (#2528) 2020-10-27 13:51:01 +08:00
YuanSheng Wang
6a7dfa6775
feat: implement api breaker plugin. (#2455)
Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-27 13:40:23 +08:00
JinChen
e2f450fa1a
feat:The limit-conn plugin supports 'consumer_name' field (#2415)
The limit-conn plugin supports the` consumer_name` field
The method of PR is referred: #2333
2020-10-27 10:44:44 +08:00
Yousa
dfc50fd95b
doc(readme): Contributor Over Time (#2454) 2020-10-27 10:42:15 +08:00
Firstsawyou
80affa0366
feat: The limit-count plugin supports service_id field. (#2521)
fix #2518
2020-10-27 10:41:07 +08:00
Wen Ming
443e7b43ba
release: release 2.0 version. (#2283) 2020-10-27 10:11:04 +08:00
Joey
5be8d850c0
doc: correct the guide of creating consumer guide in AdminAPI (#2513)
Fix #2512
2020-10-26 22:07:37 +08:00
罗泽轩
2a66762ca6
change(batch-requests): limit the body size to 1M (#2507)
To avoid blocking on reading large body file and
spending too much memory in encode JSON body.
2020-10-26 21:50:51 +08:00
罗泽轩
9500a8219a
change(jwt-auth): split schema to adapt different occasions (#2459)
Close #2288.
2020-10-26 20:26:11 +08:00
罗泽轩
009681179f
feat(response-rewrite): clear cache headers to avoid polluting the cache (#2504) 2020-10-26 20:25:53 +08:00
tashiya-menuri
a3663656f9
chore: correct log info (#2515)
Close #2449
2020-10-26 20:25:14 +08:00
罗泽轩
d5dc0e08d1
doc(http-logger): sync Chinese doc to the English one (#2510) 2020-10-25 07:54:38 +08:00
Firstsawyou
853a7be0f4
feat(hmac-auth): remove auth headers for hmac-auth plugin. (#2491)
fix #2490
2020-10-25 07:33:11 +08:00
Vinci Xu
1a6fb8ec2c
feat(CLI): worker and cpu optimization (#2153) 2020-10-22 16:28:26 +08:00
Wen Ming
e141e88f72
makefile: add release-src in makefile. (#2481) 2020-10-22 13:11:45 +08:00
RocFang
8895de35b0
optimize: read trailing bytes only one time in stand-alone mode. (#2493) 2020-10-22 11:44:12 +08:00
罗泽轩
0f15939a9c
fix: compare if the interceptors are injected by ourselves (#2484)
fix #2482.
2020-10-21 20:34:32 +08:00
罗泽轩
d86c480ec5
fix: previously we could not merge configuration without middle layer (#2476) 2020-10-21 09:59:45 +08:00
Joey
127dac9ebb
feat(prometheus): Add consumer metric data support (#2469)
* feat: Add consumer support for prometheus metrics

Signed-off-by: imjoey <majunjiev@gmail.com>

* Add more detailed comments for newly added consumer label

Signed-off-by: imjoey <majunjiev@gmail.com>
2020-10-21 09:32:52 +08:00
RocFang
a5f5c1ff59
doc: Consule=>Consul (#2480) 2020-10-21 06:43:53 +08:00
罗泽轩
ed1f08f926
fix(limit-conn): conn and default_conn_delay should > 0 (#2478)
Close #2472.
2020-10-20 20:45:51 +08:00
YuanSheng Wang
1f376ac872
CI: remove luacov in CI. (#2456) 2020-10-20 09:46:20 +08:00
muxueqz
df6d1e91a5
doc: fixed minor format issue in architecture-design.md. 2020-10-20 09:25:10 +08:00
罗泽轩
26e55a3e9c
doc: we can also use reload after configuration changed (#2460) 2020-10-19 18:16:51 +08:00
kiki
cb04193060
bugfix: modify json schema definition for plugin request-validation (#2451)
fix #2432 .
2020-10-19 16:04:12 +08:00
罗泽轩
26ad5cf892
doc(echo): mark it as production-unready (#2461) 2020-10-19 15:56:54 +08:00
罗泽轩
5906c73a07
fix: we didn't traverse the plugin interceptors correctly (#2462)
This bug is introduced in 6a543a9.
2020-10-19 15:55:32 +08:00
Alex Zhang
71dcf367d3
change: read 8bytes from /dev/urandom as the random seed for better randomness (#2437) 2020-10-19 14:53:48 +08:00
dabue
943be09500
feature(core): implement core.sleep (#2397) 2020-10-19 10:49:01 +08:00
尚墨
1fe4e50f5a
chore: show help message if the argument is invalid. (#2408) 2020-10-19 10:35:42 +08:00
JinChen
5fcbb4de9c
plugin(consumer-restriction): use draft7 way to rewrite the JSON Schema. (#2440)
fix: #2402
2020-10-19 09:55:08 +08:00
YuanSheng Wang
c9392627a8
bugfix: empty allow_admin means that any IP is allowed to access Admin API and Dashboard (#1979)
fix #1939
2020-10-17 19:26:48 +08:00
JinChen
9e1030ee42
feat: limit-count plugin supports limiting requests by consumer name. (#2421)
fixed #2333
2020-10-17 19:24:55 +08:00
haifeng9414
3bb670b521
bugfix: set route priority for router radixtree_host_uri. (#2447)
Fix: #2423.
2020-10-17 19:20:51 +08:00
nic-chen
a92331c27a
feature: add managed fields in json schema for resources, such as create_time and update_time (#2444)
* feature: add managed fields in jsonschema for resources, such as create_time and update_time
2020-10-17 18:48:02 +08:00
罗泽轩
6a543a98a2
feat: use interceptors to protect plugin's route (#2416) 2020-10-17 17:45:26 +08:00
Turein
90109ca678
feature: support multiple ports like stream listen in http and https … (#2409)
fix #1195
2020-10-17 17:44:26 +08:00
Firstsawyou
d1729c0af3
feat: In dns parse, when the parameter resolvers is empty, the local dns is used as resolvers by default (#2424)
fix #2422
2020-10-17 13:44:53 +08:00
YuanSheng Wang
c65f5c9465
feature: plugin limit-count support to use redis cluster (#2406)
fix #638

Co-authored-by: liuheng <liuhengloveyou@gmail.com>
2020-10-17 08:21:47 +08:00
Alex Zhang
7cb956302f
style: fixed some code style problems (#2438) 2020-10-16 22:16:43 +08:00
RocFang
1afa8f7727
style: move localized require in front of directives which calling it. (#2414) 2020-10-16 15:16:09 +08:00