project/luci.git
6 years agoluci-app-openvpn: file name fix
Dirk Brenken [Tue, 23 Oct 2018 21:16:38 +0000 (23:16 +0200)]
luci-app-openvpn: file name fix

* fix shellquote oversight of the last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #2235 from dibdot/ovpn-upload
Dirk Brenken [Tue, 23 Oct 2018 19:26:51 +0000 (21:26 +0200)]
Merge pull request #2235 from dibdot/ovpn-upload

luci-app-openvpn: add ovpn upload support & more

6 years agoluci-app-openvpn: add ovpn upload support & more
Dirk Brenken [Sat, 20 Oct 2018 19:22:49 +0000 (21:22 +0200)]
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>
6 years agoMerge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu
Jo-Philipp Wich [Tue, 23 Oct 2018 11:20:45 +0000 (13:20 +0200)]
Merge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu

luci-app-olsr-services: Don't use the nameservice with a specific ver…

6 years agoMerge pull request #2227 from YuriPet/master
Hannu Nyman [Mon, 22 Oct 2018 19:39:25 +0000 (20:39 +0100)]
Merge pull request #2227 from YuriPet/master

luci-base: update Ukrainian translation

6 years agoMerge pull request #2239 from dibdot/travelmate
Dirk Brenken [Sun, 21 Oct 2018 20:39:21 +0000 (22:39 +0200)]
Merge pull request #2239 from dibdot/travelmate

luci-app-travelmate: fix wireless scan

6 years agoluci-app-olsr-services: Don't use the nameservice with a specific version.
mmouselli [Sun, 21 Oct 2018 16:47:57 +0000 (18:47 +0200)]
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>
6 years agoMerge pull request #2236 from simontretter/master
Jo-Philipp Wich [Sun, 21 Oct 2018 09:47:53 +0000 (11:47 +0200)]
Merge pull request #2236 from simontretter/master

luci-theme-material: Add main color variable

6 years agoluci-app-travelmate: fix wireless scan
Dirk Brenken [Sun, 21 Oct 2018 06:37:56 +0000 (08:37 +0200)]
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>
6 years agoluci-theme-material: Add main color variable
Simon Tretter [Sun, 21 Oct 2018 03:50:55 +0000 (11:50 +0800)]
luci-theme-material: Add main color variable

Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
6 years agoMerge pull request #2233 from musashino205/l10n/base-upd-ja
Jo-Philipp Wich [Sat, 20 Oct 2018 16:04:29 +0000 (18:04 +0200)]
Merge pull request #2233 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation

6 years agoMerge pull request #2215 from MonwF/feature_root_redirect_path
Jo-Philipp Wich [Sat, 20 Oct 2018 16:04:11 +0000 (18:04 +0200)]
Merge pull request #2215 from MonwF/feature_root_redirect_path

luci-base: redirect root path to /cgi-bin/luci/

6 years agoMerge pull request #2196 from TDT-AG/pr/20181001-luci-theme-material
Jo-Philipp Wich [Sat, 20 Oct 2018 16:02:11 +0000 (18:02 +0200)]
Merge pull request #2196 from TDT-AG/pr/20181001-luci-theme-material

luci-theme-material: make font configurable and minor fixes

6 years agoluci-base: update Japanese translation
INAGAKI Hiroshi [Fri, 19 Oct 2018 15:57:01 +0000 (00:57 +0900)]
luci-base: update Japanese translation

Added and updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-base: fix cbi dropdown quirks with MS Edge
Jo-Philipp Wich [Wed, 17 Oct 2018 05:43:54 +0000 (07:43 +0200)]
luci-base: fix cbi dropdown quirks with MS Edge

On MS Edge, the behaviour of "value" attributes on "li" elements is
unreliable, so use the "data-" prefix to circumvent the problem.

Ref: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/19320991/
Fixes: #2224
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-material: fix css to show loading-img again
Florian Eckert [Fri, 12 Oct 2018 08:58:14 +0000 (10:58 +0200)]
luci-theme-material: fix css to show loading-img again

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-base: update Ukrainian translation
Yurii [Sun, 14 Oct 2018 15:14:01 +0000 (18:14 +0300)]
luci-base: update Ukrainian translation

