Commit graph

13410 commits

Author SHA1 Message Date
Jo-Philipp Wich
0fb2f8f1d1 luci-base: ui.js: improve mobile dropdown scroll behaviour
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-25 12:35:15 +01:00
Jo-Philipp Wich
81693ff2c8
Merge pull request #3783 from dibdot/ovpn_fix
luci-app-openvpn: fix upload input validator
2020-03-25 09:23:31 +01:00
Dirk Brenken
51579cd49e
luci-app-openvpn: fix upload input validator
* accept/replace common '.' seperator in instance names as well,
  see comment in #2235

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-03-25 08:38:07 +01:00
Jo-Philipp Wich
ca17ec9b4f luci-theme-bootstrap: fixup assoclist styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e)
2020-03-24 22:14:18 +01:00
Jo-Philipp Wich
04c73f1613 luci-mod-network, luci-mod-status: allow assoclist wrapping
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-24 22:14:18 +01:00
Jo-Philipp Wich
82fb5a67d3 luci-base: form.js / ui.js: tie form labels to widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 22ba6fc40933bee02c3ea93bbda952bb44bf3af1)
2020-03-24 22:14:18 +01:00
Hannu Nyman
573fdc0452
Merge pull request #3781 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-24 18:59:49 +02:00
Hosted Weblate
366f3ac336
Translated using Weblate (Portuguese)
Currently translated at 10.0% (6 of 60 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/pt/

Signed-off-by: ssantos <ssantos@web.de>

Translated using Weblate (Portuguese)

Currently translated at 100.0% (43 of 43 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/pt/

Signed-off-by: ssantos <ssantos@web.de>

Translated using Weblate (Russian)

Currently translated at 87.5% (35 of 40 strings)

Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ru/

Signed-off-by: Константин <konstantin.z100@gmail.com>

Translated using Weblate (Portuguese)

Currently translated at 100.0% (177 of 177 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/

Signed-off-by: ssantos <ssantos@web.de>

Translated using Weblate (Portuguese)

Currently translated at 100.0% (194 of 194 strings)

Translation: OpenWrt/LuCI/applications/olsr
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/pt/
2020-03-24 17:46:50 +01:00
Jo-Philipp Wich
98a9d07d89 luci-mod-network: dhcp.js: properly validate hostname values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:20:50 +01:00
Jo-Philipp Wich
6d17667524 luci-app-statistics: rework markup and CSS classes for easier styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:19:26 +01:00
Jo-Philipp Wich
3a32eb26ef luci-app-opkg: rework markup and CSS classes for easier styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:16:50 +01:00
Jo-Philipp Wich
1b7e923cf6 luci-mod-network: adjust assoclist markup for easier styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:14:02 +01:00
Jo-Philipp Wich
be62595c5b luci-mod-status: tag DHCP lease tables with dedicated CSS classes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:02:30 +01:00
Jo-Philipp Wich
e26b6c8c14 luci-mod-status: adjust assoclist markup for easier styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:01:53 +01:00
Jo-Philipp Wich
3afe606743 luci-mod-system: system.js: rework local time widget markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:58:25 +01:00
Jo-Philipp Wich
90990df3b6 luci-mod-system: use proper CSS class for map description
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:56:55 +01:00
Jo-Philipp Wich
4fa409c7c4 luci-mod-status: use generic .cbi-section-actions style for row actions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:55:50 +01:00
Jo-Philipp Wich
9706388c42 luci-mod-system: use generic .cbi-section-actions style for row actions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:53:53 +01:00
Jo-Philipp Wich
41b2fe9f6b luci-mod-network: diagnostics.css: use .btn CSS class for buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:48:13 +01:00
Jo-Philipp Wich
5d8970d76c form.js: use CSS .btn class for drag handles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:47:35 +01:00
Jo-Philipp Wich
04b62708f5 luci-compat: footer.htm: tweak CSS classes
- Use .btn CSS class for page action buttons
 - Use .control-group class for page action div

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:41:22 +01:00
Jo-Philipp Wich
7c3b3018b3 luci-base: luci.js: tweak CSS classes
- use .btn CSS class for Save & Apply button
 - use .control-group CSS class for page action buttons

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:41:16 +01:00
Jo-Philipp Wich
993b4f7950 luci-base: ui.js: various tweaks
- emit checkbox markup suitable for CSS styling
 - use .btn CSS class where appropriate
 - dispatch events when updating uci change indicator
 - use correct target node when handling events in createHandlerFn()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:36:59 +01:00
jjm2473
97780a9ce1 ucitrack: fix bug for exec with params
In file `/etc/config/ucitrack`
```
config fstab
        option exec '/sbin/block mount'
```
`/sbin/block mount` never be called after fstab changed.

Signed-off-by: jjm2473 <1129525450@qq.com>
2020-03-23 01:05:31 +08:00
Hannu Nyman
63d357123f
Merge pull request #3776 from aparcar/noci
CI: remove circleci
2020-03-21 21:47:54 +02:00
Paul Spooren
64861e2c85 CI: remove circleci
LuCI packages are mostly architecture independent and therefore require
no compile checks.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-03-21 09:38:39 -10:00
Jo-Philipp Wich
d5ff74aab7
Merge pull request #3775 from alanswanson/master
luci-mod-network: interfaces.js: add global packet steering option
2020-03-21 17:53:29 +01:00
Alan Swanson
28ed7245be luci-mod-network: interfaces.js: add global packet steering option
Previously an undocumented "default_ps" option without a corresponding luci
entry. Hotplug script was updated in openwrt master to use "packet_steering"
as the option and now defaults to off.

Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d3868f15f876507db54afacdef22a7059011a54e
Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-21 16:21:00 +00:00
Hannu Nyman
be361725c4
Merge pull request #3770 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-20 22:03:29 +02:00
Hannu Nyman
14fb27ed08
Merge pull request #3771 from cshore-history/pr-remove-cshored-luci-maintainer
treewide: Remove myself as maintainer
2020-03-20 22:02:45 +02:00
Daniel F. Dickinson
119166ddba treewide: Remove myself as maintainer
Life changes, I'm no longer avaiable to be an sufficiently active
OpenWrt developer.  Therefore removing myself from maintainer from
all packages I maintained in OpenWrt.

All the best for those who keep up the good work!

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2020-03-20 14:49:07 -04:00
Hosted Weblate
15c433cdd4
Translated using Weblate (French)
Currently translated at 100.0% (60 of 60 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 100.0% (72 of 72 strings)

Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 18.6% (8 of 43 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 100.0% (24 of 24 strings)

Translation: OpenWrt/LuCI/applications/ksmbd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 100.0% (49 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 53.2% (41 of 77 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 100.0% (172 of 172 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/fr/

Signed-off-by: Hydci <giogio59@live.fr>

Translated using Weblate (French)

Currently translated at 14.8% (15 of 101 strings)

Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/fr/

Translated using Weblate (French)

Currently translated at 100.0% (22 of 22 strings)

Translation: OpenWrt/LuCI/applications/samba
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba/fr/

Translated using Weblate (French)

Currently translated at 100.0% (73 of 73 strings)

Translation: OpenWrt/LuCI/applications/tinyproxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/fr/

Translated using Weblate (French)

Currently translated at 100.0% (209 of 209 strings)

Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/fr/

Translated using Weblate (French)

Currently translated at 6.8% (9 of 132 strings)

Translation: OpenWrt/LuCI/applications/nut
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/fr/

Translated using Weblate (French)

Currently translated at 100.0% (34 of 34 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/fr/
2020-03-20 18:55:38 +01:00
Dirk Brenken
085f3f7809
luci-base: accept alternative logread location
* minimal change to accept the usual logread location
  plus the alternative location (/usr/sbin/logread)
  used by syslog-ng (see openwrt/packages/issues/11535 for reference)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-03-20 16:11:31 +01:00
Hannu Nyman
0ed0d4213a
Merge pull request #3764 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-18 08:21:42 +02:00
Hosted Weblate
9b1d8cdffb
Translated using Weblate (Chinese (Simplified))
Currently translated at 90.9% (50 of 55 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/zh_Hans/

Signed-off-by: anonymous <noreply@weblate.org>

Translated using Weblate (Chinese (Simplified))

Currently translated at 90.9% (50 of 55 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/zh_Hans/

Signed-off-by: Limingso <67947742@qq.com>
2020-03-18 01:11:36 +01:00
Hannu Nyman
c2593691cb
Merge pull request #3762 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-16 19:04:49 +02:00
Hosted Weblate
3e209d6a9f
Translated using Weblate (Russian)
Currently translated at 100.0% (42 of 42 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/ru/

Signed-off-by: sergio <sergio+it@outerface.net>

Translated using Weblate (French)

Currently translated at 49.2% (103 of 209 strings)

Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/fr/

Translated using Weblate (Spanish)

Currently translated at 100.0% (1337 of 1337 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-03-16 17:59:35 +01:00
Jo-Philipp Wich
12e1d9411d luci-app-statistics: fix APC UPS graph rendering
Fixes: #3743
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-16 12:11:01 +01:00
Jo-Philipp Wich
5d7dc391d4 themes: ensure that data-page attribute is escaped
Fixes: #3757
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15 17:48:40 +01:00
Ansuel Smith
03af89a24b luci-app-ddns: fix invalid markup
Fix invalid markup to be XHTML compliant in order to prevent exceptions
when opening DDNS pages with luci-theme-openwrt.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Ref: https://forum.openwrt.org/t/19-07-luci-app-ddns-broken/57596
Fixes: 34fa5122f ("luci-app-ddns: convert to client side implementatio")
[reword commit message, drop unrelated ui.js changes]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15 00:31:38 +01:00
Jo-Philipp Wich
ead5e81c16 luci: depend on uhttpd-mod-ubus
Start requiring uhttpd-mod-ubus support to speedup RPC calls.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15 00:31:38 +01:00
Hannu Nyman
0c9aeaf289
Merge pull request #3755 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-14 21:51:48 +02:00
Hosted Weblate
9086911854
Translated using Weblate (Chinese (Simplified))
Currently translated at 51.6% (31 of 60 strings)

Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/zh_Hans/

Signed-off-by: Liumeo <liumeo@pku.edu.cn>

Translated using Weblate (Greek)

Currently translated at 2.3% (1 of 43 strings)

Translation: OpenWrt/LuCI/applications/ser2net
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsser2net/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 14.8% (4 of 27 strings)

Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 1.5% (1 of 65 strings)

Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 3.0% (3 of 98 strings)

Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 5.0% (1 of 20 strings)

Translation: OpenWrt/LuCI/applications/nextdns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnextdns/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 2.1% (1 of 47 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 6.1% (3 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 7.6% (1 of 13 strings)

Translation: OpenWrt/LuCI/applications/pagekitec
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspagekitec/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 6.6% (2 of 30 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 3.3% (4 of 118 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 4.9% (3 of 61 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/el/

Signed-off-by: lamprakis <lamprakisa@yahoo.gr>

Translated using Weblate (Greek)

Currently translated at 100.0% (10 of 10 strings)

Translation: OpenWrt/LuCI/applications/p910nd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/el/

Translated using Weblate (Greek)

Currently translated at 8.8% (3 of 34 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/el/
2020-03-14 20:36:51 +01:00
Jo-Philipp Wich
38289bc975 luci-base: ensure that ubus path uses trailing slash
Without the trailing slash, probing endpoint availability will fail.

Fixes: 529bde440 ("luci-base: make rpc webserver path configurable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-13 23:57:19 +01:00
Florian Eckert
270c5f04e2
Merge pull request #3751 from brianjmurrell/patch-2
luci-app-mwan3: Remove unnecessary dependency
2020-03-13 11:24:10 +01:00
Brian J. Murrell
70089cc212
luci-app-mwan3: Remove unnecessary dependency
There is no need to depend on luci-app-firewall, so remove the dependency.

I have examined the code and cannot see any reason for the dependency
and I have built a router with luci-app-mwan3, and without firewall,
luci-app-firewall and it all functions just fine.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2020-03-13 05:42:11 -04:00
Hannu Nyman
134e2e8b09
Merge pull request #3750 from weblate/weblate-openwrt-luci
Translations update from Weblate
2020-03-13 07:39:12 +02:00
Hosted Weblate
df7f169da4
Translated using Weblate (Russian)
Currently translated at 87.5% (21 of 24 strings)

Translation: OpenWrt/LuCI/applications/ksmbd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsksmbd/ru/

Signed-off-by: sergio <sergio+it@outerface.net>

Translated using Weblate (Russian)

Currently translated at 100.0% (22 of 22 strings)

Translation: OpenWrt/LuCI/applications/samba
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba/ru/

Translated using Weblate (Russian)

Currently translated at 92.3% (12 of 13 strings)

Translation: OpenWrt/LuCI/applications/wol
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswol/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (34 of 34 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/ru/
2020-03-13 06:33:43 +01:00
Ansuel Smith
3d70d3e5d7
luci-base: fix error 404 on missing relay protocol
Currently relay.js is included in any case even if
the router doesn't have the needed package to use it.
Fix this by checking if the system has this feature.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-03-12 16:46:53 +01:00
Ansuel Smith
d8e1aef150
luci-base: add relayd to getFeature list
Add /sbin/block to the generic Feature list to make
it easily accessible by getProtocolHandlers

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-03-12 16:40:25 +01:00