project/luci.git
5 years agoluci-app-banip: sync with update 0.0.6 2299/head
Dirk Brenken [Fri, 16 Nov 2018 20:09:14 +0000 (21:09 +0100)]
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>
5 years agoluci-app-banip: adapt latest css changes 2292/head
Dirk Brenken [Fri, 16 Nov 2018 07:55:46 +0000 (08:55 +0100)]
luci-app-banip: adapt latest css changes

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-mod-network: function name mismatch fixed
Darius [Fri, 9 Nov 2018 10:38:33 +0000 (12:38 +0200)]
luci-mod-network: function name mismatch fixed

Signed-off-by: Darius <jok.darius@gmail.com>
5 years agoluci-app-vpnbypass: add german translation
Matthias84 [Sun, 11 Nov 2018 17:30:34 +0000 (18:30 +0100)]
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>
5 years agoluci-app-wireguard: add german translation
Matthias84 [Sat, 10 Nov 2018 19:43:04 +0000 (20:43 +0100)]
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>
5 years agoluci-base: support disconnecting (deauthenticating) wireless clients
Wang805447391 [Mon, 12 Nov 2018 07:03:31 +0000 (15:03 +0800)]
luci-base: support disconnecting (deauthenticating) wireless clients

Add a button to each row in the wireless assoclist table to allow
disconnecting clients using the ubus del_client method if the underlying
radio interface supports it.

