Commit graph

82 commits

Author SHA1 Message Date
Jo-Philipp Wich
067d7dc9f7 treewide: convert HTML tables to div
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-28 15:18:45 +02: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
28b996d66f luci-app-shadowsocks-libev: support for option dst_forward_recentrst
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:50 +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
f5fa1a0f08 luci-app-shadowsocks-libev: rename option title for src dst list
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
56e9ac6642 luci-app-shadowsocks-libev: fix setting boolean option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-22 20:19:49 +08:00
Yousong Zhou
54c1772ad9 luci-app-shadowsocks-libev: validate elements of src, dst ip/net list
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
e47366a8a1 luci-app-shadowsocks-libev: fix typo in setting ss_rules.disabled=true
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-08-20 01:25:57 +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
be77667225 luci-app-shadowsocks-libev: add a ss_rules section if none exists
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-13 12:36:58 +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
06ad394dde luci-app-shadowsocks-libev: auto update instance running state
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-07-24 14:53:36 +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
Jo-Philipp Wich
854a5f68bb luci-app-shadowsocks-libev: eliminate use of luci.sys.net.arptable()
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>
2017-07-11 14:05:31 +02:00
Luiz Angelo Daros de Luca
fe9d39c06c i18n: complete pt-br translation
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-02-22 20:34:38 -03:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Hannu Nyman
edf352efa2 i18n: sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-20 11:47:08 +02:00
Kristoffer Grundström
5642947777 luci-app-shadowsocks-libev: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 06:37:38 +01:00
Hannu Nyman
7b00a4a765 i18n: Sync translations
Sync translations to the current strings.

Changes in luci-app-ddns, luci-app-mjpg-streamer, luci-app-qos,
luci-app-shadowsocks-libev, luci-app-statistics and luci-base

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-13 12:35:57 +03:00
Jian Chang
966d87b79b luci-app-shadowsocks-libev: update package
support for shadowsocks-libev v2.2.3

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-23 00:52:27 +08:00
Jian Chang
74501038e4 luci-app-shadowsocks-libev: add package
This adds support for configuring shadowsocks-libev

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-03 15:17:38 +08:00