project/luci.git
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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

8 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

8 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>
8 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>
8 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>
8 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

8 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

8 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

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

8 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

8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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

8 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>
8 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>
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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

8 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 …

8 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

8 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'

8 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

8 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

8 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>
8 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

8 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>
8 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

8 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.

8 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

8 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>

8 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

8 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…

8 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>
8 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.

8 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

8 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.

8 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>

8 years agoCONTRIBUTING.md: clarify signed-off-by advice
Hannu Nyman [Tue, 15 Dec 2015 12:37:46 +0000 (14:37 +0200)]
CONTRIBUTING.md: clarify signed-off-by advice

Clarify the signed-off-by advice in CONTRIBUTING.md.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoapplications: firewall: Add time and date for rules and redirects 564/head
Daniel Dickinson [Wed, 2 Dec 2015 05:52:37 +0000 (00:52 -0500)]
applications: firewall: Add time and date for rules and redirects

UCI config for the firewall has the option of specifying time and date
limitations; add these options the UI.

8 years agoluci-base: Add time and data datatypes for use with firewall app
Daniel Dickinson [Wed, 2 Dec 2015 04:43:18 +0000 (23:43 -0500)]
luci-base: Add time and data datatypes for use with firewall app

Adding LuCI configuation of the firewall time and data uci options
is in progress and this adds the necessary datatypes for validating
those fields.

8 years agomodules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and save acros... 562/head
Daniel Dickinson [Wed, 2 Dec 2015 02:36:30 +0000 (21:36 -0500)]
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and save across sysupgrade

/lib/uci/upload is a rather odd place for configuration files

Also the files were not saved across sysupgrade, which is somewhat
counter-productive for configuration files.

Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>

8 years agoluci-app-olsr: use public interface of luci.model.network.wifinet (#569)
Jo-Philipp Wich [Wed, 9 Dec 2015 15:51:48 +0000 (16:51 +0100)]
luci-app-olsr: use public interface of luci.model.network.wifinet (#569)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: rewrite luci.sys.net.conntrack()
Jo-Philipp Wich [Wed, 9 Dec 2015 14:53:26 +0000 (15:53 +0100)]
luci-base: rewrite luci.sys.net.conntrack()

The new function is twice as fast as the old implementation and properly
summarizes outgoing and incoming byte and packet counters.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>