oweals/luci.git
5 years agoluci-app-unbound: protect against printing large cache dump 2412/head
Eric Luehrsen [Sat, 8 Dec 2018 02:19:20 +0000 (21:19 -0500)]
luci-app-unbound: protect against printing large cache dump

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
5 years agoMerge pull request #2408 from YuriPet/master
Hannu Nyman [Sat, 29 Dec 2018 22:09:19 +0000 (00:09 +0200)]
Merge pull request #2408 from YuriPet/master

Update Ukrainian translation

5 years agoluci-app-opkg: update Ukrainian translation 2408/head
Yurii [Sat, 29 Dec 2018 21:30:47 +0000 (23:30 +0200)]
luci-app-opkg: update Ukrainian translation

Signed-off-by: Yurii yuripet@gmail.com
5 years agoluci-app-firewall: update Ukrainian translation
Yurii [Sat, 29 Dec 2018 21:27:55 +0000 (23:27 +0200)]
luci-app-firewall: update Ukrainian translation

Signed-off-by: Yurii yuripet@gmail.com
5 years agoluci-base: update Ukrainian translation
Yurii [Sat, 29 Dec 2018 21:22:54 +0000 (23:22 +0200)]
luci-base: update Ukrainian translation

Signed-off-by: Yurii yuripet@gmail.com
5 years agoluci-base: rework filebrowser initialization
Jo-Philipp Wich [Sat, 29 Dec 2018 13:19:59 +0000 (14:19 +0100)]
luci-base: rework filebrowser initialization

Do not call cbi_init() from the browser field template but lazily initialize
the field, like it is being done for all other widgets as well.

Fixes: #2398
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2387 from TDT-AG/pr/20181220-luci-app-mwan3
Hannu Nyman [Sat, 29 Dec 2018 12:05:26 +0000 (14:05 +0200)]
Merge pull request #2387 from TDT-AG/pr/20181220-luci-app-mwan3

luci-app-mwan3: some changes

5 years agoMerge pull request #2406 from rosysong/nft-qos
Hannu Nyman [Sat, 29 Dec 2018 09:35:01 +0000 (11:35 +0200)]
Merge pull request #2406 from rosysong/nft-qos

luci-app-nft-qos: fix monitor doesn't work when there no ipv6 support.

5 years agoluci-app-nft-qos: fix monitor doesn't work when there no ipv6 support. 2406/head
Rosy Song [Sat, 29 Dec 2018 09:31:12 +0000 (17:31 +0800)]
luci-app-nft-qos: fix monitor doesn't work when there no ipv6 support.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoMerge pull request #2401 from musashino205/i18n/po-fix
Hannu Nyman [Thu, 27 Dec 2018 13:26:51 +0000 (15:26 +0200)]
Merge pull request #2401 from musashino205/i18n/po-fix

luci-app-olsr: fix po errors

5 years agoMerge pull request #2402 from dibdot/travelmate
Dirk Brenken [Thu, 27 Dec 2018 06:24:28 +0000 (07:24 +0100)]
Merge pull request #2402 from dibdot/travelmate

luci-app-travelmate: adapt latest css changes

5 years agoMerge pull request #2400 from dibdot/banip
Dirk Brenken [Thu, 27 Dec 2018 06:24:09 +0000 (07:24 +0100)]
Merge pull request #2400 from dibdot/banip

luci-app-banip: sync with release 0.0.7

5 years agoMerge pull request #2399 from dibdot/adblock
Dirk Brenken [Thu, 27 Dec 2018 06:23:49 +0000 (07:23 +0100)]
Merge pull request #2399 from dibdot/adblock

luci-app-adblock: sync with release 3.6.1

5 years agoluci-app-travelmate: adapt latest css changes 2402/head
Dirk Brenken [Thu, 27 Dec 2018 06:19:24 +0000 (07:19 +0100)]
luci-app-travelmate: adapt latest css changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-app-banip: sync with release 0.0.7 2400/head
Dirk Brenken [Wed, 26 Dec 2018 20:56:45 +0000 (21:56 +0100)]
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>
5 years agoluci-app-adblock: sync with release 3.6.1 2399/head
Dirk Brenken [Wed, 26 Dec 2018 20:27:11 +0000 (21:27 +0100)]
luci-app-adblock: sync with release 3.6.1

