Commit graph

2643 commits

Author SHA1 Message Date
leonghui
332d7cff5b
luci-app-ddns: update wiki link for global settings
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-01-05 11:06:59 +00:00
leonghui
199d4b1d5c
luci-app-ddns: fix typo for has_curlssl()
Fixes the incorrect message "HTTPS not supported please disable !" when curl with https support is present.
grep returns exit code 0 when a match is found.

Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-01-05 10:38:25 +00:00
Jo-Philipp Wich
66c2bbc279 luci-app-opkg: only show packages with higher version in upgrade tab
Fixes #2422.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-04 09:15:49 +01:00
Jo-Philipp Wich
e847a93f78
Merge pull request #2409 from yousong/install-packages
treewide: fix redirecting to System->Software
2019-01-04 08:59:49 +01:00
yangfl
6f8fbb1e62 i18n: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2019-01-04 00:51:56 +08:00
Hannu Nyman
fde6e216fa
Merge pull request #2412 from EricLuehrsen/unbound_cache
luci-app-unbound: protect against printing large cache dump
2019-01-02 18:05:22 +02:00
Hannu Nyman
8374aa2bad
Merge pull request #2413 from rosysong/nft-qos
luci-app-nft-qos: rework _action_rate function
2019-01-02 18:04:53 +02:00
Daniel F. Dickinson
1dbed91689 luci-app-nut: Add i18n template (pot)
Finally noticed that I had been missing doing i18n stuff, so
add the template for this new package I added.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-02 06:33:17 -05:00
Rosy Song
f6a0e3852f luci-app-rosy-file-server: add new application
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2019-01-02 16:31:59 +08:00
Rosy Song
8269351cf4 luci-app-nft-qos: rework _action_rate function
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2019-01-01 16:08:10 +08:00
Yousong Zhou
7908b2b71c treewide: fix query arguments to admin/system/opkg
Right now the handler only recognizes "query=xx" argument, others will
be ignored.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:51 +00:00
Yousong Zhou
85b67625f7 treewide: fix redirecting to System->Software
By replacing url "admin/system/packages" with "admin/system/opkg"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01 05:04:49 +00:00
Eric Luehrsen
ee18024a8b luci-app-unbound: protect against printing large cache dump
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-12-31 15:24:43 -05:00
Yurii
3f67dbfde0
luci-app-opkg: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-12-29 23:30:47 +02:00
Yurii
47967e52e8
luci-app-firewall: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-12-29 23:27:55 +02:00
Hannu Nyman
8cecff2197
Merge pull request #2387 from TDT-AG/pr/20181220-luci-app-mwan3
luci-app-mwan3: some changes
2018-12-29 14:05:26 +02:00
Rosy Song
076e5672ad luci-app-nft-qos: fix monitor doesn't work when there no ipv6 support.
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-12-29 17:31:12 +08:00
Hannu Nyman
39aa247dd2
Merge pull request #2401 from musashino205/i18n/po-fix
luci-app-olsr: fix po errors
2018-12-27 15:26:51 +02:00
Dirk Brenken
be24925159
Merge pull request #2402 from dibdot/travelmate
luci-app-travelmate: adapt latest css changes
2018-12-27 07:24:28 +01:00
Dirk Brenken
0fb3bb61df
Merge pull request #2400 from dibdot/banip
luci-app-banip: sync with release 0.0.7
2018-12-27 07:24:09 +01:00
Dirk Brenken
e87951d86f
Merge pull request #2399 from dibdot/adblock
luci-app-adblock: sync with release 3.6.1
2018-12-27 07:23:49 +01:00
Dirk Brenken
a6b19ce5e4 luci-app-travelmate: adapt latest css changes
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-12-27 07:19:24 +01:00
Dirk Brenken
01322c26f4 luci-app-banip: sync with release 0.0.7
* determine L3 and L2 network devices to support pppoe interfaces
correctly

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-12-27 07:13:33 +01:00
Dirk Brenken
c0a2421afb luci-app-adblock: sync with release 3.6.1
* support new reporting options
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-12-27 06:51:21 +01:00
INAGAKI Hiroshi
ca955a0aa4 luci-app-olsr: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-27 11:49:54 +09:00
INAGAKI Hiroshi
cdf1e83c33 luci-app-olsr: fix po errors
Fixed po errors in "Selected" in en/de.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-27 11:44:21 +09:00
Hannu Nyman
8274ebf07f
Merge pull request #2393 from RoEng/luci-app-wifischedule-i18n-de-1
luci-app-wifischedule: New German Translation
2018-12-26 19:20:54 +02:00
Hannu Nyman
06c39f4b00
Merge pull request #2396 from musashino205/l10n/adblk-upd-ja
luci-app-adblock: update Japanese translation
2018-12-26 19:20:15 +02:00
Hannu Nyman
7bf30fa847
Merge pull request #2395 from musashino205/l10n/mwan3-upd-ja
luci-app-mwan3: update Japanese translation
2018-12-26 19:19:48 +02:00
Hannu Nyman
30ab3afc3e
Merge pull request #2390 from cshoredaniel/pr-nut-updates
luci-app-nut: Update nut-server settings to match packages master
2018-12-26 19:19:09 +02:00
INAGAKI Hiroshi
226b882bab luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-26 19:39:44 +09:00
INAGAKI Hiroshi
0056f4e582 luci-app-adblock: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-26 19:05:08 +09:00
INAGAKI Hiroshi
8fdc4f0a61 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-26 18:50:50 +09:00
Yousong Zhou
d463de3686 luci-app-shadowsocks-libev: add zh-cn translation
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-26 06:55:06 +00:00
Roland Engert
3780e6ba40 luci-app-wifischedule: New German Translation
New German Translation of wifischedule.po

Signed-of-by: Roland Engert <Roland.Engert@web.de>
2018-12-26 02:53:41 +01:00
Daniel F. Dickinson
f1db40df10 luci-app-nut: Update settings to match packages master
A number of settings in openwrt-packages master are missing; add them.
The 'extra' adhoc options (override, default, other, and otherflag) we
leave to UCI only because they require dynamic creation of config
sections.
There were some options that didn't belong in the section they were
in; remove them.
Include the option for the USB serial port permissions for serial USB
devices over USB serial port (on the OpenWrt device).
And finally, fix the title of the UPS Server global settings.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-12-22 22:54:11 -05:00
Daniel F. Dickinson
e164e2d1eb luci-app-nut: nut_server: Alphabetize driver options
There are a *lot* of options, so list them in alphabetical order
for easier updates to the app (alphabetizing by translation doesn't
make sense since the order would need to change depending on language).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-12-22 22:54:11 -05:00
Dirk Brenken
31d259a361
Merge pull request #2389 from dibdot/adblock
luci-app-adblock: minor fixes
2018-12-22 18:53:04 +01:00
Dirk Brenken
0299b13292 luci-app-adblock: minor fixes
* use new XHR default on report page
* fix wrong string.find syntax

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-12-22 18:37:45 +01:00
Florian Eckert
b5bf69d2b2 _I18N_ luci-app-mwan3: i18n update de translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21 10:35:09 +01:00
Florian Eckert
99bac545ee luci-app-mwan3: show supported tracking methodes if needed bin is installed
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21 10:33:24 +01:00
Florian Eckert
f9b634f95b luci-app-mwan3: add uptime/downtime to status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21 10:33:21 +01:00
Florian Eckert
77af204dea luci-app-mwan3: add tracking methode nping
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21 10:33:14 +01:00
Jo-Philipp Wich
5ae6f06014
Merge pull request #2386 from cshoredaniel/pr-uhttpd-spelling
luci-app-uhttpd: Correct spelling in two places
2018-12-21 08:30:11 +01:00
Daniel F. Dickinson
7e7e9cd73a luci-app-uhttpd: Correct spelling in two places
Had 'at list' instead 'at least' for the help text on listing
HTTP/HTTPS listening addresses.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-12-20 22:25:32 -05:00
David Beitey
cfe4ae1668 luci-app-ddns: check existence of nslookup util rather than making DNS request
This saves a DNS request whenever the check is performed.  For systems with nameservers configured in `/etc/resolv.conf`, nslookup will sent a request to those servers (eg bypassing /etc/hosts), thus taking a lot more time than necessary.  For servers that are remote, this will take a *lot* longer than just checking if the nslookup util exists.