Ref: https://github.com/openwrt/luci/pull/2271
Submitted-by: Wang805447391 <805447391@qq.com>
[move deauth function to luci-base next to the existing assoclist function,
 require post security, fix parameter check condition, hide button if not
 supported by the radio, disable button after call, squash commits, fix
 whitespace, reword subject, add commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-https_dns_proxy: fix datatype of subnet address option
alphakk [Thu, 15 Nov 2018 04:06:09 +0000 (12:06 +0800)]
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>
5 years agoluci-proto-vpnc: expose defaultroute option in proto_vpnc.lua
Whitronic [Thu, 8 Nov 2018 11:25:43 +0000 (11:25 +0000)]
luci-proto-vpnc: expose defaultroute option in proto_vpnc.lua

Sometimes people only want the VPN connection to be a route to a specific
network, not the default gateway for all traffic.

I've tested this on my router and works fine!

Submitted-by: Whitronic <joao.f.vieira@gmail.com>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2286 from kevinoid/fix_statistics_filename_quoting
Jo-Philipp Wich [Thu, 15 Nov 2018 06:14:06 +0000 (07:14 +0100)]
Merge pull request #2286 from kevinoid/fix_statistics_filename_quoting

luci-app-statistics: quote : in filenames for DEF

5 years agoluci-app-statistics: quote : in filenames for DEF 2286/head
Kevin Locke [Wed, 14 Nov 2018 23:55:24 +0000 (16:55 -0700)]
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>
5 years agoluci-base: fix some long standing german mistranslations
Jo-Philipp Wich [Wed, 14 Nov 2018 20:03:40 +0000 (21:03 +0100)]
luci-base: fix some long standing german mistranslations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: require unique MACs for DHCP leases
Jo-Philipp Wich [Wed, 14 Nov 2018 19:59:26 +0000 (20:59 +0100)]
luci-mod-network: require unique MACs for DHCP leases

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: datatypes: add "unique" dummy validator
Jo-Philipp Wich [Wed, 14 Nov 2018 19:58:32 +0000 (20:58 +0100)]
luci-base: datatypes: add "unique" dummy validator

Add a dummy validator for the server side so that we can start using unique
in client side JS code.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2259 from pmelange/luci-app-olsr-new-json-lib
Jo-Philipp Wich [Wed, 14 Nov 2018 19:50:03 +0000 (20:50 +0100)]
Merge pull request #2259 from pmelange/luci-app-olsr-new-json-lib

update luci-app-olsr to the new jsoninfo library

5 years agoMerge pull request #2282 from TDT-AG/pr/20181114-luci-base
Jo-Philipp Wich [Wed, 14 Nov 2018 19:48:15 +0000 (20:48 +0100)]
Merge pull request #2282 from TDT-AG/pr/20181114-luci-base

luci-base: allow optional default value for file browser

5 years agoluci-lib-ipkg: move out of luci-base
Jo-Philipp Wich [Wed, 14 Nov 2018 13:35:01 +0000 (14:35 +0100)]
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>
5 years agoluci-mod-system: replace builtin opkg support with luci-app-opkg
Jo-Philipp Wich [Wed, 14 Nov 2018 13:07:41 +0000 (14:07 +0100)]
luci-mod-system: replace builtin opkg support with luci-app-opkg

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: use luci.sys.process.exec() in system controller
Jo-Philipp Wich [Wed, 14 Nov 2018 12:48:59 +0000 (13:48 +0100)]
luci-mod-system: use luci.sys.process.exec() in system controller

Switch the system controller to the common luci.sys.process.exec() function
and drop the local ltn12_popen() and fork_exec() helpers.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: prevent comment injection in mtdbackup endpoint
Jo-Philipp Wich [Wed, 14 Nov 2018 12:37:51 +0000 (13:37 +0100)]
luci-mod-system: prevent comment injection in mtdbackup endpoint

Rework the parameter handling to both prevent a crash when no parameter is
given and to prevent root command injection through the mtd index part of
the parameter value.

Fixes: 9840d310e ("modules: add backup module for mtdblock devices")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoapplications: add luci-app-opkg
Jo-Philipp Wich [Wed, 14 Nov 2018 08:53:15 +0000 (09:53 +0100)]
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>
5 years agoluci-app-firewall: remove references to cbi_bind()
Jo-Philipp Wich [Tue, 13 Nov 2018 19:01:32 +0000 (20:01 +0100)]
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>
5 years agoluci-mod-status: use progressbar widgets on main status page
Jo-Philipp Wich [Tue, 13 Nov 2018 17:42:56 +0000 (18:42 +0100)]
luci-mod-status: use progressbar widgets on main status page

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: simplify apply widget code
Jo-Philipp Wich [Tue, 13 Nov 2018 17:32:19 +0000 (18:32 +0100)]
luci-base: simplify apply widget code

 - Drop embedded CSS in favor to new global rules
 - Drop extraneous include of cbi.js
 - Use showModal() facilities
 - Fix a cosmetic bug in countdown timeout handling

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: add modal dialog functions
Jo-Philipp Wich [Tue, 13 Nov 2018 15:30:46 +0000 (16:30 +0100)]
luci-base: cbi.js: add modal dialog functions

Add two new functions showModal() and hideModal() which will fade in and
close an open modal respectively.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: add modal/progressbar rules, cleanup
Jo-Philipp Wich [Tue, 13 Nov 2018 15:19:23 +0000 (16:19 +0100)]
luci-theme-bootstrap: add modal/progressbar rules, cleanup

 - Add rules for modal dialogs and progress bar widgets
 - Drop redundant, unused or obsolete rules
 - Add spin utility class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-openwrt: modal/progressbar rules, mobile improvements
Jo-Philipp Wich [Tue, 13 Nov 2018 15:12:00 +0000 (16:12 +0100)]
luci-theme-openwrt: modal/progressbar rules, mobile improvements

 - Add rules for modal dialogs and progress bar widgets
 - Increase button and input size on mobile devices
 - Convert pt to px units
 - Add label and h5 styles
 - Add common flash and spin utility classes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add luci.sys.process.exec()
Jo-Philipp Wich [Mon, 12 Nov 2018 09:48:08 +0000 (10:48 +0100)]
luci-base: add luci.sys.process.exec()

The new process.exec() function simplifies spawning external processes
and capturing their stdio.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoapplications: drop luci-app-asterisk
Jo-Philipp Wich [Mon, 12 Nov 2018 09:13:34 +0000 (10:13 +0100)]
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>
5 years agoluci-base, themes: dropdown behaviour improvements
Jo-Philipp Wich [Thu, 8 Nov 2018 12:02:24 +0000 (13:02 +0100)]
luci-base, themes: dropdown behaviour improvements

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: remove dead code in cbi_validate_field()
Jo-Philipp Wich [Mon, 5 Nov 2018 17:50:24 +0000 (18:50 +0100)]
luci-base: cbi.js: remove dead code in cbi_validate_field()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: enable validation for dropdown fields
Jo-Philipp Wich [Mon, 5 Nov 2018 17:43:32 +0000 (18:43 +0100)]
luci-base: cbi.js: enable validation for dropdown fields

Directly attach validation handlers to cbi dropdowns as well, this allows
validating dropdown choices made by the user, similar to how plain select
boxes are handled by the cbi JavaScript.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-openwrt: dropdown style tweaks
Jo-Philipp Wich [Mon, 5 Nov 2018 17:38:25 +0000 (18:38 +0100)]
luci-theme-openwrt: dropdown style tweaks

- Remove 2em min height, this looks out of place with the OpenWrt theme
- Only colorize invalid dropdown when not open
- Drop use of image background for invalid fields while we're at it

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: add invalid style for dropdowns
Jo-Philipp Wich [Mon, 5 Nov 2018 17:11:36 +0000 (18:11 +0100)]
luci-theme-bootstrap: add invalid style for dropdowns

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-{freifunk-generic,material,openwrt}: z-index fixes
Jo-Philipp Wich [Mon, 5 Nov 2018 17:10:26 +0000 (18:10 +0100)]
luci-theme-{freifunk-generic,material,openwrt}: z-index fixes

Ensure that open dropdowns cover active tooltips.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-theme-bootstrap: z-index fixes
Jo-Philipp Wich [Mon, 5 Nov 2018 17:07:42 +0000 (18:07 +0100)]
luci-theme-bootstrap: z-index fixes

Lower z-index of header bar to allow tooltips and dropdowns to overlap it,
also increase the z-index of open dropdowns to ensure that they cover
active tooltip bubbles.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: set .value property of cbi dropdown elements
Jo-Philipp Wich [Mon, 5 Nov 2018 15:52:05 +0000 (16:52 +0100)]
luci-base: cbi.js: set .value property of cbi dropdown elements

In order to make cbi dropdowns usable for validation and other code
expecting native form elements, set the .value DOM property on the
dropdown parent element whenever the selection is changed.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: properly handle cbi tooltips on nested elements
Jo-Philipp Wich [Mon, 5 Nov 2018 15:48:10 +0000 (16:48 +0100)]
luci-base: cbi.js: properly handle cbi tooltips on nested elements

Rework the tooltip event delegation logic to prevent hiding the tooltop
when the cursor is moved to a children of the tooltip container element.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: avoid using .form property directly
Jo-Philipp Wich [Mon, 5 Nov 2018 15:44:20 +0000 (16:44 +0100)]
luci-base: cbi.js: avoid using .form property directly

In order to prepare support for calling cbi validation on non-native form
widgets, remove direct usages of the node.form property and lookup the
containing form using findParent() instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: fix passing multiple dropdown values in change event
Jo-Philipp Wich [Mon, 5 Nov 2018 15:41:25 +0000 (16:41 +0100)]
luci-base: cbi.js: fix passing multiple dropdown values in change event

Due to a misspelled property name, only the first value was passed in
the event details.

Fixes: c2b570998 ("luci-base: cbi.js: rework dropdown implementation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: rework dynamic list template
Jo-Philipp Wich [Mon, 5 Nov 2018 15:35:36 +0000 (16:35 +0100)]
luci-base: rework dynamic list template

Commit 7c7821833 ("luci-base, themes: rework dynlist and dropdown widgets")
changed the way we initialize dynamic lists on client side, avoiding the
need for pre-rendering the items on the server side.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add ARIA label to reveal/hide password button
Jo-Philipp Wich [Mon, 5 Nov 2018 15:34:10 +0000 (16:34 +0100)]
luci-base: add ARIA label to reveal/hide password button

Fixes #2070.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: update german translation
Jo-Philipp Wich [Mon, 5 Nov 2018 12:01:50 +0000 (13:01 +0100)]
luci-base: update german translation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2281 from TDT-AG/pr/20181114-luci-app-mwan3
Hannu Nyman [Wed, 14 Nov 2018 14:36:08 +0000 (16:36 +0200)]
Merge pull request #2281 from TDT-AG/pr/20181114-luci-app-mwan3

luci-app-mwan3: add/remove options

5 years agoMerge pull request #2277 from sotux/master
Hannu Nyman [Wed, 14 Nov 2018 14:32:07 +0000 (16:32 +0200)]
Merge pull request #2277 from sotux/master

i18n: luci-base: update Simplified Chinese translation

5 years agoMerge pull request #2284 from dibdot/travelmate
Dirk Brenken [Wed, 14 Nov 2018 10:49:05 +0000 (11:49 +0100)]
Merge pull request #2284 from dibdot/travelmate

luci-app-travelmate: consolidate css

5 years agoMerge pull request #2283 from dibdot/adblock
Dirk Brenken [Wed, 14 Nov 2018 10:48:45 +0000 (11:48 +0100)]
Merge pull request #2283 from dibdot/adblock

luci-app-adblock: consolidate css

5 years agoMerge pull request #2280 from dibdot/banip
Dirk Brenken [Wed, 14 Nov 2018 10:48:14 +0000 (11:48 +0100)]
Merge pull request #2280 from dibdot/banip

luci-app-banip: fix remaining css issues

5 years agoluci-app-banip: fix remaining css issues 2280/head
Dirk Brenken [Wed, 14 Nov 2018 08:01:00 +0000 (09:01 +0100)]
luci-app-banip: fix remaining css issues

* fix IE Edge rendering issues
* merge remaining external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-app-travelmate: consolidate css 2284/head
Dirk Brenken [Wed, 14 Nov 2018 10:43:39 +0000 (11:43 +0100)]
luci-app-travelmate: consolidate css

* fix IE Edge rendering issues
* merge external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-app-adblock: consolidate css 2283/head
Dirk Brenken [Wed, 14 Nov 2018 09:45:18 +0000 (10:45 +0100)]
luci-app-adblock: consolidate css

* fix IE Edge rendering issues
* merge external styles in central css

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoluci-base: allow optional default value for file browser 2282/head
Florian Eckert [Wed, 14 Nov 2018 09:05:02 +0000 (10:05 +0100)]
luci-base: allow optional default value for file browser

With this change we could set optional value for the file browser.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: remove deprecated local_source option 2281/head
Florian Eckert [Thu, 8 Nov 2018 08:52:54 +0000 (09:52 +0100)]
luci-app-mwan3: remove deprecated local_source option

Remove deprecated local_source option which is not supported/needed anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: add rt_table_lookup option
Florian Eckert [Tue, 16 Oct 2018 10:43:18 +0000 (12:43 +0200)]
luci-app-mwan3: add rt_table_lookup option

Make list option rt_table_lookup configurable in luci.
With this option we could define additional routing tables which get
scanned by mwan3 and then get added to the connected ipset.
The entries will be treated as connected network and will not get
mangeld by mwan3.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: add rtmon interval option
Florian Eckert [Tue, 16 Oct 2018 07:45:41 +0000 (09:45 +0200)]
luci-app-mwan3: add rtmon interval option

Add the configuration option rtmon to luci.
With this parameter we could adjust how often the routing table get
synced between main routing table and the interface routing table.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: rename variable in globalsconfig.lua
Florian Eckert [Tue, 16 Oct 2018 07:34:28 +0000 (09:34 +0200)]
luci-app-mwan3: rename variable in globalsconfig.lua

Name variables as the options name in uci.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-mwan3: declare variables in globalsconfig.lua local
Florian Eckert [Tue, 16 Oct 2018 07:31:52 +0000 (09:31 +0200)]
luci-app-mwan3: declare variables in globalsconfig.lua local

It is best practice to declar module variables local.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2279 from yglb/master
Jo-Philipp Wich [Wed, 14 Nov 2018 06:28:25 +0000 (07:28 +0100)]
Merge pull request #2279 from yglb/master

luci-theme-rosy: Remove redundant statements and fixed typo

5 years agoluci-theme-rosy: fixed typo 2279/head
Yanlan Shen [Wed, 14 Nov 2018 03:50:49 +0000 (11:50 +0800)]
luci-theme-rosy: fixed typo

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
5 years agoluci-theme-rosy: Remove redundant statements
Yanlan Shen [Wed, 14 Nov 2018 03:49:33 +0000 (11:49 +0800)]
luci-theme-rosy: Remove redundant statements

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
5 years agoi18n: luci-base: update Simplified Chinese translation 2277/head
Zheng Qian [Wed, 14 Nov 2018 02:21:59 +0000 (10:21 +0800)]
i18n: luci-base: update Simplified Chinese translation

Signed-off-by: Zheng Qian <sotux82@gmail.com>
5 years agoMerge pull request #2245 from Ansuel/fstab
Jo-Philipp Wich [Mon, 12 Nov 2018 18:34:24 +0000 (19:34 +0100)]
Merge pull request #2245 from Ansuel/fstab

luci-mod-system: add support for additional filesystem

5 years agoluci-mod-system: add support for additional filesystem 2245/head
Ansuel Smith [Wed, 24 Oct 2018 17:19:58 +0000 (19:19 +0200)]
luci-mod-system: add support for additional filesystem

The filesystem option doesn't include additional filesystem included with /etc/filesystems, this is usefull if someone have ntfs-3g installed and wants to force use the external utility to mount partition instead of the default present in the kernel (if it's supported)

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
5 years agoMerge pull request #2275 from musashino205/l10n/tmate-upd-ja
Hannu Nyman [Mon, 12 Nov 2018 17:21:57 +0000 (19:21 +0200)]
Merge pull request #2275 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: update Japanese translation

5 years agoluci-app-travelmate: update Japanese translation 2275/head
INAGAKI Hiroshi [Mon, 12 Nov 2018 17:16:50 +0000 (02:16 +0900)]
luci-app-travelmate: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-mod-admin-full: dnsmasq clarify non-wildcard mode
Kevin Darbyshire-Bryant [Wed, 17 May 2017 13:29:43 +0000 (14:29 +0100)]
luci-mod-admin-full: dnsmasq clarify non-wildcard mode

'non-wildcard' interfaces enables dnsmasq's '--bind-dynamic' mode.
This binds dynamically to interfaces rather than wildcard addresses
*and* keeps track of interface comings/goings via a unique Linux api.

Quoting dnsmasq's author "bind-dynamic (bind individual addresses,
keep up with changes in interface config) ... On linux, there's actually
no sane reason not to use --bind-dynamic, and it's only not the default
for historical reasons."

