project/luci.git
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-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 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>
8 years agoMerge pull request #567 from inTagger/ip-addr-view-update
Hannu Nyman [Wed, 9 Dec 2015 09:43:36 +0000 (11:43 +0200)]
Merge pull request #567 from inTagger/ip-addr-view-update

luci-mod-admin-full: update IPv4/IPv6 list views

8 years agoluci-mod-admin-full: update IPv4/IPv6 list views 567/head
Alexander Logger [Tue, 8 Dec 2015 18:20:11 +0000 (21:20 +0300)]
luci-mod-admin-full: update IPv4/IPv6 list views

For better view of 'Interface Overview' IPv4/IPv6 addresses for
interfaces should be displayed as lists, but not as comma separated
strings.

Signed-off-by: Alexander Logger <intagger@gmail.com>
8 years agoi18n: sync translations
Hannu Nyman [Sun, 6 Dec 2015 11:23:38 +0000 (13:23 +0200)]
i18n: sync translations

Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years agoMerge pull request #461 from marcel-sch/patch-1
Jo-Philipp Wich [Fri, 4 Dec 2015 19:04:55 +0000 (20:04 +0100)]
Merge pull request #461 from marcel-sch/patch-1

package/community-profiles: add freifunk cottbus profile

8 years agoMerge pull request #559 from Arnie97/add-openvpn-proto
Jo-Philipp Wich [Thu, 3 Dec 2015 15:42:58 +0000 (16:42 +0100)]
Merge pull request #559 from Arnie97/add-openvpn-proto

luci-app-openvpn: Add udp6 and tcp6 to proto

8 years agoluci-app-openvpn: Add udp6 and tcp6 to proto 559/head
Arnie97 [Fri, 27 Nov 2015 03:20:26 +0000 (11:20 +0800)]
luci-app-openvpn: Add udp6 and tcp6 to proto

Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
8 years agoMerge pull request #565 from yousong/l2tp-server
Jo-Philipp Wich [Wed, 2 Dec 2015 12:57:05 +0000 (13:57 +0100)]
Merge pull request #565 from yousong/l2tp-server

Allow host:port value for l2tp `server` option

8 years agoluci-proto-ppp: l2tp: allow specifying port in "server" option 565/head
Yousong Zhou [Wed, 18 Nov 2015 05:34:24 +0000 (13:34 +0800)]
luci-proto-ppp: l2tp: allow specifying port in "server" option

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoluci-base: fix escaping lua string to js repr
Yousong Zhou [Wed, 25 Nov 2015 14:39:27 +0000 (22:39 +0800)]
luci-base: fix escaping lua string to js repr

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoluci-base: add hostport and ipaddrport validation types
Jo-Philipp Wich [Wed, 2 Dec 2015 10:13:18 +0000 (11:13 +0100)]
luci-base: add hostport and ipaddrport validation types

Add two new types 'hostport' and 'ipaddrport' to validate strings in the form
'sub.example.org:1234' and '0.0.0.0:80'. The 'hostport' accepts hostnames or
IP addresses followed by a colon and a port number while the 'ipaddrport' type
accepts numeric IP addresses only, followed by a colon and a port.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #561 from cshore/pull-request-fstab-improvements
Jo-Philipp Wich [Wed, 2 Dec 2015 09:44:10 +0000 (10:44 +0100)]
Merge pull request #561 from cshore/pull-request-fstab-improvements

Pull request fstab improvements

8 years agoluci-base: Add function for shell single-quote parameter escaping 561/head
Daniel Dickinson [Wed, 2 Dec 2015 04:47:42 +0000 (23:47 -0500)]
luci-base: Add function for shell single-quote parameter escaping

When using os.execute or luci.sys.call the shell is called with the
command line which means that standard shell interpretation of strings
occurs.  To allow to use these commands more easily we add functions
for properly escaping single-quoted strings used on the command line

8 years agoluci-mod-admin-full: fstab: Add ability to redo the detection of block devices
Daniel Dickinson [Wed, 2 Dec 2015 05:23:04 +0000 (00:23 -0500)]
luci-mod-admin-full: fstab: Add ability to redo the detection of block devices

Adds a button that does block detect and write the new configuration
to /etc/config/fstab.

8 years agoluci-mod-admin-full: fstab: Add ability to set global options like anonymous mounts
Daniel Dickinson [Wed, 2 Dec 2015 05:21:36 +0000 (00:21 -0500)]
luci-mod-admin-full: fstab: Add ability to set global options like anonymous mounts

Previously the global configuration options were missing the the LuCI configuration,
however these options are useful, so make them available to the UI.

8 years agoluci-mod-admin-full: Don't show jail bind mounts
Daniel Dickinson [Wed, 2 Dec 2015 05:19:47 +0000 (00:19 -0500)]
luci-mod-admin-full: Don't show jail bind mounts

The user is unlikely to care about the plethora of jail bind mounts
when using jails, so don't display them in this app.

8 years agoluci-mod-admin-full: fstab: Add ability to unmount non-system mounts
Daniel Dickinson [Wed, 2 Dec 2015 05:17:52 +0000 (00:17 -0500)]
luci-mod-admin-full: fstab: Add ability to unmount non-system mounts

Add an unmount button for non-system mounts which will unmount
the corresponding file system.

