Commit Graph

1438 Commits

Author SHA1 Message Date
罗泽轩
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
Firstsawyou
b8e853cc39
fix: after proxy-mirror plugin mirroring request, the host in the mir… (#2626)
fix #2617
2020-11-05 08:56:18 +08:00
罗泽轩
f790c92b23
test: remove temporary hack (#2625) 2020-11-04 17:17:09 +08:00
罗泽轩
366d5040cf
test: make CI pass again (#2619) 2020-11-04 15:45:27 +08:00
Alex Zhang
61cd91440b
improve: refactor partial command line tool. (#2612)
This PR moves some environmental variables to `apisix/cli/environ.lua`,
and some auxiliary codes to `apisix/cli/util.lua`, which reduces the size
of `bin/apisix`.
2020-11-04 11:26:17 +08:00
罗泽轩
073c84f5e6
feat: support stream configuration in standalone mode (#2610)
Close #2048
2020-11-04 10:45:09 +08:00
罗泽轩
4baee2461e
test: check the plugin name for each plugin (#2607)
Close #2579
2020-11-04 09:49:14 +08:00
kiki
333210fc64
doc(hmac-auth): generate signature should be more detailed (#2599)
fix #2531
2020-11-03 16:40:33 +08:00
琚致远
f4ae75a0b7
chore: delete .gitmodules (#2606) 2020-11-03 15:10:16 +08:00
YuanSheng Wang
34d53fc48b
test: format by reindex. (#2601) 2020-11-03 13:59:01 +08:00
Alex Zhang
5191374545
feat: support TLS connection with etcd. (#2548)
Support the TLS connection when communicating with etcd cluster. We added a configuration item to custom the certificate verification. Whether to setup TLS connection or not depends on the endpoints' scheme, for instance, when endpoints are:

```
etcd:
  host:
    - "https://127.0.0.1:2379"
    - "https://127.0.0.1:3379"
```

APISIX will originate TLS connection automatically, and the Server Name Indication extention will be set by the endpoint host (`127.0.0.1` in above case). Note by default APISIX will verify the certificate, close the verification in configuration explicitly if you want to bypass it.

```
etcd:
  tls:
    verfiy: false
```
2020-11-03 13:53:39 +08:00