summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/model
AgeCommit message (Collapse)Author
2019-05-09luci-app-shadowsocks-libev: move plugin options to server sectionsYousong Zhou
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-06luci-app-shadowsocks-libev: allow setting plugin optionsYousong Zhou
Reference: https://github.com/openwrt/packages/issues/8903 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-05-06luci-app-shadowsocks-libev: reword base64 -encoding-Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-22luci-app-shadowsocks-libev: Fix HTML tagSoha Jin
Signed-off-by: Soha Jin <soha@lohu.info>
2019-01-21luci-app-shadowsocks-libev: ss_rules: allow ip6 in src_dst_option()Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01treewide: fix query arguments to admin/system/opkgYousong Zhou
Right now the handler only recognizes "query=xx" argument, others will be ignored. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01treewide: fix redirecting to System->SoftwareYousong Zhou
By replacing url "admin/system/packages" with "admin/system/opkg" Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-10-12treewide: Fix typos in UI stringsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-05-28shadowsocks-libev: fix enumerating server and ss_redir sectionsYousong Zhou
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-02-05luci-app-shadowsocks-libev: remove deprecated option disable_sniYousong Zhou
This reverts commit 5d916835752f83c53528cada375e3dd57c693483. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05luci-app-shadowsocks-libev: add no_delay to names_options_commonYousong Zhou
It will appear in the instance overview list Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04luci-app-shadowsocks-libev: remove option manager_addressYousong Zhou
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-04luci-app-shadowsocks-libev: support option no_delayYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-01-04luci-app-shadowsocks-libev: display disabled state of remote serverYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: support for option dst_forward_recentrstYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: enumerate ifnames with sys.net.devices()Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: rename option title for src dst listYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: tweak list of redir instancesYousong Zhou
- Skip disabled ones - Allow empty value Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: fix setting boolean optionYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22luci-app-shadowsocks-libev: validate elements of src, dst ip/net listYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20luci-app-shadowsocks-libev: support ss_rules options: dst_default, ifnamesYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20luci-app-shadowsocks-libev: add 2 aead methodsYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20luci-app-shadowsocks-libev: fix typo in setting ss_rules.disabled=trueYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13luci-app-shadowsocks-libev: assume ss-redir has default mode tcp_onlyYousong Zhou
This is in accordance with the current actual implementation of ss-redir. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-13luci-app-shadowsocks-libev: add a ss_rules section if none existsYousong Zhou
When there is no ss_rules section, the "Redir Rules" tab will have empty form in the generated page. This is especialy the case when the shadowsocks-libev config is from an earlier version before 3.0.6-2 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-08luci-app-shadowsocks-libev: hide key, password value in instance overviewYousong Zhou
This is mainly for ss_server section Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-04luci-app-shadowsocks-libev: support ss_redir disable_sni optionYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02luci-app-shadowsocks-libev: add common flag ipv6_firstYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-02luci-app-shadowsocks-libev: remove redundant duplicate methodsYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24luci-app-shadowsocks-libev: auto update instance running stateYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-23luci-app-shadowsocks-libev: rewrite for shadowsocks-libev 3.0.6-2Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-11luci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()Jo-Philipp Wich
Translate the use of luci.sys.net.arptable() to luci.ip.neighbors() to allow dropping the former function from base LuCI later on. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2015-07-23luci-app-shadowsocks-libev: update packageJian Chang
support for shadowsocks-libev v2.2.3 Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-03luci-app-shadowsocks-libev: add packageJian Chang
This adds support for configuring shadowsocks-libev Signed-off-by: Jian Chang <aa65535@live.com>