oweals/luci.git
5 years agoluci-base: add tools.widgets JS library
Jo-Philipp Wich [Thu, 13 Jun 2019 17:06:02 +0000 (19:06 +0200)]
luci-base: add tools.widgets JS library

Add a tools.widgets library which bundles a number of useful, higher
level CBI widgets like firewall zone list or network interface dropdowns

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: validation.js: rework translation labels
Jo-Philipp Wich [Thu, 13 Jun 2019 13:16:12 +0000 (15:16 +0200)]
luci-base: validation.js: rework translation labels

Rework validation error translations for compount operators such
as list() or neg() to not rely that much on specific native language
grammar.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: uci.js: add extended section syntax support, improve loading
Jo-Philipp Wich [Thu, 13 Jun 2019 13:13:11 +0000 (15:13 +0200)]
luci-base: uci.js: add extended section syntax support, improve loading

Add support for extended section syntax notation in @type[#] format and
refactor the package loading function to not load configurations twice
when a package load operation is already pending and another load request
is made for the same package.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: {ui,form}.js: allow passing additional CSS classes to modals
Jo-Philipp Wich [Thu, 13 Jun 2019 13:01:00 +0000 (15:01 +0200)]
luci-base: {ui,form}.js: allow passing additional CSS classes to modals

Add the ability to pass additional CSS classes to modal dialogs and
make use of this facility in form.js to annotate CBI map modals.

This can be used later by themes to apply additional CSS rules.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: don't abort finished xhr objects
Jo-Philipp Wich [Fri, 7 Jun 2019 10:51:27 +0000 (12:51 +0200)]
luci-base: luci.js: don't abort finished xhr objects

Calling abort() on a finished xhr object will clear properties such
as status which can confuse code relying on legacy LuCI request
helper functions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: fix number rounding in string.format()
Jo-Philipp Wich [Thu, 6 Jun 2019 19:06:25 +0000 (21:06 +0200)]
luci-base: cbi.js: fix number rounding in string.format()

Ensure that patterns like %d, %x, %o or %b properly truncate their
operands to whole integers.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: support placeholders for DynamicList widgets
Jo-Philipp Wich [Thu, 6 Jun 2019 19:05:34 +0000 (21:05 +0200)]
luci-base: form.js: support placeholders for DynamicList widgets

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: fix rendering flag values in modals
Jo-Philipp Wich [Thu, 6 Jun 2019 19:05:15 +0000 (21:05 +0200)]
luci-base: form.js: fix rendering flag values in modals

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: trigger validation before saving cbi map
Jo-Philipp Wich [Thu, 6 Jun 2019 19:04:04 +0000 (21:04 +0200)]
luci-base: form.js: trigger validation before saving cbi map

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: prevent section creation on modal cbi save failure
Jo-Philipp Wich [Thu, 6 Jun 2019 19:02:04 +0000 (21:02 +0200)]
luci-base: form.js: prevent section creation on modal cbi save failure

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: fix rendering of rich dropdown placeholders
Jo-Philipp Wich [Thu, 6 Jun 2019 18:49:19 +0000 (20:49 +0200)]
luci-base: ui.js: fix rendering of rich dropdown placeholders

Placeholders may be HTML elements instead of plain strings, so do
not use innerHTML to assign them but rely on L.dom.content() instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: implement further ubus calls
Jo-Philipp Wich [Thu, 6 Jun 2019 17:24:10 +0000 (19:24 +0200)]
luci-base: implement further ubus calls

Implement new ubus rpcd backend calls for later use in the frontend:

 - netdevs: dump information about Linux network devices present
 - boardjson: dump /etc/board.json if present
 - offload_support: query whether netfilter offloading is supported

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: fix handling of large ubus HTTP requests
Jo-Philipp Wich [Thu, 6 Jun 2019 17:19:31 +0000 (19:19 +0200)]
luci-base: fix handling of large ubus HTTP requests

Properly handle ubus POST requests exceeding the default chunk size
and fix a possible nil dereference when rejecting incoming requests
due to bad JSON message framing.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add client-side implementation of luci.model.firewall
Jo-Philipp Wich [Tue, 28 May 2019 15:49:00 +0000 (17:49 +0200)]
luci-base: add client-side implementation of luci.model.firewall

Introduce firewall.js, a client side reimplementation of the
luci.model.firewall class.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add client-side implementation of luci.model.network
Jo-Philipp Wich [Tue, 28 May 2019 13:32:31 +0000 (15:32 +0200)]
luci-base: add client-side implementation of luci.model.network

Introduce network.js, a client side reimplementation of the
luci.model.network class.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add client-side prng library
Jo-Philipp Wich [Tue, 28 May 2019 15:50:37 +0000 (17:50 +0200)]
luci-base: add client-side prng library

Introduce a new tools.prng JS library which implements the musl libc
srand() and rand() calls to produce identical pseudo random number
sequences in the browser which is needed for the string to color
conversion later on.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: make require() failures catcheable
Jo-Philipp Wich [Tue, 28 May 2019 17:01:51 +0000 (19:01 +0200)]
luci-base: luci.js: make require() failures catcheable

Refactor L.require() to use L.raise() instead of L.error() to signal
class loading failures. This allows callers to handle class loading
errors in a graceful manner.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: split off CBI validations into separate class
Jo-Philipp Wich [Tue, 28 May 2019 16:49:11 +0000 (18:49 +0200)]
luci-base: split off CBI validations into separate class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: rework L.error()
Jo-Philipp Wich [Tue, 28 May 2019 16:57:43 +0000 (18:57 +0200)]
luci-base: luci.js: rework L.error()

Factor out an L.raise() function out of L.error() which constructs and
throws an exception object.

Rework the remaining L.error() function to internally use L.raise() to
construct exceptionts to render.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: form.js: default to unlimited dropdown size
Jo-Philipp Wich [Tue, 28 May 2019 13:31:26 +0000 (15:31 +0200)]
luci-base: form.js: default to unlimited dropdown size

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: improve dropdown behaviour
Jo-Philipp Wich [Tue, 28 May 2019 13:28:53 +0000 (15:28 +0200)]
luci-base: ui.js: improve dropdown behaviour

 - Do not artificially cutoff dropdown items, use all available space
 - Close open dropdown when clicking into the preview area

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-network: replace DHCP & DNS view with client side implementation
Jo-Philipp Wich [Fri, 5 Apr 2019 07:25:26 +0000 (09:25 +0200)]
luci-mod-network: replace DHCP & DNS view with client side implementation

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: implement lease status ubus call
Jo-Philipp Wich [Fri, 5 Apr 2019 07:25:00 +0000 (09:25 +0200)]
luci-base: implement lease status ubus call

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: rpc.js: drop batch api
Jo-Philipp Wich [Fri, 5 Apr 2019 06:14:28 +0000 (08:14 +0200)]
luci-base: rpc.js: drop batch api

Now that LuCI.Request is transparently coalescing requests, there
is no need for the rather cumbersome batch()/flush() api in rpc.js.

Also refactor the code to get rid of the rpcRequestRegistry indirection
and remove superfluous promises which simplifies the code a lot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: rework leds.js and system.js views
Jo-Philipp Wich [Fri, 5 Apr 2019 06:17:10 +0000 (08:17 +0200)]
luci-mod-system: rework leds.js and system.js views

- Drop manual RPC batch usage
- Use LuCI.Poll for status updates

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: auto-coalesce ubus requests
Jo-Philipp Wich [Fri, 5 Apr 2019 05:59:52 +0000 (07:59 +0200)]
luci-base: luci.js: auto-coalesce ubus requests

Extend LuCI.Request to automatically coalesce subsequent requests
to ubus resources into single batch requests.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: rpc.js: make base URL configurable
Jo-Philipp Wich [Fri, 5 Apr 2019 06:08:17 +0000 (08:08 +0200)]
luci-base: rpc.js: make base URL configurable

Implement setters and getters for the base URL prefix used and also
implement a session ID getter while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: introduce generic LuCI.Poll
Jo-Philipp Wich [Fri, 5 Apr 2019 05:55:54 +0000 (07:55 +0200)]
luci-base: luci.js: introduce generic LuCI.Poll

Introduce a new LuCI.Poll class which is able to repeat any
promise based function and not strictly tied to HTTP request
semantics.

Also rework LuCI.Request.Poll and XHR.Poll as well as
LuCI.start(), LuCI.stop(), LuCI.halt() etc. to redirect to
the new api.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: enable strict mode
Jo-Philipp Wich [Fri, 5 Apr 2019 05:51:16 +0000 (07:51 +0200)]
luci-base: luci.js: enable strict mode

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: handle postprocessed sources
Jo-Philipp Wich [Tue, 2 Apr 2019 15:21:58 +0000 (17:21 +0200)]
luci-base: luci.js: handle postprocessed sources

 - Fix discovering base url if cache buster is appended to luci.js href
 - Fix extracting require tokens in minified sources

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-mod-system: use client side cbi forms for system and led config
Jo-Philipp Wich [Mon, 1 Apr 2019 14:53:52 +0000 (16:53 +0200)]
luci-mod-system: use client side cbi forms for system and led config

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add sys.init.reload() and sys.init.restart() actions
Jo-Philipp Wich [Fri, 5 Jul 2019 10:38:01 +0000 (12:38 +0200)]
luci-base: add sys.init.reload() and sys.init.restart() actions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add rpcd backend plugin
Jo-Philipp Wich [Mon, 1 Apr 2019 15:02:38 +0000 (17:02 +0200)]
luci-base: add rpcd backend plugin

Add an rpcd executable plugin containing procedures required by client
side views.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: catch base class loading errors
Jo-Philipp Wich [Mon, 1 Apr 2019 14:36:30 +0000 (16:36 +0200)]
luci-base: luci.js: catch base class loading errors

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: introduce form.js
Jo-Philipp Wich [Mon, 1 Apr 2019 14:22:13 +0000 (16:22 +0200)]
luci-base: introduce form.js

Add a new client side form.js library which is a more or less direct
reimplementation of the Lua side cbi.lua in JavaScript.

Due to its client side nature, it supports a number of features which
would be hard to realize on the server side, such as drag&drop sorting,
modal sub-map dialogs, reload-free editing etc.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: switch from server side to client side widget markup
Jo-Philipp Wich [Mon, 1 Apr 2019 14:09:41 +0000 (16:09 +0200)]
luci-base: switch from server side to client side widget markup

Do not render standard widgets like checkboxes, select boxes,
text input fields etc. on the server side anymore but utilize
the ui.js primitives instead.

This avoids logic duplication between server side cbi templates
and JS widgets in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js, ui.js: add custom validation callbacks, new ui widgets
Jo-Philipp Wich [Mon, 1 Apr 2019 14:00:10 +0000 (16:00 +0200)]
luci-base: cbi.js, ui.js: add custom validation callbacks, new ui widgets

Implement further widget primitives like text inputs or checkboxes and
support custom validation callback functions when instantiating CBI
validators.

Also add support initializing ui.js widgets from the "data-ui-widget"
HTML attribute.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add client based view actions
Jo-Philipp Wich [Mon, 1 Apr 2019 13:38:00 +0000 (15:38 +0200)]
luci-base: add client based view actions

Introduce a new view() target for CBI dispatch nodes, as long with the
required template and plumbing work in luci.js to allow requiring view
classes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: tweak error handling
Jo-Philipp Wich [Mon, 1 Apr 2019 13:30:42 +0000 (15:30 +0200)]
luci-base: luci.js: tweak error handling

If the ui class is loaded, use its modalDialog facility to display runtime
errors, alternatively render them into the maincontent area.

Also prevent duplication of stack trace information and throw a low level
error on session expiration to allow higher layers to properly handle it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: replace uci change pages with client side modal dialog
Jo-Philipp Wich [Thu, 7 Feb 2019 18:10:34 +0000 (19:10 +0100)]
luci-base: replace uci change pages with client side modal dialog

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add uci.js and rpc.js classes
Jo-Philipp Wich [Thu, 7 Feb 2019 17:53:25 +0000 (18:53 +0100)]
luci-base: add uci.js and rpc.js classes

Add a new rpc.js class which provides low level facilities to exchanges
messages with the ubus rpc endpoint.

Also introduce a new uci.js class which provides client side uci
manipulation routines.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add ubus-http gateway
Jo-Philipp Wich [Thu, 7 Feb 2019 17:40:36 +0000 (18:40 +0100)]
luci-base: add ubus-http gateway

Add an admin/ubus route mimicking the native uhttpd-mod-ubus protocol.

The main difference to the native protocol is that this gateway requires
no additional per-object/procedure ACL setup on the router side and that
it is located under the same prefix as LuCI itself, allowing the reuse
of the session login cookie.

This route is meant to be a transitional mechanism until client side
RPC calls are eventually migrated to uhttpd-mod-ubus completely.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: move dropdown, combox and dynlist widget code to L.ui
Jo-Philipp Wich [Thu, 7 Feb 2019 17:29:29 +0000 (18:29 +0100)]
luci-base: move dropdown, combox and dynlist widget code to L.ui

Move the widget code to the ui class and replace it with compatibility
shims in cbi.js

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add L.dom.data()
Jo-Philipp Wich [Thu, 7 Feb 2019 17:19:58 +0000 (18:19 +0100)]
luci-base: luci.js: add L.dom.data()

Add a new data() function which allows to attach arbitrary JS data
to DOM elements.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: support field validation for formless inputs
Jo-Philipp Wich [Tue, 5 Feb 2019 12:21:33 +0000 (13:21 +0100)]
luci-base: cbi.js: support field validation for formless inputs

JS CBI fields have no parent form element anymore.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: cbi.js: untangle dropdown and dynlists from dependency update
Jo-Philipp Wich [Tue, 5 Feb 2019 09:39:17 +0000 (10:39 +0100)]
luci-base: cbi.js: untangle dropdown and dynlists from dependency update

In order to prepare the move of the dynlist and dropdown widgets into
the LuCI ui class, remove the direct calls to cbi_d_update() and replace
them with custom events instead.

Extend cbi_init() to handle these custom events and to invoke
cbi_d_update() when receiving them.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add L.bind() helper
Jo-Philipp Wich [Fri, 25 Jan 2019 07:19:36 +0000 (08:19 +0100)]
luci-base: luci.js: add L.bind() helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: consolidate error handling
Jo-Philipp Wich [Tue, 8 Jan 2019 14:32:17 +0000 (15:32 +0100)]
luci-base: luci.js: consolidate error handling

Add a new function L.error() which creates and throws a custom
error object with stack information and given type.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: convert LuCI.dom to Class instance
Jo-Philipp Wich [Mon, 7 Jan 2019 14:40:20 +0000 (15:40 +0100)]
luci-base: luci.js: convert LuCI.dom to Class instance

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: split ui helper functions into external ui.js
Jo-Philipp Wich [Mon, 7 Jan 2019 14:26:08 +0000 (15:26 +0100)]
luci-base: luci.js: split ui helper functions into external ui.js

Use the new class loader infrastructure to move gui specific
functionality out of the luci.js core and dispatch a new event
'luci-loaded' which is fired once all external classes have
been fetched.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add dynamic class loader
Jo-Philipp Wich [Mon, 7 Jan 2019 13:48:19 +0000 (14:48 +0100)]
luci-base: luci.js: add dynamic class loader

Introduce L.require() to fetch additional JavaScript classes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: convert LuCI to Class instance
Jo-Philipp Wich [Mon, 7 Jan 2019 13:25:20 +0000 (14:25 +0100)]
luci-base: luci.js: convert LuCI to Class instance

Also hijack cbi_init() and call it after the LuCI DOM setup.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add HTTP request functions
Jo-Philipp Wich [Sun, 6 Jan 2019 16:08:37 +0000 (17:08 +0100)]
luci-base: luci.js: add HTTP request functions

Add a fetch() inspired HTTP request utility class to luci.js and
replace the old xhr.js class with a stub using the new request api.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add class construction helper
Jo-Philipp Wich [Sun, 6 Jan 2019 15:40:59 +0000 (16:40 +0100)]
luci-base: luci.js: add class construction helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: add ES6 Promise polyfill for IE < Edge
Jo-Philipp Wich [Sun, 6 Jan 2019 15:42:52 +0000 (16:42 +0100)]
luci-base: add ES6 Promise polyfill for IE < Edge

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add Object.assign polyfill
Jo-Philipp Wich [Sun, 6 Jan 2019 15:37:05 +0000 (16:37 +0100)]
luci-base: luci.js: add Object.assign polyfill

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: hide autocomplete-preventing password input with bigger offset
Yousong Zhou [Fri, 28 Jun 2019 16:03:37 +0000 (16:03 +0000)]
luci-base: hide autocomplete-preventing password input with bigger offset

Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years agoluci-base: nowrap for password input and reveal button
Yousong Zhou [Fri, 28 Jun 2019 15:53:05 +0000 (15:53 +0000)]
luci-base: nowrap for password input and reveal button

Fixes openwrt/luci#2624

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
5 years agoMerge pull request #2823 from stangri/master-luci-app-simple-adblock
Hannu Nyman [Sat, 6 Jul 2019 06:26:44 +0000 (09:26 +0300)]
Merge pull request #2823 from stangri/master-luci-app-simple-adblock

luci-app-simple-adblock: sync with the latest version of simple-adblock

5 years agoluci-app-simple-adblock: sync with the latest version of simple-adblock 2823/head
Stan Grishin [Fri, 5 Jul 2019 15:30:48 +0000 (08:30 -0700)]
luci-app-simple-adblock: sync with the latest version of simple-adblock

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agotimezone data: update to 2019b
Hannu Nyman [Fri, 5 Jul 2019 14:56:04 +0000 (17:56 +0300)]
timezone data: update to 2019b

Update timezone data to 2019b

http://mm.icann.org/pipermail/tz-announce/2018-December/000055.html
http://mm.icann.org/pipermail/tz/2019-July/028249.html

2019a:
* Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
* Brazil no longer observes DST.

2019b:
* Palestine's 2019 spring-forward transition was on 03-29, not 03-30.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #2818 from mberndt123/mb/extensible-statistics
Florian Eckert [Fri, 5 Jul 2019 08:17:49 +0000 (10:17 +0200)]
Merge pull request #2818 from mberndt123/mb/extensible-statistics

luci-app-statistics: more extensibility

5 years agolucihttp: update to latest Git HEAD
Jo-Philipp Wich [Fri, 5 Jul 2019 06:26:26 +0000 (08:26 +0200)]
lucihttp: update to latest Git HEAD

a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields

Fixes: #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2822 from musashino205/l10n/tmate-upd-ja
Dirk Brenken [Fri, 5 Jul 2019 06:13:57 +0000 (08:13 +0200)]
Merge pull request #2822 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: update Japanese translation

5 years agoluci-app-travelmate: update Japanese translation 2822/head
INAGAKI Hiroshi [Fri, 5 Jul 2019 05:47:11 +0000 (14:47 +0900)]
luci-app-travelmate: update Japanese translation

Updated Japanese translations missing in 50748d9936c836cf179937111302a92d6895ca40

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-app-travelmate: sync translations
INAGAKI Hiroshi [Fri, 5 Jul 2019 05:41:26 +0000 (14:41 +0900)]
luci-app-travelmate: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoMerge pull request #2821 from musashino205/l10n/tmate-upd-ja
Jo-Philipp Wich [Fri, 5 Jul 2019 05:26:48 +0000 (07:26 +0200)]
Merge pull request #2821 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: update Japanese translation

5 years agoMerge pull request #2804 from tano-systems/pr/bootstrap-dashboard-fix
Jo-Philipp Wich [Fri, 5 Jul 2019 05:25:36 +0000 (07:25 +0200)]
Merge pull request #2804 from tano-systems/pr/bootstrap-dashboard-fix

Fix a overview page style issue for various themes

5 years agoluci-app-travelmate: update Japanese translation 2821/head
INAGAKI Hiroshi [Fri, 5 Jul 2019 05:23:54 +0000 (14:23 +0900)]
luci-app-travelmate: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agomake luci-app-statistics more extensible 2818/head
Matthias Berndt [Wed, 3 Jul 2019 22:40:58 +0000 (00:40 +0200)]
make luci-app-statistics more extensible

5 years agoMerge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
Florian Eckert [Wed, 3 Jul 2019 06:59:35 +0000 (08:59 +0200)]
Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g

luci-proto-3g: rename maxwait to delay option

5 years agoMerge pull request #2811 from TDT-AG/pr/20190701-luci-proto-qmi
Florian Eckert [Wed, 3 Jul 2019 06:57:08 +0000 (08:57 +0200)]
Merge pull request #2811 from TDT-AG/pr/20190701-luci-proto-qmi

luci-proto-qmi: add missing mtu option

5 years agoMerge pull request #2815 from TDT-AG/pr/20190701-luci-base-fix-german-translation...
Jo-Philipp Wich [Tue, 2 Jul 2019 07:41:46 +0000 (09:41 +0200)]
Merge pull request #2815 from TDT-AG/pr/20190701-luci-base-fix-german-translation-typo

luci-base: fix typo in german translation

5 years agoluci-base: fix typo in german translation 2815/head
Martin Schiller [Tue, 2 Jul 2019 07:13:15 +0000 (09:13 +0200)]
luci-base: fix typo in german translation

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoluci-proto-qmi: add missing mtu option 2811/head
Florian Eckert [Thu, 27 Jun 2019 12:59:14 +0000 (14:59 +0200)]
luci-proto-qmi: add missing mtu option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoMerge pull request #2809 from TDT-AG/pr/20190701-luci-app-mwan3-add-german-translations
Florian Eckert [Mon, 1 Jul 2019 08:14:42 +0000 (10:14 +0200)]
Merge pull request #2809 from TDT-AG/pr/20190701-luci-app-mwan3-add-german-translations

luci-app-mwan3: add some german translations

5 years agoMerge pull request #2810 from TDT-AG/pr/20190701-luci-base-german-led-trigger
Florian Eckert [Mon, 1 Jul 2019 07:20:07 +0000 (09:20 +0200)]
Merge pull request #2810 from TDT-AG/pr/20190701-luci-base-german-led-trigger

luci-base: add german translations for led trigger

5 years agoluci-base: add german translations for led trigger 2810/head
Martin Schiller [Mon, 1 Jul 2019 06:51:17 +0000 (08:51 +0200)]
luci-base: add german translations for led trigger

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoluci-app-mwan3: add some german translations 2809/head
Martin Schiller [Mon, 1 Jul 2019 06:28:26 +0000 (08:28 +0200)]
luci-app-mwan3: add some german translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoMerge pull request #2808 from TDT-AG/pr/20190701-luci-mod-system-fix-flash-activity...
Florian Eckert [Mon, 1 Jul 2019 05:56:46 +0000 (07:56 +0200)]
Merge pull request #2808 from TDT-AG/pr/20190701-luci-mod-system-fix-flash-activity-string

luci-mod-system: fix flash activity trigger name

5 years agoluci-mod-system: fix flash activity trigger name 2808/head
Martin Schiller [Mon, 1 Jul 2019 04:53:20 +0000 (06:53 +0200)]
luci-mod-system: fix flash activity trigger name

The former name "Flashmemory write access" is wrong. The triggers also
indicate read/erase access to the flash memories.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoMerge pull request #2805 from dibdot/travelmate
Dirk Brenken [Sat, 29 Jun 2019 17:28:28 +0000 (19:28 +0200)]
Merge pull request #2805 from dibdot/travelmate

luci-app-travelmate: sync with update 1.4.8

5 years agoluci-app-travelmate: sync with update 1.4.8 2805/head
Dirk Brenken [Sat, 29 Jun 2019 12:46:28 +0000 (14:46 +0200)]
luci-app-travelmate: sync with update 1.4.8

* add optional 'trm_scanbuffer' parm
* fix wrong lua escape character in wifi edit
* sync translations

Signed-off-by: Dirk Brenken <dev@brenken.org>
5 years agoFix a overview page style issue for various themes 2804/head
Anton Kikin [Fri, 28 Jun 2019 15:37:30 +0000 (18:37 +0300)]
Fix a overview page style issue for various themes

Fixed a overview page style issue with interface boxes for
bootstrap, material and rosy themes.

The issue only appears in the Chrome browser and lies in the
fact that the block with the device name and MAC address gets
out of the  interface block.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoluci-base: show niced processes on Status/Processes page
Hannu Nyman [Fri, 28 Jun 2019 15:56:53 +0000 (18:56 +0300)]
luci-base: show niced processes on Status/Processes page

Modify the process status filter to allow also the processes
with a nice value to be visible on the Status/Processes page.

Filter out the top process itself.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #2802 from TDT-AG/pr/20190628-led-trigger-names
Florian Eckert [Fri, 28 Jun 2019 13:49:33 +0000 (15:49 +0200)]
Merge pull request #2802 from TDT-AG/pr/20190628-led-trigger-names

luci-mod-system: fix some led trigger name translations

5 years agoluci-mod-system: fix some led trigger name translations 2802/head
Martin Schiller [Fri, 28 Jun 2019 13:42:17 +0000 (15:42 +0200)]
luci-mod-system: fix some led trigger name translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoMerge pull request #2794 from TDT-AG/pr/20190626-luci-app-firewall-german-translation
Jo-Philipp Wich [Fri, 28 Jun 2019 10:29:19 +0000 (12:29 +0200)]
Merge pull request #2794 from TDT-AG/pr/20190626-luci-app-firewall-german-translation

luci-app-firewall: add some german translations

5 years agoMerge pull request #2061 from Ansuel/improveconn
Florian Eckert [Fri, 28 Jun 2019 05:49:37 +0000 (07:49 +0200)]
Merge pull request #2061 from Ansuel/improveconn

luci-mod-admin-full: improve connection page lookup loop

5 years agoMerge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmi
Florian Eckert [Thu, 27 Jun 2019 13:20:31 +0000 (15:20 +0200)]
Merge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmi

luci-proto-qmi: improvements

5 years agoMerge pull request #2796 from TDT-AG/pr/20190627-luci-theme-material-change-loading...
Jo-Philipp Wich [Thu, 27 Jun 2019 04:51:29 +0000 (06:51 +0200)]
Merge pull request #2796 from TDT-AG/pr/20190627-luci-theme-material-change-loading-text

luci-theme-material: change string 'Loading...' to 'Collecting data...'

5 years agoluci-theme-material: change string 'Loading...' to 'Collecting data...' 2796/head
Martin Schiller [Thu, 27 Jun 2019 04:24:35 +0000 (06:24 +0200)]
luci-theme-material: change string 'Loading...' to 'Collecting data...'

It's better to reuse the already available and well translated string
'Collecting data...'.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoMerge pull request #2795 from bmork/os-release-variable-renaming
Hannu Nyman [Wed, 26 Jun 2019 18:40:41 +0000 (21:40 +0300)]
Merge pull request #2795 from bmork/os-release-variable-renaming

luci-mod-network: os-release variables have been renamed to OPENWRT_

5 years agoMerge pull request #2770 from geekinaboxx/master
Florian Eckert [Wed, 26 Jun 2019 14:06:38 +0000 (16:06 +0200)]
Merge pull request #2770 from geekinaboxx/master

luci-proto-ncm: add dialnum option

5 years agoadd dialnum option 2770/head
aleem-tectonic [Wed, 26 Jun 2019 14:02:22 +0000 (15:02 +0100)]
add dialnum option

Signed-off-by: geekinaboxx <aleem@tectonic.it>
5 years agoluci-app-firewall: add some german translations 2794/head
Martin Schiller [Wed, 26 Jun 2019 12:02:54 +0000 (14:02 +0200)]
luci-app-firewall: add some german translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoluci-mod-network: os-release variables have been renamed to OPENWRT_ 2795/head
Bjørn Mork [Wed, 26 Jun 2019 09:24:19 +0000 (11:24 +0200)]
luci-mod-network: os-release variables have been renamed to OPENWRT_

commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release
variables") changes the prefix of the os-release variables from LEDE_
to OPENWRT_.  Use the new name.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
5 years agoMerge pull request #2779 from hwti/statistics-ping-addressfamily
Florian Eckert [Wed, 26 Jun 2019 12:22:33 +0000 (14:22 +0200)]
Merge pull request #2779 from hwti/statistics-ping-addressfamily

luci-app-statistics: add address family configuration for ping

5 years agoMerge pull request #2793 from TDT-AG/pr/20190626-luci-theme-material-translation-fix
Jo-Philipp Wich [Wed, 26 Jun 2019 12:00:58 +0000 (14:00 +0200)]
Merge pull request #2793 from TDT-AG/pr/20190626-luci-theme-material-translation-fix

luci-theme-material: make 'Loading...' text translatable

5 years agoluci-theme-material: make 'Loading...' text translatable 2793/head
Martin Schiller [Wed, 26 Jun 2019 11:53:59 +0000 (13:53 +0200)]
luci-theme-material: make 'Loading...' text translatable

Signed-off-by: Martin Schiller <ms@dev.tdt.de>