Jo-Philipp Wich [Wed, 18 Jul 2018 10:02:35 +0000 (12:02 +0200)]
luci-theme-bootstrap: various fixes
- Styling fixes for table hover rows, striping and title row coloring
- Fixes for page action button placement
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 08:02:07 +0000 (10:02 +0200)]
luci-mod-admin-full: properly reset internal device form field
In some cases the hidden internal device field was not reset, e.g. after
aborting a wifi scan and using the browser back buttons to navigate to the
overview page again.
In such a case, the previous device hidden field was still present and a new
one getting created, causing further wireless scan attempts to get invoked
with multiple radio names as parameter which fails.
Fix this issue by using the new generic cbi_submit() helper any by dropping
the faulty wifi_action() function.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 09:46:46 +0000 (11:46 +0200)]
luci-base: rework CBI footer template
- Make sure that hitting enter in the form hits the CBI save action and not
apply or cancel
- Hide action panel if no actions are available
- CLeanup code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 09:38:45 +0000 (11:38 +0200)]
luci-base: rework tblsection template
- Hide empty title and description rows
- Correct row striping offset
- Cleanup code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 09:36:53 +0000 (11:36 +0200)]
luci-base: rework simpleform template
- Ensure that pressing enter in the form triggers the submit action and
not a cbi skip or cancel
- Hide page actions when empty
- Cleanup code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 09:23:50 +0000 (11:23 +0200)]
luci-base: cbi.js: add cbi_submit() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 18 Jul 2018 08:11:45 +0000 (10:11 +0200)]
luci-mod-admin-full: offer "Cancel" button in iface add dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 17 Jul 2018 14:18:25 +0000 (16:18 +0200)]
luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6
Fixes FS#1361.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 17 Jul 2018 11:17:38 +0000 (13:17 +0200)]
luci-base: remove unused icons
- The wifi_big.png / wifi_big_disabled.png icons were used on the wireless
overview page which now uses badges with normal sized icons
- The encryption.png / encryption_disabled.png icons were never used at all
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Tue, 17 Jul 2018 13:12:17 +0000 (16:12 +0300)]
Merge pull request #1957 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Jo-Philipp Wich [Tue, 17 Jul 2018 12:21:36 +0000 (14:21 +0200)]
Merge pull request #1958 from tano-systems/update-russian-translation
luci-base: update and improve Russian translation
Anton Kikin [Tue, 17 Jul 2018 11:38:42 +0000 (14:38 +0300)]
luci-base: update and improve Russian translation
Add missing translations and update existing not quite correct translations.
Replaced hyphens on em dashes where it is required by the Russian rules.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Jo-Philipp Wich [Tue, 17 Jul 2018 05:26:56 +0000 (07:26 +0200)]
Merge pull request #1956 from tano-systems/luci-base-fix-russian-translation
luci-base: fix Russian translation
Anton Kikin [Mon, 16 Jul 2018 22:50:51 +0000 (01:50 +0300)]
luci-base: fix Russian translation
Removed redundant <br> tags from translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Stan Grishin [Tue, 17 Jul 2018 00:43:16 +0000 (17:43 -0700)]
luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Mon, 16 Jul 2018 20:12:38 +0000 (22:12 +0200)]
Merge pull request #952 from cshore-history/pull-request-fstab-avoid-block-umount-on-apply
luci-base: Avoid block umount on fstab apply
Jo-Philipp Wich [Mon, 16 Jul 2018 15:28:50 +0000 (17:28 +0200)]
luci-base: fix field section add button/input field names
Some CBI map models, mainly the Network -> VLAN page, expect a valid
previous section ID in their Section:create() callback.
Previous refactoring of the tblsection markup broke this behaviour as
the "section" loop variable was accidentally localized, causing it to
be undefined outside of the loop body which caused the section add
button and name input fields to get rendered with a wrong "name"
attribute.
Fix this by moving the "section" variable declaration out of the loop
and by readding references to it in the non-anonymous section add case.
Fixes FS#1657
Fixes
002c4d1d5 ("luci-base: add "Name" label to autogenerated title column")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Mon, 16 Jul 2018 13:40:13 +0000 (16:40 +0300)]
Merge pull request #1953 from angusding/patch-9
base.po: Update chinese translations.
Hannu Nyman [Mon, 16 Jul 2018 13:39:46 +0000 (16:39 +0300)]
Merge pull request #1955 from YuriPet/master
luci-base & luci-app-upnp: update Ukrainian translation
Yurii [Mon, 16 Jul 2018 13:19:27 +0000 (16:19 +0300)]
luci-app-upnp: update Ukrainian translation
Corrections translation.
Signed-off-by: Yurii yuripet@gmail.com
Yurii [Mon, 16 Jul 2018 13:16:56 +0000 (16:16 +0300)]
luci-base: update Ukrainian translation
Updated with the latest resync translation, corrections and additions translation.
Signed-off-by: Yurii yuripet@gmail.com
amitabha [Mon, 16 Jul 2018 07:24:17 +0000 (15:24 +0800)]
base.po: Update chinese translations.
Fix some Chinese translations.
Signed-off-by: Angus Ding <angus.ding@gmail.com>
Hannu Nyman [Sun, 15 Jul 2018 18:03:57 +0000 (21:03 +0300)]
Merge pull request #1952 from tano-systems/luci-base-fix-russian-translation
luci-base: fix Russian translation
Anton Kikin [Sun, 15 Jul 2018 16:35:35 +0000 (19:35 +0300)]
luci-base: fix Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Jo-Philipp Wich [Sun, 15 Jul 2018 15:21:02 +0000 (17:21 +0200)]
luci-mod-admin-full: fix changing alias interface ifnames
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 15:20:27 +0000 (17:20 +0200)]
luci-base: fix handling alias interfaces in ifacelist widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 15:07:28 +0000 (17:07 +0200)]
luci-base: luci.model.network: recognize alias interfaces
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 13:18:00 +0000 (15:18 +0200)]
luci-mod-admin-full: improve interface overview display
Remove the guessing of primary interfaces for now as we cannot yet properly
track parent / child interface relations.
Instead, add tooltips to the interface icons displaying detailed physical
layer information per netdev.
For dynamic or true alias interfaces (using "@" notation), skip the
reporting of MAC and traffic stats.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 13:17:32 +0000 (15:17 +0200)]
luci-theme-bootstrap: small style fix for link buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 11:14:24 +0000 (13:14 +0200)]
luci-mod-admin-full: fix wifi add and scan actions
Due to conversion to CBI, the inline forms are now nested and thus do not
work anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 10:25:53 +0000 (12:25 +0200)]
luci-base: update german translation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 15 Jul 2018 09:03:18 +0000 (11:03 +0200)]
Merge pull request #1949 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sat, 14 Jul 2018 19:35:47 +0000 (21:35 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Jo-Philipp Wich [Fri, 13 Jul 2018 14:55:47 +0000 (16:55 +0200)]
luci-base: xhr: increase poll request timeout
Some status requests can take quite some time to finish, the LuCI DSL
status information in particular.
Since the polling loop code already takes care of not relaunching
requests which are already running, increase the per iteration timeout
to up to five times the poll interval.
This should be sufficient to let most operations complete.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 14:31:14 +0000 (16:31 +0200)]
luci-theme-bootstrap: margin fix for multiple wifs on status overview
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 12:50:28 +0000 (14:50 +0200)]
Merge pull request #1933 from Ansuel/hostname_upnp
luci-app-upnp: add hostname info
Jo-Philipp Wich [Fri, 13 Jul 2018 12:24:27 +0000 (14:24 +0200)]
luci-base: resync base translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 12:08:17 +0000 (14:08 +0200)]
luci-mod-admin-full: differentiate between disabled and not associated wireless
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 10:47:59 +0000 (12:47 +0200)]
luci-app-advanced-reboot: fix translation string
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 10:39:07 +0000 (12:39 +0200)]
luci-theme-material: table and button style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 07:38:31 +0000 (09:38 +0200)]
luci-theme-openwrt: cleanup CSS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 07:38:25 +0000 (09:38 +0200)]
luci-theme-bootstrap: cleanup CSS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 07:37:53 +0000 (09:37 +0200)]
luci-mod-admin-full: tweak interface and wireless overview markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 07:37:28 +0000 (09:37 +0200)]
luci-app-upnp: tweak table markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 13 Jul 2018 07:37:08 +0000 (09:37 +0200)]
luci-base: tweak tblsection markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 16:58:11 +0000 (18:58 +0200)]
luci-mod-admin-full: small wifi overview markup fix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 16:57:20 +0000 (18:57 +0200)]
luci-theme-bootstrap: compress color names, fix table striping
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 16:55:16 +0000 (18:55 +0200)]
luci-mod-admin-full: produce valid JSON in status/realtime/connections_status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 15:00:32 +0000 (17:00 +0200)]
luci-proto-qmi: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 15:00:21 +0000 (17:00 +0200)]
luci-proto-ncm: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 15:00:12 +0000 (17:00 +0200)]
luci-proto-ipv6: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 11:52:55 +0000 (13:52 +0200)]
luci-base: add icons for alias interfaces
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 14:50:40 +0000 (16:50 +0200)]
luci-mod-admin-full: rework interface overview page
Convert interface enable, disable and delete actions to proper cbi
operations so that we can benefit from the apply/rollback workflow
when performing critical interface operations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 14:44:31 +0000 (16:44 +0200)]
luci-mod-admin-full: expose errors, description and up state in net status
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 14:43:23 +0000 (16:43 +0200)]
luci-base: add error reporting and basic support for dynamic interfaces
This allows exposing virtual ubus-based network interfaces in LuCI.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 11 Jul 2018 20:19:50 +0000 (22:19 +0200)]
luci-mod-admin-full: reimplement wireless overview page as cbi model
This will offer apply/rollback workflow for tasks like deleting or shutting
down wireless networks.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 05:37:49 +0000 (07:37 +0200)]
luci-base: apply_widget: various fixes
- Fix button styles in failure message
- Pause XHR polling during apply/rollback sessions
- Throttle confirm requests to 1 request/second
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 12 Jul 2018 05:34:04 +0000 (07:34 +0200)]
luci-base: xhr.js: use JSON.parse() and pass request duration to callbacks
JSON.parse() is supported on all modern browsers and a far better
solution than the hakish and potentially dangerous eval().
Also calculate the duration of request and pass it as 3rd argument to the
callback function, this makes it easier to calculate request delays or
poll intervals in code using XHR.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 11 Jul 2018 20:20:51 +0000 (22:20 +0200)]
luci-theme-openwrt: consolidate font sizes and button styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 11 Jul 2018 06:04:39 +0000 (08:04 +0200)]
luci-mod-admin-full: improve text contrast in realtime graphs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Tue, 10 Jul 2018 19:56:57 +0000 (22:56 +0300)]
Merge pull request #1945 from stangri/luci-app-advanced-reboot
luci-app-advanced-reboot: support for Linksys WRT32X
Stan Grishin [Tue, 10 Jul 2018 19:33:23 +0000 (12:33 -0700)]
luci-app-advanced-reboot: support for Linksys WRT32X
Signed-off-by: Stan Grishin <stangri@melmac.net>
Dirk Brenken [Mon, 9 Jul 2018 19:55:02 +0000 (21:55 +0200)]
Merge pull request #1937 from LuKePicci/luci-proto-ppp_pppoe_host-uniq
luci-proto-ppp: expose pppoe host_uniq tag setting
LuKePicci [Mon, 9 Jul 2018 15:53:08 +0000 (17:53 +0200)]
luci-proto-ppp: expose pppoe host_uniq tag setting
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
Jo-Philipp Wich [Mon, 9 Jul 2018 15:04:10 +0000 (17:04 +0200)]
luci-base: fix placement of CBI strings
Commit
c0de036b3 ("treewide: always include cbi.js") improperly removed the
cbi.js script include from header.htm, leaving behind the string dictionary.
Move the JSON dictionary to the parent <form> element and delete the
leftover </script> element.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:50:51 +0000 (11:50 +0200)]
luci-theme-material: table layout fixes and minor CSS corrections
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:46:11 +0000 (11:46 +0200)]
luci-app-adblock: align blocklist markup with recent changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:13:06 +0000 (11:13 +0200)]
luci-mod-admin-full: rework connection status table handling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 9 Jul 2018 09:09:57 +0000 (11:09 +0200)]
luci-base: cbi.js: avoid setting empty cell title attributes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:26:03 +0000 (15:26 +0200)]
luci-theme-bootstrap: add CSS fixes for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:23:39 +0000 (15:23 +0200)]
luci-theme-openwrt: add CSS fixes for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:14:43 +0000 (15:14 +0200)]
luci-base: cbi.js: add NodeList.forEach() polyfill for IE 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:12:47 +0000 (15:12 +0200)]
treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:02:37 +0000 (15:02 +0200)]
luci-mod-admin-full: use sans-serif fonts for realtime graph legends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 13:02:16 +0000 (15:02 +0200)]
luci-mod-admin-full: small markup fixes for placeholder texts
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 7 Jul 2018 12:59:58 +0000 (14:59 +0200)]
luci-mod-admin-full: style and script fixes for realtime bandwidth graph
- add Math.log2() polyfill for IE 11
- use sans-serif font for time axis
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Mon, 9 Jul 2018 05:51:20 +0000 (07:51 +0200)]
Merge pull request #1944 from rwalli/patch-1
luci-proto-wireguard: description field
rwalli [Sun, 8 Jul 2018 17:46:10 +0000 (19:46 +0200)]
Add description
Hannu Nyman [Sat, 7 Jul 2018 17:43:08 +0000 (20:43 +0300)]
Merge pull request #1871 from felixonmars/patch-1
Fix a typo in vizdata.sh
Hannu Nyman [Sat, 7 Jul 2018 13:18:26 +0000 (16:18 +0300)]
Merge pull request #1942 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sat, 7 Jul 2018 12:11:17 +0000 (14:11 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Hannu Nyman [Sat, 7 Jul 2018 09:45:17 +0000 (12:45 +0300)]
Merge pull request #1941 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
INAGAKI Hiroshi [Sat, 7 Jul 2018 08:56:08 +0000 (17:56 +0900)]
luci-base: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Hannu Nyman [Fri, 6 Jul 2018 15:42:02 +0000 (18:42 +0300)]
Merge pull request #1939 from Ansuel/luci-nginx
luci-nginx: fix nginx dependency
Ansuel Smith [Fri, 6 Jul 2018 15:29:15 +0000 (17:29 +0200)]
luci-nginx: fix nginx dependency
As nginx-ssl is now available, we fix luci-ssl-nginx package dep to use the right package. DRop luci-ssl-openssl-nginx as openssl is needed by nginx anyway.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Yurii [Wed, 4 Jul 2018 14:37:52 +0000 (17:37 +0300)]
luci-base: update Ukrainian translation
Updated with the latest synchronization of the translation, corrections and additions translation.
Signed-off-by: Yurii yuripet@gmail.com
Squashed 2 commits
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
amitabha [Wed, 4 Jul 2018 12:45:51 +0000 (20:45 +0800)]
base.po: Update chinese translations.
Fix some Chinese translations.
Signed-off-by: Angus Ding <angus.ding@gmail.com>
Jo-Philipp Wich [Tue, 3 Jul 2018 16:49:00 +0000 (18:49 +0200)]
luci-theme-bootstrap: minor style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 16:47:41 +0000 (18:47 +0200)]
luci-base: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 15:58:00 +0000 (17:58 +0200)]
luci-mod-admin-full: rework flashops page markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Ansuel Smith [Sun, 17 Jun 2018 17:31:43 +0000 (19:31 +0200)]
luci-app-upnp: add hostname info
This adds the hostname info in the index page of luci.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Florian Eckert [Tue, 15 May 2018 13:02:24 +0000 (15:02 +0200)]
luci-mod-admin-full: fix flashops url generation for config tab
If a firmware image is not valid then url generation for the config tab
is wrong. To fix this use the luci.dispatcher.build_url function.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Tue, 15 May 2018 09:35:40 +0000 (11:35 +0200)]
luci-mod-admin-full: check backup.tar.gz on apply
If an uploaded backup.tar.gz is not valid we will not get a respond from
LuCI. The system will perform a reboot without applying the "tar.gz"
even though the backup import failed.
To fix this check if the backup archive is valid with the command
"gunzip -t <archive>" and if the validation fails render the flashops page
with a hint. On the other hand apply the backup archive and perform a
reboot as before.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Ansuel Smith [Tue, 5 Jun 2018 20:12:19 +0000 (22:12 +0200)]
luci-mod-admin-full: improve reboot page
This fix problem with empty controller, the check function will never stop to
check if the device finish to reboot and we set more tries to wait the router
for a longer times.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[reworked markup, simplified logic, removed superfluous alert]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 10:30:44 +0000 (12:30 +0200)]
Revert "luci-lib-json: depend on luci-base"
This reverts commit
8ca29efec862350d8d621235999947c329dfaba7.
Jo-Philipp Wich [Tue, 3 Jul 2018 09:07:31 +0000 (11:07 +0200)]
luci-lib-json: depend on luci-base
Fixes #506
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 08:56:50 +0000 (10:56 +0200)]
luci-mod-admin-full: improve Y-axis scaling in bandwidth graph
Calculate a peak that causes the vertical scale to use even values.
Fixes #1424.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 3 Jul 2018 06:07:32 +0000 (08:07 +0200)]
Merge pull request #1929 from pleasantone/mwan3_interface_aliases
luci-app-mwan3: fix aliased interfaces (@wan6)
Paul Traina [Mon, 2 Jul 2018 23:45:10 +0000 (16:45 -0700)]
luci-app-mwan3: fix aliased interfaces (@wan6)
Hannu Nyman [Mon, 2 Jul 2018 15:35:04 +0000 (18:35 +0300)]
Merge pull request #1925 from YuriPet/master
luci-app-firewall & luci-base: update Ukrainian translation