* support new reporting options
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-app-olsr: sync translations 2401/head
INAGAKI Hiroshi [Thu, 27 Dec 2018 02:49:54 +0000 (11:49 +0900)]
luci-app-olsr: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-olsr: fix po errors
INAGAKI Hiroshi [Thu, 27 Dec 2018 02:44:21 +0000 (11:44 +0900)]
luci-app-olsr: fix po errors

Fixed po errors in "Selected" in en/de.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoMerge pull request #2393 from RoEng/luci-app-wifischedule-i18n-de-1
Hannu Nyman [Wed, 26 Dec 2018 17:20:54 +0000 (19:20 +0200)]
Merge pull request #2393 from RoEng/luci-app-wifischedule-i18n-de-1

luci-app-wifischedule: New German Translation

5 years agoMerge pull request #2396 from musashino205/l10n/adblk-upd-ja
Hannu Nyman [Wed, 26 Dec 2018 17:20:15 +0000 (19:20 +0200)]
Merge pull request #2396 from musashino205/l10n/adblk-upd-ja

luci-app-adblock: update Japanese translation

5 years agoMerge pull request #2395 from musashino205/l10n/mwan3-upd-ja
Hannu Nyman [Wed, 26 Dec 2018 17:19:48 +0000 (19:19 +0200)]
Merge pull request #2395 from musashino205/l10n/mwan3-upd-ja

luci-app-mwan3: update Japanese translation

5 years agoMerge pull request #2397 from musashino205/l10n/base-fix-ja
Hannu Nyman [Wed, 26 Dec 2018 17:19:26 +0000 (19:19 +0200)]
Merge pull request #2397 from musashino205/l10n/base-fix-ja

luci-base: fix Japanese translation

5 years agoMerge pull request #2390 from cshoredaniel/pr-nut-updates
Hannu Nyman [Wed, 26 Dec 2018 17:19:09 +0000 (19:19 +0200)]
Merge pull request #2390 from cshoredaniel/pr-nut-updates

luci-app-nut: Update nut-server settings to match packages master

5 years agoluci-base: fix Japanese translation 2397/head
INAGAKI Hiroshi [Wed, 26 Dec 2018 10:49:18 +0000 (19:49 +0900)]
luci-base: fix Japanese translation

Fixed Japanese translation.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-adblock: update Japanese translation 2396/head
INAGAKI Hiroshi [Wed, 26 Dec 2018 10:39:44 +0000 (19:39 +0900)]
luci-app-adblock: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-adblock: sync translations
INAGAKI Hiroshi [Wed, 26 Dec 2018 10:05:08 +0000 (19:05 +0900)]
luci-app-adblock: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-mwan3: update Japanese translation 2395/head
INAGAKI Hiroshi [Wed, 26 Dec 2018 09:50:50 +0000 (18:50 +0900)]
luci-app-mwan3: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-shadowsocks-libev: add zh-cn translation
Yousong Zhou [Wed, 26 Dec 2018 03:34:56 +0000 (03:34 +0000)]
luci-app-shadowsocks-libev: add zh-cn translation

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years agoluci-app-wifischedule: New German Translation 2393/head
Roland Engert [Wed, 26 Dec 2018 01:14:50 +0000 (02:14 +0100)]
luci-app-wifischedule: New German Translation

New German Translation of wifischedule.po

Signed-of-by: Roland Engert <Roland.Engert@web.de>
5 years agoluci-base: fix zh-tw translation
Gyrotron [Tue, 25 Dec 2018 22:19:02 +0000 (03:49 +0530)]
luci-base: fix zh-tw translation

Fixes #1092

Signed-off-by: Simmar Kalsi simmarkalsi@gmail.com
[reword commit message subject]
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years agoluci-app-nut: Update settings to match packages master 2390/head
Daniel F. Dickinson [Fri, 21 Dec 2018 01:45:24 +0000 (20:45 -0500)]
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>
5 years agoluci-app-nut: nut_server: Alphabetize driver options
Daniel F. Dickinson [Thu, 20 Dec 2018 06:37:10 +0000 (01:37 -0500)]
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>
5 years agoMerge pull request #2389 from dibdot/adblock
Dirk Brenken [Sat, 22 Dec 2018 17:53:04 +0000 (18:53 +0100)]
Merge pull request #2389 from dibdot/adblock

luci-app-adblock: minor fixes

