Commit graph

8620 commits

Author SHA1 Message Date
Hannu Nyman
5ca3864690 luci-base: support ip6ifaceid option for proto_static
Add support for 'ip6ifaceid' option for proto_static in LuCI.

Information about the option:
 The option is optional and defaults to '::1'.
 Allowed values: 'eui64', 'random', fixed value like '::1' or '::1:2'

 When IPv6 prefix (like 'a🅱️c:d::') is received from a delegating
 server, the ip6ifaceid suffix (like '::1') is used to form
 the IPv6 address ('a🅱️c:d::1') for the interface.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-21 22:08:38 +03:00
Hannu Nyman
7deb3abbad Merge pull request #1160 from zx2c4/wg-psk-change
wireguard: preshared-key is now an attribute of the peer
2017-05-17 22:36:31 +03:00
Hannu Nyman
41d604f23c Merge pull request #1167 from musashino205/mwan3-fix-path
luci-app-mwan3: Fix "ip" command path
2017-05-16 22:39:37 +03:00
Hannu Nyman
d40a939d65 Merge pull request #1031 from feckert/add_dhcp_to_system_ucitrack
luci-base: add dhcp to system ucitrack
2017-05-16 19:28:57 +03:00
INAGAKI Hiroshi
0999f64f08 luci-app-mwan3: Fix "ip" command path
Fixed an issue that mwan3 fails to detect connection because "ip"
command relocated.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-15 15:24:42 +09:00
Hannu Nyman
d04f667383 luci-app-statistics: check that uci config sections exist
A missing or faulty luci_statistics config file may prevent
LuCI access completely already at the login phase as
the statistics config is parsed already then.

The error is like:
  .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value)

User may be completely locked out of LuCI until he figures out
the need to have a proper luci_statistics config file.

Prevent the error by checking for the existence of
the uci config sections before trying to use values from them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-10 19:15:52 +03:00
Hannu Nyman
3de3b75af4 Merge pull request #1163 from dibdot/luci-app-travelmate
luci-app-travelmate: sync with travelmate 0.7.3
2017-05-10 18:12:38 +03:00
Dirk Brenken
76b3af64c0 luci-app-travelmate: sync with travelmate 0.7.3
* Automatically refresh the overview page after button onclick event,
e.g. 'Save & Apply'

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-10 16:56:58 +02:00
Hannu Nyman
8d4fa96d8a Merge pull request #1162 from musashino205/tmate-upd-ja
luci-app-travelmate: Update Japanese translation
2017-05-10 12:24:55 +03:00
INAGAKI Hiroshi
78e5412e6d luci-app-travelmate: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-10 16:54:07 +09:00
Hannu Nyman
9f5b267d68 Merge pull request #1161 from musashino205/adblk-upd-ja
luci-app-adblock: Update Japanese translation
2017-05-10 10:18:10 +03:00
INAGAKI Hiroshi
0db5d5ed6a luci-app-adblock: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-10 16:12:39 +09:00
Jason A. Donenfeld
b9b64aae96 wireguard: preshared-key is now an attribute of the peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-09 16:51:40 +02:00
Hannu Nyman
757cdbb5f7 Merge pull request #1159 from musashino205/adblk-fix-dup
luci-app-adblock: Fix duplicated text
2017-05-09 15:48:48 +03:00
INAGAKI Hiroshi
e720a28022 luci-app-adblock: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-09 21:30:27 +09:00
INAGAKI Hiroshi
03845c4ae7 luci-app-adblock: Fix syntax error
Fixed syntax error in sv/adblock.po.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-09 21:25:40 +09:00
INAGAKI Hiroshi
bc6e0c217f luci-app-adblock: Fix duplicated text
Added text "Input file not found. Please check your configuration." by
commit 9b4b1df is duplicated. so I replaced the text with previously
existed.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-09 19:14:24 +09:00
Hannu Nyman
0145e9f307 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09 11:11:36 +03:00
Hannu Nyman
0a6ce20423 luci-app-statistics: processes: fix graph visibility
Fix graph visibility on processes page based on plugin
instance. The overview instance is empty, while monitored
processes have their own instances.

