summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-06-05luci-mod-system: fix SimpleForm usage on file editing pagesJo-Philipp Wich
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-05lucihttp: update to latest Git HEADJo-Philipp Wich
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-04Merge pull request #2744 from TDT-AG/pr/20190603-luci-app-mwan3Florian Eckert
luci-app-mwan3: change flush_conntrack option to list option
2019-06-04Merge pull request #2748 from dibdot/duid-fixJo-Philipp Wich
luci-base: fix duid_to_mac reference in status.lua
2019-06-04luci-base: fix duid_to_mac reference in status.luaDirk Brenken
* fix for openwrt/packages#9148 Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-04Merge pull request #2746 from TDT-AG/pr/20190603-luci-theme-materialFlorian Eckert
luci-theme-material: fix checkbox css StaticList view
2019-06-04luci-theme-material: fix checkbox css StaticList viewFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-03themes: don't reset theme on package upgradesJo-Philipp Wich
Fixes: #2743 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-03Merge pull request #2742 from Ansuel/odhcp-leaseJo-Philipp Wich
luci-base: handle dhcp lease from odhcpd
2019-06-03luci-app-mwan3: change flush_conntrack option to list optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-03luci-base: handle dhcp lease from odhcpdAnsuel Smith
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-03luci-base: adds duid_to_mac to sys.luaAnsuel Smith
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-05-31build: i18n-scan.pl: properly handle bracket-quoted stringsJo-Philipp Wich
Fixes: #2738 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-29Merge pull request #2733 from castillofrancodamian/samba4Hannu Nyman
luci-app-samba4: Update Spanish translation
2019-05-29Merge pull request #2734 from castillofrancodamian/tinyproxyHannu Nyman
luci-app-tinyproxy: Update Spanish translation
2019-05-29Merge pull request #2735 from castillofrancodamian/statisticsHannu Nyman
luci-app-statistics: Update Spanish translation
2019-05-29Merge pull request #2394 from gyr0tron/privoxy_hindiHannu Nyman
luci-app-privoxy: Added Hindi translation
2019-05-29Added privoxy Hindi translationsGyrotron
Signed-off-by: Simmar Kalsi <simmarkalsi@gmail.com>
2019-05-29Merge pull request #2670 from TDT-AG/pr/20190410-luci-mod-networkFlorian Eckert
luci-mod-network: move auto option to general tab
2019-05-28luci-app-statistics: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28Merge pull request #2673 from jose1711/mjpg-streamer-linkFlorian Eckert
luci-app-mjpg-streamer: add link option
2019-05-28Merge pull request #2391 from Matthias84/patch-4Florian Eckert
luci-app-uhttpd: German translation
2019-05-28luci-app-tinyproxy: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28luci-app-samba4: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-28Merge pull request #2725 from EricLuehrsen/unbound_viewDirk Brenken
luci-app-unbound: match dependencies with unbound package
2019-05-28Merge pull request #2732 from castillofrancodamian/hdFlorian Eckert
luci-app-hd-idle: Update Spanish translation
2019-05-28luci-app-hd-idle: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-25Merge pull request #2174 from rosysong/lease-statusFlorian Eckert
luci-base: drop ipv6 lease status when IPV6 is not support
2019-05-23luci-app-unbound: match dependencies with unbound packageEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2019-05-20Merge pull request #2691 from sumpfralle/patch-1Florian Eckert
Various improvements of the German translation
2019-05-18luci-base: Update German translationLars Kruse
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-17Merge pull request #2716 from castillofrancodamian/baseHannu Nyman
luci-base: Update Spanish translation
2019-05-17Merge pull request #2719 from castillofrancodamian/aria2Florian Eckert
luci-app-aria2: Update Spanish translation
2019-05-17Merge pull request #2718 from castillofrancodamian/firewallFlorian Eckert
luci-app-firewall: Update Spanish translation
2019-05-17Merge pull request #2717 from sotux/master-luci-base-zh_CNFlorian Eckert
luci-base: zh_CN: update Simplified Chinese translation
2019-05-16luci-app-aria2: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16luci-app-firewall: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-17luci-base: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-05-16luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16Merge pull request #2715 from castillofrancodamian/mjpgHannu Nyman
luci-app-mjpg-streamer: Add Spanish translation
2019-05-16luci-app-mjpg-streamer: Add Spanish translationFranco Castillo
Add Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16Merge pull request #2714 from castillofrancodamian/watchcatHannu Nyman
luci-app-watchcat: Update Spanish translation
2019-05-16Merge pull request #2713 from castillofrancodamian/opkgHannu Nyman
luci-app-opkg: Update Spanish translation
2019-05-16luci-app-watchcat: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16luci-app-opkg: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-16Merge pull request #2711 from dibdot/banipDirk Brenken
luci-app-banip: change maxqueue default / sync with banIP 0.1.1
2019-05-16Merge pull request #2703 from castillofrancodamian/polipoFlorian Eckert
luci-app-polipo: Update Spanish translation
2019-05-16Merge pull request #2707 from castillofrancodamian/shadowsocks-libevFlorian Eckert
luci-app-shadowsocks-libev: Udpate Spanish translation
2019-05-16Merge pull request #2709 from castillofrancodamian/nlbwmonFlorian Eckert
luci-app-nlbwmon: Add Spanish translation
2019-05-16Merge pull request #2705 from castillofrancodamian/adblockFlorian Eckert
luci-app-adblock: Update Spanish translation