5 years agoluci-app-adblock: minor fixes 2389/head
Dirk Brenken [Sat, 22 Dec 2018 17:37:45 +0000 (18:37 +0100)]
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>
5 years agoluci-lib-jsonc: prevent infinite recursion in stringify
Jo-Philipp Wich [Fri, 21 Dec 2018 12:16:16 +0000 (13:16 +0100)]
luci-lib-jsonc: prevent infinite recursion in stringify

Also increase the stack size as needed to prevent crashes when serializing
deeply nested tables.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years ago_I18N_ luci-app-mwan3: i18n update de translation 2387/head
Florian Eckert [Thu, 20 Dec 2018 11:06:22 +0000 (12:06 +0100)]
_I18N_ luci-app-mwan3: i18n update de translation

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: show supported tracking methodes if needed bin is installed
Florian Eckert [Fri, 21 Dec 2018 09:15:36 +0000 (10:15 +0100)]
luci-app-mwan3: show supported tracking methodes if needed bin is installed

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: add uptime/downtime to status page
Florian Eckert [Fri, 21 Dec 2018 09:00:26 +0000 (10:00 +0100)]
luci-app-mwan3: add uptime/downtime to status page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: add tracking methode nping
Florian Eckert [Thu, 20 Dec 2018 13:59:42 +0000 (14:59 +0100)]
luci-app-mwan3: add tracking methode nping

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2386 from cshoredaniel/pr-uhttpd-spelling
Jo-Philipp Wich [Fri, 21 Dec 2018 07:30:11 +0000 (08:30 +0100)]
Merge pull request #2386 from cshoredaniel/pr-uhttpd-spelling

luci-app-uhttpd: Correct spelling in two places

5 years agoluci-app-uhttpd: Correct spelling in two places 2386/head
Daniel F. Dickinson [Fri, 21 Dec 2018 03:25:32 +0000 (22:25 -0500)]
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>
5 years agoMerge pull request #2383 from TDT-AG/pr/20181220-luci-theme-material
Jo-Philipp Wich [Thu, 20 Dec 2018 14:06:12 +0000 (15:06 +0100)]
Merge pull request #2383 from TDT-AG/pr/20181220-luci-theme-material

luci-theme-material: make top level menu fontcolor configurable

5 years agoluci-theme-material: make top level menu fontcolor configurable 2383/head
Florian Eckert [Mon, 17 Dec 2018 12:57:15 +0000 (13:57 +0100)]
luci-theme-material: make top level menu fontcolor configurable

If you change the color of the submenues then the colors of the toplevel
should also be changed into the same color.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agocsstidy: update to latest Git HEAD
Jo-Philipp Wich [Thu, 20 Dec 2018 12:02:11 +0000 (13:02 +0100)]
csstidy: update to latest Git HEAD

1d56201 prepare: do not consider "overflow" to be a shorthand for -x, -y

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2351 from TDT-AG/pr/20181204-modules
Jo-Philipp Wich [Thu, 20 Dec 2018 09:52:06 +0000 (10:52 +0100)]
Merge pull request #2351 from TDT-AG/pr/20181204-modules

modules: use configurable poll interval

5 years agoluci-base: use default poll interval 2351/head
Florian Eckert [Thu, 20 Dec 2018 09:10:26 +0000 (10:10 +0100)]
luci-base: 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>
5 years agoluci-app-*: use default poll interval
Florian Eckert [Thu, 20 Dec 2018 09:09:58 +0000 (10:09 +0100)]
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>
5 years agomodules: use configurable poll interval
Florian Eckert [Tue, 18 Dec 2018 14:46:53 +0000 (15:46 +0100)]
modules: use configurable poll interval

Make poll interval configurable. Use option from

----
config core 'main'
    option pollinterval '5'
---

This will only be used if the interval option is less or equal zero.
If the poll interval is not configured then a default value of 5 seconds
is used.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2380 from dibdot/adblock
Dirk Brenken [Thu, 20 Dec 2018 07:51:35 +0000 (08:51 +0100)]
Merge pull request #2380 from dibdot/adblock

luci-app-adblock: sync with release 3.6.0

5 years agoluci-app-adblock: sync with release 3.6.0 2380/head
Dirk Brenken [Wed, 19 Dec 2018 16:33:29 +0000 (17:33 +0100)]
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>
5 years agoMerge pull request #2381 from musashino205/l10n/base-upd-ja
Hannu Nyman [Wed, 19 Dec 2018 18:36:15 +0000 (20:36 +0200)]
Merge pull request #2381 from musashino205/l10n/base-upd-ja