listen/exclude interfaces may be used independently of bind dynamic mode
so removed the bogus dependency of 'nonwildcard' enabling access to
'listen/exclude' interfaces - they may be used in any mode..  In fact
the dnsmasq init script takes notice of include/exclude interfaces
irrespective of the 'nonwildcard' parameter.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
5 years agoMerge pull request #2274 from TDT-AG/pr/20181112-luic-mod-system
Jo-Philipp Wich [Mon, 12 Nov 2018 14:38:27 +0000 (15:38 +0100)]
Merge pull request #2274 from TDT-AG/pr/20181112-luic-mod-system

luci-mod-system: add user defined interface to netdev trigger

5 years agoluci-mod-system: add user defined interface to netdev trigger 2274/head
Florian Eckert [Fri, 9 Nov 2018 10:03:36 +0000 (11:03 +0100)]
luci-mod-system: add user defined interface to netdev trigger

Give the user the possibility to define and interface for the netdev
trigger which is not available at the moment. This is usefull if a
interface is not presented on configuration time.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2272 from dibdot/banip
Dirk Brenken [Mon, 12 Nov 2018 11:16:31 +0000 (12:16 +0100)]
Merge pull request #2272 from dibdot/banip

luci-app-banip: fix JS errors in chromium

5 years agoluci-app-banip: fix JS errors in chromium 2272/head
Dirk Brenken [Mon, 12 Nov 2018 11:14:52 +0000 (12:14 +0100)]
luci-app-banip: fix JS errors in chromium

