Commit graph

10984 commits

Author SHA1 Message Date
Martin Schiller
a8f79f12d6 luci-mod-system: fix some led trigger name translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-28 15:44:26 +02:00
Jo-Philipp Wich
0017bc89f2
Merge pull request #2794 from TDT-AG/pr/20190626-luci-app-firewall-german-translation
luci-app-firewall: add some german translations
2019-06-28 12:29:19 +02:00
Florian Eckert
977f657791
Merge pull request #2061 from Ansuel/improveconn
luci-mod-admin-full: improve connection page lookup loop
2019-06-28 07:49:37 +02:00
Florian Eckert
ae1652fc11
Merge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmi
luci-proto-qmi: improvements
2019-06-27 15:20:31 +02:00
Jo-Philipp Wich
b1c218b07a
Merge pull request #2796 from TDT-AG/pr/20190627-luci-theme-material-change-loading-text
luci-theme-material: change string 'Loading...' to 'Collecting data...'
2019-06-27 06:51:29 +02:00
Martin Schiller
f9f71ba673 luci-theme-material: change string 'Loading...' to 'Collecting data...'
It's better to reuse the already available and well translated string
'Collecting data...'.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-27 06:24:35 +02:00
Hannu Nyman
4566a733ae
Merge pull request #2795 from bmork/os-release-variable-renaming
luci-mod-network: os-release variables have been renamed to OPENWRT_
2019-06-26 21:40:41 +03:00
Florian Eckert
015f247d9b
Merge pull request #2770 from geekinaboxx/master
luci-proto-ncm: add dialnum option
2019-06-26 16:06:38 +02:00
aleem-tectonic
d9ff6721ef
add dialnum option
Signed-off-by: geekinaboxx <aleem@tectonic.it>
2019-06-26 15:02:22 +01:00
Martin Schiller
7bbd54f43f luci-app-firewall: add some german translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-26 14:58:01 +02:00
Bjørn Mork
689934196f luci-mod-network: os-release variables have been renamed to OPENWRT_
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release
variables") changes the prefix of the os-release variables from LEDE_
to OPENWRT_.  Use the new name.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-06-26 14:54:27 +02:00
Florian Eckert
eec28ed7b8
Merge pull request #2779 from hwti/statistics-ping-addressfamily
luci-app-statistics: add address family configuration for ping
2019-06-26 14:22:33 +02:00
Jo-Philipp Wich
fb0fedca48
Merge pull request #2793 from TDT-AG/pr/20190626-luci-theme-material-translation-fix
luci-theme-material: make 'Loading...' text translatable
2019-06-26 14:00:58 +02:00
Martin Schiller
e633934a4a luci-theme-material: make 'Loading...' text translatable
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-26 13:53:59 +02:00
Florian Eckert
f17227d3f5 luci-proto-qmi: only show password and username if auth is selected
Only show username and password if we use PAP/CHAP, PAP or CHAP
authentication.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-26 13:08:23 +02:00
Florian Eckert
204bc5b9ab luci-proto-qmi: add missing delay option
The proto handler qmi does support the delay option for modem
initialization. Add that missing option to the advanced tab to configure
that with LuCI.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-26 12:54:00 +02:00
Jo-Philipp Wich
1fb68aad35
Merge pull request #2788 from dibdot/opkg
luci-app-opkg: change remove button caption (first level)
2019-06-25 21:38:08 +02:00
Dirk Brenken
8767eb830b
luci-app-opkg: change remove button caption (first level)
* add three dots to the first level 'Remove' button caption
  (revert/fix da8668a)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-25 21:28:44 +02:00
Jo-Philipp Wich
86fd703bae
Merge pull request #2783 from castillofrancodamian/base
luci-base: Update Spanish translation
2019-06-24 06:52:48 +02:00
Franco Castillo
d3bb50dcd8 luci-base: Update Spanish translation
Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-06-22 17:41:17 -03:00
Loïc Yhuel
af5771426b luci-app-statistics: add address family configuration for ping
It allows to force ipv4 or ipv6 when the DNS returns both addresses, but
only one works (for example if there is no ipv6 connectivity).

Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com>
2019-06-21 02:03:12 +02:00
Jo-Philipp Wich
1154c4198a luci-app-opkg: make overwriting package files optional
Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-19 13:33:46 +02:00
Jo-Philipp Wich
da8668a50d luci-app-opkg: change remove button caption
Add three dots to the first level 'Remove' button caption, because it
leads to a modal dialogue.

Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-19 12:39:03 +02:00
Jo-Philipp Wich
88282c14cf luci-app-opkg: honor installed flag to skip half-installed packages
Do not consider half-installed packages (which happens after an
installation failure) to be installed.

