Commit Graph

78 Commits

Author SHA1 Message Date
YuanSheng Wang
7440192f8f
bugfix(CI): avoid to install APISIX to deps folder, that is a bug for older luarocks (#1471)
If the Luarocks version is lower than "v2.4.3", it does not support the "--only-deps" parameter. Even if we set the "--only-deps" parameter, no error message will be given during runtime.

We only wanted to install the dependencies in the deps directory, but the APISIX was also installed so that the test case might load the wrong version of the source code.
2020-04-20 09:09:14 +08:00
YuanSheng Wang
04539ae972
bugfix(CLI): added $prefix/deps/share/lua/5.1/?/init.lua to search path. (#1443) 2020-04-13 09:54:07 +08:00
Wen Ming
c76e7e3623
feature: remove lua dir. (#1351) 2020-03-31 23:23:29 +08:00
YuanSheng Wang
51684de77b
bugfix: fail to get the http request header by ngx.var. * (#1348)
* bugfix: to get the HTTP request header by `ngx.var.*`, we need to convert
  the name to lower case with dashes replaced by underscores.

more information:

http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_

* change: the key should be a string object when fetching a value from `ctx.var`.

* bug(make lint): If the code style is bad, do exit with code 1.
2020-03-27 23:13:46 +08:00
YuanSheng Wang
94cc688fc1
bugfix: installed lua file in folder lua/apisix/utils . (#1342) 2020-03-27 07:34:08 +08:00
dabue
fc475ccd7e
change: use the correct parameters based on the version of luarocks
Fix #1227
2020-03-10 15:16:14 +08:00
nic-chen
d43ad8bbf4
update check-version tool for releasing. and add 1.1 rockspec (#1156) 2020-02-25 10:17:10 +08:00
YuanSheng Wang
2870b79833
bugfix: missing clear table before to reuse table. (#1134)
* test: avoid to use regex for matching output.
2020-02-18 21:46:56 +08:00
YuanSheng Wang
6d8907f4ff
code style: use new lj-releng to catch all exceptions. (#1135) 2020-02-18 15:54:30 +08:00
YuanSheng Wang
5f2210b421
travis: run a APISIX instance which intalled by luarocks. (#1063) 2020-01-22 16:19:01 +08:00
YuanSheng Wang
63a7afc695 release new version 1.0 (#1061) 2020-01-15 11:56:50 +08:00
chnliyong
7443133031
Resolve #882 and simplify conf (#894)
* Resolve #882 and simplify conf
2019-11-24 23:05:52 +08:00
WenMing
12a2b01b71
license: add ASF header. (#743) 2019-10-31 09:27:28 +08:00
Lien
7716416f6d doc: change all iresty/apisix link in documents into apache/incubator-apisix (#754) 2019-10-30 10:45:09 +08:00
YuanSheng Wang
d6c4407921 doc: make installation steps clear and remove useless dependency installations (#729) 2019-10-23 15:27:20 +08:00
YuanSheng Wang
6825f74096
bugfix(makefile): missing some source code when do install with luaro… (#640)
* bugfix(makefile): missing some source code when do install with luarocks.

* utils: add new utils/gen-install-folder.sh.
2019-10-08 16:46:53 +08:00
YuanSheng Wang
4abb47ba98
bugfix: avoided using temporary files to get the LuaJIT main path. (#602)
* bugfix: avoided using temporary files to get the LuaJIT main path.

* optimize: avoided using temporary files to get the LuaJIT main path.

fix: #597
2019-09-26 15:19:29 +08:00
coolsoul
7adcea69fb doc: added chinese doc for stream proxy. 2019-09-26 15:08:21 +08:00
YuanSheng Wang
a4ac562a91
utils: supported to install apisix by shell which is more easy. (#584) 2019-09-24 16:13:46 +08:00
YuanSheng Wang
9e5fda1293
change: removed utils lj-releng. (#553) 2019-09-23 05:54:37 +08:00
YuanSheng Wang
5e119c4828
luarocks: added new dependency lua-resty-healthcheck. (#249)
* luarocks: added new dependencies `lua-resty-healthcheck` and `lua-resty-worker-event`.

* feature(balancer): fetched health node from upstream nodes in balancer phase when enabled 
  healthcheck.
2019-07-17 23:52:15 +08:00
chnliyong
3730e6ade1 bugfix: failed early when lua isn't installed on make dev (#233) 2019-07-11 14:41:13 +08:00
周晶
947a3f5436 update travis runner script (#227) 2019-07-10 22:23:27 +08:00
周晶
374aba472b feature: update Makefile and travis CI for osx installation about using luajit building deps. (#217) 2019-07-10 11:32:16 +08:00
YuanSheng Wang
fee7ec58ef
optmize: reused a Lua table of plugins. feature: supported to check the Lua source by command make check. (#108)
* optmize: reused a Lua table of plugins.
* feature: supported to check the Lua source by command `make check`.
* bug: reinitialize the prometheus variable each time.
2019-06-16 07:32:25 +08:00
Yuansheng
3a709c790c feature: supported to install all of the dependencies library to
home folder.
2019-06-15 23:22:29 +08:00
Yuansheng Wang
2fe68e854b luarocks: only installed Lua modules and configure files. 2019-06-04 10:32:14 +08:00
Yuansheng Wang
7090e02d4b bumped version to 0.3. 2019-06-03 19:06:04 -04:00