Commit graph

9868 commits

Author SHA1 Message Date
Zheng Qian
d6f8ac1a76 luci-base: zh_CN: Update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-07-25 11:25:45 +08:00
Jo-Philipp Wich
14c73faf31 collections: drop nginx support for 18.06
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-21 14:25:00 +02:00
Jo-Philipp Wich
1d32ea9b03 luci-mod-admin-full: fix check for traceroute6
Since busybox has moved traceroute6 from /usr/bin/ to /bin/, we need to
check both locations.

Fixes #1973.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit e4a86478e6)
2018-07-21 14:20:05 +02:00
Anton Kikin
9724d76619 luci-base: fix Russian translation
More correct translation of the 'instance'.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit bf6275c85e)
2018-07-21 14:02:12 +02:00
Olimjon
4c87b8345c luci-app-upnp: update Russian translation
Signed-off-by: Kudratov O <olimko98@gmail.com>
(cherry picked from commit c03bc0f533)
2018-07-21 14:02:08 +02:00
Olimjon
ed4f4644ee Update Russian translation
[backported from 6a151eb70e]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-21 14:01:27 +02:00
Stan Grishin
4b267cecfd luci-app-simple-adblock: remove extra controller file
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit aaddcac5b0)
2018-07-21 13:59:03 +02:00
Yurii
968f9dc0aa luci-base: update Ukrainian translation
Updated with the latest resync translation, corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 4fa9115de6)
2018-07-21 13:58:29 +02:00
Yurii
11e9a5503e luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 9a6026b3d5)
2018-07-21 13:58:24 +02:00
Yurii
18c8e1fe58 luci-app-wol: update Ukrainian translation
Corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 2d946363b3)
2018-07-21 13:58:20 +02:00
Jo-Philipp Wich
c81359898e luci-base: fix bad CSS class names in table section template
The previous refactoring of the template caused the row stripying CSS
classes to be interpolated in such a way, that a separating space to
previous CSS classes was missing, leading to not rendered row names
and other side effects.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-20 11:38:35 +02:00
Jo-Philipp Wich
39401a7615 luci-app-ocserv: remove unneeded br element from template
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 985a7db408)
2018-07-20 09:11:01 +02:00
Jo-Philipp Wich
5b34fbaab7 luci-app-ocserv: update user status template
- Use cbi_update_table() helper to refresh user list
- Cleanup markup and remove uneeded CSS classes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f4ba55532f)
2018-07-20 09:08:38 +02:00
INAGAKI Hiroshi
5bbf669c85 luci-base: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(cherry picked from commit 72517887cb)
2018-07-20 08:56:08 +02:00
INAGAKI Hiroshi
da600939fc i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
(backported from commit 86660f92d1)
2018-07-20 08:55:45 +02:00
Dmitry Tunin
beb9ab2daa luci-proto-ncm: add modem default mode
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
(cherry picked from commit 57439d8daa)
2018-07-20 08:48:39 +02:00
Ansuel Smith
16837a5d0c luci-admin-full: add further wifi options
This commit adds option to disable scan for 40mhz channel, permit to tweak
beacon interval and other advanced settings.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[fix whitespace, add range constraint to dtim_period, add dtim_period
 to local vars, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit 39cabc0361)
2018-07-20 08:48:39 +02:00
Ansuel Smith
758c66b9da luci-admin-full: add dnsmasq allservers option
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 7ff8d15e24)
2018-07-20 08:48:39 +02:00
Stan Grishin
69a4c258f4 luci-app-simple-adblock: change style of button to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 3471e37b3b)
2018-07-20 08:01:23 +02:00
Stan Grishin
b9166ca964 luci-app-advanced-reboot: change style of buttons to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 4f921594bb)
2018-07-20 08:01:19 +02:00
Anton Kikin
5fc6bc7d90 luci-app-ddns: update and improve Russian translation
Update existing not quite correct translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 628745044b)
2018-07-20 08:01:16 +02:00
Anton Kikin
d3bfc5d03e luci-base: fix a typo in Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 4aad4a75ba)
2018-07-20 08:01:12 +02:00
Jo-Philipp Wich
91238dccc7 luci-theme-bootstrap: allow pointer events on readonly textareas and dropdowns
This is required to scroll and select text.

Fixes #1965
Fixes 887d0a685 ("luci-theme-bootstrap: cleanup CSS")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit a68006245d)
2018-07-20 08:01:04 +02:00
Jo-Philipp Wich
5d4c365f13 luci-theme-openwrt: fix another instance of misplaced page action button
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 369553cd14)
2018-07-20 08:00:49 +02:00
Jo-Philipp Wich
8d88802b83 luci-mod-admin-full: use incremental background scanning for wireless join
The previous approach of synchroneously scanning while building the result
page was suboptimal since it frequently led to connection resets when
accessing LuCI via wireless.

