project/luci.git
4 years agoi18n: sync translations
INAGAKI Hiroshi [Mon, 13 May 2019 09:18:52 +0000 (18:18 +0900)]
i18n: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
4 years agoMerge pull request #2687 from HenryGiraldo/master
Jo-Philipp Wich [Thu, 9 May 2019 11:26:10 +0000 (13:26 +0200)]
Merge pull request #2687 from HenryGiraldo/master

luci-mod-admin-full: add dependency for channel auto

4 years agoluci-app-shadowsocks-libev: move plugin options to server sections
Yousong Zhou [Thu, 9 May 2019 06:00:52 +0000 (06:00 +0000)]
luci-app-shadowsocks-libev: move plugin options to server sections

In this change, plugin options are moved from component settings to
only server settings.  This should make the configuration easier.  And
it will be less error-prone as it's impossible now for users to
inconsisitent plugin settings for instances referring to the same remote
server

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
4 years agoluci-mod-admin-network: fix VLAN "add" button for empty switches
Jo-Philipp Wich [Tue, 7 May 2019 06:54:23 +0000 (08:54 +0200)]
luci-mod-admin-network: fix VLAN "add" button for empty switches

Fixes OpenWrt FS#2270.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-shadowsocks-libev: i18n-sync.sh and update translation
Yousong Zhou [Mon, 6 May 2019 15:22:06 +0000 (15:22 +0000)]
luci-app-shadowsocks-libev: i18n-sync.sh and update translation

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
4 years agoluci-app-shadowsocks-libev: allow setting plugin options
Yousong Zhou [Mon, 6 May 2019 15:16:59 +0000 (15:16 +0000)]
luci-app-shadowsocks-libev: allow setting plugin options

Reference: https://github.com/openwrt/packages/issues/8903
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
4 years agoluci-app-shadowsocks-libev: reword base64 -encoding-
Yousong Zhou [Tue, 22 Jan 2019 06:29:24 +0000 (06:29 +0000)]
luci-app-shadowsocks-libev: reword base64 -encoding-

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
4 years agoluci-base: remove interface from zone upon deletion
Jo-Philipp Wich [Mon, 6 May 2019 06:22:39 +0000 (08:22 +0200)]
luci-base: remove interface from zone upon deletion

Fixes: #2690
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #2688 from rosysong/rosy-bugs-fix
Hannu Nyman [Sun, 5 May 2019 13:45:00 +0000 (16:45 +0300)]
Merge pull request #2688 from rosysong/rosy-bugs-fix

luci-theme-rosy: fix table overflow on network/switch

4 years agoluci-theme-rosy: fix table overflow on network/switch 2688/head
yglb [Thu, 2 May 2019 09:05:55 +0000 (17:05 +0800)]
luci-theme-rosy: fix table overflow on network/switch

Signed-off-by: Rosy Song <rosysong@rosinson.com>
Signed-off-by: Yan Lan Shen <yanlan.shen@rosinson.com>
4 years agoluci-mod-admin-full: add dependency for channel auto 2687/head
Enrique Giraldo [Tue, 18 Sep 2018 11:43:01 +0000 (13:43 +0200)]
luci-mod-admin-full: add dependency for channel auto

Do not show 'auto' channel option if hostapd is
not compiled with CONFIG_ACS

Signed-off-by: Enrique Giraldo <hgiraldos@gmail.com>
4 years agoluci-app-statistics: escape backslashes as well
Jo-Philipp Wich [Tue, 30 Apr 2019 07:08:56 +0000 (09:08 +0200)]
luci-app-statistics: escape backslashes as well

Fixes: bab4a3ef ("luci-app-statistics - allow rrd files to contain :")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: luci.model.network: simplify is_auto()
Jo-Philipp Wich [Tue, 30 Apr 2019 07:05:16 +0000 (09:05 +0200)]
luci-base: luci.model.network: simplify is_auto()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #2657 from msurovcak/msurovcak-statistics-collon
Florian Eckert [Tue, 30 Apr 2019 06:47:38 +0000 (08:47 +0200)]
Merge pull request #2657 from msurovcak/msurovcak-statistics-collon