This change follows in the same vein as all the other checks and just using `which` without actually invoking the util's functionality.

Signed-off-by: David Beitey <david@davidjb.com>
2018-12-21 12:54:54 +10:00
Florian Eckert
121e7fea66 luci-app-*: use default poll interval
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20 10:20:23 +01:00
Dirk Brenken
aee720f11f
Merge pull request #2380 from dibdot/adblock
luci-app-adblock: sync with release 3.6.0
2018-12-20 08:51:35 +01:00
Dirk Brenken
87ec92d1ed luci-app-adblock: sync with release 3.6.0
* add adblock dns query reporting via tcpdump (see readme for details)
* fix tld compression on low memory systems (< 64 MB)
* fix various small issues

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-12-20 08:45:35 +01:00
INAGAKI Hiroshi
37b0211e62 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-20 02:21:14 +09:00
Zheng Qian
e56af3c3e5 luci-app-aria2: fix the log option
According to the package aria2, the log option
is enable_logging, so fix this option name.

As luci-app-aria2 can't set custom log file dir,
the default log file is /var/log/aria2.log but not
in the config file dir.

Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-15 21:44:49 +08:00
Zheng Qian
83703aaec0 luci-app-aria2: fix showRPCURL when using https
if login luci-admin with https, RPC protocol should be https or wss.

Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-14 13:32:49 +08:00
Martin Schiller
ab234df3df luci-app-openvpn: re-add options comp_lzo and comp_noadapt
* re-add config option comp_lzo according to
  openwrt/openwrt@3850b41
* re-add config option comp_noadapt. This has never been removed
  from openwrt

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-12-13 08:08:24 +01:00
Jo-Philipp Wich
1fb069f235 luci-app-nlbwmon: rewrite display section
- Move CSS and JS code to external files
 - Use responsive table markup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-11 11:54:42 +01:00
Zheng Qian
917eb921d2 luci-app-opkg: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-11 10:59:08 +08:00
Jo-Philipp Wich
08cee189ca
Merge pull request #2363 from sotux/master-luci-app-aria2
luci-app-aria2: fix http/https protocol when opening aria2 webUI
2018-12-10 13:49:27 +01:00
Jo-Philipp Wich
165ba6f180 luci-app-radicale: refactor custom nsection template
Refactor the named section template shipped with luci-app-radicale to work
with the latest LuCI tabbing changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:41:34 +01:00
Zheng Qian
4f11edadff luci-app-aria2: fix http/https protocol when opening aria2 webUI
In the openWebUI function, the url is assumed as http protocol,
this will cause problem when we login luci-admin with https.

The variable localhostPath has already contained http/https
protocol, so we can use it directly and add the path of aria2
webUI.

Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-10 17:45:55 +08:00
pmelange
d2bda6c34b luci-app-olsr: reenable the "auto refresh" feature
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 20:57:35 +01:00
pmelange
4974ddb1f1 luci-app-olsr change ccs style to use class "left" instead of "style=text-align: left"
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 20:57:35 +01:00
pmelange
7387553a04 luci-app-olsr: make cosmetic changes.
modify the status tables so that then headers and columns align, values
left justified.

Additionally, add the openwrt style interface name to the interfaces table,
change huge  ETX numbers to 'infinate', and add the german translation for
'Selected'.

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06 20:57:35 +01:00
Dirk Brenken
98cde82e4d
Merge pull request #2342 from dibdot/fw
luci-app-firewall: remove hinting
2018-11-28 13:59:30 +01:00
Dirk Brenken
8db75255f7 luci-app-firewall: remove hinting
Remove firewall hinting as discussed in #2340

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-28 13:55:42 +01:00
Florian Eckert
34482625ec luci-app-openvpn: add missing ncp_ciphers option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:09:57 +01:00
Florian Eckert
78cc310cf4 luci-app-openvpn: add missing verify_client_cert option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:09:57 +01:00
Florian Eckert
4fd92b1f52 luci-app-openvpn: add missing compress option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
6f90546bd8 luci-app-openvpn: predefining the dropdown for the cipher option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
8911f4f87b luci-app-openvpn: add missing ncp_disable option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
0f3e1a81e9 luci-app-openvpn: add missing allow_recursive_routing option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Dirk Brenken
0f8e36f214 luci-app-openvpn: "final" changeset
* add 'auth-user-pass' edit section in file mode (see screenshot)
* add port & protocol detection in file mode (see screenshot)
* don't mix file & normal edit modes any longer
* add CC compatibility fix (for turris devices)
* fix/refine JS instance name filter
* remove needless CSS rules
* unlink ovpn/auth files on section removal
* commit changes instantly (Add/Upload/Delete)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-26 13:19:52 +01:00
Jo-Philipp Wich
db2bfb24ad
Merge pull request #2325 from YuriPet/master
luci-base & luci-app-opkg: update Ukrainian translation
2018-11-22 18:51:12 +01:00
Yurii
77766884b6
luci-app-opkg: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-11-22 14:09:12 +02:00
Jo-Philipp Wich
14487071db luci-app-opkg: allow presetting filter via query attribute
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
b8e341c20e luci-app-opkg: move JS code into external file
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Florian Eckert
1987b38011 luci-app-openvpn: do not show all boolean option by default
If a new instance is edit then all boolean option are shown on the LuCI.
This is confusing. To fix this hide all boolean ellements on the config
page which are not enabled by default. They must be add first.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22 11:29:44 +01:00
Florian Eckert
1986dc2751 luci-app-openvpn: On apply/save redirect to OpenVPN overview page
This change will redirect on apply/save to the OpenVPN overview page.
This is the default behaviour on LuCI.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22 08:18:17 +01:00
Florian Eckert
9881ad5a6b luci-app-openvpn: sync code style with openvpn-advanced
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22 08:18:14 +01:00
Florian Eckert
95f02e9d84 luci-app-openvpn: fix whitespaces in openvpn-basic
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-22 08:18:12 +01:00
Anton Kikin
562ae5f0e5 luci-app-statistics: update and fix Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>

[ Fixed too wide line lengths with i18n-sync.pl ]
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-21 22:40:47 +02:00
Dirk Brenken
d5c59834c8
Merge pull request #2307 from dibdot/ovpn
luci-app-openvpn: more changes & fixes
2018-11-21 15:51:19 +01:00
Dirk Brenken
e222003f5d luci-app-openvpn: more changes & fixes
* fix possible exception in template based ovpn creation
* remove needless shellquote function in controller,
  the filename will be checked on client side with JS
* enhance FileUpload behaviour in basic/advanced mode:
  - change "auth_user_pass" to FileUpload
  - cfg entries (even with default values) will be shown
  - existing entries are now removable (incl. file unlink),
    simply clear the appropriate textbox
* change "key_direction" option to boolean ListValue
* add "config" option to basic/advanced edit,
  to make it possible to change the upload path in LuCI

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-21 15:21:37 +01:00
Jo-Philipp Wich
b7acf147ca
Merge pull request #2316 from sotux/master-aria2
luci-app-aria2: add button for to AriaNg
2018-11-21 11:21:55 +01:00
Zheng Qian
8267a65f09 luci-app-aria2: add a button to open ariang
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-21 14:05:38 +08:00
INAGAKI Hiroshi
001a00f48d luci-app-opkg: fix and update Japanese translation
Fixed and updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-21 12:30:36 +09:00
Jo-Philipp Wich
398d69945a luci-app-opkg: use a more appropriate german translation for "clear"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-20 13:20:52 +01:00
Jo-Philipp Wich
26529ed578 luci-app-opkg: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-20 11:45:43 +01:00
Yurii
a8d950861d
opkg.po: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-11-20 00:51:38 +02:00
Dirk Brenken
d373dd9c55
Merge pull request #2304 from ryu0/master
luci-app-lxc: add i686 to target map
2018-11-19 16:51:44 +01:00
James Buren
9630e7e994 luci-app-lxc: add i686 to target map
Add i686 to target map so i386 container templates are usable.

Signed-off-by: James Buren <ryuo@ryuo.xyz>
2018-11-19 09:02:49 -06:00
Jo-Philipp Wich
1ca5a99a49 luci-app-opkg: accesibility fixes
- Use semantic button markup for buttons
 - Add ARIA labels to page forward/backward buttons

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19 09:26:27 +01:00
Dirk Brenken
18c6544057
Merge pull request #2299 from dibdot/banip
luci-app-banip: sync with update 0.0.6
2018-11-17 16:57:55 +01:00
Dirk Brenken
bef7d98bd6 luci-app-banip: sync with update 0.0.6
* add a manual interface selection to support
  multiple WAN interfaces in iptables rules

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16 21:09:14 +01:00
INAGAKI Hiroshi
262691d9ac luci-app-opkg: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-16 19:59:41 +09:00
Dirk Brenken
49f23b5798
Merge pull request #2292 from dibdot/banip
luci-app-banip: adapt latest css changes
2018-11-16 09:07:11 +01:00
Dirk Brenken
8c68756e00
Merge pull request #2291 from dibdot/adblock
luci-app-adblock: adapt latest css changes
2018-11-16 09:06:54 +01:00
Dirk Brenken
3fe18fb278
Merge pull request #2290 from dibdot/travelmate
luci-app-travelmate: adapt latest css changes
2018-11-16 09:06:38 +01:00
Dirk Brenken
c9fab9e90c luci-app-travelmate: adapt latest css changes
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16 09:03:41 +01:00
Dirk Brenken
5dd93edefa luci-app-adblock: adapt latest css changes
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16 08:56:32 +01:00
Dirk Brenken
2aafeff4df luci-app-banip: adapt latest css changes
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-16 08:55:46 +01:00
Jo-Philipp Wich
76bf2ac6ce treewide: resync translation files
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15 19:32:53 +01:00
Matthias84
30e9f671a0 luci-app-vpnbypass: add german translation
Submitted-by: Matthias Meißer <Matthias84@users.noreply.github.com>
[slightly reword subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15 08:35:28 +01:00
Matthias84
096caef874 luci-app-wireguard: add german translation
Submitted-by: Matthias84 <Matthias84@users.noreply.github.com>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15 08:33:14 +01:00
alphakk
8aeb78d1c1 luci-app-https_dns_proxy: fix datatype of subnet address option
The datatype ip4prefix only accept numbers from 0 to 32, not subnet/mask
(i.e. 192.168.1.0/24), this affects option "-e".

https://github.com/openwrt/luci/wiki/Datatypes#ip4prefix the description
is wrong, according to src
http://luci.subsignal.org/trac/browser/luci/branches/luci-0.10/libs/web/luasrc/cbi/datatypes.lua#L76

Submitted-by: alphakk <kkspaces@mail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15 07:45:49 +01:00
Kevin Locke
1bbc419e7a luci-app-statistics: quote : in filenames for DEF
: is used to delimit fields in DEF: rrd instructions, so when it appears
in a filename it must be escaped using \.[1]  This commit adds the
escaping.

I discovered the issue after configuring collectd-mod-ping to monitor an
IPv6 host (2001:19f0:5:727:5b56:205d:ff55:2208).  Accessing
https://192.168.0.1/cgi-bin/luci/admin/statistics/graph/ping would cause
the following messages to be logged:

    Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_avg_raw=/tmp/rrd/openwrthost/ping/ping-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2
    Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_droprate_avg_raw=/tmp/rrd/openwrthost/ping/ping_droprate-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2

and the graphs would not display.  After applying this commit, the
graphs display correctly and no messages are logged.

1.  https://oss.oetiker.ch/rrdtool/doc/rrdgraph_data.en.html#IDEF

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2018-11-14 16:55:24 -07:00
Jo-Philipp Wich
ceb342dc8d
Merge pull request #2259 from pmelange/luci-app-olsr-new-json-lib
update luci-app-olsr to the new jsoninfo library
2018-11-14 20:50:03 +01:00
Jo-Philipp Wich
4bbe32548c luci-lib-ipkg: move out of luci-base
Move the old luci.model.ipkg utility class into a separate package and
let the components using it depend on the new library package.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
aa2e0e2488 applications: add luci-app-opkg
Add a new luci-app-opkg which is a feature-complete replacement for the
builtin opkg functionality of luci-mod-system using mostly client side
JavaScript to reduce the amount of server side processing.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
520a6add52 luci-app-firewall: remove references to cbi_bind()
Use the standard addEventListener() instead. Also remove an old
cbi_validate_field() call referencing a not existing field.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
cf36215228 applications: drop luci-app-asterisk
This application was never useful to begin with, drop it to avoid
further confusion.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Hannu Nyman
e064e5be1a
Merge pull request #2281 from TDT-AG/pr/20181114-luci-app-mwan3
luci-app-mwan3: add/remove options
2018-11-14 16:36:08 +02:00
Dirk Brenken
b1cd4237dd
Merge pull request #2284 from dibdot/travelmate
luci-app-travelmate: consolidate css
2018-11-14 11:49:05 +01:00
Dirk Brenken
206df14e73
Merge pull request #2283 from dibdot/adblock
luci-app-adblock: consolidate css
2018-11-14 11:48:45 +01:00
Dirk Brenken
cb6353c193
Merge pull request #2280 from dibdot/banip
luci-app-banip: fix remaining css issues
2018-11-14 11:48:14 +01:00
Dirk Brenken
176a767279 luci-app-banip: fix remaining css issues
* fix IE Edge rendering issues
* merge remaining external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14 11:44:48 +01:00
Dirk Brenken
83c68a8b2f luci-app-travelmate: consolidate css
* fix IE Edge rendering issues
* merge external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14 11:43:39 +01:00
Dirk Brenken
253f912f17 luci-app-adblock: consolidate css
* fix IE Edge rendering issues
* merge external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14 10:45:18 +01:00
Florian Eckert
8938f53f1b luci-app-mwan3: remove deprecated local_source option
Remove deprecated local_source option which is not supported/needed anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:22:20 +01:00
Florian Eckert
6ec540c46d luci-app-mwan3: add rt_table_lookup option
Make list option rt_table_lookup configurable in luci.
With this option we could define additional routing tables which get
scanned by mwan3 and then get added to the connected ipset.
The entries will be treated as connected network and will not get
mangeld by mwan3.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:19:08 +01:00
Florian Eckert
8517a25a80 luci-app-mwan3: add rtmon interval option
Add the configuration option rtmon to luci.
With this parameter we could adjust how often the routing table get
synced between main routing table and the interface routing table.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:17:04 +01:00
Florian Eckert
29ab12650c luci-app-mwan3: rename variable in globalsconfig.lua
Name variables as the options name in uci.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:15:46 +01:00
Florian Eckert
fc1e2c53b9 luci-app-mwan3: declare variables in globalsconfig.lua local
It is best practice to declar module variables local.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:15:13 +01:00
INAGAKI Hiroshi
d519ef732f luci-app-travelmate: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-13 02:17:39 +09:00
Dirk Brenken
9f2c2e7218 luci-app-banip: fix JS errors in chromium
* fix JS errors in chromium on ipset- & ripe-view page

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-12 12:14:52 +01:00
pmelange
5fd51f05a8 luci-app-olsr: convert olsr.lua and smartgw.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-11 19:50:43 +01:00
pmelange
7fb197c10a luci-app-olsr: convert mid.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-11 19:45:42 +01:00
Hannu Nyman
36b1c60efc luci-app-statistics: remove old deprecated rrdtool po files
Remove old rrdtool.po* files that have been deprecated already
in 2011-2015.

Also remove reference to them from i18n-sync.pl

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-11 18:10:46 +02:00
Dirk Brenken
ad4c7b0153
Merge pull request #2264 from dibdot/banip
luci-app-banip: new package
2018-11-11 14:59:39 +01:00
Hannu Nyman
89e26911f1 i18n: cleanup old strings
also sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 21:26:41 +02:00
Hannu Nyman
04454aa7e3 luci-app-travelmate: further translation fixup
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 21:25:54 +02:00
Dan Lüdtke
63b86dbbbf luci-*-wireguard: Remove inactive maintainer
I tried to find a successor in the last months, but that failed.

Signed-off by Dan Luedtke <mail@danrl.com>
2018-11-10 13:54:59 +01:00
Dirk Brenken
e50021f77f luci-app-banip: new package
for details & LuCI screenshots see base package desprition/PR:
https://github.com/openwrt/packages/pull/7373

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-10 11:19:50 +01:00
pmelange
9e7557b606 luci-app-olsr: convert interfaces.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-07 18:41:58 +01:00
pmelange
6ef3a00f6b luci-app-olsr: convert olsr.lua and overview.htm to new json plugin
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-07 18:41:58 +01:00
pmelange
19b640b53b luci-app-olsr: cbi remove library version numbers in library search results
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-07 18:41:58 +01:00
Hannu Nyman
40de466475 i18n: sync translations, add location annotatations
Thanks to a recent commit, the translation files will now
have info about locations where the string is used. That
can help is deciding the correct translation, as all contexts
are more easily found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-07 18:10:59 +02:00
Hannu Nyman
5849b20eab luci-app-nft-qos: remove extra .po files
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-07 18:05:26 +02:00
Rosy Song
6b8235721a luci-app-nft-qos: add new application
This application is for nft-qos package.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-11-06 15:38:12 +08:00
Jo-Philipp Wich
a6d96e0716 luci-mod-network: move AHCP protocol model to AHCP application
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:19:52 +01:00
Jo-Philipp Wich
13e421e093 luci-app-mjpg-streamer: remove reference to luci.i18n.loadc()
The i18n.loadc() function has been a no-op since almost six years.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:01:45 +01:00
Hannu Nyman
982c023deb i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-04 18:05:01 +02:00
Jo-Philipp Wich
42eb9cf758
Merge pull request #2250 from booo/remove-olsrd-library-version-numbers
get rid of library version numbers in luci olsrd code
2018-11-02 13:53:08 +01:00
Jo-Philipp Wich
d1c24c8972
Merge pull request #2252 from stweil/lgtm
Add missing variable declarations in JavaScript code
2018-11-02 13:52:37 +01:00
Dirk Brenken
0b63c22399 luci-app-travelmate: sync with travelmate 1.3.0
* add support for the new 'trm_proactive' option

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-30 15:30:58 +01:00
Stefan Weil
ec63339ae5 Add missing variable declarations in JavaScript code
This fixes errors reported by LGTM.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-28 22:38:20 +01:00
Philipp Borgers
5f65547dfd get rid of library version numbers in luci olsrd code
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-10-25 21:56:06 +02:00
Dirk Brenken
c20a691431 luci-app-openvpn: file name fix
* fix shellquote oversight of the last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-23 23:16:38 +02:00
Dirk Brenken
1a5b613b87
Merge pull request #2235 from dibdot/ovpn-upload
luci-app-openvpn: add ovpn upload support & more
2018-10-23 21:26:51 +02:00
Dirk Brenken
0b04912f8d luci-app-openvpn: add ovpn upload support & more
* add the ability to upload ovpn files directly,
  incl. appropriate uci entry in openvpn config
* add the ability to edit ovpn files directly ('file' mode),
  beside the 'basic' and 'advanced' modes for normal setups
* client side checks to validate instance name & template selection,
  incl. online error reporting
* automatically remove non-ascii characters & windows line endings
  from transfered ovpn file
* change from after_commit to after_apply hook
* remove misleading default values for Port & Protocol in Overview

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-23 21:17:22 +02:00
Jo-Philipp Wich
290610798a
Merge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu
luci-app-olsr-services: Don't use the nameservice with a specific ver…
2018-10-23 13:20:45 +02:00
mmouselli
19e9d84602 luci-app-olsr-services: Don't use the nameservice with a specific version.
The "Services" menu option of olsr on the top of the web interface
is not there.

A specific version of the App name was in the controller service
Removing the limitation will fix the problem

https://github.com/freifunk-berlin/firmware/issues/594

Signed-off-by: mmouselli <m.mouselli@syseleven.de>
2018-10-21 21:14:45 +02:00
Dirk Brenken
9232cee7a4 luci-app-travelmate: fix wireless scan
* fix possible crash during wireless scan
  when no valid WPA label was found

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-21 08:37:56 +02:00
Hannu Nyman
703cd24868
Merge pull request #2209 from jinchizhong/luci-app-statistics-add-curl
luci-app-statistics: add support for cUrl
2018-10-13 22:02:42 +03:00
Chizhong Jin
2d1830422b pp-statistics: add support for cUrl
Add collectd-mod-curl plugin support. Which can do some complex track,
such as grab stock, but by now, only response time are supported.

Signed-off-by: Chizhong Jin <pjincz@gmail.com>
2018-10-14 02:34:49 +08:00
yangfl
40feafe556 luci-app-dump1090: Fix typo of a dumb option
Option `aggressive` is supported by dump1090 binary, but oddly missing in
dump1090.init. Nevertheless, neither of them support the wrong
`agressive`.

Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-12 23:28:18 +08:00
yangfl
282aa6856d luci-app: init translations for shadowsocks-libev and unbound
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-12 22:18:51 +08:00
yangfl
89333d2b63 luci-app: Fix typos for po strings
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-12 22:18:51 +08:00
yangfl
ae8b68cfe8 treewide: Fix typos in UI strings
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-12 22:18:51 +08:00
Hannu Nyman
896892f9af
Merge pull request #2223 from TDT-AG/pr/20181012-luci-app-mwan3
luci-app-mwan3: fix typo
2018-10-12 16:30:42 +03:00
Dirk Brenken
57bdcbebda
Merge pull request #2204 from dibdot/wg-qrfix
luci-app-wireguard: clean up QR Code generation
2018-10-12 15:30:18 +02:00
Florian Eckert
d78be98cc4 luci-app-mwan3: fix typo
This has worked before because the interface variable is global. But
this is not nice. So this commit will fix this.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-12 08:45:42 +02:00
Hannu Nyman
c9e3e73c8c i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-11 19:57:32 +03:00
Hannu Nyman
fcb3915a1e luci-app-travelmate: fix translation fallout
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-11 19:53:57 +03:00
Hannu Nyman
febda2e4a7 luci-app-splash: fix translation fallout
Fix the fallout from recent changes

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-11 19:24:49 +03:00
Hannu Nyman
67fd6b6e5e
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
2018-10-10 20:25:11 +03:00
Jo-Philipp Wich
94323a61e1 luci-base: move luci.sys.iptparser into separate package
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"),
nothing in luci-base depends on the iptparser class anymore, so fold it
out into a separate package and let the few apps that require it depend
on the new library package.

Saves about 10K uncompressed in luci-base while the iptables status
rework enlarged the markup by roughly 5KB, saving roughly 5KB of size
overall.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10 13:19:48 +02:00
yangfl
401382a459 treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-10 15:00:07 +08:00
Karl Palsson
8f96cd8e36 luci-app-snmpd: Allow turning off agentx
AgentX support doesn't actually require TCP, it also works over unix
domain sockets, and UDS is the only method that's compiled in by
default.  Remove that misleading text, and make the section
add/removable so that you can remove it to disable agentx support.
Behaviour with multiple sections is undefined. (don't do that!)

This matches the current behaviour of the snmpd init script, which will
enable agentx with the compile time default settings if the agentx
socket config is blank/missing.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-10-08 11:27:53 +00:00
Dirk Brenken
38541eeafa luci-app-wireguard: clean up QR Code generation
* no longer baffle QR code import with "(none)" values from wg dump

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-07 07:46:29 +02:00
Dirk Brenken
a0cc0769d8
Merge pull request #2202 from dibdot/travelmate
luci-app-travelmate: sync with update 1.2.4
2018-10-05 12:30:23 +02:00
Dirk Brenken
bc974aab96
Merge pull request #2195 from dibdot/wg-qrcode
luci-app-wireguard: add QR Code support plus fixes
2018-10-05 12:30:02 +02:00
Dirk Brenken
8a1fe2ad6d luci-app-travelmate: sync with update 1.2.4
* with the config option 'trm_radio' you can now restrict travelmate
  to a single radio (e.g. 'radio1') or change the overall
  scanning order (e.g. 'radio1 radio2 radio0')
* LuCI: show QR codes now inline on the overview page
  (collapsed by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-05 10:27:36 +02:00
Jo-Philipp Wich
fb859e602b luci-app-nlbwmon: fix nil value concat
Do not concatenate the yet undefined mtime variable to avoid a controller
error with backtrace.

Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-02 19:20:53 +02:00
Florian Eckert
ea59480e4e luci-app-mwan3: fix i18n traceback
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-02 11:47:33 +02:00
Dirk Brenken
ca76ead1ba luci-app-wireguard: add QR Code support plus fixes
* add optional QR Code support to status page (per wg Interface),
  submitted information via QR code are:
  - [Interface] (list of) Address / PrivateKey
  - [Peer] Endpoint / PublicKey / (list of) AllowedIPs
  - support multiple interfaces and peers
* fix XHTML rendering errors with OpenWrt standard theme
* fix logical glitch with empty descriptions, remove needless variables
* left align the output for better viewing esp. with material theme
* freshen up design a little bit
* switch space indentation to tabs

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-10-01 11:57:38 +02:00
yangfl
dc1c69ce4e i18n: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-01 11:39:57 +08:00
Ameer Dawood
15fc6bf48d luci-app-nlbwmon: the default CSV delimiter should be a comma
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 15:01:57 +02:00
Ameer Dawood
b3642f4762 luci-app-nlbwmon: add proper file names for json and csv exports.
Currently, the json and csv exports are just named `data` which is not
intuitive. This adds proper file name extensions using the
Content-disposition HTTP header.

Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:59:42 +02:00
David Yang
3ed5dc0f62 applications: add Chinese translations
Signed-off-by: David Yang <mmyangfl@gmail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:34:27 +02:00
rwalli
0fe2e72f78 luci-app-wireguard: add descriptions
Add description fields to luci-app-wireguard similar to those in
luci-proto-wireguard.

Ref: https://github.com/openwrt/luci/commit/140f41b4
Suggested-by: "rwalli" <rwalli@gmx.net>
[squash commits, reword commit message, remove semicolons,
 remove trailing white space]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 14:32:18 +02:00
Darius
f0141773ac luci-app-firewall: remove unused code
- unused requirements removed
 - unused variable and foreach loop removed

Signed-off-by: Darius <darius.joksas@teltonika.lt>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29 13:55:53 +02:00
Florian Eckert
5d8b64f414 luci-app-mwan3: add new max_ttl option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
Florian Eckert
4032c335e0 luci-app-mwan3: add german translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
Karl Palsson
8fdb5f64f2 luci-app-mosquitto: validate paths as path, not file
luci has separate validation for directories and files, make sure to
use the right one.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-24 16:02:24 +00:00
Luiz Angelo Daros de Luca
728501dd57 i18n: update pt-br translation
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-09-20 21:58:33 -03:00
Karl Palsson
318e455755 luci-app-snmpd: Basic net-snmpd config options
Imported from https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-snmpd

Only provides configuration of basic authentication and system level
options, not even close to the entire slew of options that net-snmp
supports, but the basics are still helpful, and a base for future work.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-20 10:36:34 +00:00
Hannu Nyman
1aac63dbf9
Merge pull request #2164 from Ansuel/ddns_fix
luci-app-ddns: fix overview page
2018-09-19 22:24:34 +03:00
Hannu Nyman
c5ce34193e i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-19 21:55:12 +03:00
Ansuel Smith
8e13fcfbac
luci-app-ddns: fix overview page
Small fix for wrong display of next update data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-19 14:00:43 +02:00
Jo-Philipp Wich
6cfbb8ad4e
Merge pull request #1865 from Ansuel/ddns_fixget
luci-app-ddns: various fix
2018-09-18 18:30:22 +02:00
Jo-Philipp Wich
1b6e3bc5ae
Merge pull request #2160 from remakeelectric/app-mosq
luci-app-mosquitto: import new application
2018-09-18 18:07:27 +02:00
Karl Palsson
7552fce8cc luci-app-mosquitto: import new application
Originally developed and maintained at https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-mosquitto

Vs the original, this version has been converted to use the luci.mk
style, and has dropped the now obsolete ucitrack entries.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-18 15:44:52 +00:00
Ansuel Smith
013a8187ed
luci-app-unbound: add cache_dump tab
This adds in the State tab a new option to dump cache from unbound-control application

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-18 17:31:25 +02:00
Dirk Brenken
c2656a7220 luci-app-openvpn: remove obsolete config options
* remove obsolete config options according to
  openwrt/openwrt@89b8ba9, fix for #2135
* whitespace/intendation fixes
* replace fieldset leftover with div
* fix finally recipe options transfer to regular config with "Add"

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-17 14:22:14 +02:00
Dirk Brenken
5cb6c1c698
Merge pull request #2149 from dibdot/openvpn-fix
luci-app-openvpn: fix template based config creation
2018-09-16 08:42:21 +02:00
Eric Luehrsen
f4818d414a luci-app-unbound: add protocol=ip4_local option support
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-09-16 00:00:41 -04:00
Dirk Brenken
1eb3f734c7 luci-app-openvpn: fix template based config creation
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-14 08:57:06 +02:00
Martin Schiller
5f7c695848 i18n: sync translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-12 11:17:30 +02:00
Dirk Brenken
9727f552fe
Merge pull request #2071 from Andy2244/luci-app-samba4-timemachine
luci-app-samba4: add macOS and Apple Timemachine support
2018-09-11 10:26:48 +02:00
Andy Walsh
2593bc61a7 luci-app-samba4: add macOS compatibility option and Apple Timemachine support
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-11 09:57:57 +02:00
Dirk Brenken
fb27334aef
Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder
luci-app-adblock: use placeholder in query tool
2018-09-08 20:23:15 +02:00
INAGAKI Hiroshi
19fa506eff luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-09 02:40:08 +09:00
Andrei Troie
ddaac101a5 luci-app-adblock: use placeholder in query tool
Use the placeholder property on the textbox in the query tool so it's more convenient.

Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
2018-09-07 23:59:20 +01:00
Hannu Nyman
18b4483fe7
Merge pull request #2131 from tano-systems/firewall-fix-russian-translation
luci-app-firewall: fix and update Russian translation
2018-09-07 16:35:34 +03:00
Anton Kikin
299988e9cd luci-app-firewall: fix and update Russian translation
Add missing translations and update existing not quite correct translations.
Removed redundant <br> tags from translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-06 19:49:28 +03:00
Dirk Brenken
f6dd8761fc
Merge pull request #2110 from stangri/luci-app-https_dns_proxy
luci-app-https_dns_proxy: initial commit
2018-09-04 16:49:43 +02:00
Dirk Brenken
0208b957a7
Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixes
luci-app-mwan3:  fixes and improvements
2018-09-03 16:31:41 +02:00
Stan Grishin
89110b1757 luci-app-https_dns_proxy: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-09-02 18:49:54 -07:00
Ansuel Smith
e2d0f6104d
luci-app-ddns: various fix
Rework overview page, sync with new style and simplify the code by removing unnecessary check.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-02 14:04:31 +02:00
Dirk Brenken
e3b060b3a6
Merge pull request #2125 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.5
2018-09-01 17:10:37 +02:00
Dirk Brenken
4e56083833 luci-app-adblock: sync with adblock 3.5.5
* fix cornercase issues in runtime information/json parsing

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-01 08:42:00 +02:00
INAGAKI Hiroshi
7cafad8b31 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-01 02:23:25 +09:00
Florian Eckert
1b3f9b1f7e luci-app-mwan3: translate missing text in diagnostic page
Translate missing text.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
21de87a1d6 luci-app-mwan3: diagnostic fix physical device lookup
Use diffrent function to get the physical interface name.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
665e062061 luci-app-mwan3: change interface enabled option to use flag cbi class
Make mwan3 interface enable config option use cbi flag.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:34 +02:00
Florian Eckert
8d0cccdb43 luci-app-mwan3: add command to diag_command output view
Add executed command to diagnostic output.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:31:29 +02:00
Daniel Dickinson
fb262ad268 luci-app-nut: Add support for NUT configuration
Adds app to configure NUT (Network UPS Tools), including
nut-server, nut-monitor, and nut-cgi.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 01:03:17 -04:00
Ameer Dawood
71581c80b1
luci-app-unbound: Colons removed from input headers
Most OpenWrt applications do not have a colon in input headers.
This has been explained in #1566 as well.
This commit removes the said colons.

Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-08-19 13:42:49 +05:00
Ameer Dawood
808153fd9d
luci-app-minidlna: Colons removed
Colons have been removed as asked in #1566
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-08-15 22:13:59 +05:00
Jo-Philipp Wich
809d3b9371
Merge pull request #2040 from yangfl/master
luci-app: update Chinese translation
2018-08-13 15:23:27 +02:00
Jo-Philipp Wich
24f1364f5e
Merge pull request #2058 from EricLuehrsen/unbound_20180810
luci-app-unbound: add zone-details combined tab
2018-08-13 15:21:01 +02:00
Jo-Philipp Wich
bf123fb7c4 luci-app-firewall: allow "open ports" when no wan zone exists
Arguably this makes little if no wan zone exists but prefer consistency
over heuristics and always render the "open port" shortcut.

Fixes #2056
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-13 09:23:26 +02:00
Eric Luehrsen
dec88df41c luci-app-unbound: add zone-details combined tab
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-08-12 20:06:15 -04:00
yangfl
9711120e06 luci-app: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-11 15:46:07 +08:00
INAGAKI Hiroshi
41a385d026 luci-app-samba4: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-08-06 05:18:10 +09:00
yangfl
d81c8d0e6b luci-app-ddns: fix huge typo in luasrc/tools/ddns.lua
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-02 10:52:34 +08:00
Hannu Nyman
f4af069865
Merge pull request #2017 from chris5560/master-ddns
luci-app-ddns: remove myself as PKG_MAINTAINER
2018-08-01 19:44:24 +03:00
Hannu Nyman
b8dbbaee45
Merge pull request #2015 from chris5560/master
luci-app-radicale: remove myself as PKG_MAINTAINER
2018-08-01 19:44:00 +03:00
Dirk Brenken
c1b999461e
Merge pull request #2021 from dibdot/travelmate
luci-app-travelmate: "final" fixes
2018-07-31 11:27:11 +02:00
Dirk Brenken
9217240b04
Merge pull request #2019 from dibdot/adblock
luci-app-adblock: "final" fixes
2018-07-31 11:26:43 +02:00
Dirk Brenken
af25cf4879 luci-app-travelmate: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* re-add accidently removed "apply_on_parse" attribute in overview cbi
* fixed a corner case where the "Restart" button not works correctly
* Removed leftovers from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31 09:36:27 +02:00
Dirk Brenken
b8f8394681 luci-app-adblock: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* remove needless hook & include from overview page
* fix possible JS error in Runtime Information
* Align CSS color with "LuCI standard"

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31 09:21:44 +02:00
Christian Schoenebeck
80534132aa luci-app-ddns: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:55:08 +02:00
Christian Schoenebeck
7b67538224 luci-app-radicale: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:47:04 +02:00
Eric Luehrsen
394658a114 luci-app-unbound: add LuCI for forward stub and auth zone clauses
With growing interest, DNS over TLS can be setup in Unbounds foward-zone:
clause. New section 'zone' is available for forward-, stub-, and auth-
zone cluses. This LuCI application will show the 'zone' section and
permit changing 'enabled' and 'fallback' options. Detailed changes to
'zone' secitons will need to use the Edit:UCI tab (text editor).

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-07-29 23:20:35 -04:00
Dirk Brenken
0ca5e4db0e
Merge pull request #2009 from dibdot/travelmate
luci-app-travelmate: remove needless backup file
2018-07-29 21:55:24 +02:00
Dirk Brenken
16d58c2503 luci-app-travelmate: remove needless backup file
* remove needless development file from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-29 21:50:28 +02:00
Dirk Brenken
af961f84ef
Merge pull request #2007 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.2.1
2018-07-29 21:30:26 +02:00
Dirk Brenken
11cd64e08e luci-app-travelmate: sync with travelmate 1.2.1
* Runtime Information, Logview and Station Overview are now dynamically
updated via XHR poll
* New runtime information for "Faulty Stations" (Travelmate backend will
no longer rename faulty uplinks)
* Add a new "Restart" button to reset "Faulty Stations" information and
trigger a Travelmate restart
* In Stations overview the currently used uplink is emphasized in blue,
faulty uplinks in red
* Numerous cleanups (e.g. space=>tab indentation) and other small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28 19:02:35 +02:00
Dirk Brenken
4a85973a9a
Merge pull request #2006 from dibdot/adblock
luci-app-adblock: small fixes
2018-07-28 18:23:47 +02:00
Dirk Brenken
b7ed444cbb luci-app-adblock: small fixes
* fix possible controller error during json parsing
* remaining code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28 17:30:18 +02:00
Jo-Philipp Wich
9a489da90f
Merge pull request #1946 from korzhyk/web_home
luci-app-transmission: Allow user to define custom web interface
2018-07-26 20:19:02 +02:00
Jo-Philipp Wich
2519d7ee8b
Merge pull request #1985 from Andy2244/master
luci-app-samba4: add new application
2018-07-26 20:17:40 +02:00
Dirk Brenken
69257be152
Merge pull request #1997 from dibdot/adblock
luci-app-adblock: small visual fixes
2018-07-25 21:46:20 +02:00
Dirk Brenken
771672ff7a luci-app-adblock: small visual fixes
* made readonly textarea (logview) scrollable again (bootstrap theme)
* align "Query" input button

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-25 21:39:22 +02:00
Andy Walsh
5c5dc02441 luci-app-samba4: add new application
* updated version for the samba4 package

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-24 13:18:25 +02:00
Jo-Philipp Wich
1961ce6df3
Merge pull request #1986 from dibdot/adblock
luci-app-adblock: fix translations
2018-07-22 22:37:01 +02:00
Dirk Brenken
8d7ebf0572 luci-app-adblock: fix translations
* fix runtime & button translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22 22:28:26 +02:00
Jo-Philipp Wich
83c86d2934
Merge pull request #1983 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.4
2018-07-22 17:46:04 +02:00
Dirk Brenken
5db2b76497 luci-app-adblock: sync with adblock 3.5.4
backend:
* add low priority mode (nice level 10), disabled by default
* enhance 'Force DNS' to redirect ports 53, 853 and 5353

frontend:
* switch to dynamic XHR polling for runtime information and logfile
viewing
* add new 'Refresh' button to reload blocklists
* various cleanups & small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22 08:58:33 +02:00
Jo-Philipp Wich
66bdb07431
Merge pull request #1975 from Olim98/patch-2
luci-app-upnp: update Russian translation
2018-07-21 10:13:53 +02:00
Jo-Philipp Wich
422b04c2e0
Merge pull request #1974 from Olim98/patch-1
luci-app-adblock: fix and update Russian translation
2018-07-21 10:13:17 +02:00
Stan Grishin
aaddcac5b0 luci-app-simple-adblock: remove extra controller file
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-20 16:50:08 -07:00
Olimjon
c03bc0f533
luci-app-upnp: update Russian translation
Signed-off-by: Kudratov O <olimko98@gmail.com>
2018-07-21 02:34:25 +05:00
Olimjon
6a151eb70e
Update Russian translation 2018-07-21 02:10:51 +05:00
Yurii
9a6026b3d5
luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:28:19 +03:00
Yurii
2d946363b3
luci-app-wol: update Ukrainian translation
Corrections and additions.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-20 21:24:30 +03:00
Jo-Philipp Wich
985a7db408 luci-app-ocserv: remove unneeded br element from template
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-20 09:10:45 +02:00
Jo-Philipp Wich
f4ba55532f luci-app-ocserv: update user status template
- Use cbi_update_table() helper to refresh user list
- Cleanup markup and remove uneeded CSS classes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-20 09:08:15 +02:00
INAGAKI Hiroshi
86660f92d1 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-07-20 15:33:18 +09:00
Jo-Philipp Wich
5c6ddd4a98
Merge pull request #1970 from tano-systems/luci-app-ddns-improve-russian-translation
luci-app-ddns: update and improve Russian translation
2018-07-20 07:31:05 +02:00
Jo-Philipp Wich
7cf295de2c
Merge pull request #1969 from stangri/luci-app-simple-adblock
luci-app-simple-adblock: change style of button to important
2018-07-20 07:30:35 +02:00
Anton Kikin
628745044b luci-app-ddns: update and improve Russian translation
Update existing not quite correct translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-07-20 06:11:49 +03:00
Stan Grishin
3471e37b3b luci-app-simple-adblock: change style of button to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:34:49 -07:00
Stan Grishin
4f921594bb luci-app-advanced-reboot: change style of buttons to important
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-19 19:31:16 -07:00
Stan Grishin
768a72597c luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-16 17:43:16 -07:00
Yurii
4f5e1c7da5
luci-app-upnp: update Ukrainian translation
Corrections translation.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-16 16:19:27 +03:00
Jo-Philipp Wich
98f4c3cf50
Merge pull request #1933 from Ansuel/hostname_upnp
luci-app-upnp: add hostname info
2018-07-13 14:50:28 +02:00
Jo-Philipp Wich
4115f8cc56 luci-app-advanced-reboot: fix translation string
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 12:47:59 +02:00
Jo-Philipp Wich
5722105007 luci-app-upnp: tweak table markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 09:37:28 +02:00
Andrii Korzh
2fd794dbc3 luci-app-transmission: Allow user to define custom web interface
There are exists several custom web ui for transmission. Such as:
https://github.com/ronggang/transmission-web-control
https://github.com/Secretmapper/combustion
https://github.com/fcsonline/react-transmission
But for now there are no way to use custom ui without editing `init.d` script.
2018-07-11 13:34:14 +03:00
Stan Grishin
3c332e4564 luci-app-advanced-reboot: support for Linksys WRT32X
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-10 12:33:23 -07:00
Jo-Philipp Wich
994531ea26 luci-app-adblock: align blocklist markup with recent changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
c0de036b31 treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Hannu Nyman
d35be37b88
Merge pull request #1871 from felixonmars/patch-1
Fix a typo in vizdata.sh
2018-07-07 20:43:08 +03:00
Ansuel Smith
afd14fb9c7
luci-app-upnp: add hostname info
This adds the hostname info in the index page of luci.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-03 17:46:39 +02:00
Paul Traina
b0486ab5dc luci-app-mwan3: fix aliased interfaces (@wan6) 2018-07-02 16:45:10 -07:00
Yurii
1455ab6574
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.

Signed-off-by: Yurii yuripet@gmail.com
2018-07-01 23:48:45 +03:00
Dirk Brenken
2e2dab3e56
Merge pull request #1924 from dibdot/lxc_fix
luci-app-lxc: add backingstore support
2018-07-01 21:27:36 +02:00
Dirk Brenken
1f2d40b504 luci-app-lxc: add backingstore support
* second try to enable backingstore support, untested (see #1919)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-01 19:59:52 +02:00
Hannu Nyman
3699509ed2
Merge pull request #1921 from musashino205/l10n/fw-upd-ja
luci-app-firewall: update Japanese translation
2018-07-01 19:45:28 +03:00
Dirk Brenken
1fd3a16635
Merge pull request #1920 from dibdot/lxc_fix
luci-app-lxc: small fixes & cosmetics
2018-06-30 23:08:16 +02:00
Dirk Brenken
b198de11bc luci-app-lxc: small fixes & cosmetics
* backingstore support via ubus does not work, remove it for now
* fix target mapping for linuximages.org
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-30 22:55:41 +02:00
INAGAKI Hiroshi
ad08b56577 luci-app-firewall: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30 23:19:50 +09:00
INAGAKI Hiroshi
ca0a086a2d i18n: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30 23:10:45 +09:00
Hannu Nyman
1a36f0307e
Merge pull request #1902 from panda-mute/patch-1
Update 40_luci-transmission
2018-06-29 18:04:57 +03:00
Jo-Philipp Wich
485e5c930f luci-app-upnp: cleanup UPnP lease status markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-28 09:43:45 +02:00
Jo-Philipp Wich
1b01656451
Merge pull request #1906 from ldir-EDB0/typofix
luci-app-rp-pppoe: Fix typo
2018-06-25 11:19:36 +02:00
Jo-Philipp Wich
483c9d35b2
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
2018-06-25 08:49:44 +02:00
Kevin Darbyshire-Bryant
7cf8f97186 luci-app-rp-pppoe: Fix typo
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-23 17:14:23 +01:00
Jo-Philipp Wich
c7ee1ffcf1 luci-app-shadowsocks-libev: cleanup section add markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
db4139b149 luci-app-travelmate: consolidate markup
Rework the various application view templates to properly render with the
latest responsive design changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
ce8101ae75 luci-app-upnp: rework lease status indicator
Turn the dynamic lease status table into responsive table by using the
cbi_update_table() helper in conjunction with title annotation attributes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Jo-Philipp Wich
e097d3f734 luci-app-firewall: cleanup template markup
Rework the cbi section add template markup to properly render with the
latest responsive design changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 18:01:43 +02:00
Kevin Darbyshire-Bryant
65cfbd8f75 luci-app-bcp38: improve interface selection dropdown
Certain types of interface were excluded from bcp38's concept of
upstream wan interface e.g. pppoa-wan

Shamelessly copies the interface list generation from luci-app-sqm which
solved exactly the same problem and gives additional clues by displaying
the firewall zone (typically wan/lan etc)

Run-tested-on: DGN3500

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-06-23 08:52:14 +01:00
Jo-Philipp Wich
5142e40f9e luci-app-firewall: update cbi models
- allow multiple src/dest ips for rules (#1637)
 - restrict ICMP type list to ICMP protocol
 - add section title callbacks
 - remove size annotations
 - fix validation error with aliased zone fields (#1882)

Fixes #1637, #1882.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-22 11:15:39 +02:00
panda-mute
d024d73da7
Update 40_luci-transmission
Fix typo
2018-06-22 06:53:20 +08:00
Yurii
1dcf85b78d
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.
2018-06-18 20:25:43 +03:00
Hannu Nyman
6cc547fdc6
Merge pull request #1891 from YuriPet/master
Correcting native name Ukrainian language & update Ukrainian translation
2018-06-18 19:52:01 +03:00
INAGAKI Hiroshi
88f03a6142 luci-app-firewall: update Japanese translation
Updated japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18 16:57:08 +09:00
INAGAKI Hiroshi
7001e8f3b1 luci-app-firewall: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-18 15:57:22 +09:00
Yurii
83dc5e075e
luci-app-firewall: update Ukrainian translation 2018-06-17 23:37:21 +03:00
Yurii
de62263f73
luci-app-upnp: update Ukrainian translation 2018-06-17 23:35:49 +03:00
INAGAKI Hiroshi
fe591dd1cc i18n: fix syntax errors in Ukrainian po
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each
of base.po and firewall.po, and one was an incorrect place which
was the cause of the errors.

And, The escape in abbr HTML tag was incorrect, so I fixed it.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-16 23:36:18 +09:00
Zheng Qian
934e954a76 luci-app-firewall: zh_CN: change better translation for offloading
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-12 12:07:33 +08:00
Hannu Nyman
9abf409a34
Merge pull request #1877 from Ansuel/ddnsipkg
luci-app-ddns: use standard pkg info function
2018-06-11 22:08:04 +03:00
Ansuel Smith
492d4d91b9
luci-app-ddns: use standard pkg info function
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-11 17:13:31 +02:00
Kristian Evensen
d3aa12b8ed luci-app-firewall: Fix typo in forwards redirect
When creating a forwarding rule with protocol set to other, a user is
forwarded to the configuration page. The URL for the configuration page
contained a typo - the user was forwarded to
admin/network/firewall/redirect/cfg... and not
admin/network/firewall/forwards/cfg..., leading to a 404.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-06-11 07:10:48 +02:00
Hannu Nyman
8363d0ad6c
Merge pull request #1875 from YuriPet/master
luci-base & luci-app-firewall: update Ukrainian translation
2018-06-10 18:04:32 +03:00
Tom Hodder
658d11e751 luci-app-firewall: disable port fields when protocol is not TCP or UDP
It's currently possible to generate nonsensical firewall rules by inputting
combinations which include:

i) protocols other than UDP/TCP
ii) source and destination ports.

There is some discussion of the issue on the forum here and the issue is
here; #1850.

This patch makes fields like src_port and dest_port depend on protocol being
tcp, udp or "tcp udp" in the input, forwarding and source NAT forms.

Signed-off-by: Tom Hodder <tom@limepepper.co.uk>
[reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-10 16:24:07 +02:00
Yurii
cebe38dcfe
luci-app-firewall: update Ukrainian translation
Updated Ukrainian translations.

Signed-off-by: Yurii yuripet@gmail.com
2018-06-10 17:16:01 +03:00
Hannu Nyman
fad02ac8d7
Merge pull request #1868 from sotux/master-zh_CN
Update Simplified Chinese translation
2018-06-09 17:53:27 +03:00
Zheng Qian
966e86cd06 luci-app-adblock: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 22:50:49 +08:00
Zheng Qian
bfcf2189f1 luci-app-mwan3: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 22:49:04 +08:00
Felix Yan
434d8baff7
Fix a typo in vizdata.sh 2018-06-09 03:05:03 +08:00
Jo-Philipp Wich
2eb4015e18 luci-app-firewall: recognize egress rules in rule overview
Along with 74be6f397
("treewide: switch firewall zone, network and iface lists to dropdown code"),
this change allows luci-app-firewall to recognize OUTPUT rules.

Fixes #1457.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 17:09:18 +02:00
Jo-Philipp Wich
0e0ee2fed5 luci-mod-admin-full: git rid of embedded newlines in translation strings
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in
order to avoid issues with translations using apostrophes.

Globally resnyc translations after the fix.

Fixes #1866.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 13:50:14 +02:00
Dirk Brenken
81c66069c8
Merge pull request #1867 from dibdot/adblock
luci-app-adblock: partly revert last commit
2018-06-08 09:45:57 +02:00
Dirk Brenken
45c2059c15 luci-app-adblock: partly revert last commit
* use now CSS for non breaking spaces in div table header

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-08 09:34:47 +02:00
Jo-Philipp Wich
74be6f3974 treewide: switch firewall zone, network and iface lists to dropdown code
Also switch the weekday and monthday lists in the firewall rule details to
cbi dropdowns, vastly uncluttering the form.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 08:19:20 +02:00
Dirk Brenken
501f1a9008
Merge pull request #1863 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.3
2018-06-08 07:05:05 +02:00
Ansuel Smith
b46e8c5a69
luci-app-ddns: fix div conversion
This fix some error from conversion of #1854

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-07 21:54:21 +02:00
Dirk Brenken
a561d3045c luci-app-adblock: sync with adblock 3.5.3
* small fixes & cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-07 21:14:06 +02:00
jollaman999
2d410379c1 luci-app-ddns: Convert HTML tables to div 2018-06-05 10:09:44 +09:00
Hannu Nyman
4cd08258bb
Merge pull request #1835 from Ansuel/ddns-optional
luci-app-ddns: make param opt, optional
2018-06-04 12:07:43 +03:00
Ansuel Smith
09c3a8385e
luci-app-ddns: make param opt, optional, add myself as maintainer
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-04 09:37:05 +02:00
Dirk Brenken
1ce88dced6
Merge pull request #1851 from dibdot/lxc_fix
luci-app-lxc: made container creation more reliable
2018-06-04 09:07:45 +02:00
Dirk Brenken
2b43ebe92f luci-app-lxc: made container creation more reliable
* wait/lock "create" button until the real end of container creation,
  this includes download time plus tar/gz processing time
* cosmetics

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-03 22:30:59 +02:00
Hannu Nyman
660e4f5504
Merge pull request #1819 from Ansuel/ddns-performance
luci-app-ddns: improve performance
2018-06-02 21:11:51 +03:00
Ansuel Smith
299121fc84
luci-app-ddns: improve performance
Every request directed to the ddns app call ddns tools module.
Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-02 18:52:22 +02:00
Dirk Brenken
c4559052c8
Merge pull request #1847 from dibdot/lxc_fix
luci-app-lxc: bugfix
2018-06-01 18:41:50 +02:00
Dirk Brenken
babcc14c79 luci-app-lxc: bugfix
* fix remaining javascript errors in Chrome

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-01 18:33:05 +02:00
Dirk Brenken
5452cc214e
Merge pull request #1845 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration, part 3
2018-05-31 08:50:07 +02:00
Dirk Brenken
d8f2f24a5b luci-app-lxc: fix "plain-vanilla" integration, part 3
* migrate JS generated HTML tables to divs
* remove (most of) the inline styles
* various markup cleanups

That's the final part ... hopefully it's now in a  more usable &
maintainable state.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-31 07:28:51 +02:00
Eric Luehrsen
d0757f1f47 luci-app-unbound: add root zone file cache option
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-29 00:14:00 -04:00
Eric Luehrsen
60ea5dc53f luci-app-unbound: provide transparent defaults with documentation
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2018-05-28 23:59:17 -04:00
Jo-Philipp Wich
067d7dc9f7 treewide: convert HTML tables to div
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28 15:18:45 +02:00
Zheng Qian
c69bbd194d luci-app-firewall: zh_CN: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-05-28 12:41:23 +08:00
Yousong Zhou
402ad57e55 shadowsocks-libev: fix enumerating server and ss_redir sections
The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)

A quick scan of the current repo indicates that these are the only sites
of wrong call pattern

Fixes openwrt/packages#6113

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-28 11:13:15 +08:00
Dirk Brenken
31dfa80d4f
Merge pull request #1828 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration, part 2
2018-05-27 20:52:31 +02:00
Dirk Brenken
d9b6c5dd78 luci-app-lxc: fix "plain-vanilla" integration, part 2
I've tried to get the lxc app in a more usable state. Tested with mips
and amd64 targets.

* check /etc/config/lxc in controller, not in cbi
* more controller cleanups
* remove unused 'fork_exec' function
* check path before container creation
* check space requirements before container creation
  * support new uci options 'min_space' and 'min_temp',
    default for both is 100000 KB
  * both options are configurable via LuCI CBI template
* write messages to log in case of an error
* validate the container name during creation,
  automatically remove invalid chars
* inform the user that only a stopped container can be destroyed
* add experimental ssl support (untested, disabled by default)

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-27 20:46:13 +02:00
INAGAKI Hiroshi
a3be234992 luci-app-firewall: update Japanese translation
Added Japanese translations for offloading options.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 21:27:32 +09:00
INAGAKI Hiroshi
b4d484e372 luci-app-firewall: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 21:07:07 +09:00
Hannu Nyman
aadc1f79c1
Merge pull request #1826 from hnyman/offload
luci-app-firewall: expose flow offloading options
2018-05-27 09:55:55 +03:00
INAGAKI Hiroshi
e050337c51 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 03:12:24 +09:00
Hannu Nyman
177224c14a luci-app-firewall: expose flow offloading options
Expose options related to routing/NAT flow offloading
feature in firewall3. Offloading is available in kernel 4.14+

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-26 20:31:23 +03:00
Jo-Philipp Wich
c181699bf7
Merge pull request #1481 from TDT-AG/luci-app-openvpn-fixes
luci-app-openvpn: several fixes
2018-05-25 07:22:27 +02:00
Dirk Brenken
59d91d8a72
Merge pull request #1818 from dibdot/lxc_fix
luci-app-lxc: remove wrong leftover from last commit
2018-05-24 00:26:42 +02:00
Dirk Brenken
e9fa69df18
luci-app-lxc: remove wrong leftover from last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-24 00:25:36 +02:00
Dirk Brenken
77d957c390
Merge pull request #1817 from dibdot/travelmate
luci-app-travelmate: fix url ampersand encoding
2018-05-23 23:52:03 +02:00
Dirk Brenken
85342e2c03
luci-app-travelmate: fix url ampersand encoding
* fix ampersand encoding in wireless stations overview

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-23 23:48:47 +02:00