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
Jo-Philipp Wich
4bbc033a96
build: i18n-scan.pl: properly handle bracket-quoted strings
...
Fixes : #2738
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-31 20:11:56 +02:00
Hannu Nyman
17d6746989
Merge pull request #2733 from castillofrancodamian/samba4
...
luci-app-samba4: Update Spanish translation
2019-05-29 19:29:11 +03:00
Hannu Nyman
dc4576ed0e
Merge pull request #2734 from castillofrancodamian/tinyproxy
...
luci-app-tinyproxy: Update Spanish translation
2019-05-29 19:28:55 +03:00
Hannu Nyman
560cde667d
Merge pull request #2735 from castillofrancodamian/statistics
...
luci-app-statistics: Update Spanish translation
2019-05-29 19:28:19 +03:00
Hannu Nyman
b77b55359d
Merge pull request #2394 from gyr0tron/privoxy_hindi
...
luci-app-privoxy: Added Hindi translation
2019-05-29 19:27:09 +03:00
Gyrotron
629c941eff
Added privoxy Hindi translations
...
Signed-off-by: Simmar Kalsi <simmarkalsi@gmail.com>
2019-05-29 21:51:49 +05:30
Florian Eckert
889e8eec4f
Merge pull request #2670 from TDT-AG/pr/20190410-luci-mod-network
...
luci-mod-network: move auto option to general tab
2019-05-29 11:10:19 +02:00
Franco Castillo
5c93eb3022
luci-app-statistics: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28 16:08:31 -03:00
Florian Eckert
ffc62ad5f5
Merge pull request #2673 from jose1711/mjpg-streamer-link
...
luci-app-mjpg-streamer: add link option
2019-05-28 21:03:43 +02:00
Florian Eckert
27a900225f
Merge pull request #2391 from Matthias84/patch-4
...
luci-app-uhttpd: German translation
2019-05-28 20:57:34 +02:00
Franco Castillo
75e6ee3668
luci-app-tinyproxy: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28 15:49:24 -03:00
Franco Castillo
f05bf1a06b
luci-app-samba4: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28 15:35:56 -03:00
Dirk Brenken
6a84951130
Merge pull request #2725 from EricLuehrsen/unbound_view
...
luci-app-unbound: match dependencies with unbound package
2019-05-28 16:18:44 +02:00
Florian Eckert
e07a368d2c
Merge pull request #2732 from castillofrancodamian/hd
...
luci-app-hd-idle: Update Spanish translation
2019-05-28 08:35:01 +02:00
Franco Castillo
16b06fbe84
luci-app-hd-idle: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28 00:48:50 -03:00
Florian Eckert
d1d5471137
Merge pull request #2174 from rosysong/lease-status
...
luci-base: drop ipv6 lease status when IPV6 is not support
2019-05-25 21:43:50 +02:00
Eric Luehrsen
3e358e5994
luci-app-unbound: match dependencies with unbound package
...
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2019-05-23 20:43:19 -04:00
Florian Eckert
2cdc5f160a
Merge pull request #2691 from sumpfralle/patch-1
...
Various improvements of the German translation
2019-05-20 18:24:09 +02:00
Lars Kruse
ed6a660261
luci-base: Update German translation
...
The following changes are included:
* properly handle "Präfix" as neuter
* add missing hyphens to many appearances of "Präfix"
* fix spelling
* add few missing translations
Signed-off-by: Lars Kruse <devel@sumpfralle.de>
2019-05-18 00:26:44 +02:00
Hannu Nyman
a7d35ede73
Merge pull request #2716 from castillofrancodamian/base
...
luci-base: Update Spanish translation
2019-05-17 16:56:26 +03:00
Florian Eckert
3c4ae77557
Merge pull request #2719 from castillofrancodamian/aria2
...
luci-app-aria2: Update Spanish translation
2019-05-17 09:04:05 +02:00
Florian Eckert
02227ccfe4
Merge pull request #2718 from castillofrancodamian/firewall
...
luci-app-firewall: Update Spanish translation
2019-05-17 09:03:20 +02:00
Florian Eckert
f6f534d057
Merge pull request #2717 from sotux/master-luci-base-zh_CN
...
luci-base: zh_CN: update Simplified Chinese translation
2019-05-17 09:01:56 +02:00
Franco Castillo
64645dd94d
luci-app-aria2: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 22:55:12 -03:00
Franco Castillo
79f883f822
luci-app-firewall: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 22:32:26 -03:00
Zheng Qian
3435c5272d
luci-base: zh_CN: update Simplified Chinese translation
...
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-05-17 09:21:46 +08:00
Franco Castillo
7681967fcb
luci-base: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 20:14:14 -03:00
Hannu Nyman
39e8e54949
Merge pull request #2715 from castillofrancodamian/mjpg
...
luci-app-mjpg-streamer: Add Spanish translation
2019-05-16 21:48:26 +03:00
Franco Castillo
a3ffb498f4
luci-app-mjpg-streamer: Add Spanish translation
...
Add Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 15:43:52 -03:00
Hannu Nyman
1992a323e2
Merge pull request #2714 from castillofrancodamian/watchcat
...
luci-app-watchcat: Update Spanish translation
2019-05-16 21:33:32 +03:00
Hannu Nyman
bf7418069a
Merge pull request #2713 from castillofrancodamian/opkg
...
luci-app-opkg: Update Spanish translation
2019-05-16 21:33:08 +03:00
Franco Castillo
b2b1c83908
luci-app-watchcat: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 15:28:59 -03:00
Franco Castillo
6868105948
luci-app-opkg: Update Spanish translation
...
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16 15:24:52 -03:00
Dirk Brenken
0a63e65bf6
Merge pull request #2711 from dibdot/banip
...
luci-app-banip: change maxqueue default / sync with banIP 0.1.1
2019-05-16 17:08:44 +02:00
Florian Eckert
e9da852fba
Merge pull request #2703 from castillofrancodamian/polipo
...
luci-app-polipo: Update Spanish translation
2019-05-16 11:46:58 +02:00
Florian Eckert
e312059fb6
Merge pull request #2707 from castillofrancodamian/shadowsocks-libev
...
luci-app-shadowsocks-libev: Udpate Spanish translation
2019-05-16 11:46:13 +02:00
Florian Eckert
0356ce014c
Merge pull request #2709 from castillofrancodamian/nlbwmon
...
luci-app-nlbwmon: Add Spanish translation
2019-05-16 11:36:30 +02:00
Florian Eckert
3eea81a4bc
Merge pull request #2705 from castillofrancodamian/adblock
...
luci-app-adblock: Update Spanish translation
2019-05-16 11:33:40 +02:00