Jo-Philipp Wich
b4040aacb0
libs: move http.protocol.{date,mime,conditionals} to luci-lib-httpprotoutils
...
Also adjust the dependencies of components depending on these classes and
flatten the namespace from luci.http.protocol.* to luci.http.*
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-18 16:21:27 +02:00
Jo-Philipp Wich
9f327a3d02
luci-app-openvpn: properly parse low PIDs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-13 14:45:28 +02:00
Hannu Nyman
d4886818ce
Merge pull request #1744 from dibdot/mwan-fix
...
luci-app-mwan3: bugfix
2018-04-11 08:53:16 +03:00
Dirk Brenken
f3a10bb59b
luci-app-mwan3: bugfix
...
* two more luci.model.uci fixes for #1743
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-10 21:38:07 +02:00
Hannu Nyman
b2eceb0bcc
i18n: sync translations, cleanup
...
* sync translations
* clean-up old strings from adblock
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-10 18:27:07 +03:00
Hannu Nyman
edd1fab34e
Merge pull request #1741 from dibdot/mwan-fix
...
luci-app-mwan3: bugfix
2018-04-09 17:33:21 +03:00
Dirk Brenken
f7f5395f1c
luci-app-mwan3: bugfix
...
* make use of luci.model.uci to fix #1740
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-09 15:50:21 +02:00
Hannu Nyman
0ab0303527
i18n: sync translations
...
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-08 20:38:30 +03:00
Jo-Philipp Wich
1104b837cd
luci-app-advanced-reboot: remove explicit libuci requirement
...
Rewrite affected code to use luci.model.uci in order to avoid the need for
using libuci-lua directly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-07 14:42:51 +02:00
Jo-Philipp Wich
75ac400168
luci-app-vpnbypass: remove explicit libuci requirement
...
There is no direct user of the libuci-lua api, just some commented out code.
Rewrite the commented code to use the Map's uci cursor and remove the
explicit require.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-07 14:40:44 +02:00
Stan Grishin
7d87297e17
luci-app-advanced-reboot & luci-app-vpnbypass: fix uci require for master
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-04-07 04:14:58 -07:00
Jo-Philipp Wich
83a59dc0f7
luci-app-openvpn: quote grep expression in getPID()
...
Fixes c0d9c4f3c
("treewide: filter shell arguments through shellquote() where applicable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 23:38:38 +02:00
Hannu Nyman
93040427ff
luci-app-mwan: fix translation fallout
...
Partially fix the fallout from the recent string changes.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-06 23:28:41 +03:00
Hannu Nyman
65eacaef16
Merge pull request #1727 from TDT-AG/pr/20180406-luci-app-mwan3-changes
...
luci-app-mwan3: fix translation and update defaults
2018-04-06 22:39:39 +03:00
Dirk Brenken
7c7b6f4ba9
luci-app-travelmate: bring back cbi element to wifi_add.lua
...
* b00b676
fixed the cbi initialization for SimpleForm, therefore bring
back "Ignore BSSID" flag with dependent input field
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-06 18:34:41 +02:00
Florian Eckert
af3ef3390c
luci-app-mwan3: show default values in interface page if config is not found
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06 12:56:57 +02:00
Florian Eckert
01e0179725
luci-app-mwan3: update translations
...
Update hint in the interface page.
Update hint in the policy page.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06 12:54:21 +02:00
Jo-Philipp Wich
ef2e7db4ea
luci-app-dnscrypt-proxy: dispatch SimpleForm models using the form() action
...
This fixes issues dicovered by check-controllers.sh
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 12:07:50 +02:00
Jo-Philipp Wich
dacf88216d
luci-app-wol: dispatch SimpleForm model using the form() action
...
This fixes issues dicovered by check-controllers.sh
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 12:07:50 +02:00
Jo-Philipp Wich
1443ff121d
luci-app-firewall: dispatch SimpleForm model using the form() action
...
This fixes issues dicovered by check-controllers.sh
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 12:07:49 +02:00
Jo-Philipp Wich
4a90accda9
luci-app-unbound: dispatch SimpleForm models using the form() action
...
This fixes issues dicovered by check-controllers.sh
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 12:07:49 +02:00
Jo-Philipp Wich
08a2b27df5
luci-app-mwan3: fix legacy uci api usage
...
Explicitely require libuci-lua in model classes that use legacy /var/state
cursor handling.
Also add a specific dependency on libuci-lua to the luci-app-mwan3
Makefile in preparation of the upcoming default removal of libuci-lua.
Finally fix the post data dispatching on the notification tab, see #1722
for reference.
Fixes #1726 .
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-06 09:35:39 +02:00
Dirk Brenken
421dd407f0
luci-app-travelmate: bugfixes
...
* use the form() action to invoke the SimpleForm models
* fix 'wifi_add' input form
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-05 22:39:46 +02:00
Jo-Philipp Wich
72b973b258
luci-app-adblock: fix SimpleForm page delegation
...
Invoke the SimpleForm models using the form() action, not the cbi() ones.
This avoids the extraneous rendering of the cbi header template, avoiding
rejected save operations due to duplicated token value.
Fixes #1722 .
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 19:21:50 +02:00
Dirk Brenken
9dcf73b323
Merge pull request #1718 from dibdot/travelmate
...
luci-app-travelmate: sync with travelmate 1.2.0
2018-04-05 14:43:53 +02:00
Jo-Philipp Wich
c0d9c4f3ce
treewide: filter shell arguments through shellquote() where applicable
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 09:37:43 +02:00
Jo-Philipp Wich
697db81246
luci-app-freifunk-diagnostics: use FULL_REQUEST_URI
...
Switch from using the REQUEST_URI CGI variable directly to the canonicalized
FULL_REQUEST_URI property.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-04 23:32:44 +02:00
Jo-Philipp Wich
8a8eb0d487
luci-app-commands: use FULL_REQUEST_URI
...
Switch from using the REQUEST_URI CGI variable directly to the canonicalized
FULL_REQUEST_URI property.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-04 23:32:23 +02:00
Dirk Brenken
ee46a6c712
luci-app-travelmate: sync with travelmate 1.2.0
...
* remove needless 'automatic' and 'trigger' options plus small fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-04 14:19:23 +02:00
Florian Eckert
dd637e4f46
luci-app-mwan3: remove unnecessary 'tracking active' hint
...
Remove the unnecessary 'tracking active' hint from the status interface
page.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-03 13:30:30 +02:00
Florian Eckert
cd1a979593
luci-app-mwan3: remove diag-rc-legend field id
...
On the material theme the "Collecting data" hint in the status pages
was still present on the page even though the command was sucessfull executed.
Remove the legend tag and move the info "Collecting data" to the
"diag-rc-output" tag will solve this issue.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-03 13:30:28 +02:00
Florian Eckert
c390464590
luci-app-mwan3: calculate max interface usage from mmx_mask value
...
Show max interface value on interface page dependent on the mmx_mask
value
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-03 13:30:20 +02:00
INAGAKI Hiroshi
86a138b935
luci-app-travelmate: update Japanese translation
...
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-29 13:13:38 +09:00
INAGAKI Hiroshi
caf4421603
i18n: sync translations
...
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-29 12:51:13 +09:00
Dirk Brenken
7161284d75
Merge pull request #1703 from dibdot/travelmate
...
luci-app-travelmate: made "ignore bssid" flag conditional
2018-03-28 11:22:15 +02:00
Florian Eckert
3a0d5301ca
luci-app-mwan3: update notify info
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28 10:59:50 +02:00
Florian Eckert
ed56422a91
luci-app-mwan3: fix strict XHTML syntax error
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28 10:59:42 +02:00
Dirk Brenken
189fe1e389
luci-app-travelmate: made "ignore bssid" flag conditional
...
* made the "ignore bssid" flag conditional to ease connection
to hidden networks:
* default for hidden networks "disabled"
* default for all others "enabled"
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-28 09:22:19 +02:00
Sven Roederer
ec10a14976
wireguard: add dependency to luci-proto-wireguard
...
Installing luci-app-wireguard should also install luci-proto-wireguard, to have it as an protocol for interface setup.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
2018-03-26 19:15:25 +02:00
Florian Eckert
10e5171ea6
luci-app-mwan3: add missing graphics boxes again
...
Add css boxes for mwan3 status again
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-23 10:30:55 +01:00
Florian Eckert
a279c9abb3
luci-app-mwan3: remove notMonitored status information
...
This case is not supported by mwan3 anymore
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-23 10:30:12 +01:00
Qian Zheng
8ecdabdc56
luci-app-upnp: zh_CN: Update Simplified Chinese translation
...
Signed-off-by: Qian Zheng <sotux82@gmail.com>
2018-03-20 09:31:17 +08:00
Hannu Nyman
38f826e2a4
Merge pull request #1692 from EricLuehrsen/unbound_pnet
...
unbound: add domain resolution control options
2018-03-19 17:31:07 +02:00
Hannu Nyman
94d9bfb1da
Merge pull request #1689 from aparcar/asu-fixup
...
luci-app-attendedsysupgrade: fixup missing package
2018-03-19 17:27:50 +02:00
Eric Luehrsen
9bb3400a00
unbound: add domain resolution control options
...
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-03-18 21:34:29 -04:00
Dirk Brenken
c575c78d2f
Merge pull request #1691 from dibdot/travelmate
...
luci-app-travelmate: final frontend changes for 18.x
2018-03-18 20:24:36 +01:00
Dirk Brenken
ca6f0a6c89
luci-app-travelmate: final frontend changes for 18.x
...
* made qrencode support optional (remove hardcoded dependency)
* add a conditional QR Code button on overview page,
remove separate "QR Codes" tab
* move trigger timeout setting to extra section
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-17 19:04:51 +01:00
Paul Spooren
6551f5c139
luci-app-attendedsysupgrade: fixup missing package
...
Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-16 18:52:48 +01:00
Dirk Brenken
b2fbfedc7e
Merge pull request #1688 from dibdot/adblock
...
luci-app-adblock: remaining fixes
2018-03-16 13:01:36 +01:00
Dirk Brenken
ab30c8365f
luci-app-adblock: remaining fixes
...
* missed in the last (untested) commit - sorry.
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-16 12:59:53 +01:00