Commit graph

1928 commits

Author SHA1 Message Date
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
Dirk Brenken
7656f51c82
Merge pull request #1686 from dibdot/wifischedule
luci-app-wifischedule: fix function calls
2018-03-16 06:37:08 +01:00
Dirk Brenken
44132150fc
Merge pull request #1685 from dibdot/travelmate
luci-app-travelmate: fix function calls
2018-03-16 06:36:51 +01:00
Dirk Brenken
d01ddb2928
Merge pull request #1684 from dibdot/adblock
luci-app-adblock: fix function calls
2018-03-16 06:36:31 +01:00
Dirk Brenken
14bdc24d4a luci-app-wifischedule: fix function calls
* fix function calls that have an implicit extra parameter self,
  pre-requisite for PR #1681

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-15 20:53:47 +01:00
Dirk Brenken
b2cc7bf276 luci-app-adblock: fix function calls
* fix function calls that have an implicit extra parameter self,
  pre-requisite for PR #1681

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-15 20:25:30 +01:00
Dirk Brenken
06ba63ad59 luci-app-travelmate: fix function calls
* fix function calls that have an implicit extra parameter self,
  pre-requisite for PR #1681

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-15 15:38:17 +01:00
Jo-Philipp Wich
005f4fb7d4
Merge pull request #1654 from TDT-AG/pr/20180301-luci-several-fixes
luci-app-firewall/luci-base/luci-mod-admin-full: some fixes and improvements
2018-03-15 09:52:22 +01:00
Raymond Tau
ee87dd1daa luci-app-ocserv: match default value of compression
Modify the default setting of compression to match the default
value of the package ocserv.

Signed-off-by: Raymond Tau <raymondtau@gmail.com>
2018-03-13 02:15:22 +08:00
Jo-Philipp Wich
28e3b32854 treewide: unify mac address handling
Use the new luci.ip MAC address facilities to parse and verify MAC addresses
in a common way, instead of relying on various ad-hoc solutions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12 16:12:18 +01:00
Dirk Brenken
4f04e6126e
Merge pull request #1671 from dibdot/travelmate
luci-app-travelmate: remove qrencode short options
2018-03-08 10:21:01 +01:00
Dirk Brenken
ff7bdab68a luci-app-travelmate: remove qrencode short options
* forthcoming qrencode version will remove the short option "-I"
  for inline, to get prepared switch to normal qrencode
  command line parameters.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-08 10:13:15 +01:00
Paul Spooren
5949c2cea8 luci-app-attendedsysupgrade: reload rpcd fix #1668
when installing the luci app and opening it for the first time the
webinterface shows an error as some freshly installed rpcd calls are not
yet available. The reload fixes the problem.

luci-app-attendedsysupgrade: downloadable image

the creted sysupgrade image can now easily be downloaded via web
interface.

also fixed some </br> to <br />

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-07 13:11:32 +01:00
Paul Spooren
a6d55b19f3 luci-app-attendedsysupgrade: show unknown package
Reads the header X-Unknown-Package offered by the sysupgrade server and
shows it in the error message.

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-06 19:25:08 +01:00
Hannu Nyman
c555814edb
Merge pull request #1653 from guidosarducci/master-fix-apcups-statistics
[RFC] luci-app-statistics: only graph data supported by APC UPS
2018-03-06 16:31:57 +02:00
Dirk Brenken
41b7a90e07
Merge pull request #1662 from dibdot/travelmate
luci-app-travelmate: fixes for new QR code template
2018-03-05 12:26:19 +01:00
Dirk Brenken
898b8a9904 luci-app-travelmate: fixes for new QR code template
* remove unofficial 'WPA2' enc. token for better compatibility with
  certain QR code reader, still 'WPA', 'WEP' and 'nopass' are supported
* add WEP key slot support (not really needed, but it's still
  supported by LuCI wireless)
* correct escape single quotes and other special chars
  in SSID & passwords
* code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-04 19:59:53 +01:00
INAGAKI Hiroshi
d6fd2c33bf luci-app-travelmate: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-04 16:42:48 +09:00
INAGAKI Hiroshi
0e5d670d7a luci-app-travelmate: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-04 14:23:52 +09:00
guidosarducci
fa1f4c42a6 luci-app-statistics: only graph data supported by APC UPS
Some graph definitions rely on data not supported across all APC UPSes.
Due to recent upstream changes in collectd, the daemon no longer creates
a NaN-filled .rrd file corresponding to any missing UPS data. Depending
on the connected UPS, this may result in some "broken" graphs on the Luci
Statistics page since rrdtool cannot find the expected .rrd file.

Include the add_supported() function to determine the UPS data available
at runtime and update any definitions of graphs to include only supported
data. For example, the whole chart stack of AC input and output voltages
will normally be "broken" if the UPS only measures AC input voltage. With
these changes, the output voltage graph definition is stripped out,
allowing the chart to render.

Make consistent use of data types and instances in graph definitions. All
definitions now use the same format with the 'instances' key. Unnecessary
'types' and 'sources' keys are removed.

Fix the definition of 'line frequency' graph, based on upstream collectd
apcups plugin code: type is 'frequency' but instance should be 'input'.

This also includes some code and whitespace cleanup.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-03 13:54:55 -08:00
Dirk Brenken
1e46a671ea
Merge pull request #1658 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.3
2018-03-03 08:44:07 +01:00
Hannu Nyman
2913111ffe
Merge pull request #1652 from TDT-AG/pr/20180301-luci-app-mwan3-fix-status-page
luci-app-mwan3: fix status pages
2018-03-02 23:31:56 +02:00
Dirk Brenken
8a199c3e1e luci-app-travelmate: sync with release 1.1.3
* show WiFi QR codes from all configured Access Points

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02 18:06:38 +01:00