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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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
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>
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
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>
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>
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
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
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>
Matthias Berndt [Wed, 3 Jul 2019 22:40:58 +0000 (00:40 +0200)]
make luci-app-statistics more extensible
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
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
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
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>
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>
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
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
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>
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>
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
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>
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
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>
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>
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>
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
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>
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
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
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
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...'
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>
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_
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
aleem-tectonic [Wed, 26 Jun 2019 14:02:22 +0000 (15:02 +0100)]
add dialnum option
Signed-off-by: geekinaboxx <aleem@tectonic.it>
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>
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>
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
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
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>
Florian Eckert [Wed, 26 Jun 2019 11:04:47 +0000 (13:04 +0200)]
luci-proto-qmi: only show password and username if auth is selected
Only show username and password if we use PAP/CHAP, PAP or CHAP
authentication.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Wed, 26 Jun 2019 10:42:25 +0000 (12:42 +0200)]
luci-proto-qmi: add missing delay option
The proto handler qmi does support the delay option for modem
initialization. Add that missing option to the advanced tab to configure
that with LuCI.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Wed, 26 Jun 2019 10:45:46 +0000 (12:45 +0200)]
luci-proto-3g: rename maxwait to delay option
The option maxwait is not support by the 3g netifd proto.
To standardize that rename the maxwait option to delay as in the other
proto handlers luci-proto-qmi and luci-proto-ncm.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Jo-Philipp Wich [Tue, 25 Jun 2019 19:38:08 +0000 (21:38 +0200)]
Merge pull request #2788 from dibdot/opkg
luci-app-opkg: change remove button caption (first level)
Dirk Brenken [Tue, 25 Jun 2019 19:28:44 +0000 (21:28 +0200)]
luci-app-opkg: change remove button caption (first level)
* add three dots to the first level 'Remove' button caption
(revert/fix
da8668a)
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Mon, 24 Jun 2019 04:52:48 +0000 (06:52 +0200)]
Merge pull request #2783 from castillofrancodamian/base
luci-base: Update Spanish translation
Franco Castillo [Sat, 22 Jun 2019 20:41:17 +0000 (17:41 -0300)]
luci-base: Update Spanish translation
Update Spanish translation
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Loïc Yhuel [Fri, 21 Jun 2019 00:03:12 +0000 (02:03 +0200)]
luci-app-statistics: add address family configuration for ping
It allows to force ipv4 or ipv6 when the DNS returns both addresses, but
only one works (for example if there is no ipv6 connectivity).
Signed-off-by: Loïc Yhuel <loic.yhuel@gmail.com>
Jo-Philipp Wich [Wed, 19 Jun 2019 11:29:19 +0000 (13:29 +0200)]
luci-app-opkg: make overwriting package files optional
Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 19 Jun 2019 10:39:03 +0000 (12:39 +0200)]
luci-app-opkg: change remove button caption
Add three dots to the first level 'Remove' button caption, because it
leads to a modal dialogue.
Ref: #2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, sync translations]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 19 Jun 2019 09:21:18 +0000 (11:21 +0200)]
luci-app-opkg: honor installed flag to skip half-installed packages
Do not consider half-installed packages (which happens after an
installation failure) to be installed.
Ref: https://github.com/openwrt/luci/pull/2775
Signed-off-by: Dirk Brenken <dev@brenken.org>
[split into multiple commits, refactored code, use local variables]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sun, 16 Jun 2019 14:54:04 +0000 (17:54 +0300)]
treewide: fix datetype/datatype typo
Fix 'datetype' typo.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>