* fix JS errors in chromium on ipset- & ripe-view page

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoMerge pull request #2262 from yglb/master
Jo-Philipp Wich [Mon, 12 Nov 2018 06:52:50 +0000 (07:52 +0100)]
Merge pull request #2262 from yglb/master

luci-theme-rosy

5 years agoluci-app-olsr: convert olsr.lua and smartgw.htm to new json plugin 2259/head
pmelange [Mon, 5 Nov 2018 15:27:40 +0000 (16:27 +0100)]
luci-app-olsr: convert olsr.lua and smartgw.htm to new json plugin

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
5 years agoluci-app-olsr: convert mid.htm to new json plugin
pmelange [Mon, 5 Nov 2018 15:37:19 +0000 (16:37 +0100)]
luci-app-olsr: convert mid.htm to new json plugin

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
5 years agoMerge pull request #2268 from hnyman/rrd
Jo-Philipp Wich [Sun, 11 Nov 2018 17:41:57 +0000 (18:41 +0100)]
Merge pull request #2268 from hnyman/rrd

luci-app-statistics: remove old deprecated rrdtool po files

5 years agoluci-app-statistics: remove old deprecated rrdtool po files 2268/head
Hannu Nyman [Sun, 11 Nov 2018 16:10:46 +0000 (18:10 +0200)]
luci-app-statistics: remove old deprecated rrdtool po files

