行者
bb629bc7eb
docs: Fix character error at plugin, style output error, and link cannot be used ( #3176 )
2021-01-04 09:13:08 +08:00
John Bampton
b72e2c56be
docs: lint Markdown files ( #3177 )
...
Lint Markdown for rules:
- MD031/blanks-around-fences
- MD032/blanks-around-lists
2021-01-03 11:26:40 +08:00
罗泽轩
65579fc45b
feat: allow host with underscore ( #3165 )
2020-12-31 11:48:54 +08:00
qwxingzhe
0365fb880c
docs: Add plugin list and detail acquisition interface ( #3156 )
2020-12-31 09:11:10 +08:00
罗泽轩
13ab4903b4
chore: improve HTTPS doc ( #3149 )
2020-12-30 22:57:00 +08:00
罗泽轩
81c1c7c077
change: don't treat route segment with ':' as parameter by default ( #3154 )
...
Fix #3134
2020-12-30 22:13:05 +08:00
qwxingzhe
b80020e632
docs: added interface to get list part for Admin API ( #3138 )
2020-12-29 23:22:02 +08:00
tzssangglass
0597c57b27
chore: tweak the uri to view plug-in types ( #3153 )
2020-12-29 15:55:53 +08:00
罗泽轩
b7ae14c4b6
docs: use new badges ( #3150 )
...
We don't run CI on travis anymore.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-29 14:48:23 +08:00
Yuelin Zheng
9b5fa0b4c4
test: limit-count add more test cases to cover the case where the upstream is a domain name ( #3140 )
...
close #3108
2020-12-29 11:25:25 +08:00
tzssangglass
a54aad1ad3
feat: provide the ability to view plug-in types ( #2886 )
...
Fix #2308
2020-12-29 11:01:12 +08:00
罗泽轩
078a0626b2
docs: mention iresty/test-nginx should be used ( #3119 )
2020-12-28 21:48:24 +08:00
罗泽轩
b1e5edd7d8
tests: fix unstable test in traffic-split.t ( #3135 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-28 20:55:29 +08:00
dabue
6dba053c08
update server-info.t ( #3143 )
...
related #3095
2020-12-28 20:51:56 +08:00
Yuelin Zheng
c4180ccbf9
feat: the proxy-rewrite plugin support pass nginx variable within header ( #3144 )
...
related #3117
2020-12-28 20:42:47 +08:00
罗泽轩
45e909a0b1
ci: pass again ( #3141 )
...
Previously CI is failed because of some policy change of Apache
Foundation.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-28 11:21:16 +08:00
罗泽轩
53777519b8
fix: correct the validation of route.vars ( #3124 )
...
Previously only the type is applied, and it is too strict.
And now we should allow 4 items in the vars expression.
Fix #3123
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-27 12:02:31 +08:00
John Bampton
e5c1c5984a
docs: lint Markdown and remove unneeded rules ( #3132 )
...
Lint Markdown for:
- MD030 Spaces after list markers
2020-12-27 09:57:27 +08:00
罗泽轩
5a67fc382e
docs: improve the plugin-develop doc ( #3125 )
...
Co-authored-by: John Bampton <jbampton@users.noreply.github.com>
2020-12-27 09:30:01 +08:00
Dabuge
0c6ae109bb
docs: fix documentation about ETCD ( #3130 )
2020-12-27 09:22:04 +08:00
John Bampton
d7d8e7ee86
docs: lint Markdown and remove unneeded rules ( #3131 )
...
Remove rules:
MD018 - No space after hash on atx style header
MD020 - No space inside hashes on closed atx style header
MD021 - Multiple spaces inside hashes on closed atx style header
Lint for:
MD019 - Multiple spaces after hash on atx style header
2020-12-27 00:30:52 +08:00
罗泽轩
fb70133c22
ci: remove mac os CI ( #3122 )
...
The CI is not run for long.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-26 12:11:41 +08:00
nic-chen
baf8a26cea
chore: expose more schema via control API ( #3127 )
2020-12-25 21:26:15 +08:00
Yuelin Zheng
86fa46d85b
feat: Implement traffic splitting plugin ( #2935 )
...
close #2303
close #2603
2020-12-25 15:53:00 +08:00
guyang
0802c95faf
feat: add batch process metrics ( #3070 )
2020-12-24 19:24:46 +08:00
nic-chen
5de9990446
fix: ctx being contaminated due to a new feature of openresty 1.19 ( #3105 )
...
Fix #3079
2020-12-24 14:35:41 +08:00
罗泽轩
966d68829a
feat: validate certificate & key ( #3085 )
...
Fix #296
Fix #2816
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-23 21:30:09 +08:00
罗泽轩
a661b940b0
feat: add script_id field used by dashboard ( #3096 )
...
Used as a reference to script metadata.
2020-12-23 19:17:26 +08:00
罗泽轩
357a2efa68
feat: expose schema via control API ( #3092 )
...
Close #3022
2020-12-23 16:40:19 +08:00
罗泽轩
8eaa187b46
docs: when opening issue, also mention the Nginx version ( #3101 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-23 09:03:43 +08:00
罗泽轩
560a2fe3ab
change: remove k8s_deployment_info ( #3098 )
...
Fix #3068
2020-12-22 22:28:47 +08:00
Alex Zhang
c3d61fcfa3
feat: add control api for plugin server-info ( #3088 )
...
* feat: add control api for plugin server-info
Previously we added plugin server-info without exposing API since the same port problem of admin api and proxy. Now we have Control API support so we expose server-info API through Control API. People now can insight the server info about APISIX instance easily.
2020-12-22 11:04:56 +08:00
罗泽轩
0670eff88f
docs: update contributing guide ( #3089 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-21 20:13:21 +08:00
罗泽轩
7c158b739a
refactor: don't force plugin to use /vn prefix ( #3081 )
2020-12-21 10:38:10 +08:00
罗泽轩
31b49ad0e1
fix: upgrade lua-resty-ngxvar to solve the upstream_xxx_time problem ( #3065 )
...
Fix #2954
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-20 20:09:46 +08:00
罗泽轩
9a07ee8f82
chore: remove temporary hack ( #3078 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-19 14:15:55 +08:00
罗泽轩
8a3dda3edd
docs: catch up with the current status of route ( #3019 )
...
Fix #2298 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 19:10:43 +08:00
罗泽轩
e9826b60f3
fix: make debug-mode work with global rule ( #3023 )
...
Fix #1667 .
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 17:14:51 +08:00
罗泽轩
fd2db606a9
feat: rewrite handwriting validation with jsonschema ( #3021 )
...
Fix #2967 . Some plugins can't be rewritten, so I have to keep them.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:55:23 +08:00
罗泽轩
4d2f271a06
fix: add control directory in installation ( #3077 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 16:40:17 +08:00
罗泽轩
310c95158f
feat: allow upstream without nodes ( #3076 )
...
Fix #3072
2020-12-18 16:05:54 +08:00
罗泽轩
924a30db36
feat: add control API ( #3048 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Co-authored-by: John Bampton <jbampton@users.noreply.github.com
2020-12-18 15:05:09 +08:00
Peter Zhu
952854d7cd
fix: bad server_info example ( #3074 )
2020-12-18 14:51:50 +08:00
Peter Zhu
560fca3e0b
fix: fix on setting server info to etcd ( #3075 )
...
* fix: fix on setting server info to etcd
2020-12-18 14:46:49 +08:00
John Bampton
da5d0f7e35
docs: fix spelling ( #3071 )
2020-12-18 09:07:02 +08:00
罗泽轩
81c8d806a3
test: remove useless skywalking mock ( #3066 )
...
Now we connect to real skywalking for test.
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2020-12-18 08:30:55 +08:00
John Bampton
6331e5d057
feat(CI): add a GitHub Action to lint the YAML files ( #3044 )
...
Lint some YAML
Add a `.yamllint` config file
2020-12-18 08:29:17 +08:00
Yuelin Zheng
bdd00e1f55
feat: support ctx.var to get service_name and route_name ( #3036 )
...
close #2982
2020-12-17 22:26:25 +08:00
John Bampton
1f52c70d84
docs: lint Markdown for multiple consecutive blank lines ( #3047 )
...
- remove unneeded MD009 - Trailing spaces config entry
- MD012 - Multiple consecutive blank lines
https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md#md012---multiple-consecutive-blank-lines
2020-12-17 22:25:30 +08:00
Shuyang Wu
f476d2c3dc
fix: copy the files in conf/cert when installing ( #3059 )
...
fix #3057
2020-12-16 18:09:52 +08:00