project/luci.git
5 years agoluci-base: refactor cbi dependency handling code
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>
5 years agoluci-base: improve tab hide logic
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>
5 years agoluci-theme-bootstrap: style fixes for map level tabs and disabled buttons
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>
5 years agoluci-base: add extra css class for map level tabs, don't track tab child count
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>
5 years agoluci-base: do not render section description tag when description is empty
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>
5 years agoluci-mod-admin-full: prevent crash if channel of sta is unknown (#624)
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>
5 years agoluci-theme-bootstrap: fix menu url generation (#625)
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>
5 years agoMerge pull request #593 from Umeaboy/patch-12
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

5 years agoUpdated Swedish translation 593/head
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>
5 years agoluci-base: add basic support for CBI map level tabbing
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>
5 years agoluci-base: prevent CBI map save on invalid values (#618)
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>
5 years agoluci-base: initialize CBI optionals on initial Map render (#618)
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>
5 years agoMerge pull request #563 from cshore/pull-request-app-uhttpd
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

5 years agoMerge pull request #613 from tsl0922/tsl0922-patch-1
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

5 years agoluci-mod-admin-full: avoid indexing iw.hwmodelist directly
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>
5 years agoluci-base: properly handle ubus connections for non-root (#570, #571)
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>
5 years agoluci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
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>
5 years agocommunity-profiles/cottbus: fix some invalid characters
Manuel Munz [Mon, 4 Jan 2016 22:19:26 +0000 (23:19 +0100)]
community-profiles/cottbus: fix some invalid characters

5 years agoa cleaner solution for disabling dyngw and dyngw_plain in freifunk-policyrouting...
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

5 years agoMerge pull request #619 from FreifunkHalle/updateProfileHalle
Manuel Munz [Mon, 4 Jan 2016 21:20:47 +0000 (22:20 +0100)]
Merge pull request #619 from FreifunkHalle/updateProfileHalle

update community profile halle

5 years agochange community profile halle 619/head
mfuhrmeister [Mon, 31 Mar 2014 15:06:18 +0000 (17:06 +0200)]
change community profile halle

5 years agoMerge pull request #616 from chris5560/master
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

5 years agoluci-app-ddns: removing unneeded assert 616/head
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>
5 years agoMerge pull request #608 from sairon/relative-luci-mk-paths
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

5 years agoluci-theme-material: set default font-size to 13px 613/head
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>
5 years agoluci-app-radicale: use relative path to luci.mk 608/head
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>
5 years agoluci-app-privoxy: use relative path to luci.mk
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>
5 years agoluci-app-ddns: use relative path to luci.mk
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>
5 years agoi18n: sync translations
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>
5 years agoMerge pull request #607 from 981213/fix-translate
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

5 years agoAdd some Simplified Chinese translations 607/head
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>
5 years agoMerge pull request #606 from SvenRoederer/update_community-berlin
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

5 years agocommunity-profiles: update berlin profile & remove berlin_pberg 606/head
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>
5 years agoluci-mod-admin-full: interface status page / clarify address display
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>
5 years agoMerge pull request #590 from Umeaboy/patch-9
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

5 years agoMerge pull request #587 from Umeaboy/patch-7
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

5 years agoMerge pull request #594 from Umeaboy/patch-13
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

5 years agoMerge pull request #604 from Umeaboy/patch-23
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

5 years agoMerge pull request #600 from Umeaboy/patch-19
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

5 years agoMerge pull request #601 from Umeaboy/patch-20
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

5 years agoMerge pull request #602 from Umeaboy/patch-21
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

5 years agoMerge pull request #603 from Umeaboy/patch-22
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

5 years agoMerge pull request #605 from Umeaboy/patch-24
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

5 years agoMerge pull request #597 from Umeaboy/patch-16
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

5 years agoMerge pull request #596 from Umeaboy/patch-15
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

5 years agoMerge pull request #598 from Umeaboy/patch-17
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

5 years agoMerge pull request #599 from Umeaboy/patch-18
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

5 years agoMerge pull request #592 from Umeaboy/patch-11
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

5 years agoMerge pull request #591 from Umeaboy/patch-10
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

5 years agoMerge pull request #588 from Umeaboy/patch-5
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

5 years agoMerge pull request #589 from Umeaboy/patch-8
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

5 years agoMerge pull request #586 from Umeaboy/patch-6
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

5 years agoMerge pull request #585 from Umeaboy/patch-4
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

5 years agoMerge pull request #584 from Umeaboy/patch-3
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

5 years agoMerge pull request #583 from Umeaboy/patch-2
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

5 years agoMerge pull request #582 from Umeaboy/patch-1
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

5 years agoluci-app-p910nd: Edited Swedish translation 605/head
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>
5 years agoluci-app-shadowsocks-libev: Edited Swedish translation 604/head
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>
5 years agoluci-app-wol: Edited Swedish translation 603/head
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>
5 years agoluci-app-watchcat: Edited Swedish translation 602/head
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>
5 years agoluci-app-voice-diag: Edited Swedish translation 601/head
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>
5 years agoluci-app-vnstat: Edited Swedish translation 600/head
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>
5 years agoluci-app-ushare: Edited Swedish translation 599/head
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>
5 years agoluci-app-upnp: Edited Swedish translation 598/head
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>
5 years agoluci-app-transmission: Edited Swedish translation 597/head
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>
5 years agoluci-app-tinyproxy: Edited Swedish translation 596/head
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>
5 years agoluci-app-statistics: Edited Swedish translation 594/head
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>
5 years agoluci-app-splash: Edited Swedish translation
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>
5 years agoluci-app-samba: Edited Swedish translation 592/head
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>
5 years agoluci-app-radvd: Edited Swedish translation 591/head
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>
5 years agoluci-app-radicale: Added and edited Swedish translation 590/head
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>
5 years agoluci-app-qos: Edited Swedish translation 589/head
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>
5 years agoluci-app-privoxy: Added and edited Swedish translation 587/head
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>
5 years agoluci-app-polipo: Edited Swedish translation 586/head
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>
5 years agoluci-app-pbx-voicemail: Edited Swedish translation 588/head
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>
5 years agoluci-app-p2pblock: Edited Swedish translation 585/head
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>
5 years agoluci-app-olsr: Edited Swedish translation 584/head
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>
5 years agoluci-app-ntpc: Edited Swedish translation 583/head
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>
5 years agoluci-app-mmc-over-gpio: Edited Swedish translation 582/head
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>
5 years agoMerge pull request #464 from remakeelectric/pulls/list-operations
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

5 years agoMerge pull request #579 from cshore/pull-request-protocol-vpnc
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

5 years agoMerge pull request #437 from fkooman/issue-436
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 …

5 years agoMerge pull request #462 from jplitza/jsonc-sink
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

5 years agoMerge pull request #577 from cshore/pull-request-safe-file-upload
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'

5 years agoMerge pull request #578 from cshore/pull-request-validator-rework
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

5 years agoMerge pull request #581 from Umeaboy/patch-2
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

5 years agoluci-app-wshaper: Edited Swedish translation 581/head
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>
5 years agoMerge pull request #580 from Umeaboy/patch-3
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

5 years agoluci-app-ahcp: Edited Swedish translation 580/head
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>
5 years agoprotocols: vpnc: Add vpnc as a network protocol 579/head
Daniel Dickinson [Wed, 2 Dec 2015 05:31:17 +0000 (00:31 -0500)]
protocols: vpnc: Add vpnc as a network protocol

5 years agovalidation: Add option ipv4only option to host and hostport datatypes 578/head
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.

5 years agomodules/luci-base: Fix ipaddrport validator to support ipv6
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

5 years agoluci-base: Make default for FileUpload 'safe' 577/head
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>

5 years agoMerge pull request #564 from cshore/pull-request-app-firewall-timedate
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

5 years agoMerge pull request #562 from cshore/pull-request-upload-dir
Jo-Philipp Wich [Tue, 15 Dec 2015 21:56:47 +0000 (22:56 +0100)]
Merge pull request #562 from cshore/pull-request-upload-dir

modules/luci-base: Move LuCI FileUpload directory to /etc/luci-upload…

5 years agolib-nixio / luci-base: Fix for reading csrf token prevents file upload 563/head
Daniel Dickinson [Tue, 15 Dec 2015 16:37:33 +0000 (11:37 -0500)]
lib-nixio / luci-base: Fix for reading csrf token prevents file upload

The call to http.formvalue in order to read the csrf token causes
_parse_input to be triggered *before* controllers and cbi maps have
been built.  This results in the failure of file uploads because
the file handler is not yet in place when _parse_input gets called,
and it is in _parse_input that POST data is parsed (including files).

To fix this we add the ability to write file fields to temporary
files (using mkstemp and unlink in nixio.file) and use this to
store file data until the filehandler is registered, with a
fallback to reading the file data into memory.

Once the filehandler callback gets registered we iterate
though all previously parsed (saved) files and copy the
data to the file handler, and then close the temporary
file (which finally removes because we unlinked after
creating the file, but didn't close the file so unlink
was deferred).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
5 years agovalidation: Add option ipv4only option to host and hostport datatypes
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.

5 years agomodules/luci-base: Fix ipaddrport validator to support ipv6
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

5 years agoapplications: uhttpd: Add a uHTTPd configuration app
Daniel Dickinson [Wed, 2 Dec 2015 05:25:30 +0000 (00:25 -0500)]
applications: uhttpd: Add a uHTTPd configuration app

uHTTPd has a lot of useful options that ought to be configurable
without have to SSH in, so expose those options in a UI page.

5 years agoluci-base: Make default for FileUpload 'safe'
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>