Commit graph

22 commits

Author SHA1 Message Date
Yousong Zhou
62d8a4fdd7 luci-app-shadowsocks-libev: move plugin options to server sections
In this change, plugin options are moved from component settings to
only server settings.  This should make the configuration easier.  And
it will be less error-prone as it's impossible now for users to
inconsisitent plugin settings for instances referring to the same remote
server

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-09 06:18:55 +00:00
Yousong Zhou
263dc01f03 luci-app-shadowsocks-libev: allow setting plugin options
Reference: https://github.com/openwrt/packages/issues/8903
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-06 15:23:20 +00:00
Yousong Zhou
e9232f6113 luci-app-shadowsocks-libev: reword base64 -encoding-
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-06 15:23:16 +00:00
Soha Jin
47cba970a5 luci-app-shadowsocks-libev: Fix HTML tag
Signed-off-by: Soha Jin <soha@lohu.info>
2019-01-22 14:13:07 +08:00
Yousong Zhou
7908b2b71c treewide: fix query arguments to admin/system/opkg
Right now the handler only recognizes "query=xx" argument, others will
be ignored.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:51 +00:00
Yousong Zhou
85b67625f7 treewide: fix redirecting to System->Software
By replacing url "admin/system/packages" with "admin/system/opkg"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:49 +00:00
Yousong Zhou
402ad57e55 shadowsocks-libev: fix enumerating server and ss_redir sections
The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)

A quick scan of the current repo indicates that these are the only sites
of wrong call pattern

Fixes openwrt/packages#6113

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-28 11:13:15 +08:00
Yousong Zhou
770033dba3 luci-app-shadowsocks-libev: remove deprecated option disable_sni
This reverts commit 5d91683575.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:06:25 +08:00
Yousong Zhou
28aafed472 luci-app-shadowsocks-libev: add no_delay to names_options_common
It will appear in the instance overview list

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:04:00 +08:00
Yousong Zhou
f1862ced41 luci-app-shadowsocks-libev: remove option manager_address
It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:47:27 +08:00
Yousong Zhou
1ad37267ab luci-app-shadowsocks-libev: support option no_delay
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:46:30 +08:00
Yousong Zhou
611c14bff1 luci-app-shadowsocks-libev: display disabled state of remote server
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04 14:40:09 +08:00
Yousong Zhou
4b042bcbd9 luci-app-shadowsocks-libev: enumerate ifnames with sys.net.devices()
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:50 +08:00
Yousong Zhou
fd085d9910 luci-app-shadowsocks-libev: tweak list of redir instances
- Skip disabled ones
 - Allow empty value

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:49 +08:00
Yousong Zhou
f5ae714d9d luci-app-shadowsocks-libev: support ss_rules options: dst_default, ifnames
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 02:27:45 +08:00
Yousong Zhou
1c680e8c78 luci-app-shadowsocks-libev: add 2 aead methods
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 02:27:40 +08:00
Yousong Zhou
0a2fa7b16f luci-app-shadowsocks-libev: assume ss-redir has default mode tcp_only
This is in accordance with the current actual implementation of
ss-redir.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13 12:36:59 +08:00
Yousong Zhou
76a4609c66 luci-app-shadowsocks-libev: hide key, password value in instance overview
This is mainly for ss_server section

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-08 11:25:22 +08:00
Yousong Zhou
5d91683575 luci-app-shadowsocks-libev: support ss_redir disable_sni option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04 22:29:09 +08:00
Yousong Zhou
7fae5f5c22 luci-app-shadowsocks-libev: add common flag ipv6_first
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 15:02:31 +08:00
Yousong Zhou
a668c58607 luci-app-shadowsocks-libev: remove redundant duplicate methods
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02 14:35:32 +08:00
Yousong Zhou
48b5ccfad5 luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23 23:40:26 +08:00