Commit graph

2282 commits

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