Original version of the patch created by @koblack and
discussed in #1021

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09 09:46:50 +03:00
Hannu Nyman
aba7981dea Merge pull request #1158 from angusding/patch-4
luci.mk: Update language name for Chinese
2017-05-08 19:49:58 +03:00
Hannu Nyman
f2cf516cf7 luci-base: add Etc/GMT timezones
Add Etc/GMT timezones like GMT+5

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-08 19:31:36 +03:00
Hannu Nyman
f8eee09f55 build/zoneinfo2lua.pl: logic for Etc/GMT timezones
Add logic to add Etc/GMT timezones (like GMT+5)
although the zones are not included in zone.tab

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-08 19:29:43 +03:00
amitabha
d3861e7f8d luci.mk: Update language name for Chinese
Rectification of non-standard name for language Chinese.
Signed-off-by: Angus Ding angus.ding@gmail.com
2017-05-08 23:29:39 +08:00
Hannu Nyman
1970c21e3b luci-mod-admin-full: add advice to restart cron
Cron init script starts the service only if a crontab file
exists. If there is no crontab file at boot and the user
later creates one, he needs to manually restart the service.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-08 15:20:13 +03:00
Hannu Nyman
7f256e257c Merge pull request #1157 from dibdot/app-adblock
luci-app-adblock: sync with adblock 2.6.3
2017-05-08 12:28:06 +03:00
Dirk Brenken
9b4b1dfebd luci-app-adblock: sync with adblock 2.6.3
* Limit Blacklist/Whitelist Online editing to max. 512 KB, approx.
20.000 domains per list
* Automatically refresh the overview page after button onclick event,
e.g. 'Suspend/Resume' or 'Save & Apply'
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-08 11:15:19 +02:00
Hannu Nyman
fb2e4a80c1 Merge pull request #1151 from TDT-GmbH/luci-app-openvpn-fix
luci-app-openvpn: fix proto param selection in basic
2017-05-08 10:46:09 +03:00
Hannu Nyman
1b42d7a02d Merge pull request #1154 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: pt/pt-br translations.
2017-05-08 09:55:35 +03:00
Stan Grishin
b5529b5c86 luci-app-simple-adblock: pt translation
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-05-08 03:58:15 +03:00
Hannu Nyman
dfcb281ba3 Merge pull request #1155 from Umeaboy/patch-26
Updated adblock
2017-05-07 22:19:17 +03:00
Kristoffer Grundström
5ea1961b8d Updated adblock
Signed-off-by <hamnisdude@gmail.com>
2017-05-07 21:14:10 +02:00
Dirk Brenken
d0938f33e0 luci-app-travelmate: sync with travelmate 0.7.2
* simplify uplink interface setup (just one Click! ;-),
  now part of the overview tab (removed separate setup page!)
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>

Conflict resolved by Hannu Nyman
2017-05-07 19:57:08 +03:00
Jo-Philipp Wich
57121f3743 luci-base: luci.dispatcher: allow overriding sysauth template
In some cases it is useful to be able to override the template used for the
sysauth login dialog.

Add a new property "sysauth_template" which allows overriding the template
name from controller files.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-06 15:06:07 +02:00
Florian Eckert
ffcd81aa15 luci-app-openvpn: fix proto param selection in basic
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-05-04 14:01:03 +02:00
Hannu Nyman
758555db1b Merge pull request #1145 from musashino205/sync-trans
i18n: Sync translations
2017-05-02 13:16:38 +03:00
INAGAKI Hiroshi
86a708b06b i18n: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-02 19:12:32 +09:00
Hannu Nyman
2bc2f935a0 luci-app-statistics: fix whitespace
* fix whitespace in config file
* place the contextswitch item corerrctly
  in the sorted options list

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-02 10:07:30 +03:00
Hannu Nyman
1bbbe8a508 Merge pull request #1144 from LuttyYang/master
luci-theme-material: fix some bug and sync some code from luci-theme-bootstrap
2017-05-02 09:53:59 +03:00
Hannu Nyman
827fb3be8e Merge pull request #1140 from fantom-x/luci-mod-admin-full-mac80211-isolate
luci-mod-admin-full: "isolate" option is missing for mac80211
2017-05-02 09:52:13 +03:00
lutty
9a067e896d fix some bug and sync some code from luci-theme-bootstrap
Signed-off-by: lutty <lutty@lutty.me>
2017-05-02 12:17:24 +08:00
fantom-x
aee99ce927 luci-mod-admin-full: "isolate" option is missing for mac80211
Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-05-01 17:16:00 -04:00
Hannu Nyman
61797d5b13 Merge pull request #1139 from fantom-x/luci-app-hd-idle-menu-item
luci-app-hd-idle: removed dashes in menu items and text labels
2017-04-30 23:27:00 +03:00
fantom-x
d2ce55bc1e luci-app-hd-idle: removed dashes in menu items and text labels
"hd-idle" replaced with "HDD Idle" in the menu and on the page. All translation files updated accordingly.

Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-30 15:56:42 -04:00
Hannu Nyman
b737831e56 luci-app-statistics: processes plugin: add labels, correct data
Enhance processes statistics page:
* add proper labels to graphs
* correct RSS memory stats title, add VSZ stats

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-30 19:05:19 +03:00
Hannu Nyman
c36201efb0 Merge pull request #1133 from fantom-x/luci-app-samba-browseable
luci-app-samba: add "Browsable" checkbox to each share
2017-04-30 16:14:15 +03:00
Hannu Nyman
1cce2e059b Merge pull request #1134 from fantom-x/luci-app-samba-allow-homes
luci-app-samba: "Share home-directories" check box
2017-04-30 16:13:50 +03:00
fantom-x
e31b6e9379 luci-app-samba: use flag for "Share home-directories" option
"Share home-directories" has only two values 0 and 1. There is no need for it to be a text box

Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-30 09:03:39 -04:00
fantom-x
d62cb8f615 luci-app-samba: add "Browsable" checkbox to the "Network Shares" page for each share
Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-29 16:53:08 -04:00
Hannu Nyman
1497d4ad48 Merge pull request #1132 from fantom-x/luci-collectd-mod-contextswitch
Support for collectd-mod-contextswitch
2017-04-29 20:26:48 +03:00
fantom-x
5bf636732e Support for collectd-mod-contextswitch
Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-04-29 12:38:23 -04:00