It also exhibited problems when accessed via SSL on recent Firefox versions
where the page were only loaded partially.

Rework the wireless scanning to gather scan results in a background process
and put them into the ubus session data area where they can be readily
accessed without causing network interruptions.

Subsequently rebuild the wireless join page to use XHR polling to
incrementally fetch updated scan results.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9b4efaefa1)
2018-07-20 08:00:45 +02:00
Jo-Philipp Wich
5ea795a4b8 luci-theme-openwrt: fixes for page action button placement
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 68dae07225)
2018-07-20 07:56:53 +02:00
Jo-Philipp Wich
fbc02d33a3 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>
(cherry picked from commit 29f542fa62)
2018-07-20 07:56:50 +02:00
Jo-Philipp Wich
0b44d33dd7 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>
(cherry picked from commit 90f9c59a2d)
2018-07-20 07:56:46 +02:00
Jo-Philipp Wich
d7c868a05e 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>
(cherry picked from commit c09e154560)
2018-07-20 07:56:38 +02:00
Jo-Philipp Wich
bea5187f3d 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>
(cherry picked from commit f1fb7122e3)
2018-07-20 07:56:35 +02:00
Jo-Philipp Wich
24b924bfe4 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>
(cherry picked from commit bc562294b9)
2018-07-20 07:56:31 +02:00
Jo-Philipp Wich
392fd02383 luci-base: cbi.js: add cbi_submit() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7b43e81c9b)
2018-07-20 07:56:12 +02:00
Jo-Philipp Wich
c0612e8208 luci-mod-admin-full: offer "Cancel" button in iface add dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9bdd097f53)
2018-07-20 07:55:59 +02:00
Jo-Philipp Wich
94b6aa2a8e 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>
(cherry picked from commit 92360f2d5b)
2018-07-17 20:52:24 +02:00
Anton Kikin
53686fd492 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>
(cherry picked from commit de74dcec1b)
2018-07-17 20:52:24 +02:00
Anton Kikin
0b00ceef01 luci-base: fix Russian translation
Removed redundant <br> tags from translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit efb38849d9)
2018-07-17 20:52:24 +02:00
Stan Grishin
984a1afcf7 luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit 768a72597c)
2018-07-17 20:52:24 +02:00
Yurii
a7e1edf936 luci-app-upnp: update Ukrainian translation
Corrections translation.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 4f5e1c7da5)
2018-07-17 20:52:24 +02:00
Yurii
8d882e5593 luci-base: update Ukrainian translation
Updated with the latest resync translation, corrections and additions translation.

Signed-off-by: Yurii yuripet@gmail.com
(cherry picked from commit 3859d444db)
2018-07-17 20:52:23 +02:00
amitabha
b49c62b2eb base.po: Update chinese translations.
Fix some Chinese translations.
Signed-off-by: Angus Ding <angus.ding@gmail.com>
(cherry picked from commit 92404498a1)
2018-07-17 20:52:23 +02:00
Anton Kikin
bf2c25e440 luci-base: fix Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
(cherry picked from commit 6f29acdfb7)
2018-07-17 20:52:23 +02:00
Daniel Dickinson
edbcdef15c luci-base: Avoid block umount on fstab apply
Default behaviour of changes to fstab (Mount Points) was
to use /etc/init.d/fstab restart, however this unmounts
filesystems via block umount which can cause the device
to fail, so replace the initscript call with an exec
of 'block mount'.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
(cherry picked from commit 33b279c475)
2018-07-17 20:47:48 +02:00
Jo-Philipp Wich
efff0139be luci-base: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-17 20:46:54 +02:00
Jo-Philipp Wich
b8b87182f6 luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6
Fixes FS#1361.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 60e7ea2fc8)
2018-07-17 16:20:15 +02:00
Jo-Philipp Wich
4da137e892 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>

(cherry picked from commit fcc9cd6a9a)
2018-07-16 17:35:07 +02:00
Jo-Philipp Wich
911219898f luci-mod-admin-full: fix changing alias interface ifnames
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 17:35:28 +02:00
Jo-Philipp Wich
9cc24e6c62 luci-base: fix handling alias interfaces in ifacelist widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 17:35:28 +02:00
Jo-Philipp Wich
cd8fc00130 luci-base: luci.model.network: recognize alias interfaces
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 17:35:28 +02:00
Jo-Philipp Wich
d03537c2dd 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>
2018-07-15 17:35:28 +02:00
Jo-Philipp Wich
8a7cd70d4d luci-theme-bootstrap: small style fix for link buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-15 17:35:28 +02:00