Commit graph

9963 commits

Author SHA1 Message Date
Jo-Philipp Wich
a8a5b2feb2
Merge pull request #1981 from hanipouspilot/ncm
luci-proto-ncm: remove unrelated options
2018-07-21 21:36:07 +02:00
Dmitry Tunin
6d03051e95 luci-proto-ncm: remove unrelated options
This removes all options 100% unrelated to NCM protocol.
Some options like 'dns' are not currently used by connection scripts,
but may be used in the future.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-21 22:14:51 +03:00
Jo-Philipp Wich
45816e8410
Merge pull request #1980 from hanipouspilot/ncm-addpdp
luci-proto-ncm: add pdptype option
2018-07-21 19:02:47 +02:00
Dmitry Tunin
58fd0749de luci-proto-ncm: add pdptype option
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-21 19:40:21 +03:00
Jo-Philipp Wich
e4a86478e6 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>
2018-07-21 14:19:41 +02:00
Jo-Philipp Wich
84f0b62bc8
Merge pull request #1978 from tano-systems/luci-base-fix-russian-translation
luci-base: fix Russian translation
2018-07-21 10:14:24 +02:00
Jo-Philipp Wich
66bdb07431
Merge pull request #1975 from Olim98/patch-2
luci-app-upnp: update Russian translation
2018-07-21 10:13:53 +02:00
Jo-Philipp Wich
422b04c2e0
Merge pull request #1974 from Olim98/patch-1
luci-app-adblock: fix and update Russian translation
2018-07-21 10:13:17 +02:00
Jo-Philipp Wich
c67aec622b
Merge pull request #1976 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: remove extra controller file
2018-07-21 10:12:59 +02:00
Anton Kikin
bf6275c85e luci-base: fix Russian translation
More correct translation of the 'instance'.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-21 11:12:17 +03:00
Stan Grishin
aaddcac5b0 luci-app-simple-adblock: remove extra controller file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-20 16:50:08 -07:00
Olimjon
c03bc0f533
luci-app-upnp: update Russian translation
Signed-off-by: Kudratov O <olimko98@gmail.com>
2018-07-21 02:34:25 +05:00
Olimjon
6a151eb70e
Update Russian translation 2018-07-21 02:10:51 +05:00
Jo-Philipp Wich
3d762eb7b2
Merge pull request #1972 from YuriPet/master
luci-base, luci-app-upnp, luci-app-wol: update Ukrainian translation
2018-07-20 21:46:35 +02:00
Yurii
4fa9115de6
luci-base: update Ukrainian translation
Updated with the latest resync translation, corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:31:54 +03:00
Yurii
9a6026b3d5
luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:28:19 +03:00
Yurii
2d946363b3
luci-app-wol: update Ukrainian translation
Corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:24:30 +03:00
Jo-Philipp Wich
3c90289e0f 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:35:09 +02:00
Jo-Philipp Wich
985a7db408 luci-app-ocserv: remove unneeded br element from template
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-20 09:10:45 +02:00
Jo-Philipp Wich
f4ba55532f 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>
2018-07-20 09:08:15 +02:00
Jo-Philipp Wich
b56fb05eb9
Merge pull request #1971 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
2018-07-20 08:47:23 +02:00
INAGAKI Hiroshi
72517887cb luci-base: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-07-20 15:33:19 +09:00
INAGAKI Hiroshi
86660f92d1 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-07-20 15:33:18 +09:00
Jo-Philipp Wich
ecb0c52bca
Merge pull request #1964 from hanipouspilot/ncm-fix
luci-proto-ncm: remove mode 'auto' as default
2018-07-20 07:53:05 +02:00
Jo-Philipp Wich
5c6ddd4a98
Merge pull request #1970 from tano-systems/luci-app-ddns-improve-russian-translation
luci-app-ddns: update and improve Russian translation
2018-07-20 07:31:05 +02:00
Jo-Philipp Wich
7cf295de2c
Merge pull request #1969 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: change style of button to important
2018-07-20 07:30:35 +02:00
Jo-Philipp Wich
f7cf8ff6c3
Merge pull request #1968 from stangri/luci-app-advanced-reboot
luci-app-advanced-reboot: change style of buttons to important
2018-07-20 07:30:31 +02:00
Jo-Philipp Wich
565c9001cd
Merge pull request #1967 from tano-systems/fix-typo-in-russian-translation
luci-base: fix a typo in Russian translation
2018-07-20 07:28:52 +02:00
Anton Kikin
628745044b luci-app-ddns: update and improve Russian translation
Update existing not quite correct translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-20 06:11:49 +03:00
Stan Grishin
3471e37b3b luci-app-simple-adblock: change style of button to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:34:49 -07:00
Stan Grishin
4f921594bb luci-app-advanced-reboot: change style of buttons to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:31:16 -07:00
Anton Kikin
4aad4a75ba luci-base: fix a typo in Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-20 05:08:38 +03:00
Dmitry Tunin
57439d8daa luci-proto-ncm: add modem default mode
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-19 22:54:58 +03:00
Jo-Philipp Wich
a68006245d 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>
2018-07-19 16:53:16 +02:00
Ansuel Smith
39cabc0361 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>
2018-07-18 18:48:37 +02:00
Jo-Philipp Wich
a37c1342f6
Merge pull request #1961 from Ansuel/dnsmasq
luci-admin-full: add dnsmasq allservers option
2018-07-18 18:45:31 +02:00
Ansuel Smith
7ff8d15e24
luci-admin-full: add dnsmasq allservers option
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-18 18:03:52 +02:00
Jo-Philipp Wich
369553cd14 luci-theme-openwrt: fix another instance of misplaced page action button
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18 14:49:02 +02:00
Jo-Philipp Wich
9b4efaefa1 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>
2018-07-18 14:43:27 +02:00
Jo-Philipp Wich
68dae07225 luci-theme-openwrt: fixes for page action button placement
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
29f542fa62 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>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
90f9c59a2d 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>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
c09e154560 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>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
f1fb7122e3 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>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
bc562294b9 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>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
7b43e81c9b luci-base: cbi.js: add cbi_submit() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
9bdd097f53 luci-mod-admin-full: offer "Cancel" button in iface add dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18 12:05:05 +02:00
Jo-Philipp Wich
60e7ea2fc8 luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6
Fixes FS#1361.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-17 16:19:00 +02:00
Jo-Philipp Wich
92360f2d5b 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>
2018-07-17 16:19:00 +02:00
Hannu Nyman
52a34bdfbe
Merge pull request #1957 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
2018-07-17 16:12:17 +03:00