summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-12-18luci-app-samba: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-radvd: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-radicale: Added and edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-qos: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-privoxy: Added and edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-polipo: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-pbx-voicemail: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-p2pblock: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-olsr: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-ntpc: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-18luci-app-mmc-over-gpio: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-17Merge pull request #464 from remakeelectric/pulls/list-operationsJo-Philipp Wich
get/set list operations and documentation
2015-12-17Merge pull request #579 from cshore/pull-request-protocol-vpncJo-Philipp Wich
protocols: vpnc: Add vpnc as a network protocol
2015-12-17Merge pull request #437 from fkooman/issue-436Jo-Philipp Wich
introduce tls_version_min and tls_version_max, add key_direction and …
2015-12-17Merge pull request #462 from jplitza/jsonc-sinkJo-Philipp Wich
luci-lib-jsonc: Add ltn12-compatible sink factory
2015-12-17Merge pull request #577 from cshore/pull-request-safe-file-uploadJo-Philipp Wich
luci-base: Make default for FileUpload 'safe'
2015-12-17Merge pull request #578 from cshore/pull-request-validator-reworkJo-Philipp Wich
Pull request validator rework
2015-12-17Merge pull request #581 from Umeaboy/patch-2Jo-Philipp Wich
luci-app-wshaper: Edited Swedish translation
2015-12-17luci-app-wshaper: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-17Merge pull request #580 from Umeaboy/patch-3Jo-Philipp Wich
luci-app-ahcp: Edited Swedish translation
2015-12-17luci-app-ahcp: Edited Swedish translationKristoffer Grundström
Signed-off-by: Kristoffer Grundström <kristoffer.grundstrom1983@gmail.com>
2015-12-16protocols: vpnc: Add vpnc as a network protocolDaniel Dickinson
2015-12-15validation: Add option ipv4only option to host and hostport datatypesDaniel Dickinson
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-15modules/luci-base: Fix ipaddrport validator to support ipv6Daniel Dickinson
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-15luci-base: Make default for FileUpload 'safe'Daniel Dickinson
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-15Merge pull request #564 from cshore/pull-request-app-firewall-timedateJo-Philipp Wich
Pull request app firewall timedate
2015-12-15Merge pull request #562 from cshore/pull-request-upload-dirJo-Philipp Wich
modules/luci-base: Move LuCI FileUpload directory to /etc/luci-upload…
2015-12-15lib-nixio / luci-base: Fix for reading csrf token prevents file uploadDaniel Dickinson
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-15validation: Add option ipv4only option to host and hostport datatypesDaniel Dickinson
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-15modules/luci-base: Fix ipaddrport validator to support ipv6Daniel Dickinson
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-15applications: uhttpd: Add a uHTTPd configuration appDaniel Dickinson
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-15luci-base: Make default for FileUpload 'safe'Daniel Dickinson
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-15CONTRIBUTING.md: clarify signed-off-by adviceHannu Nyman
Clarify the signed-off-by advice in CONTRIBUTING.md. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-14applications: firewall: Add time and date for rules and redirectsDaniel Dickinson
UCI config for the firewall has the option of specifying time and date limitations; add these options the UI.
2015-12-14luci-base: Add time and data datatypes for use with firewall appDaniel Dickinson
Adding LuCI configuation of the firewall time and data uci options is in progress and this adds the necessary datatypes for validating those fields.
2015-12-12modules/luci-base: Move LuCI FileUpload directory to /etc/luci-uploads and ↵Daniel Dickinson
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>
2015-12-09luci-app-olsr: use public interface of luci.model.network.wifinet (#569)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-09luci-base: rewrite luci.sys.net.conntrack()Jo-Philipp Wich
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>
2015-12-09Merge pull request #567 from inTagger/ip-addr-view-updateHannu Nyman
luci-mod-admin-full: update IPv4/IPv6 list views
2015-12-08luci-mod-admin-full: update IPv4/IPv6 list viewsAlexander Logger
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>
2015-12-06i18n: sync translationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-04Merge pull request #461 from marcel-sch/patch-1Jo-Philipp Wich
package/community-profiles: add freifunk cottbus profile
2015-12-03Merge pull request #559 from Arnie97/add-openvpn-protoJo-Philipp Wich
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03luci-app-openvpn: Add udp6 and tcp6 to protoArnie97
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
2015-12-02Merge pull request #565 from yousong/l2tp-serverJo-Philipp Wich
Allow host:port value for l2tp `server` option
2015-12-02luci-proto-ppp: l2tp: allow specifying port in "server" optionYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02luci-base: fix escaping lua string to js reprYousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02luci-base: add hostport and ipaddrport validation typesJo-Philipp Wich
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>
2015-12-02Merge pull request #561 from cshore/pull-request-fstab-improvementsJo-Philipp Wich
Pull request fstab improvements
2015-12-02luci-base: Add function for shell single-quote parameter escapingDaniel Dickinson
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