Commit Graph

1099 Commits

Author SHA1 Message Date
roketyyang
7617e19982
feat: add opentelemetry plugin (#6119)
Co-authored-by: roketyyang <roketyyang@tencent.com>
2022-01-26 11:09:42 +08:00
罗泽轩
14f0889bad
fix(proto): avoid sharing state (#6199) 2022-01-26 09:16:43 +08:00
罗泽轩
023aa8f77e
docs: add missing } in the example (#6193) 2022-01-25 11:53:03 +08:00
罗泽轩
a44c98eefd
fix(limit-count): keep the counter if the plugin conf is the same (#6151) 2022-01-25 11:08:03 +08:00
帅进超
56d37db4f2
fix(GraphQL): no request body error (#6168) 2022-01-25 10:41:54 +08:00
罗泽轩
2914e057c9
ci: use codespell which is more sensitive (#6186) 2022-01-25 10:40:36 +08:00
Zeping Bai
f81788bdb0
feat: add public api plugin (#6145) 2022-01-24 15:11:05 +08:00
mango
a813b5aa89
fix(admin): correct the count field of plugin-metadata/global-rule (#6155) 2022-01-23 19:51:17 +08:00
罗泽轩
e59bd91b9b
docs(wasm): add forward-auth example (#6178) 2022-01-23 19:29:00 +08:00
帅进超
4e0ce48723
test: add grpc-web text format data case (#6179) 2022-01-23 19:27:54 +08:00
tzssangglass
800b890f8e
fix: add missing labels after merging route and service (#6177) 2022-01-21 17:21:20 +08:00
guoqqqi
8114ca5688
feat: add file-logger plugin (#5831) 2022-01-21 16:53:23 +08:00
罗泽轩
b8b2a0fc19
test: ensure custom variable can be used in log format (#6163) 2022-01-21 10:36:47 +08:00
Baoyuan
4d52c3e8e6
feat: add CSRF plugin (#5727)
* feat: add csrf plugin

* fix: format code

* feat: add plugin docs

* fix: adjust code

* fix: add docs in config.json

* fix: add plugin in plugins.t

* fix: format code

* Update apisix/plugins/csrf.lua

Co-authored-by: tzssangglass <tzssangglass@gmail.com>

* docs: modify inappropriate descriptions

* fix: change read cookie method

* fix: change variable name and add two blank lines

* Update docs/en/latest/plugins/csrf.md

Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>

* fix: add SameSite for cookie

* fix: move plugin name

* test: fix plugins test

* Update docs/zh/latest/plugins/csrf.md

Co-authored-by: 琚致远 <juzhiyuan@apache.org>

* fix: improved documentation

* docs: optimize documents

* test: add some tests

* fix: lint test code

* test: perfect test

* fix: lint code

* fix: update test

* test: add space before number

* fix: optimization code

* Update apisix/plugins/csrf.lua

Co-authored-by: Bisakh <bisakhmondal00@gmail.com>

Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
Co-authored-by: Bisakh <bisakhmondal00@gmail.com>
2022-01-18 13:48:01 +05:30
Yu.Bozhong
3773f2626e
feat(plugin config): add dependency for delete plugin config (#6092) 2022-01-18 14:55:09 +08:00
Jager
f718dc8faf
feat: supports to logging apisix_latency and upstream_latency. (#6063)
Co-authored-by: Jagerzhang <jagerzhang@tencent.com>
2022-01-18 09:21:10 +08:00
罗泽轩
ebf622242a
test: merge the delete-* cases into admin group cases (#6121) 2022-01-17 19:11:19 +08:00
tzssangglass
94088cde46
fix(ngx_tpl): fix position of apisix_mirror_on_demand (#6100) 2022-01-17 09:56:36 +08:00
tzssangglass
7947350d21
chore: fix perf test deps and note (#6120) 2022-01-16 20:54:40 +08:00
罗泽轩
73cefc4cee
chore(forward-auth): rename address to uri (#6114) 2022-01-16 19:31:06 +08:00
Zeping Bai
77626e05a1
chore: clean core request module (#6108) 2022-01-14 18:28:06 +08:00
Zeping Bai
d026c69e0c
chore: update forward-auth address schema (#6110) 2022-01-14 18:27:36 +08:00
罗泽轩
f5db06846f
test(serverless): split test to solve strange failure (#5988) 2022-01-14 16:48:26 +08:00
罗泽轩
e69f9bee98
feat(mqtt): balance by client id (#6079) 2022-01-14 16:47:18 +08:00
tzssangglass
92ac6d901d
chore: reindex format of basic_auth.t (#6101) 2022-01-14 15:08:35 +08:00
encanto
4783ad550d
feat: support custom package, headers and body in openwhisk plugin (#5923)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Zeping Bai <bzp20000818@gmail.com>
2022-01-14 14:51:44 +08:00
mango
d7fda7ee69
feat: support hide the authentication header in basic-auth with a config (#6039)
Co-authored-by: xuwei <>
2022-01-14 12:55:06 +08:00
罗泽轩
54289722df
feat: set proxy_request_buffering dynamically (#6075) 2022-01-14 11:00:47 +08:00
罗泽轩
7a31ec786d
fix: upgrade jsonschema to 0.9.6 (#6091) 2022-01-14 09:35:18 +08:00
Zhendong Qi
f3d7550435
fix: the prometheus lables are inconsistent when using the same batch-processor instance on multi plugins (#6055)
Co-authored-by: qizhendong <qizhendong@cmss.chinamobile.com>
2022-01-13 09:08:10 +08:00
leslie
ff4e2894f4
fix(ipv6): allow disabling IPv6 resolve (#6023) 2022-01-12 17:17:07 +08:00
帅进超
d4a7ea208f
chore(grpc-web): update mime of response to mime of request (#6070) 2022-01-12 09:11:45 +08:00
Zeping Bai
8dbdd1f688
feat: add forward-auth plugin (#6037)
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
2022-01-11 10:38:35 +08:00
罗泽轩
eb0bf87b38
feat(L4): support TLS over TCP upstream (#6030) 2022-01-11 10:29:56 +08:00
罗泽轩
265b06bdd3
change(serverless): rename "balancer" phase to "before_proxy" (#5992) 2022-01-11 10:29:23 +08:00
帅进超
ddb9cd28bf
feat(grpc-web): support gRPC-Web Proxy (#5964) 2022-01-09 23:59:32 +08:00
罗泽轩
609b504112
ci: rewrite CI job to a regular test (#6052) 2022-01-09 23:53:07 +08:00
罗泽轩
e8229f51c6
test: doc & simpify stream part of the test framework (#6041) 2022-01-09 19:18:54 +08:00
罗泽轩
045fa33266
test: add missing shdict (#6022) 2022-01-06 08:55:16 +08:00
seven dickens
3f66fab63e
fix: resolve unambiguous fully-qualified domain name(FQDN), i.e. ended in a dot (#5999) 2022-01-05 09:32:13 +08:00
罗泽轩
c6f1a83c6f
feat(limit-count): add constant key type (#5984)
Co-authored-by: Yu.Bozhong <y.bz@foxmail.com>
Co-authored-by: Bisakh <bisakhmondal00@gmail.com>
2022-01-05 09:05:19 +08:00
罗泽轩
2f277072cc
test(UDP): use longer timeout to avoid 'echo: write error: Broken pipe' (#5989) 2022-01-03 19:40:40 +08:00
罗泽轩
b57420105f
fix(datadog): keep consistent with the other logger (#5972) 2022-01-03 19:24:43 +08:00
罗泽轩
fea01a78b1
feat: allow setting proxy_request_buffering without disabling proxy-mirror (#5943) 2022-01-02 17:49:31 +08:00
Hao Xin
0920d1d21f
feat(prometheus): Add metric prefix attr (#5960) 2021-12-31 09:26:44 +08:00
Zeping Bai
4a66b79803
feat: support send APISIX data to assist decision in OPA plugin (#5874) 2021-12-29 20:19:02 +08:00
罗泽轩
0a8de202dc
feat: support registering custom variable (#5941) 2021-12-29 11:39:52 +08:00
arabot777
9106401521
feat(plugin): add degradation switch for ext-plugin (#5897)
Co-authored-by: tzssangglass <tzssangglass@gmail.com>
Co-authored-by: 罗泽轩 <spacewanderlzx@gmail.com>
Co-authored-by: liushan03 <liushan03@meicai.cn>
2021-12-28 09:39:20 +08:00
罗泽轩
ae2e653f6b
fix(mqtt): handle properties for MQTT 5 (#5916) 2021-12-27 21:01:59 +08:00
tzssangglass
db5813ff9a
fix(logger): remove incorrect item type of include req/resp body expr (#5886) 2021-12-27 15:42:40 +08:00