Remove old rrdtool.po* files that have been deprecated already
in 2011-2015.

Also remove reference to them from i18n-sync.pl

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #2264 from dibdot/banip
Dirk Brenken [Sun, 11 Nov 2018 13:59:39 +0000 (14:59 +0100)]
Merge pull request #2264 from dibdot/banip

luci-app-banip: new package

5 years agoMerge pull request #2267 from musashino205/l10n/base-upd-ja_2
Hannu Nyman [Sun, 11 Nov 2018 07:17:38 +0000 (09:17 +0200)]
Merge pull request #2267 from musashino205/l10n/base-upd-ja_2

luci-base: fix issues and update Japanese translation

5 years agoluci-base: update Japanese translation 2267/head
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:47:49 +0000 (15:47 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-base: sync translations
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:35:47 +0000 (15:35 +0900)]
luci-base: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-base: fix translation issues
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:24:18 +0000 (15:24 +0900)]
luci-base: fix translation issues

Fixed several issues for translation.

- add translation markup to "Expecting "
- add missing ")" into "valid time (HH:MM:SS"

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoi18n: cleanup old strings
Hannu Nyman [Sat, 10 Nov 2018 19:26:41 +0000 (21:26 +0200)]
i18n: cleanup old strings

also sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoluci-app-travelmate: further translation fixup
Hannu Nyman [Sat, 10 Nov 2018 19:25:54 +0000 (21:25 +0200)]
luci-app-travelmate: further translation fixup

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #2265 from danrl/dm
Hannu Nyman [Sat, 10 Nov 2018 13:07:09 +0000 (15:07 +0200)]
Merge pull request #2265 from danrl/dm

