Commit Graph

66 Commits

Author SHA1 Message Date
xiaorouji
e21b60d6c7 luci: use short UUID
The amount of data is not large, maybe not repeat.
2023-05-08 02:58:23 +08:00
zhusir
85883c8972 luci: get the exact remote version 2023-04-20 16:16:51 +08:00
xiaorouji
8848f801b6 luci: format code 2023-04-20 16:16:36 +08:00
xiaorouji
95389eb674 luci: shunt mode select node can custom
You can directly customize SOCKS/HTTP server when selecting nodes.
For example:
socks://127.0.0.1:1080
socks://username:password@127.0.0.1:1080
http://127.0.0.1:2080
http://username:password@127.0.0.1:2080
2023-04-20 16:16:26 +08:00
Tianhe Y
2a0d4ed8a0 luci: wireguard reserved support base64 string (#2511) 2023-04-20 16:15:51 +08:00
xiaorouji
c8701a112a luci: fix auto switch when use shunt node #2474 2023-04-12 20:52:59 +08:00
xiaorouji
47f44fcfdd luci: lua code convert indentation to TAB 2023-04-09 23:51:06 +08:00
Tianhe Y
ac259f2d11 luci: wireguard add reserved option when xray>=1.8.0 (#2462)
* luci: wireguard add reserved option when xray>=1.8.0

* luci: 4.63
2023-04-06 19:23:18 +08:00
Tianhe Y
56c68dfda4 luci: optimize app binary find #2433 (#2442) 2023-04-06 19:17:23 +08:00
Tianhe Y
9a01d667f2 luci: optimize passwall check update tips 2023-04-02 07:33:03 +08:00
xiaorouji
f6d56838c7 luci: reduce duplicate code 2023-03-30 08:43:09 +08:00
nftbty
623099d837 luci: app_update use default_path when not set in config 2023-03-27 20:26:35 +08:00
nftbty
3795defad7 luci: app_update add passwall version check (#2398)
- app_update add passwall version show & check. ([Feature Request]: 能不能在ui上增加版本显示 #2384)
- add chinadns-ng path in default config.
2023-03-27 20:26:13 +08:00
nftbty
36c6425b3f luci: unified code style (#2395)
* 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
2023-03-27 20:25:52 +08:00
nftbty
5e84915db1 luci: optimize app_update
* 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>
2023-03-27 20:19:59 +08:00
xiaorouji
14e6f515a3 luci: optimization code 2023-02-16 05:13:49 +08:00