Commit Graph

1705 Commits

Author SHA1 Message Date
Radhika
0222db7bf3
docs: corrected typo in doc (#3030) 2020-12-14 08:49:33 +08:00
琚致远
839c5d7f07
feat: added improve docs issue template (#3031) 2020-12-14 08:48:59 +08:00
罗泽轩
2457aa1e4d
feat: check if Admin API is used with etcd config_center (#3018) 2020-12-13 23:08:15 +08:00
John Bampton
dcdbc1cc9e
chore: spelling (#3027) 2020-12-13 19:31:24 +08:00
diaosj
69c7987390
style: add space character before keyword "then" (#3028) 2020-12-13 19:22:27 +08:00
John Bampton
aed3e818e0
docs: remove unneeded whitespace from Markdown (#3026) 2020-12-13 14:15:07 +08:00
John Bampton
3c01db5ef0
chore: spelling (#3012)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: YuanSheng Wang <membphis@gmail.com>
2020-12-13 00:04:48 +08:00
Shuyang Wu
b7325f033e
fix: enable ssl as default, using placeholder certificate (#3013) 2020-12-11 17:44:41 +08:00
diaosj
0cda6cb267
style: local var [http_statuses] redefined in apisix/init.lua (#3015)
local var [http_statuses] was defined at line 686
2020-12-11 12:12:58 +08:00
罗泽轩
cc9c1bb090
ci: check misspell (#3011)
Fix #3009
2020-12-10 23:05:36 +08:00
罗泽轩
0eacf3af7d
feat: improve jsonschema validation on route resource (#3008)
fix #2671
fix #2991
2020-12-10 22:53:53 +08:00
罗泽轩
93e2f1647a
feat: route accroding to the graphql attributes (#2964)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:51:00 +08:00
罗泽轩
85a84fb191
fix: avoid unnecessary type check and support var in local_conf (#2990)
Also merge bundle of repeated code.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:48:47 +08:00
罗泽轩
d8176dca63
fix: avoid duplicate auto-generated id (#3003)
Fix #2950

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-10 15:13:09 +08:00
YuanSheng Wang
a670ea2f2e
bugfix: always necessary to save the data of the limit concurrency, and release the statistical status in the log phase. (#2465)
fix #2450
2020-12-10 14:50:15 +08:00
罗泽轩
270aef027a
test: make node/merge-route.t stable (#2999)
The time_window field might be the last one, which doesn't have ','

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 17:08:26 +08:00
guoqqqi
c47eacaf97
docs: Update server-info.md (#3001)
resolve #3000
2020-12-09 16:38:07 +08:00
罗泽轩
9918efbe5b
test: solve conflict between #2993 and #2943 (#2997)
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 14:30:46 +08:00
Alex Zhang
59cc446c15
chore: refactor ops in command line(CLI) (#2929) 2020-12-09 13:23:21 +08:00
tzssangglass
c7b198f969
feat: support enable/disable route (#2943)
fix #2737
2020-12-09 10:38:21 +08:00
Alex Zhang
7855d9eed2
feat: implement new plugin server-info (#2926)
close #2821
2020-12-09 10:07:57 +08:00
罗泽轩
1e882e378d
feat: delete useless data in the response (#2993)
Fix #2759

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-09 08:53:38 +08:00
罗泽轩
471997702b
fix: we should use [1, 100] for percentage instead of [0, 100] (#2980)
Previously, we got n+1/101 as the percentage.
2020-12-08 23:17:18 +08:00
罗泽轩
93241949b4
chore(skywalking): the range of sample rate should be [0, ratio) (#2984) 2020-12-08 23:16:22 +08:00
YuanSheng Wang
32c7df44ca
docs: update CVE information in the CHANGELOG of 2.0 (#2987) 2020-12-08 17:49:28 +08:00
罗泽轩
79075000aa
feat(fault-injection): support Nginx variable in abort.body (#2986)
Fix #2827
2020-12-08 13:18:34 +08:00
罗泽轩
6cd780cb93
feat: install lua-resty-hmac-ffi (#2981)
Fix #2256
2020-12-07 21:56:40 +08:00
罗泽轩
97ed426b4e
fix: refresh cached header when we set request header (#2917) 2020-12-07 21:50:31 +08:00
罗泽轩
08d25ebc51
test: make node/merge-route.t stable (#2978) 2020-12-07 20:21:12 +08:00
罗泽轩
1b8dca96ac
feat: increase the delay before resync (#2977)
It improves the behavior under #2899.
2020-12-07 20:20:31 +08:00
roketyyang
c41aa8534a
feat: update lua-resty-radixtree to 2.5 (#2971)
Co-authored-by: roketyyang <roketyyang@tencent.com>
2020-12-05 21:32:58 +08:00
罗泽轩
2472db56c8
chore: handle error when connecting with passwd to etcd without auth (#2963) 2020-12-05 01:08:44 +08:00
Alex Zhang
bca2d10ebc
feat: detect whether etcd gRPC gateway is enabled in command line (#2961)
Signed-off-by: Alex Zhang <zchao1995@gmail.com>
2020-12-05 00:01:43 +08:00
Alex Zhang
37efc410f0
fix: fixed the non-effective plugin configuration update in tcp/udp-logger plugin (#2928) 2020-12-04 23:55:38 +08:00
guyang
21a18c17f3
fix: change string concat (#2953)
* change  string concat

* change function range

* change function space

* change local var

* fix test case
2020-12-04 22:43:34 +08:00
罗泽轩
2f3ab6a2bc
feat: disable node-status by default (#2968)
Fix #2952
2020-12-04 22:25:11 +08:00
罗泽轩
7ecf8f809a
chore: simpify the consumer attach in auth plugin (#2942) 2020-12-04 22:08:50 +08:00
Alex Zhang
9e3c34a010
doc: etcd grpc gateway faq (#2940) 2020-12-03 12:31:57 +08:00
Yousa
a52b5e9b3b
test: add git submodule update --init --recursive (#2934) 2020-12-03 10:39:32 +08:00
罗泽轩
0eca472d9c
docs: add missing consumer username in English version (#2894) 2020-12-03 08:50:41 +08:00
罗泽轩
f84a44e409
feat(limt-count): use 'remote_addr' as default key (#2927) 2020-12-02 17:04:31 +08:00
罗泽轩
33d70d17f8
fix: we should check the length of input before calling memcmp (#2925)
To avoid accessing memory which is out of bound.
2020-12-02 16:30:39 +08:00
罗泽轩
bbbd10e1b3
feat: validate the operator in vars (#2911)
Fix #2878
2020-12-02 15:37:07 +08:00
罗泽轩
a019b4e4d0
test: improve chash-balance cases (#2920)
Fix #2914
2020-12-02 15:12:00 +08:00
Jens Keiner
eebaaf7512
chore: Fix Authorization header name in auth-keycloak plugin. (#2913)
The `auth-keycloak` plugin expects to find a bearer token in the standard `Authorization` header. However, it tries to obtain a token from a header called `authorization`, i.e. not properly capitalized. This PR fixes the capitalization so the correct header is used; cf. https://en.wikipedia.org/wiki/List_of_HTTP_header_fields.
2020-12-02 07:41:29 +08:00
Mark Huang
3de6842092
feat: confirm only part of the etcd kvs (#2846)
* feat: confirm part of the etcd kvs

* feat: check etcd keys by grep
2020-12-01 23:34:48 +08:00
Jens Keiner
3279f9417a
chore: change phase to access from rewrite(authz-keycloak plugin) (#2910)
Remove auth designation since this plugin is concerned with authorization, not authentication.
2020-12-01 23:11:15 +08:00
Alex Zhang
fa30c102e0
fix: fixed the non effective config update in http-logger (#2901)
* change: changed log level when delete stale batch processor objects

close #2870
2020-12-01 23:06:33 +08:00
Jens Keiner
c140d0eddc
fix: Basic auth plugin should run in rewrite phase. (#2905) 2020-12-01 23:03:45 +08:00
罗泽轩
ddfeb5de1d
fix: reject "" for route's remote_addrs (#2907)
This change imroves the IP schema validation.
2020-12-01 15:44:50 +08:00