luci-*-wireguard: Remove inactive maintainer

5 years agoluci-*-wireguard: Remove inactive maintainer 2265/head
Dan Lüdtke [Sat, 10 Nov 2018 12:54:59 +0000 (13:54 +0100)]
luci-*-wireguard: Remove inactive maintainer

I tried to find a successor in the last months, but that failed.

Signed-off by Dan Luedtke <mail@danrl.com>

5 years agoluci-app-banip: new package 2264/head
Dirk Brenken [Sat, 10 Nov 2018 10:19:50 +0000 (11:19 +0100)]
luci-app-banip: new package

for details & LuCI screenshots see base package desprition/PR:
https://github.com/openwrt/packages/pull/7373

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-theme-rosy: Bug fix for network-interfaces 2262/head
Yanlan Shen [Fri, 9 Nov 2018 06:57:02 +0000 (14:57 +0800)]
luci-theme-rosy: Bug fix for network-interfaces

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Fix resolution-related styles
Yanlan Shen [Tue, 6 Nov 2018 02:00:40 +0000 (10:00 +0800)]
luci-theme-rosy: Fix resolution-related styles

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Modify the layout of the header and footer
Yanlan Shen [Tue, 6 Nov 2018 01:59:35 +0000 (09:59 +0800)]
luci-theme-rosy: Modify the layout of the header and footer

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Add a background picture
Yanlan Shen [Tue, 6 Nov 2018 01:58:16 +0000 (09:58 +0800)]
luci-theme-rosy: Add a background picture

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-app-olsr: convert interfaces.htm to new json plugin
pmelange [Mon, 5 Nov 2018 10:44:53 +0000 (11:44 +0100)]
luci-app-olsr: convert interfaces.htm to new json plugin

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
6 years agoluci-app-olsr: convert olsr.lua and overview.htm to new json plugin
pmelange [Mon, 5 Nov 2018 16:20:16 +0000 (17:20 +0100)]
luci-app-olsr: convert olsr.lua and overview.htm to new json plugin

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
6 years agoluci-base: network.lua add ipv6-prefix-assignment support to get_status_by_address
pmelange [Mon, 5 Nov 2018 13:03:35 +0000 (14:03 +0100)]
luci-base: network.lua add ipv6-prefix-assignment support to get_status_by_address

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
6 years agoluci-app-olsr: cbi remove library version numbers in library search results
pmelange [Mon, 5 Nov 2018 09:24:15 +0000 (10:24 +0100)]
luci-app-olsr: cbi remove library version numbers in library search results

Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
6 years agoi18n: sync translations, add location annotatations 2256/head
Hannu Nyman [Wed, 7 Nov 2018 16:10:59 +0000 (18:10 +0200)]
i18n: sync translations, add location annotatations