8 years agoluci-app-openvpn: add route_nopull (#560)
Jo-Philipp Wich [Mon, 30 Nov 2015 06:58:22 +0000 (07:58 +0100)]
luci-app-openvpn: add route_nopull (#560)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #534 from yousong/add-luci-proto-pppossh
Jo-Philipp Wich [Thu, 26 Nov 2015 22:23:15 +0000 (23:23 +0100)]
Merge pull request #534 from yousong/add-luci-proto-pppossh

Add luci proto pppossh

8 years agoluci-mod-admin-full: limit SSID to 32 characters (#558)
Jo-Philipp Wich [Thu, 26 Nov 2015 11:30:53 +0000 (12:30 +0100)]
luci-mod-admin-full: limit SSID to 32 characters (#558)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: fix script regression after 152ba9ab228ad4ea4c1748f29fe4ffa5f8f74ac6
Jo-Philipp Wich [Sat, 21 Nov 2015 12:53:33 +0000 (13:53 +0100)]
luci-mod-admin-full: fix script regression after 152ba9ab228ad4ea4c1748f29fe4ffa5f8f74ac6

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: use board.json to infer switch netdev
Jo-Philipp Wich [Fri, 20 Nov 2015 23:31:06 +0000 (00:31 +0100)]
luci-base: use board.json to infer switch netdev

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-base: switch to luci-lib-jsonc
Jo-Philipp Wich [Fri, 20 Nov 2015 23:29:55 +0000 (00:29 +0100)]
luci-base: switch to luci-lib-jsonc

Add dependency on luci-lib-jsonc and use it to
reimplement luci.util.serialize_json().

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoluci-mod-admin-full: make mirror port settings depend on mirror enable
Jo-Philipp Wich [Fri, 20 Nov 2015 22:44:43 +0000 (23:44 +0100)]
luci-mod-admin-full: make mirror port settings depend on mirror enable

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoMerge pull request #554 from bittorf/better_neigh.sh
Hannu Nyman [Fri, 20 Nov 2015 20:01:27 +0000 (22:01 +0200)]
Merge pull request #554 from bittorf/better_neigh.sh

freifunk-common: neigh.sh - show hostnames

8 years agofreifunk-common: neigh.sh - show hostnames 554/head
Bastian Bittorf [Fri, 20 Nov 2015 19:46:55 +0000 (20:46 +0100)]
freifunk-common: neigh.sh - show hostnames

if nameservice-plugin is configured, we read
in all locally known hostnames and show them
in the output:

root@stuttgarter-core:~# neigh.sh
Local          Remote         vTime  LQ       NLQ      Cost Host
10.230.105.241 10.230.105.246 138851 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
10.230.105.241 10.230.105.247 135717 1.000000 1.000000 1024 stuttgarter-emma.olsr
10.230.105.241 10.230.105.244 138309 1.000000 1.000000 1024 stuttgarter-sued.olsr
10.230.105.241 10.230.105.245 136001 1.000000 1.000000 1024 stuttgarter-west.olsr
10.230.105.241 10.230.105.242 134818 1.000000 1.000000 1024 stuttgarter-nord.olsr
10.230.105.241 10.230.105.243 137187 1.000000 1.000000 1024 stuttgarter-ost.olsr
10.230.105.241 10.230.105.250 139984 1.000000 1.000000 1024 stuttgarter-hof2.olsr
10.230.105.241 10.230.105.251 138294 1.000000 1.000000 1024 stuttgarter-stra2.olsr

Local               Remote              vTime  LQ       NLQ      Cost Host
2001:bf7:820:901::1 2001:bf7:820:950::1 139703 1.000000 1.000000 1024 stuttgarter-rhnk.olsr
2001:bf7:820:901::1 2001:bf7:820:960::1 139541 1.000000 1.000000 1024 stuttgarter-emma.olsr
2001:bf7:820:901::1 2001:bf7:820:990::1 140415 1.000000 1.000000 1024 stuttgarter-hof2.olsr
2001:bf7:820:901::1 fde6:24f1:a388::1   141338 1.000000 1.000000 1024

the filenames for the olsrd hosts-file is taken from uci
and falls back to sane defaults.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
8 years agoluci-mod-admin-full: revert accidential button type change in 20fdac1ac4a126ceebde13f...
Jo-Philipp Wich [Thu, 19 Nov 2015 09:02:41 +0000 (10:02 +0100)]
luci-mod-admin-full: revert accidential button type change in 20fdac1ac4a126ceebde13fb627a9f88bba0e2b3

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
8 years agoupdate profile 461/head
marcel-sch [Wed, 18 Nov 2015 15:38:05 +0000 (16:38 +0100)]
update profile

8 years agocontrib/package/freifunk-policyrouting: remove rc.d symlink
Manuel Munz [Wed, 18 Nov 2015 11:34:06 +0000 (12:34 +0100)]
contrib/package/freifunk-policyrouting: remove rc.d symlink

9 years agoluci-mod-admin-full: allow empty mac in interface status
Jo-Philipp Wich [Tue, 17 Nov 2015 16:42:22 +0000 (17:42 +0100)]
luci-mod-admin-full: allow empty mac in interface status

Also adjust for changed IP address format emitted by iface_status call.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_status
Jo-Philipp Wich [Tue, 17 Nov 2015 16:36:00 +0000 (17:36 +0100)]
luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_status

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: eliminate use of uci state vars in luci.model.network
Jo-Philipp Wich [Tue, 17 Nov 2015 16:35:02 +0000 (17:35 +0100)]
luci-base: eliminate use of uci state vars in luci.model.network

Also implement :ipaddrs() and :ip6addrs() helper for network instances.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: prevent submit with interface delete button (#549)
Jo-Philipp Wich [Mon, 16 Nov 2015 13:30:13 +0000 (14:30 +0100)]
luci-mod-admin-full: prevent submit with interface delete button (#549)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: fix uci documentation issue (#538)
Jo-Philipp Wich [Mon, 16 Nov 2015 11:36:29 +0000 (12:36 +0100)]
luci-base: fix uci documentation issue (#538)

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