Jo-Philipp Wich [Tue, 19 Jan 2016 09:36:42 +0000 (10:36 +0100)]
luci-base: cbi: optimize tab hide logic
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Tue, 19 Jan 2016 09:36:04 +0000 (10:36 +0100)]
luci-base: cbi: fix event binding js
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Tue, 19 Jan 2016 07:07:28 +0000 (08:07 +0100)]
luci-base: add missing Lua side changes for new dependency code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 19:14:47 +0000 (20:14 +0100)]
luci-base: cbi: prevent unintended focus on combobox init
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 18:34:02 +0000 (19:34 +0100)]
luci-base: cbi: refactor event handling js
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 17:59:14 +0000 (18:59 +0100)]
luci-base: cbi: fix reverse field order after dependency change
When fields got removed and readded due to unsatisfied dependencies, they
got inserted in reverse order into the dom.
Fix this issue by properly passing the element index.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 16:05:36 +0000 (17:05 +0100)]
luci-base: refactor cbi dependency handling code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 10:23:07 +0000 (11:23 +0100)]
luci-base: improve tab hide logic
Do not rely on explicit child counts but inspect the code instead to decide
when to hide tabs or not.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 10:06:35 +0000 (11:06 +0100)]
luci-theme-bootstrap: style fixes for map level tabs and disabled buttons
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 10:04:15 +0000 (11:04 +0100)]
luci-base: add extra css class for map level tabs, don't track tab child count
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 18 Jan 2016 09:59:07 +0000 (10:59 +0100)]
luci-base: do not render section description tag when description is empty
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Sun, 17 Jan 2016 18:04:02 +0000 (19:04 +0100)]
luci-mod-admin-full: prevent crash if channel of sta is unknown (#624)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Sun, 17 Jan 2016 16:59:37 +0000 (17:59 +0100)]
luci-theme-bootstrap: fix menu url generation (#625)
Also untangle Lua code and markup for better readability, use tabs for
indentation and build_url() to construct paths instead of concatenating
them manually.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Fri, 15 Jan 2016 18:23:53 +0000 (19:23 +0100)]
Merge pull request #593 from Umeaboy/patch-12
luci-app-splash: Edited Swedish translation
Kristoffer Grundström [Fri, 15 Jan 2016 18:21:57 +0000 (19:21 +0100)]
Updated Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Jo-Philipp Wich [Fri, 15 Jan 2016 16:42:40 +0000 (17:42 +0100)]
luci-base: add basic support for CBI map level tabbing
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Fri, 15 Jan 2016 16:04:28 +0000 (17:04 +0100)]
luci-base: prevent CBI map save on invalid values (#618)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Fri, 15 Jan 2016 15:39:01 +0000 (16:39 +0100)]
luci-base: initialize CBI optionals on initial Map render (#618)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Fri, 15 Jan 2016 14:20:41 +0000 (15:20 +0100)]
Merge pull request #563 from cshore/pull-request-app-uhttpd
Pull request app uhttpd
Jo-Philipp Wich [Fri, 15 Jan 2016 14:17:42 +0000 (15:17 +0100)]
Merge pull request #613 from tsl0922/tsl0922-patch-1
luci-theme-material: set default font-size to 13px
Jo-Philipp Wich [Fri, 15 Jan 2016 13:13:44 +0000 (14:13 +0100)]
luci-mod-admin-full: avoid indexing iw.hwmodelist directly
Prevent a nil field access when hwmodelist is undefined.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 9 Dec 2015 19:32:12 +0000 (20:32 +0100)]
luci-base: properly handle ubus connections for non-root (#570, #571)
Instead of relying on the connect-before-setuid hack, ship a proper
acl definition file whitelisting the procedures that LuCI requires
on its non-root pages.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Sun, 10 Jan 2016 12:19:34 +0000 (13:19 +0100)]
luci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Manuel Munz [Mon, 4 Jan 2016 22:19:26 +0000 (23:19 +0100)]
community-profiles/cottbus: fix some invalid characters
Manuel Munz [Mon, 4 Jan 2016 21:34:55 +0000 (22:34 +0100)]
a cleaner solution for disabling dyngw and dyngw_plain in freifunk-policyrouting init
Manuel Munz [Mon, 4 Jan 2016 21:20:47 +0000 (22:20 +0100)]
Merge pull request #619 from FreifunkHalle/updateProfileHalle
update community profile halle
mfuhrmeister [Mon, 31 Mar 2014 15:06:18 +0000 (17:06 +0200)]
change community profile halle
Christian Schoenebeck [Thu, 31 Dec 2015 11:20:42 +0000 (12:20 +0100)]
Merge pull request #616 from chris5560/master
luci-app-ddns: removing unneeded assert
Christian Schoenebeck [Thu, 31 Dec 2015 11:14:13 +0000 (12:14 +0100)]
luci-app-ddns: removing unneeded assert
- remove unneeded assert() in tools/ddns.lua
- correct PKG_VERSION to the correct value from controller/ddns.lua
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Hannu Nyman [Tue, 29 Dec 2015 17:46:09 +0000 (19:46 +0200)]
Merge pull request #608 from sairon/relative-luci-mk-paths
Use relative paths to luci.mk
Shuanglei Tao [Sun, 27 Dec 2015 12:04:35 +0000 (20:04 +0800)]
luci-theme-material: set default font-size to 13px
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
Jan Čermák [Mon, 21 Dec 2015 13:05:25 +0000 (14:05 +0100)]
luci-app-radicale: use relative path to luci.mk
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Jan Čermák [Mon, 21 Dec 2015 13:05:13 +0000 (14:05 +0100)]
luci-app-privoxy: use relative path to luci.mk
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Jan Čermák [Mon, 21 Dec 2015 13:05:04 +0000 (14:05 +0100)]
luci-app-ddns: use relative path to luci.mk
Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
Hannu Nyman [Sun, 20 Dec 2015 09:47:08 +0000 (11:47 +0200)]
i18n: sync translations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Sun, 20 Dec 2015 09:29:16 +0000 (11:29 +0200)]
Merge pull request #607 from 981213/fix-translate
Add some Simplified Chinese translations
GuoGuo [Sun, 13 Dec 2015 04:29:58 +0000 (12:29 +0800)]
Add some Simplified Chinese translations
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Hannu Nyman [Sat, 19 Dec 2015 20:40:14 +0000 (22:40 +0200)]
Merge pull request #606 from SvenRoederer/update_community-berlin
Update community berlin-profiles
Nico Geyso [Tue, 16 Sep 2014 10:49:58 +0000 (12:49 +0200)]
community-profiles: update berlin profile & remove berlin_pberg
these patches are used by the berlin-freifunk-community since 2014
- change ssid
(https://github.com/freifunk-berlin/firmware/commit/
563c955a19ea0db0bcbe6da1be0f50dd971961a3)
- remove obsolete olsr defaults
(https://github.com/freifunk-berlin/firmware/commit/
4558f8c88a99807388b3b1e315b440693b778a1d)
- use intern-chXX.freifunk.net as ssid scheme for adhoc
(https://github.com/freifunk-berlin/firmware/commit/
6ce8f590822bd31c37f247a8f006a8f2c5567b55)
- add mcast_rate
(https://github.com/freifunk-berlin/firmware/commit/
e90753ed0485d9c59a3af55efc8156e391ca848a)
(https://github.com/freifunk-berlin/firmware/commit/
01856773720b4755ee83080ba400b8489cf97416)
- add wifi_device and *_iface for 5GHz
(https://github.com/freifunk-berlin/firmware/commit/
5823e89a3d2d13bb47a2c9c7d33541588b9e64ab)
- remove owm_api and mapserver key from community profile
(https://github.com/freifunk-berlin/firmware/commit/
d4ee2e1bce4f04882af8cf28e62b97795959c31f)
- add two ipv6 nameservers
(https://github.com/freifunk-berlin/firmware/commit/
83df6ab77164a391f4536e32bc549a577d06af89)
- change default dhcp leasetime to 5 minutes
(https://github.com/freifunk-berlin/firmware/commit/
b38af129e0d4d4f5b6d1b1c23c57e6bec312de5f)
- remove non existent freifunk community profiles (Berlin)
(https://github.com/freifunk-berlin/firmware/commit/
6c49443bdef9905e71ad77b729d4cc95c5d66062)
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
Hannu Nyman [Fri, 18 Dec 2015 18:38:08 +0000 (20:38 +0200)]
luci-mod-admin-full: interface status page / clarify address display
Copy the changes made by
f8d0ba00b2ff27dc9e2f10712bc343ae655fbdf9
also to the interface details pages in order to clarify display of
multiple addresses.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Fri, 18 Dec 2015 09:22:16 +0000 (11:22 +0200)]
Merge pull request #590 from Umeaboy/patch-9
luci-app-radicale: Added and edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:21:58 +0000 (11:21 +0200)]
Merge pull request #587 from Umeaboy/patch-7
luci-app-privoxy: Added and edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:14:39 +0000 (11:14 +0200)]
Merge pull request #594 from Umeaboy/patch-13
luci-app-statistics: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:12:12 +0000 (11:12 +0200)]
Merge pull request #604 from Umeaboy/patch-23
luci-app-shadowsocks-libev: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:11:38 +0000 (11:11 +0200)]
Merge pull request #600 from Umeaboy/patch-19
luci-app-vnstat: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:11:28 +0000 (11:11 +0200)]
Merge pull request #601 from Umeaboy/patch-20
luci-app-voice-diag: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:11:15 +0000 (11:11 +0200)]
Merge pull request #602 from Umeaboy/patch-21
luci-app-watchcat: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:11:05 +0000 (11:11 +0200)]
Merge pull request #603 from Umeaboy/patch-22
luci-app-wol: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:10:20 +0000 (11:10 +0200)]
Merge pull request #605 from Umeaboy/patch-24
luci-app-p910nd: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:09:38 +0000 (11:09 +0200)]
Merge pull request #597 from Umeaboy/patch-16
luci-app-transmission: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:09:22 +0000 (11:09 +0200)]
Merge pull request #596 from Umeaboy/patch-15
luci-app-tinyproxy: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:08:57 +0000 (11:08 +0200)]
Merge pull request #598 from Umeaboy/patch-17
luci-app-upnp: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:08:40 +0000 (11:08 +0200)]
Merge pull request #599 from Umeaboy/patch-18
luci-app-ushare: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:06:22 +0000 (11:06 +0200)]
Merge pull request #592 from Umeaboy/patch-11
luci-app-samba: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:06:10 +0000 (11:06 +0200)]
Merge pull request #591 from Umeaboy/patch-10
luci-app-radvd: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:05:33 +0000 (11:05 +0200)]
Merge pull request #588 from Umeaboy/patch-5
luci-app-pbx-voicemail: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:05:23 +0000 (11:05 +0200)]
Merge pull request #589 from Umeaboy/patch-8
luci-app-qos: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:04:39 +0000 (11:04 +0200)]
Merge pull request #586 from Umeaboy/patch-6
luci-app-polipo: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:04:10 +0000 (11:04 +0200)]
Merge pull request #585 from Umeaboy/patch-4
luci-app-p2pblock: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:03:59 +0000 (11:03 +0200)]
Merge pull request #584 from Umeaboy/patch-3
luci-app-olsr: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:03:34 +0000 (11:03 +0200)]
Merge pull request #583 from Umeaboy/patch-2
luci-app-ntpc: Edited Swedish translation
Hannu Nyman [Fri, 18 Dec 2015 09:03:11 +0000 (11:03 +0200)]
Merge pull request #582 from Umeaboy/patch-1
luci-app-mmc-over-gpio: Edited Swedish translation
Kristoffer Grundström [Fri, 18 Dec 2015 05:55:31 +0000 (06:55 +0100)]
luci-app-p910nd: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 05:37:38 +0000 (06:37 +0100)]
luci-app-shadowsocks-libev: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 05:30:05 +0000 (06:30 +0100)]
luci-app-wol: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:53:34 +0000 (05:53 +0100)]
luci-app-watchcat: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:44:50 +0000 (05:44 +0100)]
luci-app-voice-diag: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:42:54 +0000 (05:42 +0100)]
luci-app-vnstat: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:41:27 +0000 (05:41 +0100)]
luci-app-ushare: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:39:59 +0000 (05:39 +0100)]
luci-app-upnp: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:33:20 +0000 (05:33 +0100)]
luci-app-transmission: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:28:45 +0000 (05:28 +0100)]
luci-app-tinyproxy: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:25:10 +0000 (05:25 +0100)]
luci-app-statistics: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:18:50 +0000 (05:18 +0100)]
luci-app-splash: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:17:28 +0000 (05:17 +0100)]
luci-app-samba: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:15:51 +0000 (05:15 +0100)]
luci-app-radvd: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:14:20 +0000 (05:14 +0100)]
luci-app-radicale: Added and edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:03:46 +0000 (05:03 +0100)]
luci-app-qos: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 04:01:13 +0000 (05:01 +0100)]
luci-app-privoxy: Added and edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:53:27 +0000 (04:53 +0100)]
luci-app-polipo: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:39:30 +0000 (04:39 +0100)]
luci-app-pbx-voicemail: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:36:01 +0000 (04:36 +0100)]
luci-app-p2pblock: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:33:57 +0000 (04:33 +0100)]
luci-app-olsr: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:31:14 +0000 (04:31 +0100)]
luci-app-ntpc: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Kristoffer Grundström [Fri, 18 Dec 2015 03:23:53 +0000 (04:23 +0100)]
luci-app-mmc-over-gpio: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Jo-Philipp Wich [Thu, 17 Dec 2015 01:39:23 +0000 (02:39 +0100)]
Merge pull request #464 from remakeelectric/pulls/list-operations
get/set list operations and documentation
Jo-Philipp Wich [Thu, 17 Dec 2015 01:38:41 +0000 (02:38 +0100)]
Merge pull request #579 from cshore/pull-request-protocol-vpnc
protocols: vpnc: Add vpnc as a network protocol
Jo-Philipp Wich [Thu, 17 Dec 2015 01:37:55 +0000 (02:37 +0100)]
Merge pull request #437 from fkooman/issue-436
introduce tls_version_min and tls_version_max, add key_direction and …
Jo-Philipp Wich [Thu, 17 Dec 2015 01:36:45 +0000 (02:36 +0100)]
Merge pull request #462 from jplitza/jsonc-sink
luci-lib-jsonc: Add ltn12-compatible sink factory
Jo-Philipp Wich [Thu, 17 Dec 2015 01:32:47 +0000 (02:32 +0100)]
Merge pull request #577 from cshore/pull-request-safe-file-upload
luci-base: Make default for FileUpload 'safe'
Jo-Philipp Wich [Thu, 17 Dec 2015 01:32:10 +0000 (02:32 +0100)]
Merge pull request #578 from cshore/pull-request-validator-rework
Pull request validator rework
Jo-Philipp Wich [Thu, 17 Dec 2015 01:31:48 +0000 (02:31 +0100)]
Merge pull request #581 from Umeaboy/patch-2
luci-app-wshaper: Edited Swedish translation
Kristoffer Grundström [Thu, 17 Dec 2015 01:29:39 +0000 (02:29 +0100)]
luci-app-wshaper: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Jo-Philipp Wich [Thu, 17 Dec 2015 01:25:08 +0000 (02:25 +0100)]
Merge pull request #580 from Umeaboy/patch-3
luci-app-ahcp: Edited Swedish translation
Kristoffer Grundström [Thu, 17 Dec 2015 01:24:00 +0000 (02:24 +0100)]
luci-app-ahcp: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
Daniel Dickinson [Wed, 2 Dec 2015 05:31:17 +0000 (00:31 -0500)]
protocols: vpnc: Add vpnc as a network protocol
Daniel Dickinson [Tue, 15 Dec 2015 03:51:29 +0000 (22:51 -0500)]
validation: Add option ipv4only option to host and hostport datatypes
Some applications only support ipv4 so add ipv4only option
to host and hostport datatypes so that for thos applications
that when an IP address is specified only and ipv4 ip address
gets accepted.
Daniel Dickinson [Mon, 14 Dec 2015 12:38:31 +0000 (07:38 -0500)]
modules/luci-base: Fix ipaddrport validator to support ipv6
The previous versiono of ipaddrport validator only worked for ipv4
due to disallowing colons (:) in ip address which obvious fails for
ipv6. We now instead allow either ipv4 address or an ipv6 address of
the form [<ipv6address>]:port
Daniel Dickinson [Wed, 2 Dec 2015 04:02:38 +0000 (23:02 -0500)]
luci-base: Make default for FileUpload 'safe'
Some files and pointers to files are not safe to remove without a replacement
file and config pointing to the file. For instance for uhttpd application in
the works, removing the certificate or key config or files without having the
replacements in places renders the WeUI inaccessible.
The only other place where FileUpload is currently used is for wifi certificates
for which the 'safe' handling is also preferred. Therefore make the default for
the FileUpload widget the safe handling and add a property self.unsafeupload that
allows for the old unsafe handling should it prove useful in some case.
Also allow to specify a file already on router instead of uploading a file.
Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>
Jo-Philipp Wich [Tue, 15 Dec 2015 22:08:17 +0000 (23:08 +0100)]
Merge pull request #564 from cshore/pull-request-app-firewall-timedate
Pull request app firewall timedate