luci-app-statistics - allow rrd files to contain :

4 years agoMerge pull request #2620 from TDT-AG/pr/20190311-luci-mod-system
Florian Eckert [Tue, 30 Apr 2019 06:22:50 +0000 (08:22 +0200)]
Merge pull request #2620 from TDT-AG/pr/20190311-luci-mod-system

luci-mod-system: add button to sync with ntp server

4 years agoMerge pull request #2119 from TDT-AG/pr/20180830-fix-iface-status-page
Florian Eckert [Thu, 25 Apr 2019 11:28:56 +0000 (13:28 +0200)]
Merge pull request #2119 from TDT-AG/pr/20180830-fix-iface-status-page

luci-mod-admin-full: add hint to overview page

4 years agoluci-mod-network: add auto start hint 2119/head
Florian Eckert [Mon, 11 Mar 2019 09:07:34 +0000 (10:07 +0100)]
luci-mod-network: add auto start hint

Make the information if the interface is started on boot visible on the
interface overview page.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years agoluci-mod-network: add is_auto option to iface_status
Florian Eckert [Wed, 29 Aug 2018 13:15:10 +0000 (15:15 +0200)]
luci-mod-network: add is_auto option to iface_status

Make interface information is_auto available.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years agoluci-base: add is_auto function
Florian Eckert [Wed, 29 Aug 2018 13:14:27 +0000 (15:14 +0200)]
luci-base: add is_auto function

Add missing is_auto getter function.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years agoMerge pull request #2443 from TDT-AG/pr/20190109-luci-mod-system-password
Florian Eckert [Wed, 24 Apr 2019 07:40:38 +0000 (09:40 +0200)]
Merge pull request #2443 from TDT-AG/pr/20190109-luci-mod-system-password

luci-mod-system: add password strength info

4 years agoMerge pull request #2681 from dibdot/shadowsocks-fix
Jo-Philipp Wich [Tue, 23 Apr 2019 15:29:52 +0000 (17:29 +0200)]
Merge pull request #2681 from dibdot/shadowsocks-fix

luci-app-shadowsocks-libev: fix cidr datatype

4 years agoluci-app-shadowsocks-libev: fix cidr datatype 2681/head
Dirk Brenken [Tue, 23 Apr 2019 13:42:53 +0000 (15:42 +0200)]
luci-app-shadowsocks-libev: fix cidr datatype

* add a new 'cidr' alias datatype to fix #2671

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agoMerge pull request #2676 from castillofrancodamian/luci
Hannu Nyman [Mon, 22 Apr 2019 17:22:08 +0000 (20:22 +0300)]
Merge pull request #2676 from castillofrancodamian/luci

luci-base: Update Spanish translation

4 years agoMerge pull request #2677 from castillofrancodamian/ddns
Hannu Nyman [Mon, 22 Apr 2019 17:21:44 +0000 (20:21 +0300)]
Merge pull request #2677 from castillofrancodamian/ddns

luci-app-ddns: Update Spanish translation

4 years agoMerge pull request #2678 from castillofrancodamian/firewall
Hannu Nyman [Mon, 22 Apr 2019 17:21:12 +0000 (20:21 +0300)]
Merge pull request #2678 from castillofrancodamian/firewall

luci-app-firewall: Update Spanish translation

4 years agoluci-app-firewall: Update Spanish translation 2678/head
Franco Castillo [Sat, 20 Apr 2019 23:26:33 +0000 (20:26 -0300)]
luci-app-firewall: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoluci-app-ddns: Update Spanish translation 2677/head
Franco Castillo [Sat, 20 Apr 2019 23:16:07 +0000 (20:16 -0300)]
luci-app-ddns: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
4 years agoluci-base: Update Spanish translation 2676/head
Franco Castillo [Sat, 20 Apr 2019 23:04:03 +0000 (20:04 -0300)]
luci-base: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-mod-system: add "KiB" to translatable strings
Anton Kikin [Thu, 25 Oct 2018 16:59:40 +0000 (19:59 +0300)]
luci-mod-system: add "KiB" to translatable strings

