* luci: unified code style
- checked newline at end of file
- unified indent
- removed whitespaces at end of line
* luci: change the indentation of lua files to tabs
* luci: optimize app_update code structure
abstract the components update info into a module.
Signed-off-by: nftbty <nftbty@gmail.com>
* luci: app_update add chinadns-ng & fix hysteria
Signed-off-by: nftbty <nftbty@gmail.com>
* luci: app_update optimize match_file_name generating.
- Update `auto_get_arch()`, and the generation of `match_file_name`.
- The function `to_check()`,`to_download()`,`to_extract()`,`to_move()` moved into api.lua, some functions in api.lua used by the 4 functions are no longer need to be public anymore, so add `local` before them.
Signed-off-by: nftbty <nftbty@gmail.com>
---------
Signed-off-by: nftbty <nftbty@gmail.com>
The wrong escaping mode is used in a few contexts, which results in
failed builds. This is happening in particular to folks whose sources
are inside a directory with a space in it, and whose builds are not
contained within that directory.
Such builds encode the surrounding filesystem structure into the ninja
files, which is unfortunate but unavoidable in some environments. Fix
the escaping mode in this case.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* luci: add Xray REALITY client support
* luci: make REALITY work with other protocol
* luci: add REALITY support to gRPC client
* luci: fix xray fail when all h2 options is NULL
* luci: chore
These patches should not be backported to OpenWrt, otherwise tproxy
won't work for devices connected to br-lan (bypassed by the fw rules).
We have introduced a new compile-time flag for new version (which
is not released yet), but it's unnecessray to backport redudant
patches as here is still at the old version.
Fixes: #1042
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>