Updated with the latest sync translation, corrections.

Signed-off-by: Yurii yuripet@gmail.com
6 years agoMerge pull request #2209 from jinchizhong/luci-app-statistics-add-curl
Hannu Nyman [Sat, 13 Oct 2018 19:02:42 +0000 (22:02 +0300)]
Merge pull request #2209 from jinchizhong/luci-app-statistics-add-curl

luci-app-statistics: add support for cUrl

6 years agopp-statistics: add support for cUrl
Chizhong Jin [Sat, 13 Oct 2018 18:34:49 +0000 (02:34 +0800)]
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>
6 years agoMerge pull request #2225 from tano-systems/luci-proto-3g-fix-missed-opt-name
Hannu Nyman [Sat, 13 Oct 2018 13:24:44 +0000 (16:24 +0300)]
Merge pull request #2225 from tano-systems/luci-proto-3g-fix-missed-opt-name

luci-proto-3g: add missed option name for IPv6 address obtain mode

6 years agoMerge pull request #2226 from yangfl/master
Hannu Nyman [Fri, 12 Oct 2018 15:51:09 +0000 (18:51 +0300)]
Merge pull request #2226 from yangfl/master

luci-app-dump1090: Fix typo of a dumb option

6 years agoluci-app-dump1090: Fix typo of a dumb option
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
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>
6 years agoluci-proto-3g: add missed option name for IPv6 address obtain mode
Anton Kikin [Fri, 12 Oct 2018 15:18:11 +0000 (18:18 +0300)]
luci-proto-3g: add missed option name for IPv6 address obtain mode

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
6 years agoMerge pull request #2221 from yangfl/master
Hannu Nyman [Fri, 12 Oct 2018 15:09:25 +0000 (18:09 +0300)]
Merge pull request #2221 from yangfl/master

 treewide: Fix typos in UI strings

6 years agoluci-app: init translations for shadowsocks-libev and unbound
yangfl [Fri, 12 Oct 2018 05:55:48 +0000 (13:55 +0800)]
luci-app: init translations for shadowsocks-libev and unbound

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoluci-app: Fix typos for po strings
yangfl [Fri, 12 Oct 2018 05:43:46 +0000 (13:43 +0800)]
luci-app: Fix typos for po strings

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agotreewide: Fix typos in UI strings
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
treewide: Fix typos in UI strings

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agofreifunk-watchdog: Fix typos
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
freifunk-watchdog: Fix typos

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoMerge pull request #2223 from TDT-AG/pr/20181012-luci-app-mwan3
Hannu Nyman [Fri, 12 Oct 2018 13:30:42 +0000 (16:30 +0300)]
Merge pull request #2223 from TDT-AG/pr/20181012-luci-app-mwan3

luci-app-mwan3: fix typo

6 years agoMerge pull request #2204 from dibdot/wg-qrfix
Dirk Brenken [Fri, 12 Oct 2018 13:30:18 +0000 (15:30 +0200)]
Merge pull request #2204 from dibdot/wg-qrfix

luci-app-wireguard: clean up QR Code generation

6 years agoluci-app-mwan3: fix typo
Florian Eckert [Thu, 11 Oct 2018 05:58:28 +0000 (07:58 +0200)]
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>
6 years agoi18n: sync translations
Hannu Nyman [Thu, 11 Oct 2018 16:57:32 +0000 (19:57 +0300)]
i18n: sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoi18n: fix translations
Hannu Nyman [Thu, 11 Oct 2018 16:55:52 +0000 (19:55 +0300)]
i18n: fix translations

fix .po files

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-travelmate: fix translation fallout
Hannu Nyman [Thu, 11 Oct 2018 16:52:24 +0000 (19:52 +0300)]
luci-app-travelmate: fix translation fallout

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-splash: fix translation fallout
Hannu Nyman [Thu, 11 Oct 2018 16:24:49 +0000 (19:24 +0300)]
luci-app-splash: fix translation fallout

Fix the fallout from recent changes

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-base: cbi.js: remove dead code
Jo-Philipp Wich [Thu, 11 Oct 2018 06:02:38 +0000 (08:02 +0200)]
luci-base: cbi.js: remove dead code

Remove some superfluous code which was added with a previous commit.