Also changed original "kiB" to "KiB" in accordance with IEEE 1541-2002.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoMerge pull request #2509 from shunjou/material-svg
Jo-Philipp Wich [Fri, 12 Apr 2019 05:39:29 +0000 (07:39 +0200)]
Merge pull request #2509 from shunjou/material-svg

luci-theme-material: icons and other changes

5 years agoMerge pull request #2669 from dibdot/travelmate
Dirk Brenken [Tue, 9 Apr 2019 18:54:13 +0000 (20:54 +0200)]
Merge pull request #2669 from dibdot/travelmate

luci-app-travelmate: sync with update 1.4.5

5 years agoluci-app-travelmate: sync with update 1.4.5 2669/head
Dirk Brenken [Tue, 9 Apr 2019 14:57:10 +0000 (16:57 +0200)]
luci-app-travelmate: sync with update 1.4.5

* see https://github.com/openwrt/packages/pull/8637 for reference

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-mod-network: fix bad unicode comma in network.js
Jo-Philipp Wich [Mon, 8 Apr 2019 15:10:09 +0000 (17:10 +0200)]
luci-mod-network: fix bad unicode comma in network.js

Fixes: 5624b36fa ("luci-mod-network: fix page refresh after interface reconnect")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-status: Remove port suffix where not applicable
Olli Asikainen [Fri, 8 Feb 2019 14:49:04 +0000 (16:49 +0200)]
luci-mod-status: Remove port suffix where not applicable

Submitted-by: Olli Asikainen <olli.asikainen@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2642 from TDT-AG/pr/20190329-luci-base
Jo-Philipp Wich [Mon, 8 Apr 2019 07:20:14 +0000 (09:20 +0200)]
Merge pull request #2642 from TDT-AG/pr/20190329-luci-base

luci-base: add cbi tsection error msg option

5 years agoluci-mod-status: convert bytes into KB / MB / GB on progress bar
Claudio Marelli [Fri, 8 Feb 2019 08:46:40 +0000 (09:46 +0100)]
luci-mod-status: convert bytes into KB / MB / GB on progress bar

Currently on the system status page the the memory usage is shown in kB
only. If you have a system with 1 GB of Ram its hard to read the large
numbers. This automatically formats the byte numbers more human readable
into KB / MB / GB.

