summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc
AgeCommit message (Collapse)Author
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-12-20luci-app-*: use default poll intervalFlorian Eckert
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-12treewide: Fix typos in UI stringsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-06-23luci-app-shadowsocks-libev: cleanup section add markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>