Ref: https://github.com/openwrt/luci/pull/2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-19 11:24:27 +02:00
Hannu Nyman
cffeee49d7 treewide: fix datetype/datatype typo
Fix 'datetype' typo.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-16 17:54:04 +03:00
Hannu Nyman
ab70fb1ac6
Merge pull request #2772 from jjm2473/patch-2
luci-app-aria2: fix: datatype
2019-06-16 17:47:04 +03:00
练亮斌
2326a0a4c0
luci-app-aria2: fix: datatype
just a spelling mistake.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2019-06-16 22:26:11 +08:00
Jo-Philipp Wich
1aa13ed51e luci-mod-system: prevent clearing rc.local on unrelated submit actions
Fixes: #2760
Fixes: 1c09ee5e4 ("luci-mod-system: fix SimpleForm usage on file editing pages")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-12 17:47:30 +02:00
Perry Thompson
1818499243 luci-base: update Traditional Chinese translation
Signed-off-by: Perry Thompson <contact@ryper.org>
2019-06-12 20:55:47 +08:00
a962702
b93d66d806 luci-base: update Traditional Chinese translation
update Traditional Chinese translations.

Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-11 20:43:33 +08:00
Andy
7e27e3f930 luci-base: update Traditional Chinese translation
update Traditional Chinese translation.
Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-11 20:43:33 +08:00
Florian Eckert
e1341dfe1d
Merge pull request #2762 from musashino205/l10n/mwan3-upd-ja
luci-app-mwan3: update Japanese translation
2019-06-10 13:55:07 +02:00
INAGAKI Hiroshi
bb7fb4f225 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-06-10 16:04:20 +09:00
Hannu Nyman
0a5579a631 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-09 19:24:00 +03:00
Dirk Brenken
a9f305e159
Merge pull request #2755 from dibdot/lxc
luci-app-lxc: add conffiles define
2019-06-07 06:55:36 +02:00
Dirk Brenken
231eaf2065
luci-app-lxc: add conffiles define
- fix #2754

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-06 13:03:40 +02:00
Hannu Nyman
e6f07fdc73
Merge pull request #2753 from tano-systems/pr-luci-base-update-ru-translation
luci-base: update Russian translation
2019-06-05 21:50:34 +03:00
Anton Kikin
886e0b3eff luci-base: update Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-05 21:43:17 +03:00
Jo-Philipp Wich
1c09ee5e42 luci-mod-system: fix SimpleForm usage on file editing pages
When a value identical to the stored one is submitted, the CBI framework
will not emit an option write event and therfore not store the value in
the form data dictionary passed to SimpleForm.handle().

This usage pattern usally works be accident for file editor views such
as admin_system/crontab because \r\n windows style line endings are
substituted with unix \n ones before writing the data, defeating the
equality check in CBI.

When a single line without trailing newline is submitted however, the
CBI will not see a difference to the data stored in the file and clear
out the value on subsequent saves.

This commit alignes the logic used by various SimpleForm views to
behave identically and predictable:

 - File data is handled in the SimpleForm.handle() callback
 - The forcewrite property is used to disable equality checks
 - Submission of an empty string empties the backing file

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-05 16:15:40 +02:00
Jo-Philipp Wich
15608fd2e5 lucihttp: update to latest Git HEAD
f6e0564 lib: fix handling of empty multipart fields
91c01c3 lib: fix multipart state transition in boundary parsing

Fixes: #2737
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-05 16:15:40 +02:00
Florian Eckert
bf06d8e13c
Merge pull request #2744 from TDT-AG/pr/20190603-luci-app-mwan3
luci-app-mwan3: change flush_conntrack option to list option
2019-06-04 22:07:24 +02:00
Jo-Philipp Wich
1152b75971
Merge pull request #2748 from dibdot/duid-fix
luci-base: fix duid_to_mac reference in status.lua
2019-06-04 17:14:37 +02:00
Dirk Brenken
64fb538568
luci-base: fix duid_to_mac reference in status.lua
* fix for openwrt/packages#9148

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-04 16:54:24 +02:00
Florian Eckert
1e138fdccf
Merge pull request #2746 from TDT-AG/pr/20190603-luci-theme-material
luci-theme-material: fix checkbox css StaticList view
2019-06-04 15:17:50 +02:00
Florian Eckert
74d2b24197 luci-theme-material: fix checkbox css StaticList view
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-04 15:16:54 +02:00
Jo-Philipp Wich
5fd071aadb themes: don't reset theme on package upgrades
Fixes: #2743
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-03 16:49:10 +02:00
Jo-Philipp Wich
c8b7e7631b
Merge pull request #2742 from Ansuel/odhcp-lease
luci-base: handle dhcp lease from odhcpd
2019-06-03 16:34:06 +02:00
Florian Eckert
69f6a36084 luci-app-mwan3: change flush_conntrack option to list option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-03 14:22:54 +02:00
Ansuel Smith
bb34a31e81
luci-base: handle dhcp lease from odhcpd
Currently only the dnsmasq lease file is read for hostname hint. If someone use only odhcpd as dhcp daemon the hostname resolution on wifi_assoc list is broken.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-06-03 12:51:33 +02:00
Ansuel Smith
525d62ff33
luci-base: adds duid_to_mac to sys.lua
Move duid_to_mac function from status.lua to sys.lua.
Implement translation from DUID-LL without header to MAC

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-06-03 12:48:48 +02:00