Submitted-by: Claudio Marelli <camarelli@gmx.net>
[squash commits, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luasrcdiet: switch to scm clone and fix tarball name
Jo-Philipp Wich [Mon, 8 Apr 2019 07:04:35 +0000 (09:04 +0200)]
luci-base: luasrcdiet: switch to scm clone and fix tarball name

Switch the LuaSrcDiet download to direct cached SCM clones and
fix the tarball name while we're at it.

Supersedes: #2522
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: fix page refresh after interface reconnect
Jo-Philipp Wich [Tue, 26 Feb 2019 01:43:39 +0000 (09:43 +0800)]
luci-mod-network: fix page refresh after interface reconnect

Submitted-by: "taeasy" <88336@live.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: fixed input fields having disabled/uneditable colour
David Hari [Sat, 30 Mar 2019 08:54:14 +0000 (19:54 +1100)]
luci-theme-bootstrap: fixed input fields having disabled/uneditable colour

Submitted-by: David Hari <d-hari@hotmail.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2663 from rosysong/rosy-bugs-fix
Hannu Nyman [Sun, 7 Apr 2019 14:28:58 +0000 (17:28 +0300)]
Merge pull request #2663 from rosysong/rosy-bugs-fix

luci-theme-rosy: bugs fix

5 years agoMerge pull request #2664 from rosysong/file-server
Hannu Nyman [Sun, 7 Apr 2019 13:32:58 +0000 (16:32 +0300)]
Merge pull request #2664 from rosysong/file-server

rosy-file-server: remove unused lines and typo fix

5 years agoluci-app-rosy-file-server: remove unused lines 2664/head
Rosy Song [Sun, 7 Apr 2019 10:46:12 +0000 (18:46 +0800)]
luci-app-rosy-file-server: remove unused lines

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-app-rosy-file-server: fix typo error on title
Rosy Song [Sun, 7 Apr 2019 10:44:58 +0000 (18:44 +0800)]
luci-app-rosy-file-server: fix typo error on title

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-theme-rosy: fix hidden footer for mobile devices 2663/head
YanlanShen [Sun, 7 Apr 2019 10:11:00 +0000 (18:11 +0800)]
luci-theme-rosy: fix hidden footer for mobile devices

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-theme-rosy: fix issue on header and footer compatibility
YanlanShen [Sun, 7 Apr 2019 09:51:20 +0000 (17:51 +0800)]
luci-theme-rosy: fix issue on header and footer compatibility

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-theme-rosy: fix view for rosy-file-server packages
yglb [Sun, 7 Apr 2019 09:15:14 +0000 (17:15 +0800)]
luci-theme-rosy: fix view for rosy-file-server packages

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-theme-rosy: fix indent
Rosy Song [Sun, 7 Apr 2019 07:41:37 +0000 (15:41 +0800)]
luci-theme-rosy: fix indent

fix indent for htdocs/luci-static/rosy/cascade.css

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-theme-rosy: fix #2645
Rosy Song [Sun, 7 Apr 2019 07:35:28 +0000 (15:35 +0800)]
luci-theme-rosy: fix #2645

fix view on network / switch

https://github.com/openwrt/luci/issues/2645

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-theme-rosy: add css style for modal-overlay warning
Rosy Song [Sun, 7 Apr 2019 07:34:13 +0000 (15:34 +0800)]
luci-theme-rosy: add css style for modal-overlay warning

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-theme-rosy: tweak padding for tabs
Rosy Song [Sun, 7 Apr 2019 07:24:52 +0000 (15:24 +0800)]
luci-theme-rosy: tweak padding for tabs

Signed-off-by: Rosy Song <rosysong@rosinson.com>
5 years agoluci-theme-material: icons and other changes 2509/head
shunjou [Tue, 19 Feb 2019 01:52:16 +0000 (20:52 -0500)]
luci-theme-material: icons and other changes

* Remove excess font dependency
* Retain two glyphs as svg
* Store svg icons externally
* Add logout icon
* Replace spaces with tabs in script
* Various minor fixes

Signed-off-by: Shun Jou <shunjou@gmail.com>
5 years agoluci-theme-material: correct main menu color variable
shunjou [Tue, 19 Feb 2019 01:46:26 +0000 (20:46 -0500)]
luci-theme-material: correct main menu color variable

* Also declare default color above as fallback

Signed-off-by: Shun Jou <shunjou@gmail.com>
5 years agoMerge pull request #2583 from TDT-AG/pr/20180227-luci-theme-material
Jo-Philipp Wich [Sat, 6 Apr 2019 18:18:48 +0000 (20:18 +0200)]
Merge pull request #2583 from TDT-AG/pr/20180227-luci-theme-material

luci-theme-material: fix loading view on href

5 years agoMerge pull request #2404 from rosysong/file-server
Hannu Nyman [Sat, 6 Apr 2019 16:27:15 +0000 (19:27 +0300)]
Merge pull request #2404 from rosysong/file-server

luci-app-rosy-file-server: add new application

5 years agoluci-app-statistics - allow rrd files to contain : 2657/head
Martin Surovcak [Wed, 3 Apr 2019 22:32:13 +0000 (00:32 +0200)]
luci-app-statistics - allow rrd files to contain :

Fixes situations where RRD file name contains ":" (eg. _ping/ipv6_) in `rrdtool` it's unescaped - thus not able to render image. Adding simple escaping of `:` to `\\:` fixes the situation.

Might be a solution for #958.

5 years agoMerge pull request #2618 from TDT-AG/pr/20199397-luci-app-statistics
Jo-Philipp Wich [Wed, 3 Apr 2019 19:01:08 +0000 (21:01 +0200)]
Merge pull request #2618 from TDT-AG/pr/20199397-luci-app-statistics

luci-app-statistics: enhancements

5 years agoMerge pull request #2655 from castillofrancodamian/unbound
Hannu Nyman [Tue, 2 Apr 2019 17:15:08 +0000 (20:15 +0300)]
Merge pull request #2655 from castillofrancodamian/unbound

luci-app-unbound: Add Spanish translation

5 years agoMerge pull request #2654 from castillofrancodamian/nft-qos
Hannu Nyman [Tue, 2 Apr 2019 17:14:33 +0000 (20:14 +0300)]
Merge pull request #2654 from castillofrancodamian/nft-qos

luci-app-nft-qos: Add Spanish translation

5 years agoMerge pull request #2653 from castillofrancodamian/p910nd
Hannu Nyman [Tue, 2 Apr 2019 17:14:09 +0000 (20:14 +0300)]
Merge pull request #2653 from castillofrancodamian/p910nd

luci-app-p910nd: Update Spanish translation

5 years agoMerge pull request #2652 from castillofrancodamian/vnstat
Hannu Nyman [Tue, 2 Apr 2019 17:13:40 +0000 (20:13 +0300)]
Merge pull request #2652 from castillofrancodamian/vnstat

luci-app-vnstat: Update Spanish translation

5 years agoMerge pull request #2651 from castillofrancodamian/noddos
Hannu Nyman [Tue, 2 Apr 2019 17:13:20 +0000 (20:13 +0300)]
Merge pull request #2651 from castillofrancodamian/noddos

luci-app-noddos: Add Spanish translation

5 years agoMerge pull request #2650 from castillofrancodamian/mwan3
Hannu Nyman [Tue, 2 Apr 2019 17:13:01 +0000 (20:13 +0300)]
Merge pull request #2650 from castillofrancodamian/mwan3

luci-app-mwan3: Add Spanish translation

5 years agoluci-app-unbound: Add Spanish translation 2655/head
Franco Castillo [Tue, 2 Apr 2019 17:11:03 +0000 (14:11 -0300)]
luci-app-unbound: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-base: increase max size of network dropdowns
Jo-Philipp Wich [Tue, 2 Apr 2019 06:17:29 +0000 (08:17 +0200)]
luci-base: increase max size of network dropdowns

Fixes: #2646
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-nft-qos: Add Spanish translation 2654/head
Franco Castillo [Tue, 2 Apr 2019 03:24:26 +0000 (00:24 -0300)]
luci-app-nft-qos: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-p910nd: Update Spanish translation 2653/head
Franco Castillo [Tue, 2 Apr 2019 03:08:09 +0000 (00:08 -0300)]
luci-app-p910nd: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-vnstat: Update Spanish translation 2652/head
Franco Castillo [Tue, 2 Apr 2019 03:01:45 +0000 (00:01 -0300)]
luci-app-vnstat: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-noddos: Add Spanish translation 2651/head
Franco Castillo [Tue, 2 Apr 2019 02:55:38 +0000 (23:55 -0300)]
luci-app-noddos: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-mwan3: Add Spanish translation 2650/head
Franco Castillo [Tue, 2 Apr 2019 02:38:10 +0000 (23:38 -0300)]
luci-app-mwan3: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoMerge pull request #2649 from castillofrancodamian/pagekitec
Hannu Nyman [Mon, 1 Apr 2019 17:09:56 +0000 (20:09 +0300)]
Merge pull request #2649 from castillofrancodamian/pagekitec

luci-app-pagekitec: Add Spanish translation

5 years agoMerge pull request #2648 from castillofrancodamian/dnscrypt
Hannu Nyman [Mon, 1 Apr 2019 17:09:34 +0000 (20:09 +0300)]
Merge pull request #2648 from castillofrancodamian/dnscrypt

luci-app-dnscrypt-proxy: Add Spanish translation

5 years agoMerge pull request #2647 from castillofrancodamian/vpnbypass
Hannu Nyman [Mon, 1 Apr 2019 17:09:15 +0000 (20:09 +0300)]
Merge pull request #2647 from castillofrancodamian/vpnbypass

luci-app-vpnbypass: Add Spanish translation

5 years agoluci-app-pagekitec: Add Spanish translation 2649/head
Franco Castillo [Sun, 31 Mar 2019 23:02:46 +0000 (20:02 -0300)]
luci-app-pagekitec: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-dnscrypt-proxy: Add Spanish translation 2648/head
Franco Castillo [Sun, 31 Mar 2019 22:30:12 +0000 (19:30 -0300)]
luci-app-dnscrypt-proxy: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-vpnbypass: Add Spanish translation 2647/head
Franco Castillo [Sun, 31 Mar 2019 22:03:12 +0000 (19:03 -0300)]
luci-app-vpnbypass: Add Spanish translation

Add Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-base: add cbi tsection error msg option 2642/head
Florian Eckert [Tue, 15 Jan 2019 14:07:27 +0000 (15:07 +0100)]
luci-base: add cbi tsection error msg option

In some situation it is usefull to inform the use that this section
could not get delete, because this config is referenced or is in use.

Example pseudo code:

function s.remove(self, sid)
<check if secation could get deleted>
if output == nil then
self.error_msg = translatef("Unable to remove this section")
return nil
end
end

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2591 from yglb/rosy-bugsfix
Hannu Nyman [Fri, 29 Mar 2019 06:59:42 +0000 (08:59 +0200)]
Merge pull request #2591 from yglb/rosy-bugsfix

luci-theme-rosy: Fix bug in the login interface and header style

5 years agoMerge pull request #2641 from castillofrancodamian/firewall
Hannu Nyman [Wed, 27 Mar 2019 17:25:48 +0000 (19:25 +0200)]
Merge pull request #2641 from castillofrancodamian/firewall

luci-app-firewall: Update Spanish translation

5 years agoluci-app-firewall: Update Spanish translation 2641/head
Franco Castillo [Wed, 27 Mar 2019 17:23:10 +0000 (14:23 -0300)]
luci-app-firewall: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoMerge pull request #2640 from castillofrancodamian/base
Hannu Nyman [Wed, 27 Mar 2019 17:11:36 +0000 (19:11 +0200)]
Merge pull request #2640 from castillofrancodamian/base

luci-base: Update Spanish translation

5 years agoluci-base: Update Spanish translation 2640/head
Franco Castillo [Wed, 27 Mar 2019 17:08:37 +0000 (14:08 -0300)]
luci-base: Update Spanish translation

Update Spanish translation

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoMerge pull request #2639 from musashino205/l10n/sa-upd-ja
Hannu Nyman [Wed, 27 Mar 2019 05:46:30 +0000 (07:46 +0200)]
Merge pull request #2639 from musashino205/l10n/sa-upd-ja

luci-app-simple-adblock: update Japanese translation

5 years agoluci-app-simple-adblock: update Japanese translation 2639/head
INAGAKI Hiroshi [Wed, 27 Mar 2019 04:30:05 +0000 (13:30 +0900)]
luci-app-simple-adblock: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoMerge pull request #2632 from dibdot/wifischedule
Dirk Brenken [Wed, 20 Mar 2019 05:15:50 +0000 (06:15 +0100)]
Merge pull request #2632 from dibdot/wifischedule

luci-app-wifischedule: apply-bugfix

5 years agoluci-app-wifischedule: apply-bugfix 2632/head
Dirk Brenken [Tue, 19 Mar 2019 07:48:01 +0000 (08:48 +0100)]
luci-app-wifischedule: apply-bugfix

* minimal fix for #2631 (untested)

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoMerge pull request #2630 from aparcar/thanks-all
Jo-Philipp Wich [Mon, 18 Mar 2019 16:07:44 +0000 (17:07 +0100)]
Merge pull request #2630 from aparcar/thanks-all

THANKYOU: remove outdated file

5 years agoTHANKYOU: remove outdated file 2630/head
Paul Spooren [Mon, 18 Mar 2019 16:02:42 +0000 (17:02 +0100)]
THANKYOU: remove outdated file

within the last 10 years [0] there are to many people [1] to say thank
you to, so remove the specific THANKYOU file.

[0]: git log -1 --format=%cd THANKYOU
[1]: git log --pretty=%an | sort | uniq -c | sort -n -r

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoluci-app-attendedsysupgrade: add 409 error code
Paul Spooren [Mon, 18 Mar 2019 15:41:23 +0000 (16:41 +0100)]
luci-app-attendedsysupgrade: add 409 error code

HTTP Error code is send by the upgrade server in case of package
conflicts, like when requesting to install both `odhcpd` and
`odhcpd-ipv6only`.

Also put a <p> around download links to make them look more appealing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoluci-app-attendedsysupgrade: refactor and format
Paul Spooren [Sun, 24 Feb 2019 21:24:24 +0000 (22:24 +0100)]
luci-app-attendedsysupgrade: refactor and format

* Reuse `request_dict` between requests.
* used vim Autoformat plugin to make the javascript code nice.
* add board_name as it eventually replaces board/model in requests

Signed-off-by: Paul Spooren <mail@aparcar.org>
5 years agoluci-mod-system: add button to sync with ntp server 2620/head
Florian Eckert [Fri, 8 Mar 2019 12:26:19 +0000 (13:26 +0100)]
luci-mod-system: add button to sync with ntp server

Especially for systems without RTC this change has two advantages

* manual time sync with time server during configuration
* test possibility of the time sync over the configured servers

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2537 from hauke/sae
Hauke Mehrtens [Sun, 10 Mar 2019 16:58:04 +0000 (17:58 +0100)]
Merge pull request #2537 from hauke/sae

luci-mod-network: Add WPA3 SAE support

5 years agoluci-theme-rosy: Repair head and body alignment bugs. 2591/head
YanlanShen [Sun, 10 Mar 2019 10:48:09 +0000 (18:48 +0800)]
luci-theme-rosy: Repair head and body alignment bugs.

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-theme-rosy: Modification of header style of Web pages.
YanlanShen [Sun, 10 Mar 2019 08:19:06 +0000 (16:19 +0800)]
luci-theme-rosy: Modification of header style of Web pages.

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-theme-rosy: Fix the display bug in the mobile login interface
YanlanShen [Thu, 28 Feb 2019 11:32:08 +0000 (19:32 +0800)]
luci-theme-rosy: Fix the display bug in the mobile login interface

Signed-off-by: YanlanShen <yanlan.Shen@rosinson.com>
5 years agoluci-mod-network: wifi: Add OWE support 2537/head
Hauke Mehrtens [Sun, 17 Feb 2019 20:00:52 +0000 (21:00 +0100)]
luci-mod-network: wifi: Add OWE support

This allows to select OWE support in the wireless menu when a capable
hostapd is installed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 years agoluci-mod-network: wifi: Add WPA3 SAE support
Hauke Mehrtens [Sun, 17 Feb 2019 18:57:20 +0000 (19:57 +0100)]
luci-mod-network: wifi: Add WPA3 SAE support

This checks if the installed hostapd supports SAE and allows to select
WPA3 Personal SAE in that case.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 years agoluci-app-statistics: update i18n 2618/head
Florian Eckert [Fri, 8 Mar 2019 07:39:48 +0000 (08:39 +0100)]
luci-app-statistics: update i18n

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-statistics: add new item callback for menu entry
Florian Eckert [Thu, 7 Mar 2019 13:50:17 +0000 (14:50 +0100)]
luci-app-statistics: add new item callback for menu entry

Add the item callback function to the rrdtool definitions.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-statistics: load graph menu entry name from the definitions
Florian Eckert [Thu, 7 Mar 2019 14:09:47 +0000 (15:09 +0100)]
luci-app-statistics: load graph menu entry name from the definitions

This change defines the menu entry for the LuCI and the rrd definition in
one place. This also has advantage when plugins are written with
exec/python/perl or lua. The controller does not have to be touched for
the menu entry change.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-statistics: Diskfree graph show also percent view
Florian Eckert [Thu, 7 Mar 2019 09:26:12 +0000 (10:26 +0100)]
luci-app-statistics: Diskfree graph show also percent view

The Diskfree (df) plugin could also collect the values in percent if the
option "ValuesPercentage" is set in the collectd configuration.
This commit will check if "df_complex" / "percent_bytes" or both are
collected by collectd and so will show the corrsponding graph.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>