Fixes: 8270f10f1 ("luci-base: cbi.js: code cleanups")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-lib-iptparser: fix packaging
Jo-Philipp Wich [Thu, 11 Oct 2018 06:00:01 +0000 (08:00 +0200)]
luci-lib-iptparser: fix packaging

The previous commit omitted a subdirectory.

Fixes: 94323a61e ("luci-base: move luci.sys.iptparser into separate package")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: cbi.js: code cleanups
Jo-Philipp Wich [Thu, 11 Oct 2018 05:56:36 +0000 (07:56 +0200)]
luci-base: cbi.js: code cleanups

 - unify code style
 - add matchesElem() helper
 - replace nodeName checks with selector tests
 - replace className manipulations with classList operations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #2220 from yangfl/packages
Jo-Philipp Wich [Thu, 11 Oct 2018 05:00:13 +0000 (07:00 +0200)]
Merge pull request #2220 from yangfl/packages

luci-mod-system: block install and search if no package lists

6 years agoluci-mod-system: block install and search if no package lists
yangfl [Wed, 10 Oct 2018 14:00:46 +0000 (22:00 +0800)]
luci-mod-system: block install and search if no package lists

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoMerge pull request #2197 from yangfl/master
Hannu Nyman [Wed, 10 Oct 2018 17:25:11 +0000 (20:25 +0300)]
Merge pull request #2197 from yangfl/master

treewide: Fix typos in comments

6 years agoluci-mod-status: fix CDATA marker on iptables status page
Jo-Philipp Wich [Wed, 10 Oct 2018 13:25:10 +0000 (15:25 +0200)]
luci-mod-status: fix CDATA marker on iptables status page

Fixes: f6bfac211 ("luci-mod-status: rework iptables status page")
Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: move luci.sys.iptparser into separate package
Jo-Philipp Wich [Wed, 10 Oct 2018 11:17:20 +0000 (13:17 +0200)]
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>
6 years agoluci-mod-status: rework iptables status page
Jo-Philipp Wich [Wed, 10 Oct 2018 11:11:01 +0000 (13:11 +0200)]
luci-mod-status: rework iptables status page

- Parse and format iptables listing in client side JS
- Dynamically update packet counters

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agotreewide: Fix typos in comments
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
treewide: Fix typos in comments

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoluci-base: show default forwarding policy in zone forwarding list
Jo-Philipp Wich [Wed, 10 Oct 2018 06:32:54 +0000 (08:32 +0200)]
luci-base: show default forwarding policy in zone forwarding list

The zone forwarding list widget misleadingly displays the intra-zone
forwarding policy as default policy action when no forwardings exist
instead of the appropriate global defaults forwarding policy which is
the one applied to inter-zone forwarded traffic.

Fix the issue by displaying the defaults policy and not the per-zone
policy to match what the firewall implementation is actually doing.

Fixes: #2213
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: validate name in firewall zone selector widget
Jo-Philipp Wich [Wed, 10 Oct 2018 06:30:13 +0000 (08:30 +0200)]
luci-base: validate name in firewall zone selector widget

When creating a new zone through the firewall zone selector widget,
validate the given name before creating new items.