Thanks to a recent commit, the translation files will now
have info about locations where the string is used. That
can help is deciding the correct translation, as all contexts
are more easily found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-nft-qos: remove extra .po files
Hannu Nyman [Wed, 7 Nov 2018 16:05:26 +0000 (18:05 +0200)]
luci-app-nft-qos: remove extra .po files

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1855 from rosysong/nqos
Hannu Nyman [Wed, 7 Nov 2018 14:54:07 +0000 (16:54 +0200)]
Merge pull request #1855 from rosysong/nqos

luci-app-nft-qos: add new application

6 years agoluci-app-nft-qos: add new application 1855/head
Rosy Song [Fri, 3 Aug 2018 04:16:39 +0000 (12:16 +0800)]
luci-app-nft-qos: add new application

This application is for nft-qos package.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
6 years agoluci-mod-network: move AHCP protocol model to AHCP application
Jo-Philipp Wich [Mon, 5 Nov 2018 10:16:54 +0000 (11:16 +0100)]
luci-mod-network: move AHCP protocol model to AHCP application

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: validate DHCP clientid as hexstring
Jo-Philipp Wich [Mon, 5 Nov 2018 10:19:17 +0000 (11:19 +0100)]
luci-base: validate DHCP clientid as hexstring

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: cbi.js: add client-side hexstring datatype validator
Jo-Philipp Wich [Mon, 5 Nov 2018 10:13:39 +0000 (11:13 +0100)]
luci-base: cbi.js: add client-side hexstring datatype validator

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoluci-base: cbi.js: add heuristics to attribute handling in E()
Jo-Philipp Wich [Mon, 5 Nov 2018 10:11:46 +0000 (11:11 +0100)]
luci-base: cbi.js: add heuristics to attribute handling in E()

If a given attribute value is a function, register it as event listener,
if it is an object, filter it through JSON.stringify(), else set it
as-is.

This helps to reduce some boiler-plate code when building DOM structures.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>