Commit graph

7838 commits

Author SHA1 Message Date
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
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
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
Hannu Nyman
ff2f536dd1 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>
2015-12-15 14:40:51 +02:00
Daniel Dickinson
986baa5cce 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.
2015-12-14 23:26:33 -05:00
Daniel Dickinson
6318f67fd4 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.
2015-12-14 23:26:26 -05:00
Daniel Dickinson
403b939acd 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>
2015-12-12 22:45:29 -05:00
Jo-Philipp Wich
63155e9932 luci-app-olsr: use public interface of luci.model.network.wifinet (#569)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-09 16:51:48 +01:00
Jo-Philipp Wich
397294ab06 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>
2015-12-09 15:54:43 +01:00
Hannu Nyman
c18a0e447f Merge pull request #567 from inTagger/ip-addr-view-update
luci-mod-admin-full: update IPv4/IPv6 list views
2015-12-09 11:43:36 +02:00
Alexander Logger
f8d0ba00b2 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>
2015-12-08 21:20:11 +03:00
Hannu Nyman
bac5f2cebf i18n: sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-06 13:23:38 +02:00
Jo-Philipp Wich
3bae3c7f5e Merge pull request #461 from marcel-sch/patch-1
package/community-profiles: add freifunk cottbus profile
2015-12-04 20:04:55 +01:00
Jo-Philipp Wich
3a58ef46c2 Merge pull request #559 from Arnie97/add-openvpn-proto
luci-app-openvpn: Add udp6 and tcp6 to proto
2015-12-03 16:42:58 +01:00
Arnie97
7a43379196 luci-app-openvpn: Add udp6 and tcp6 to proto
Signed-off-by: Yifeng Zhang <arnie97@gmail.com>
2015-12-03 23:17:46 +08:00
Jo-Philipp Wich
e8465b3e4f Merge pull request #565 from yousong/l2tp-server
Allow host:port value for l2tp `server` option
2015-12-02 13:57:05 +01:00
Yousong Zhou
09768ed745 luci-proto-ppp: l2tp: allow specifying port in "server" option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02 20:56:11 +08:00
Yousong Zhou
862b84feb2 luci-base: fix escaping lua string to js repr
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02 20:56:08 +08:00
Jo-Philipp Wich
9b30357454 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>
2015-12-02 11:13:39 +01:00
Jo-Philipp Wich
ea9f25b63e Merge pull request #561 from cshore/pull-request-fstab-improvements
Pull request fstab improvements
2015-12-02 10:44:10 +01:00
Daniel Dickinson
829467b627 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
2015-12-02 02:19:02 -05:00
Daniel Dickinson
1d5cab4ced 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.
2015-12-02 02:17:20 -05:00
Daniel Dickinson
89f74f77da 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.
2015-12-02 02:16:35 -05:00
Daniel Dickinson
031cab418c 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.
2015-12-02 02:16:22 -05:00
Daniel Dickinson
b8c2d340f3 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.
2015-12-02 02:16:13 -05:00
Jo-Philipp Wich
9c9118566c luci-app-openvpn: add route_nopull (#560)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-30 07:58:34 +01:00
Jo-Philipp Wich
c123fa86b0 Merge pull request #534 from yousong/add-luci-proto-pppossh
Add luci proto pppossh
2015-11-26 23:23:15 +01:00