Depends on commit 0b6ae96f2 ("luci-base: cbi.js: recognize invalid
input in dropdown create field").

Fixes: #2211
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: cbi.js: recognize invalid input in dropdown create field
Jo-Philipp Wich [Wed, 10 Oct 2018 06:28:15 +0000 (08:28 +0200)]
luci-base: cbi.js: recognize invalid input in dropdown create field

This is required to allow for validating the create field values in
later commits.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #2216 from yangfl/ifacelist
Jo-Philipp Wich [Wed, 10 Oct 2018 05:49:23 +0000 (07:49 +0200)]
Merge pull request #2216 from yangfl/ifacelist

luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge

6 years agoluci-mod-network: show bridges in ifacelist when the interface itself is not a bridge
yangfl [Wed, 10 Oct 2018 05:12:34 +0000 (13:12 +0800)]
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge

It's completely OK to select a bridge as the underlying interface of
other interfaces, say a tunnel or PPPoE. The only case which should be
forbidden is bridge over bridge.

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoluci-base: redirect root path to /cgi-bin/luci/
xiongjie [Wed, 10 Oct 2018 05:04:17 +0000 (13:04 +0800)]
luci-base: redirect root path to /cgi-bin/luci/

Fix openwrt/luci#1062
Signed-off-by: MonwF <boluo2@gmail.com>
6 years agotimezone data: update to 2018e
Hannu Nyman [Tue, 9 Oct 2018 15:19:52 +0000 (18:19 +0300)]
timezone data: update to 2018e

Update timezone data to 2018e

http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html

  North Korea switches back to +09 on 2018-05-05.
  The main format uses negative DST again, for Ireland

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #2200 from pmelange/freifunk_profiles_nameserver
Jo-Philipp Wich [Tue, 9 Oct 2018 06:35:34 +0000 (08:35 +0200)]
Merge pull request #2200 from pmelange/freifunk_profiles_nameserver

freifunk profiles: add nameserver 80.67.169.40

6 years agoMerge pull request #2208 from remakeelectric/snmp-agentx
Jo-Philipp Wich [Mon, 8 Oct 2018 11:34:07 +0000 (13:34 +0200)]
Merge pull request #2208 from remakeelectric/snmp-agentx

luci-app-snmpd: Allow turning off agentx

6 years agoluci-app-snmpd: Allow turning off agentx
Karl Palsson [Mon, 8 Oct 2018 11:27:53 +0000 (11:27 +0000)]
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>
6 years agoluci-app-wireguard: clean up QR Code generation
Dirk Brenken [Sun, 7 Oct 2018 05:46:29 +0000 (07:46 +0200)]
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>
6 years agoMerge pull request #2202 from dibdot/travelmate
Dirk Brenken [Fri, 5 Oct 2018 10:30:23 +0000 (12:30 +0200)]
Merge pull request #2202 from dibdot/travelmate

luci-app-travelmate: sync with update 1.2.4

6 years agoMerge pull request #2195 from dibdot/wg-qrcode
Dirk Brenken [Fri, 5 Oct 2018 10:30:02 +0000 (12:30 +0200)]
Merge pull request #2195 from dibdot/wg-qrcode

luci-app-wireguard: add QR Code support plus fixes

6 years agoluci-app-travelmate: sync with update 1.2.4
Dirk Brenken [Fri, 5 Oct 2018 08:21:34 +0000 (10:21 +0200)]
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>
6 years agofreifunk profiles: add nameserver 80.67.169.40 from www.fdn.fr/actions/dns
pmelange [Thu, 4 Oct 2018 10:10:58 +0000 (12:10 +0200)]
freifunk profiles: add nameserver 80.67.169.40 from fdn.fr/actions/dns

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
6 years agoluci-base: reword rollback notification dialog
Jo-Philipp Wich [Wed, 3 Oct 2018 11:25:46 +0000 (13:25 +0200)]
luci-base: reword rollback notification dialog

Rename "Apply unchecked" to "Apply anyway" for better clarity and update
the base translation files accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-nlbwmon: fix nil value concat
Jo-Philipp Wich [Tue, 2 Oct 2018 17:20:53 +0000 (19:20 +0200)]
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>
6 years agoMerge pull request #2198 from TDT-AG/pr/20181002-luci-app-mwan3
Hannu Nyman [Tue, 2 Oct 2018 15:00:26 +0000 (18:00 +0300)]
Merge pull request #2198 from TDT-AG/pr/20181002-luci-app-mwan3

luci-app-mwan3: fix i18n traceback

6 years agoluci-app-mwan3: fix i18n traceback
Florian Eckert [Tue, 2 Oct 2018 09:42:51 +0000 (11:42 +0200)]
luci-app-mwan3: fix i18n traceback

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-theme-material: fix word wrap on german i18n for username
Florian Eckert [Mon, 1 Oct 2018 12:49:02 +0000 (14:49 +0200)]
luci-theme-material: fix word wrap on german i18n for username

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-theme-material: make font configurable
Florian Eckert [Mon, 1 Oct 2018 11:35:34 +0000 (13:35 +0200)]
luci-theme-material: make font configurable

Move font selection into custom.css

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2191 from Ansuel/zram
Jo-Philipp Wich [Mon, 1 Oct 2018 12:27:15 +0000 (14:27 +0200)]
Merge pull request #2191 from Ansuel/zram

luci-mod-system: add zram options

6 years agoluci-mod-system: add zram options
Ansuel Smith [Sat, 29 Sep 2018 17:40:39 +0000 (19:40 +0200)]
luci-mod-system: add zram options

This adds option to configure zram size and compression algo

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoluci-app-wireguard: add QR Code support plus fixes
Dirk Brenken [Mon, 1 Oct 2018 06:09:12 +0000 (08:09 +0200)]
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>
6 years agoMerge pull request #2194 from yangfl/master
Jo-Philipp Wich [Mon, 1 Oct 2018 08:53:35 +0000 (10:53 +0200)]
Merge pull request #2194 from yangfl/master

i18n: update Chinese translation

6 years agoMerge pull request #2192 from Ansuel/wifi
Jo-Philipp Wich [Mon, 1 Oct 2018 08:52:32 +0000 (10:52 +0200)]
Merge pull request #2192 from Ansuel/wifi

luci-app-network: add rekey option

6 years agoi18n: update Chinese translation
yangfl [Mon, 1 Oct 2018 03:39:57 +0000 (11:39 +0800)]
i18n: update Chinese translation

Signed-off-by: David Yang <mmyangfl@gmail.com>
6 years agoluci-proto-pppossh: move pppossh to own package
Florian Eckert [Thu, 15 Mar 2018 14:28:18 +0000 (15:28 +0100)]
luci-proto-pppossh: move pppossh to own package

This is a special proto which should go into a separate package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-proto-hnet: move hnet to own package
Florian Eckert [Thu, 15 Mar 2018 07:54:10 +0000 (08:54 +0100)]
luci-proto-hnet: move hnet to own package

This is a special proto which should go into a separate package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-network: add rekey option and inactivity tweak
Ansuel Smith [Sat, 29 Sep 2018 19:50:33 +0000 (21:50 +0200)]
luci-app-network: add rekey option and inactivity tweak

This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoluci-app-nlbwmon: the default CSV delimiter should be a comma
Ameer Dawood [Tue, 24 Jul 2018 14:06:38 +0000 (19:06 +0500)]
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>
6 years agoluci-app-nlbwmon: add proper file names for json and csv exports.
Ameer Dawood [Mon, 23 Jul 2018 19:41:33 +0000 (00:41 +0500)]
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>
6 years agoluci-base: fix misleading warning message when adding SSH keys
Dirk Brenken [Wed, 8 Aug 2018 18:46:02 +0000 (20:46 +0200)]
luci-base: fix misleading warning message when adding SSH keys

Prevent an incorrect / misleading "There are no changes to apply" message
from popping up when adding a new SSH key to the text box.

Fixes #2048.
Signed-off-by: Dirk Brenken <dev@brenken.org>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: corrections to Russian translation
Jo-Philipp Wich [Sun, 26 Aug 2018 21:35:10 +0000 (00:35 +0300)]
luci-base: corrections to Russian translation

Add grammar corrections suggested in PRs #2114 and #2190.

Suggested-by: Roman <x.wserfer@gmail.com>
[squash #2114 and #2190, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoapplications: add Chinese translations
David Yang [Fri, 17 Aug 2018 09:22:22 +0000 (17:22 +0800)]
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>
6 years agoluci-app-wireguard: add descriptions
rwalli [Sat, 25 Aug 2018 17:04:36 +0000 (19:04 +0200)]
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>
6 years agoluci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease column
Jo-Philipp Wich [Sat, 29 Sep 2018 12:23:43 +0000 (14:23 +0200)]
luci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease column

Fixes #2132.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agothemes: add data-page attribute to body elements
Jo-Philipp Wich [Sat, 29 Sep 2018 12:16:46 +0000 (14:16 +0200)]
themes: add data-page attribute to body elements

This is useful to write page specific CSS rules.

Also fix a missing space in the body CSS class name in the bootstrap theme
while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-mod-system: correct table cell rendering without umount button
Jo-Philipp Wich [Sat, 29 Sep 2018 12:09:43 +0000 (14:09 +0200)]
luci-mod-system: correct table cell rendering without umount button

Fixes #2173.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: cbi.lua: fix TypedSection.parse()
Darius [Wed, 26 Sep 2018 07:59:08 +0000 (10:59 +0300)]
luci-base: cbi.lua: fix TypedSection.parse()

It's not necessary to execute all code if section already exists.

Signed-off-by: Darius Joksas <jok.darius@gmail.com>
[reword commit message, squash commits, remove stray semicolon]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-app-firewall: remove unused code
Darius [Thu, 27 Sep 2018 08:08:14 +0000 (11:08 +0300)]
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>
6 years agoMerge pull request #2184 from kyle30312/logout-cookie-fix
Jo-Philipp Wich [Thu, 27 Sep 2018 19:22:32 +0000 (21:22 +0200)]
Merge pull request #2184 from kyle30312/logout-cookie-fix

luci-base: fix sysauth cookie not removed on logout

6 years agoluci-theme-bootstrap: fix typo in admin node lookup
Jo-Philipp Wich [Thu, 27 Sep 2018 19:19:03 +0000 (21:19 +0200)]
luci-theme-bootstrap: fix typo in admin node lookup

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-material: do not double escape menu titles
Jo-Philipp Wich [Thu, 27 Sep 2018 19:16:41 +0000 (21:16 +0200)]
luci-theme-material: do not double escape menu titles

Fixes #1410.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-theme-bootstrap: do not double escape menu titles
Jo-Philipp Wich [Thu, 27 Sep 2018 19:15:33 +0000 (21:15 +0200)]
luci-theme-bootstrap: do not double escape menu titles

Fixes #1410.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agorestored nixio tls providers
Sophana KOK [Tue, 7 Jun 2016 07:25:15 +0000 (09:25 +0200)]
restored nixio tls providers

Signed-off-by: Sophana KOK <ml-github@worldspot.net>
6 years agoluci-base: fix sysauth cookie not removed on logout
Kyle Rogers [Wed, 26 Sep 2018 22:33:58 +0000 (18:33 -0400)]
luci-base: fix sysauth cookie not removed on logout

Signed-off-by: Kyle Rogers <7157021+kyle30312@users.noreply.github.com>
6 years agoMerge pull request #2185 from TDT-AG/pr/20180927-luci-app-mwan3
Jo-Philipp Wich [Thu, 27 Sep 2018 08:52:01 +0000 (10:52 +0200)]
Merge pull request #2185 from TDT-AG/pr/20180927-luci-app-mwan3

luci-app-mwan3: start adding german translation a new max_ttl option

6 years agoMerge pull request #2186 from TDT-AG/pr/20180927-base-fix-german-translation
Jo-Philipp Wich [Thu, 27 Sep 2018 08:50:15 +0000 (10:50 +0200)]
Merge pull request #2186 from TDT-AG/pr/20180927-base-fix-german-translation

luci-base: fix german translations

6 years agoluci-base: fix german translations
Martin Schiller [Thu, 27 Sep 2018 07:24:45 +0000 (09:24 +0200)]
luci-base: fix german translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
6 years agoluci-app-mwan3: add new max_ttl option
Florian Eckert [Mon, 7 May 2018 12:51:36 +0000 (14:51 +0200)]
luci-app-mwan3: add new max_ttl option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoluci-app-mwan3: add german translation
Florian Eckert [Thu, 27 Sep 2018 06:47:25 +0000 (08:47 +0200)]
luci-app-mwan3: add german translation

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2181 from TDT-AG/pr/20180925-luci-theme-material
Jo-Philipp Wich [Wed, 26 Sep 2018 15:44:04 +0000 (17:44 +0200)]
Merge pull request #2181 from TDT-AG/pr/20180925-luci-theme-material

luci-theme-material: fixes and add openwrt logo brand

6 years agoluci-theme-material: fix partly hidden logout navbar item
Florian Eckert [Wed, 26 Sep 2018 08:44:25 +0000 (10:44 +0200)]
luci-theme-material: fix partly hidden logout navbar item

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
6 years agoluci-theme-material: add logo brand
Florian Eckert [Wed, 26 Sep 2018 08:42:09 +0000 (10:42 +0200)]
luci-theme-material: add logo brand

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>