luci-app-shadowsocks-libev: move plugin options to server sections
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 9 May 2019 06:00:52 +0000 (06:00 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 9 May 2019 06:18:55 +0000 (06:18 +0000)
commit62d8a4fdd71540dba56fa4c982df2b753a49996d
tree7d3f66372a60ea77173d86862715fc128c59514a
parent6b7afabcdd270a5215a225553dda08e0cd1c5e40
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>
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/servers.lua
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua