Commit graph

2266 commits

Author SHA1 Message Date
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