luci-base: update Japanese translation

5 years agoluci-base: update Japanese translation 2381/head
INAGAKI Hiroshi [Wed, 19 Dec 2018 18:01:24 +0000 (03:01 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoi18n: sync translations
INAGAKI Hiroshi [Wed, 19 Dec 2018 17:21:14 +0000 (02:21 +0900)]
i18n: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoMerge pull request #2350 from TDT-AG/pr/20181204-luci-mod-system
Jo-Philipp Wich [Wed, 19 Dec 2018 06:49:56 +0000 (07:49 +0100)]
Merge pull request #2350 from TDT-AG/pr/20181204-luci-mod-system

luci-mod-system: add translation for led trigger names

5 years agoluci-theme-bootstrap: fix textarea height after CSS minification
Jo-Philipp Wich [Sun, 16 Dec 2018 14:08:05 +0000 (15:08 +0100)]
luci-theme-bootstrap: fix textarea height after CSS minification

Fixes #2378
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2377 from sotux/master-luci-app-aria2
Hannu Nyman [Sat, 15 Dec 2018 13:46:05 +0000 (15:46 +0200)]
Merge pull request #2377 from sotux/master-luci-app-aria2

luci-app-aria2: fix the log option

5 years agoluci-app-aria2: fix the log option 2377/head
Zheng Qian [Sat, 15 Dec 2018 13:38:40 +0000 (21:38 +0800)]
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>
5 years agoMerge pull request #2375 from sotux/master-luci-app-aria2
Jo-Philipp Wich [Fri, 14 Dec 2018 06:14:18 +0000 (07:14 +0100)]
Merge pull request #2375 from sotux/master-luci-app-aria2

luci-app-aria2: fix showRPCURL when using https

5 years agoluci-app-aria2: fix showRPCURL when using https 2375/head
Zheng Qian [Fri, 14 Dec 2018 05:32:18 +0000 (13:32 +0800)]
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>
5 years agoluci-base: update Simplified Chinese translation
Zheng Qian [Fri, 14 Dec 2018 01:14:35 +0000 (09:14 +0800)]
luci-base: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-base: fix table compare upon writing ipaddr changes
Jo-Philipp Wich [Thu, 13 Dec 2018 11:14:37 +0000 (12:14 +0100)]
luci-base: fix table compare upon writing ipaddr changes

Fixes: b33192a03 ("luci-base: support cidr list notation for option ipaddr and ip6addr")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: properly option ipaddr in single cidr string notation as well
Jo-Philipp Wich [Thu, 13 Dec 2018 10:57:16 +0000 (11:57 +0100)]
luci-base: properly option ipaddr in single cidr string notation as well

When an interface configuration specifies both "option ipaddr 1.2.3.4/24"
and "option netmask", then netifd will ignore the netmask in favor to the
prefix encoded in the cidr string.

Support this variant as well by treating a sole cidr string value as
singöe-item cidr list.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: fix typo in german translation
Jo-Philipp Wich [Thu, 13 Dec 2018 10:44:17 +0000 (11:44 +0100)]
luci-base: fix typo in german translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: update german translation
Jo-Philipp Wich [Thu, 13 Dec 2018 10:41:24 +0000 (11:41 +0100)]
luci-base: update german translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: resync translation templates
Jo-Philipp Wich [Thu, 13 Dec 2018 10:36:35 +0000 (11:36 +0100)]
luci-base: resync translation templates

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: support cidr list notation for option ipaddr and ip6addr
Jo-Philipp Wich [Thu, 13 Dec 2018 10:31:50 +0000 (11:31 +0100)]
luci-base: support cidr list notation for option ipaddr and ip6addr

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: update deps on dynlist changes, honor placeholder
Jo-Philipp Wich [Thu, 13 Dec 2018 10:27:52 +0000 (11:27 +0100)]
luci-base: cbi.js: update deps on dynlist changes, honor placeholder

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2372 from TDT-AG/pr/20181213-openvpn-comp-lzo
Jo-Philipp Wich [Thu, 13 Dec 2018 07:26:44 +0000 (08:26 +0100)]
Merge pull request #2372 from TDT-AG/pr/20181213-openvpn-comp-lzo

luci-app-openvpn: re-add options comp_lzo and comp_noadapt

5 years agoluci-app-openvpn: re-add options comp_lzo and comp_noadapt 2372/head
Martin Schiller [Thu, 13 Dec 2018 07:08:24 +0000 (08:08 +0100)]
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>
5 years agocsstidy: update to latest Git head
Jo-Philipp Wich [Wed, 12 Dec 2018 15:24:59 +0000 (16:24 +0100)]
csstidy: update to latest Git head

33594b4 ("csstidy: do not dequote selector strings")

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2369 from tano-systems/fix-changelog-mistake
Jo-Philipp Wich [Wed, 12 Dec 2018 09:47:06 +0000 (10:47 +0100)]
Merge pull request #2369 from tano-systems/fix-changelog-mistake

luci-base: fix UCI changelog markup mistake

5 years agobuild: add build option to minify *.css files
Jo-Philipp Wich [Wed, 12 Dec 2018 08:34:44 +0000 (09:34 +0100)]
build: add build option to minify *.css files

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agocontrib: add csstidy package
Jo-Philipp Wich [Wed, 12 Dec 2018 08:27:44 +0000 (09:27 +0100)]
contrib: add csstidy package

Package a fork of the CSSTidy C++ implementation for CSS minification
use in a later commit.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: fix UCI changelog markup mistake 2369/head
Anton Kikin [Tue, 11 Dec 2018 23:05:59 +0000 (02:05 +0300)]
luci-base: fix UCI changelog markup mistake

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoMerge pull request #2361 from stokito/master
Hannu Nyman [Tue, 11 Dec 2018 16:39:40 +0000 (18:39 +0200)]
Merge pull request #2361 from stokito/master

CONTRIBUTING.md

5 years agoluci-app-nlbwmon: rewrite display section
Jo-Philipp Wich [Tue, 11 Dec 2018 10:49:41 +0000 (11:49 +0100)]
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>
5 years agoluci-lib-httpclient: prevent nil access with invalid IP address literals
Jo-Philipp Wich [Tue, 11 Dec 2018 08:17:42 +0000 (09:17 +0100)]
luci-lib-httpclient: prevent nil access with invalid IP address literals

Fixes: a54baf7be ("luci-lib-httpclient: revamp URL handling")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-lib-httpclient: revamp URL handling
Jo-Philipp Wich [Tue, 11 Dec 2018 07:57:36 +0000 (08:57 +0100)]
luci-lib-httpclient: revamp URL handling

 - Introduce a parse_url() helper which properly deals with literal IPv4
   and IPv6 host parts and returns the decomposed uri string as table
 - Properly format IPv6 literals in autogenerated Host headers
 - Omit default port numbers in Host headers and calculated redirect URLs.

Supersedes PR #2337.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2285 from dengqf6/luci-ssl-nginx
Jo-Philipp Wich [Tue, 11 Dec 2018 05:56:35 +0000 (06:56 +0100)]
Merge pull request #2285 from dengqf6/luci-ssl-nginx

luci-ssl-nginx: fix dependencies

5 years agoMerge pull request #2367 from yglb/master
Jo-Philipp Wich [Tue, 11 Dec 2018 05:55:22 +0000 (06:55 +0100)]
Merge pull request #2367 from yglb/master

luci-theme-rosy: Fixed insufficient container container width

5 years agoluci-base: fix syntax error in map.htm
Jo-Philipp Wich [Tue, 11 Dec 2018 05:54:09 +0000 (06:54 +0100)]
luci-base: fix syntax error in map.htm

Fixes #2366.
Fixes: 76e9c0305 ("luci-base: rework ui tabbing code")

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-opkg: update Simplified Chinese translation
Zheng Qian [Mon, 10 Dec 2018 01:14:39 +0000 (09:14 +0800)]
luci-app-opkg: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoluci-theme-rosy: Fixed insufficient container container width 2367/head
Yanlan Shen [Tue, 11 Dec 2018 02:43:45 +0000 (10:43 +0800)]
luci-theme-rosy: Fixed insufficient container container width

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
5 years agoMerge pull request #2364 from tano-systems/split-status-page
Jo-Philipp Wich [Mon, 10 Dec 2018 17:41:40 +0000 (18:41 +0100)]
Merge pull request #2364 from tano-systems/split-status-page

luci-mod-status: split status page into a series of partials

5 years agoluci-mod-status: split status page into a series of partials 2364/head
Anton Kikin [Mon, 10 Dec 2018 16:56:42 +0000 (19:56 +0300)]
luci-mod-status: split status page into a series of partials

Split status page into a series of partials as discussed in PR #2359.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoUpdate CONTRIBUTING.md 2361/head
Sergey Ponomarev [Mon, 10 Dec 2018 15:54:55 +0000 (17:54 +0200)]
Update CONTRIBUTING.md

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
5 years agoMerge pull request #2363 from sotux/master-luci-app-aria2
Jo-Philipp Wich [Mon, 10 Dec 2018 12:49:27 +0000 (13:49 +0100)]
Merge pull request #2363 from sotux/master-luci-app-aria2

luci-app-aria2: fix http/https protocol when opening aria2 webUI

5 years agoluci-theme-{freifunk-generic,material,rosy}: fixup tab CSS
Jo-Philipp Wich [Mon, 10 Dec 2018 12:40:49 +0000 (13:40 +0100)]
luci-theme-{freifunk-generic,material,rosy}: fixup tab CSS

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-radicale: refactor custom nsection template
Jo-Philipp Wich [Sun, 9 Dec 2018 19:10:15 +0000 (20:10 +0100)]
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>
5 years agoluci-theme-openwrt: add required CSS rules for new tabbing code
Jo-Philipp Wich [Fri, 7 Dec 2018 16:54:21 +0000 (17:54 +0100)]
luci-theme-openwrt: add required CSS rules for new tabbing code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: add required CSS rules for new tabbing code
Jo-Philipp Wich [Fri, 7 Dec 2018 16:55:43 +0000 (17:55 +0100)]
luci-theme-bootstrap: add required CSS rules for new tabbing code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: rework ui tabbing code
Jo-Philipp Wich [Wed, 5 Dec 2018 07:48:35 +0000 (08:48 +0100)]
luci-base: rework ui tabbing code

 - Instantiate tab menus on the client side
 - Simplify server side markup generation
 - Show error indicators in cbi tabs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-openwrt: style tweaks
Jo-Philipp Wich [Mon, 10 Dec 2018 10:49:05 +0000 (11:49 +0100)]
luci-theme-openwrt: style tweaks

 - Collapse table borders by default
 - Vertically align table cell content
 - Inherit font family and size for form widgets
 - Fix redundant horizontal padding for cell labels

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: dynlist style tweak
Jo-Philipp Wich [Sun, 9 Dec 2018 19:13:22 +0000 (20:13 +0100)]
luci-theme-bootstrap: dynlist style tweak

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: emit custom events for tooltip open/close actions
Jo-Philipp Wich [Fri, 7 Dec 2018 16:57:45 +0000 (17:57 +0100)]
luci-base: luci.js: emit custom events for tooltip open/close actions

The new `tooltip-open` and `tooltip-close` events allow other code to hook
into the tooltip div rendering, e.g. to populate it with custom markup.

Also ignore tooltip events originating from descendant elements while
we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-status: switch iptables_dump action to luci.sys.process.exec
Jo-Philipp Wich [Sun, 2 Dec 2018 19:15:34 +0000 (20:15 +0100)]
luci-mod-status: switch iptables_dump action to luci.sys.process.exec

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-aria2: fix http/https protocol when opening aria2 webUI 2363/head
Zheng Qian [Mon, 10 Dec 2018 09:45:55 +0000 (17:45 +0800)]
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>
5 years agoMerge pull request #2334 from yglb/master
Jo-Philipp Wich [Thu, 6 Dec 2018 23:12:18 +0000 (00:12 +0100)]
Merge pull request #2334 from yglb/master

luci-theme-rosy: Fix related bugs displayed on the page

5 years agoMerge pull request #2347 from shunjou/theme-material
Jo-Philipp Wich [Thu, 6 Dec 2018 23:10:59 +0000 (00:10 +0100)]
Merge pull request #2347 from shunjou/theme-material

luci-theme-material: partial style overhaul

5 years agoMerge pull request #2294 from pmelange/luci-app-olsr-cosmetic
Jo-Philipp Wich [Thu, 6 Dec 2018 20:22:54 +0000 (21:22 +0100)]
Merge pull request #2294 from pmelange/luci-app-olsr-cosmetic

luci-app-olsr: make cosmetic changes.