Commit graph

7912 commits

Author SHA1 Message Date
Hannu Nyman
3155dae3df Merge pull request #589 from Umeaboy/patch-8
luci-app-qos: Edited Swedish translation
2015-12-18 11:05:23 +02:00
Hannu Nyman
a562417d46 Merge pull request #586 from Umeaboy/patch-6
luci-app-polipo: Edited Swedish translation
2015-12-18 11:04:39 +02:00
Hannu Nyman
7ee5445876 Merge pull request #585 from Umeaboy/patch-4
luci-app-p2pblock: Edited Swedish translation
2015-12-18 11:04:10 +02:00
Hannu Nyman
1900a8f776 Merge pull request #584 from Umeaboy/patch-3
luci-app-olsr: Edited Swedish translation
2015-12-18 11:03:59 +02:00
Hannu Nyman
f1d9ee58f5 Merge pull request #583 from Umeaboy/patch-2
luci-app-ntpc: Edited Swedish translation
2015-12-18 11:03:34 +02:00
Hannu Nyman
ed6bc62bdb Merge pull request #582 from Umeaboy/patch-1
luci-app-mmc-over-gpio: Edited Swedish translation
2015-12-18 11:03:11 +02:00
Kristoffer Grundström
211e64ba0c luci-app-p910nd: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 06:55:31 +01:00
Kristoffer Grundström
5642947777 luci-app-shadowsocks-libev: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 06:37:38 +01:00
Kristoffer Grundström
3c2a018010 luci-app-wol: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 06:30:05 +01:00
Kristoffer Grundström
2c975e1346 luci-app-watchcat: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:53:34 +01:00
Kristoffer Grundström
ce86d31205 luci-app-voice-diag: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:44:50 +01:00
Kristoffer Grundström
d0c688d5f4 luci-app-vnstat: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:42:54 +01:00
Kristoffer Grundström
bac7b74d30 luci-app-ushare: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:41:27 +01:00
Kristoffer Grundström
59d83131cd luci-app-upnp: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:39:59 +01:00
Kristoffer Grundström
c35f9f9f13 luci-app-transmission: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:33:20 +01:00
Kristoffer Grundström
4082ad37d9 luci-app-tinyproxy: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:28:45 +01:00
Kristoffer Grundström
ea8479ca22 luci-app-statistics: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:25:10 +01:00
Kristoffer Grundström
13043cfebc luci-app-splash: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:18:50 +01:00
Kristoffer Grundström
759db714ed luci-app-samba: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:17:28 +01:00
Kristoffer Grundström
0cf44444fd luci-app-radvd: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:15:51 +01:00
Kristoffer Grundström
adfbb018c5 luci-app-radicale: Added and edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:14:20 +01:00
Kristoffer Grundström
28ebe3b645 luci-app-qos: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:03:46 +01:00
Kristoffer Grundström
3a12a1aa89 luci-app-privoxy: Added and edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 05:01:13 +01:00
Kristoffer Grundström
a4fcfb3062 luci-app-polipo: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:53:27 +01:00
Kristoffer Grundström
cb489e5939 luci-app-pbx-voicemail: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:39:30 +01:00
Kristoffer Grundström
a36df9ecdd luci-app-p2pblock: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:36:01 +01:00
Kristoffer Grundström
5ed4926127 luci-app-olsr: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:33:57 +01:00
Kristoffer Grundström
fb78defbf9 luci-app-ntpc: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:31:14 +01:00
Kristoffer Grundström
1a5a22216c luci-app-mmc-over-gpio: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18 04:23:53 +01:00
Jo-Philipp Wich
967bb1f36f Merge pull request #464 from remakeelectric/pulls/list-operations
get/set list operations and documentation
2015-12-17 02:39:23 +01:00
Jo-Philipp Wich
0dcb549841 Merge pull request #579 from cshore/pull-request-protocol-vpnc
protocols: vpnc: Add vpnc as a network protocol
2015-12-17 02:38:41 +01:00
Jo-Philipp Wich
23df4ffaf7 Merge pull request #437 from fkooman/issue-436
introduce tls_version_min and tls_version_max, add key_direction and …
2015-12-17 02:37:55 +01:00
Jo-Philipp Wich
e19098d062 Merge pull request #462 from jplitza/jsonc-sink
luci-lib-jsonc: Add ltn12-compatible sink factory
2015-12-17 02:36:45 +01:00
Jo-Philipp Wich
31816e92f1 Merge pull request #577 from cshore/pull-request-safe-file-upload
luci-base: Make default for FileUpload 'safe'
2015-12-17 02:32:47 +01:00
Jo-Philipp Wich
3dfa111db8 Merge pull request #578 from cshore/pull-request-validator-rework
Pull request validator rework
2015-12-17 02:32:10 +01:00
Jo-Philipp Wich
cfd2b5d2a4 Merge pull request #581 from Umeaboy/patch-2
luci-app-wshaper: Edited Swedish translation
2015-12-17 02:31:48 +01:00
Kristoffer Grundström
17658b707b luci-app-wshaper: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-17 02:29:39 +01:00
Jo-Philipp Wich
d01c4c7ae6 Merge pull request #580 from Umeaboy/patch-3
luci-app-ahcp: Edited Swedish translation
2015-12-17 02:25:08 +01:00
Kristoffer Grundström
fd82daef1a luci-app-ahcp: Edited Swedish translation
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-17 02:24:00 +01:00
Daniel Dickinson
3f95160cbd protocols: vpnc: Add vpnc as a network protocol 2015-12-16 01:37:04 -05:00
Daniel Dickinson
c481f3f343 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.
2015-12-15 20:41:01 -05:00
Daniel Dickinson
bbcfad7953 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
2015-12-15 20:40:14 -05:00
Daniel Dickinson
b475ec699d 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>
2015-12-15 20:36:17 -05:00
Jo-Philipp Wich
f25c4e07bc Merge pull request #564 from cshore/pull-request-app-firewall-timedate
Pull request app firewall timedate
2015-12-15 23:08:17 +01:00
Jo-Philipp Wich
19b85c34fc Merge pull request #562 from cshore/pull-request-upload-dir
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-upload…
2015-12-15 22:56:47 +01:00
Daniel Dickinson
b130ca554f 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>
2015-12-15 13:12:29 -05:00
Daniel Dickinson
0ec3f91a0c 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.
2015-12-15 13:12:10 -05:00
Daniel Dickinson
38880407aa 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
2015-12-15 13:10:15 -05:00
Daniel Dickinson
d83642c205 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.
2015-12-15 13:09:46 -05:00
Daniel Dickinson
6509e007e2 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>
2015-12-15 13:09:41 -05:00