Jo-Philipp Wich [Mon, 20 Jan 2020 18:13:57 +0000 (19:13 +0100)]
luci-compat: upload.htm: expose root_directory and initial_directory
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
878d6622828676dbb8bf0cb26ffc242079aae306)
Jo-Philipp Wich [Mon, 20 Jan 2020 18:38:17 +0000 (19:38 +0100)]
luci-base: ui.js: UIFileUpload fixes
- Introduce a new option `initial_directory` which describes the initial
directory to display when nothing is selected, default to the root
directory
- Prevent stray legacy cbi reloads when deselecting files
- Fix within-root-directory-check for initial rendering
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
136b965b255c3d37a21e8cf2fc835f83c2f0d3be)
Jo-Philipp Wich [Mon, 20 Jan 2020 17:55:05 +0000 (18:55 +0100)]
luci-mod-status: refactor luci-bwc
- Read interface statistics from /sys/class/net/
- Discover all wireless interfaces, not just specifically named ones
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
8b1d831935d64758b798958f69dc976ffa6dd8eb)
Florian Eckert [Mon, 20 Jan 2020 13:11:16 +0000 (14:11 +0100)]
luci-theme-material: fix apply dropdown color
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
1c49bda198ef33c0423777a966e6c6ab477da34b)
MartB [Tue, 10 Dec 2019 16:25:41 +0000 (17:25 +0100)]
luci-theme-*: remove modal max-height #3383 v2
Signed-off-by: MartB <mart.b@outlook.de>
(cherry picked from commit
c6122af7ea9918439abc20c32603197045259b27)
Jo-Philipp Wich [Sun, 19 Jan 2020 16:50:37 +0000 (17:50 +0100)]
luci-theme-bootstrap: add CSS fixes for tooltip elements
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
0d97ea26f8a1953ec059191cba31cc06b74f6136)
Jo-Philipp Wich [Sun, 19 Jan 2020 15:00:57 +0000 (16:00 +0100)]
luci-base: form.js: add a new "contains" dependency mode
By tagging option dependencies with `!contains`, dependencies are
considered satisfied when the value is contained in the value of
a related field, instead of being equal to it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
601c4ee01e21f4da3fc615196d21fde72bfbaee9)
Jo-Philipp Wich [Sun, 19 Jan 2020 14:56:59 +0000 (15:56 +0100)]
luci-base: form.js: don't stringify node arguments in CBIValue.value()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4670099a20de4700f4c7cb34f67618975b2f3a16)
Jo-Philipp Wich [Sun, 19 Jan 2020 14:52:58 +0000 (15:52 +0100)]
luci-base: ui.js: support clearChoices()/addChoices() for DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
cc123a03ce738dffae9abf5aefad9b75020a0a04)
Jo-Philipp Wich [Sun, 19 Jan 2020 14:52:13 +0000 (15:52 +0100)]
luci-base: ui.js: use placeholder as select placeholder in DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
9733a182e8dc1713e27e784fa7aded553caad695)
Jo-Philipp Wich [Sun, 19 Jan 2020 14:50:33 +0000 (15:50 +0100)]
luci-base: ui.js: properly handle rich choices in Dropdowns, DynLists
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4c52718deac9d9259bbf2850bea743d9f3b727f3)
Jo-Philipp Wich [Wed, 18 Dec 2019 20:22:06 +0000 (21:22 +0100)]
luci-base: fs.js: properly escape arguments in exec_direct()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
e884b63916ebf6d1a7e4f7c92240a76964ecaa85)
Jo-Philipp Wich [Wed, 18 Dec 2019 20:10:15 +0000 (21:10 +0100)]
luci-base: fs.js: add read_direct() and exec_direct() functions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f3724e46a5fc33b3a6fc9f935b88e395c746149f)
Jo-Philipp Wich [Thu, 16 Jan 2020 17:10:04 +0000 (18:10 +0100)]
luci-base: cbi.js: collapse whitespace before language string hashing
To mirror the behavior of the Lua runtime, we need to collapse whitepace
in translation source strings before doing the string table lookup.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
aca2c4ba4e4c847e5ae86e5539537f213678a0f3)
David Lam [Thu, 16 Jan 2020 09:15:40 +0000 (01:15 -0800)]
luci-base: add system cert bundle detection
Add detection mechanism for system cert CA bundle installed by the
ca-bundle package. Used by LuCI to detect whether the "Use system
certificates" certificate validation option should be enabled.
Signed-off-by: David Lam <david@thedavid.net>
(cherry picked from commit
27b21c2a6262a8c383c783e98320746f22fe8f6f)
Dirk Brenken [Sat, 18 Jan 2020 05:28:14 +0000 (06:28 +0100)]
luci-app-travelmate: bugfix add/editing WPA3 uplinks
* see forum post
https://forum.openwrt.org/t/travelmate-support-thread/5155/318
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit
9ca877e08e6d23f76751fff8c458e1985bebb1f7)
Stan Grishin [Wed, 15 Jan 2020 20:06:34 +0000 (13:06 -0700)]
luci-app-vpn-policy-routing: styling bugfix
Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit
87b9fabc89445564e23aa983b74f0a720ce0312a)
Jo-Philipp Wich [Thu, 16 Jan 2020 08:07:19 +0000 (09:07 +0100)]
luci-proto-modemmanager: drop package
The corresponding modemmanager package is not available in 19.07.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 15 Jan 2020 17:54:32 +0000 (18:54 +0100)]
luci-theme-bootstrap: fix invalid dropdown state styling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3c5feae57c2dd5866aece2725f3ddea7024390cc)
Jo-Philipp Wich [Wed, 15 Jan 2020 17:52:16 +0000 (18:52 +0100)]
luci-base: form.js: fix immediate validation of activated options
When form options are activated because their dependencies are satisified,
ensure that an immediate validation is triggered to highlight potential
errors without having the user to activate another form control first.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
77c2998f32caccac52a885e84bb6357a9799ebca)
Hannu Nyman [Fri, 10 Jan 2020 16:40:41 +0000 (18:40 +0200)]
treewide: i18n - sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Fri, 10 Jan 2020 15:20:11 +0000 (17:20 +0200)]
Merge pull request #3493 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: pluggable device files, highlight current partition
Stan Grishin [Fri, 10 Jan 2020 14:54:31 +0000 (07:54 -0700)]
luci-app-advanced-reboot: pluggable device files, highlight current partition
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Tue, 7 Jan 2020 16:58:33 +0000 (18:58 +0200)]
build: sort location annotation table in i18n sync process
The scanning routine has caused unnecessary changes to the .po files
if a string has been found in multiple files and those files have been
found in different order than the previous time.
Sort the location annotations to avoid unnecessary changes to the .po files.
(sort is alphabetic, so the line numbers are also sorted alphabetically)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
[apply a Schwartzian transform to sort locations by path, then line number]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
460bdfe814a34ca5300e7a1a57efecff590dd414)
Jo-Philipp Wich [Mon, 6 Jan 2020 07:25:38 +0000 (08:25 +0100)]
Merge pull request #3468 from urbalazs/translation-backport-19.07-
20200105
i18n: backport translations from master branch
Balázs Úr [Sun, 5 Jan 2020 23:26:47 +0000 (00:26 +0100)]
i18n: backport translations from master branch
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Hannu Nyman [Sun, 5 Jan 2020 09:44:11 +0000 (11:44 +0200)]
Merge pull request #3459 from Andy2244/luci-app-smbd-rename-(19.07)
[19.07] luci-app-smbd: rename change cifsd->smbd
Jo-Philipp Wich [Sat, 4 Jan 2020 17:46:04 +0000 (18:46 +0100)]
luci-app-firewall: fix zone network default
When a `config zone` section lacks an `option network` or `list network`
setting, its contained interface list defaults to the name of the zone,
e.g. a zone named `foo` will implicitely contain the network `foo` unless
a deviating or empty `option network` is specified.
Adjust the zones.js model accordingly to reflect that implicit default.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
d60a1a13b091c622bc2d4d63321d2e3ea0437796)
Andy Walsh [Sat, 4 Jan 2020 00:13:13 +0000 (01:13 +0100)]
luci-app-smbd: rename change cifsd->smbd
* update for name change cifsd->smbd
* add version code for: kmod, usmbd
* regen translations
* update acl's
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Hannu Nyman [Fri, 3 Jan 2020 06:51:46 +0000 (08:51 +0200)]
Merge pull request #3456 from stangri/19.07-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: add note about default routing
Stan Grishin [Fri, 3 Jan 2020 04:14:34 +0000 (21:14 -0700)]
luci-app-vpn-policy-routing: add note about default routing
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Tue, 31 Dec 2019 15:23:35 +0000 (17:23 +0200)]
Merge pull request #3447 from stangri/19.07-luci-app-vpn-policy-routing
[19.07] luci-app-vpn-policy-routing: initial release
Stan Grishin [Mon, 30 Dec 2019 14:51:55 +0000 (07:51 -0700)]
luci-app-vpn-policy-routing: initial release
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Mon, 30 Dec 2019 13:50:43 +0000 (14:50 +0100)]
luci-app-firewall: update rule ip hints based on address family
Fixes: #3119
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
d07cfba160ca7eb433e74f1ffad8d10e2b9cc9ca)
Jo-Philipp Wich [Mon, 30 Dec 2019 13:40:57 +0000 (14:40 +0100)]
luci-base: form.js: implement AbstractValue.getUIElement()
Introduce a new method `getUIElement()` which simplifies obtaining the
underlying per-section UI widget class instance for a from option object.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
9e259174323a406b93664e307bb8a50fc3d80483)
Jo-Philipp Wich [Mon, 30 Dec 2019 13:04:18 +0000 (14:04 +0100)]
luci-base: ui.js: implement UIDropdown.{add,clear}Choices()
The new `addChoices()` and `clearChoices()` functions allow clearing and
adding new options to existing dropdown instances respectively.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
b0836b037e55bfc9201e60a9446f2f7800d7f195)
Jo-Philipp Wich [Mon, 30 Dec 2019 13:03:14 +0000 (14:03 +0100)]
luci-base: ui.js: expose UIElement class as AbstractElement
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
0d0a3f4d0df44387fe9bec0c5597f6c491f44eec)
Jo-Philipp Wich [Mon, 30 Dec 2019 09:38:45 +0000 (10:38 +0100)]
Merge pull request #3439 from urbalazs/translation-backport-19.07-
20191227
i18n: backport translations from master branch
Jo-Philipp Wich [Sun, 29 Dec 2019 23:08:17 +0000 (00:08 +0100)]
luci-app-firewall: store week- and monthday restrictions as strings
Fixes: FS#2661
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2661
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
18c60968dc9ee280ea8a71bb98653b74a340668a)
Balázs Úr [Fri, 27 Dec 2019 16:49:40 +0000 (17:49 +0100)]
i18n: backport translations from master branch
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
MartB [Mon, 2 Dec 2019 21:16:24 +0000 (22:16 +0100)]
luci-theme-bootstrap: fix background of large modal overlays.
Signed-off-by: MartB <mart.b@outlook.de>
(cherry picked from commit
7f9eb4638b0fa5d7b08270b232bb6bbe13b2e570)
Hannu Nyman [Fri, 20 Dec 2019 06:49:14 +0000 (08:49 +0200)]
i18n: sync translations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Thu, 19 Dec 2019 18:52:57 +0000 (20:52 +0200)]
Merge pull request #3422 from stangri/19.07-luci-app-https-dns-proxy
[19.07] luci-app-https-dns-proxy: package name change, support for RFC8484 binary
Stan Grishin [Thu, 19 Dec 2019 18:20:13 +0000 (11:20 -0700)]
luci-app-https-dns-proxy: package name change, support for RFC8484 binary
Signed-off-by: Stan Grishin <stangri@melmac.net>
Nikos Mavrogiannopoulos [Sat, 14 Dec 2019 08:55:11 +0000 (09:55 +0100)]
ocserv: fix the public key ID calculation
New versions of certtool change its output format and thus break
the previous parsing. This update works with certtool 3.5.x or later.
It also restricts the output to valid values for openconnect 7.x or
later for simplification.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
(cherry picked from commit
c81ca8dae3e914b41b754e1cdc7cad3aeead9e66)
Jo-Philipp Wich [Mon, 16 Dec 2019 17:05:07 +0000 (18:05 +0100)]
luci-mod-network: dhcp.js: fix default state of nonwildcard
Fixes: #3415
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
ffe81aead3f806f28220034cb6276d89774fa47b)
Jo-Philipp Wich [Mon, 16 Dec 2019 17:01:10 +0000 (18:01 +0100)]
luci-mod-network: fix rebind list validation
Fixes:
62e28f4b0 ("luci-mod-network: dhcp.js: fix address and rebind list validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3cdd4969466de7efd2cfe0534119acdc6f35218e)
Jo-Philipp Wich [Mon, 16 Dec 2019 16:49:51 +0000 (17:49 +0100)]
luci-mod-network: dhcp.js: fix address and rebind list validation
Fixes: #3130
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
62e28f4b0a61abc4d45c6dc7cc5794e7847909e5)
Jo-Philipp Wich [Mon, 16 Dec 2019 13:38:22 +0000 (14:38 +0100)]
luci-mod-network: re-add DHCPv6 lease status to dnsmasq page
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f6410361c8fa84d258c505bba5b6ad157d6a30ee)
Jo-Philipp Wich [Mon, 9 Dec 2019 16:36:05 +0000 (17:36 +0100)]
luci-lib-httpclient: accept scoped IPv6 addresses
Ref: https://github.com/openwrt/luci/issues/3380
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
d87169c0f60f9e7c1f8a61b2809473802093ff31)
Jo-Philipp Wich [Mon, 9 Dec 2019 16:31:51 +0000 (17:31 +0100)]
luci-lib-ip: support scoped IPv6 addresses
Ref: https://github.com/openwrt/luci/issues/3380
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f7a7f89e0ce324115098f4496e3e72d8bb63613a)
Jo-Philipp Wich [Wed, 4 Dec 2019 17:04:20 +0000 (18:04 +0100)]
luci-base: ui.js: ensure that select choice labels are properly escaped
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
71d370a964f3ec4970bcded9198ff559316902ff)
Jo-Philipp Wich [Wed, 4 Dec 2019 15:08:40 +0000 (16:08 +0100)]
luci-base: ui.js: properly escape dynlist items for rendering
Ref: https://forum.openwrt.org/t/luci-theme-openwrt-reports-error/49736
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
ee360669474ddc7d94dd2853b2411da929fb5593)
Florian Eckert [Sat, 30 Nov 2019 17:30:23 +0000 (19:30 +0200)]
luci-app-statistics: update misleading load view
Fixes: #3301
During my tests and developing with the collectd and so
luci-app-statistics I noticed that the values displayed in the Y-axis
are misleading, because probably the individual values are added
together in each case. So the view is not corrected.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
b50974a20c9dac0d6b8b479d2e6b54b3c5703ab6)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Sat, 30 Nov 2019 09:25:11 +0000 (11:25 +0200)]
i18n: sync translations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Florian Eckert [Thu, 28 Nov 2019 06:25:10 +0000 (07:25 +0100)]
Merge pull request #3367 from stangri/19.07-luci-app-advanced-reboot
luci-app-advanced-reboot: better information for snapshots
Stan Grishin [Wed, 27 Nov 2019 15:32:30 +0000 (08:32 -0700)]
luci-app-advanced-reboot: better information for snapshots
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Tue, 26 Nov 2019 10:35:23 +0000 (11:35 +0100)]
luci-base: luci.js: further nested Class.super() call fixes
Use stacks keyed by class id + symbol internally to not clobber the
prototype scope pointer when repeatedly calling super() in invoked
methods.
Ref: https://github.com/openwrt/luci/issues/3316#issuecomment-
558531111
Fixes:
374c23cda ("luci-base: luci.js: properly handle nested Class.super() calls")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4a08fdd2d374083366787c4124e6b4de48bf7b77)
Jo-Philipp Wich [Tue, 26 Nov 2019 08:37:27 +0000 (09:37 +0100)]
luci-base: luci.js: properly handle nested Class.super() calls
Introduce a unique __id__ attribute per class and use that, together with
the symbol name being looked up to, to form a unique key which is used to
store the prototype scope pointer.
This fixes cases where a call to super() invokes a procedure which is
calling super() as well on a different class or symbol.
Fixes: #3316
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
374c23cdab53c5681acafb561977d927c361408a)
Jo-Philipp Wich [Mon, 25 Nov 2019 15:00:13 +0000 (16:00 +0100)]
Merge pull request #3359 from Andy2244/luci-app-cifsd_fix-defaults_19.07
luci-app-cifsd: fix defaults (none writeable default shares) [19.07]
Jo-Philipp Wich [Mon, 25 Nov 2019 14:58:54 +0000 (15:58 +0100)]
Merge pull request #3361 from Andy2244/luci-app-samba4_fix-defaults_19.07
luci-app-samba4: fix defaults (none writeable default shares) [19.07]
Andy Walsh [Mon, 25 Nov 2019 14:10:29 +0000 (15:10 +0100)]
luci-app-samba4: fix defaults (none writeable default shares)
* align defaults with upstream
* mark our default UCI changes and enforce updates to config
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Andy Walsh [Mon, 25 Nov 2019 14:07:11 +0000 (15:07 +0100)]
luci-app-cifsd: fix defaults (none writeable default shares)
* align defaults with upstream
* mark our default UCI changes and enforce updates to config
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Jo-Philipp Wich [Fri, 22 Nov 2019 17:09:11 +0000 (18:09 +0100)]
Merge pull request #3346 from Andy2244/luci-app-samba4_switch-js-api_19.07
uci-app-samba4: switch to luci static javascript api [19.07]
Jo-Philipp Wich [Fri, 22 Nov 2019 17:08:17 +0000 (18:08 +0100)]
Merge pull request #3339 from Andy2244/cifsd-19.07
luci-app-cifsd: enable cifsd app [19.07]
Andy Walsh [Fri, 22 Nov 2019 13:20:33 +0000 (14:20 +0100)]
uci-app-samba4: switch to luci static javascript api
* switch to luci static javascript api
* add version info
* remove 'home' option
* regenerate translations
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Andy Walsh [Wed, 20 Nov 2019 21:39:25 +0000 (22:39 +0100)]
luci-app-cifsd: enable cifsd app
* enable luci cifsd app
* add version info
* enable guest ok default
* refresh translations
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Jo-Philipp Wich [Sun, 10 Nov 2019 17:21:09 +0000 (18:21 +0100)]
luci-base: luci.js: add optional apply unchecked action
Turn the "Save & Apply" button into a combo button which allows to
toggle between apply with rollback and unchecked apply modes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3b3a1d9cc9cd68c22003621bef2553138853f866)
Jo-Philipp Wich [Sun, 10 Nov 2019 17:20:56 +0000 (18:20 +0100)]
themes: add necessary styles for ComboButton
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3a82faf21ab2bd69a5ce9e3bdb8083a22b458e99)
Jo-Philipp Wich [Sun, 10 Nov 2019 17:20:39 +0000 (18:20 +0100)]
luci-base: ui.js: add ComboButton widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
97a3bef84b9b68d6f88f209f80c284e3b2e7ea1a)
Jo-Philipp Wich [Fri, 22 Nov 2019 08:16:45 +0000 (09:16 +0100)]
luci-theme-bootstrap: allow textarea resizing
Fixes: #3317
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
8672ddcf0b8b59e6cee200e678972f8fea27998f)
Jo-Philipp Wich [Fri, 22 Nov 2019 07:50:14 +0000 (08:50 +0100)]
luci-app-firewall: remove obsolete "conntrack" option
Fixes: #3342
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f6e56e67e8d89a2f3f6d639d9000be0487879bf9)
Jo-Philipp Wich [Fri, 22 Nov 2019 07:42:58 +0000 (08:42 +0100)]
luci-base: validation.js: fix "unique" validator
Previous refactoring renamed the "data-type" attribute of widget markup
containers to "data-widget", breaking the "unique" validator as it relies
on it to lookup options.
Fixes: #3341
Fixes:
13e9e3e9e ("treewide: fix "Unhandled token" errors with Lua CBI maps")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4f0d67a2897d6592cb0f7562fa042dd4987fd7eb)
Hannu Nyman [Wed, 20 Nov 2019 06:24:39 +0000 (08:24 +0200)]
Merge pull request #3337 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: add logger messages, README update
Stan Grishin [Tue, 19 Nov 2019 23:55:37 +0000 (16:55 -0700)]
luci-app-advanced-reboot: add logger messages, README update
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Tue, 19 Nov 2019 17:29:47 +0000 (19:29 +0200)]
Merge pull request #3334 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: bugfix: luci error on reboot, logger errors
Stan Grishin [Tue, 19 Nov 2019 16:54:21 +0000 (09:54 -0700)]
luci-app-advanced-reboot: bugfix: luci error on reboot, logger errors
Signed-off-by: Stan Grishin <stangri@melmac.net>
Florian Eckert [Tue, 19 Nov 2019 07:37:08 +0000 (08:37 +0100)]
Merge pull request #3330 from stangri/19.07-luci-app-vpnbypass
luci-app-vpnbypass: use VPN node by default
Stan Grishin [Mon, 18 Nov 2019 23:02:14 +0000 (16:02 -0700)]
luci-app-vpnbypass: use VPN node by default
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Sun, 17 Nov 2019 10:42:43 +0000 (12:42 +0200)]
Merge pull request #3322 from rs/feature_nextdns-19.07
luci-app-nextdns: add luci integration for nextdns package
Olivier Poitrey [Tue, 5 Nov 2019 20:57:29 +0000 (12:57 -0800)]
luci-app-nextdns: add luci integration for nextdns package
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
Jo-Philipp Wich [Sat, 16 Nov 2019 17:23:43 +0000 (18:23 +0100)]
treewide: fix "Unhandled token" errors with Lua CBI maps
The `data-type` attribute is used to bind datatype validators to a widget
while some templates used the same attribute to denote the name of the
underlying widget.
Change the `data-type` attributes referring to the widget name to
`data-widget` in order to stop the JS token error spam.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
13e9e3e9e8633c7a54fe5fec1481e9df62594982)
Hannu Nyman [Sat, 16 Nov 2019 09:32:32 +0000 (11:32 +0200)]
Merge pull request #3296 from stangri/19.07-luci-app-https_dns_proxy
[19.07] luci-app-https_dns_proxy: remove dnsmasq integration, better service controls, providers as plugins, misc fixes
Hannu Nyman [Sat, 16 Nov 2019 09:22:36 +0000 (11:22 +0200)]
Merge pull request #3312 from stangri/19.07-luci-app-advanced-reboot
luci-app-advanced-reboot: show OpenWrt info on compatible NAND routers
Stan Grishin [Fri, 15 Nov 2019 23:41:58 +0000 (16:41 -0700)]
luci-app-advanced-reboot: show OpenWrt info on compatible NAND routers
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Fri, 15 Nov 2019 17:51:30 +0000 (18:51 +0100)]
luci-mod-status: ensure comment escaping in iptables status output
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
b3ef7a17eacc6ce2f2385bbb517c67906dd2a753)
Jo-Philipp Wich [Thu, 14 Nov 2019 12:47:25 +0000 (13:47 +0100)]
luci-mod-status: display secondary lease IPv6 addresses if available
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
b03ee4a097e01e3a77943292a779f4b959ac17ac)
Jo-Philipp Wich [Thu, 14 Nov 2019 12:49:40 +0000 (13:49 +0100)]
rpcd-mod-luci: bump version
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
956fd4a579084b486d7b7d78962a49a0c5aa1c7a)
Jo-Philipp Wich [Thu, 14 Nov 2019 12:36:18 +0000 (13:36 +0100)]
rpcd-mod-luci: handle multiple IPv6 addresses per lease
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
824cb658409b0267ab3790178a8e85f0216cef3b)
Jo-Philipp Wich [Thu, 14 Nov 2019 10:14:36 +0000 (11:14 +0100)]
luci-app-statistics: iwinfo: fix interface list preselection
Fixes: #3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
52a68a43b8f70236bf8276b065458b51983298f1)
Jo-Philipp Wich [Thu, 14 Nov 2019 10:12:40 +0000 (11:12 +0100)]
luci-compat: network.lua: recognize wifi interfaces with nonstandard names
Ref: https://github.com/openwrt/luci/issues/3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
857cd8c7fad3ef38680b2f8a2a7ada43a7892349)
Jo-Philipp Wich [Thu, 14 Nov 2019 08:30:16 +0000 (09:30 +0100)]
luci-mod-status: fix free swap calculation
Fixes: #3295
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
80c9b6fee0aff23b4c56563612f70ef2c412b7ac)
Jo-Philipp Wich [Wed, 13 Nov 2019 17:30:22 +0000 (18:30 +0100)]
luci-base: network.js: fix getDevices()
- Don't filter virtual interfaces
- Skip duplicate wireless devices
Fixes: #3304
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
304dd37e3fb44843466c38b883fa91b463b5cd1c)
Jo-Philipp Wich [Wed, 13 Nov 2019 16:08:58 +0000 (17:08 +0100)]
luci-app-nlbwon: fix parsing relative interval values from config
Fixes: #3302
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
2e8aa301aa2a1aa07438de8dd962c21f0c8559f2)
Jo-Philipp Wich [Wed, 13 Nov 2019 15:55:28 +0000 (16:55 +0100)]
luci-mod-system: sshkeys.js: do not incorrectly filter ecdsa keys on load
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
a3ea891b7e6352f7f723276ef08c1fc40754bdc4)
Jo-Philipp Wich [Wed, 13 Nov 2019 13:45:27 +0000 (14:45 +0100)]
luci-proto-modemmanager: mark as broken
Fixes: #3299
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Stan Grishin [Wed, 13 Nov 2019 11:26:06 +0000 (04:26 -0700)]
luci-app-https_dns_proxy: remove dnsmasq integration, better service controls, providers as plugins, misc fixes
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Wed, 13 Nov 2019 08:03:38 +0000 (09:03 +0100)]
luci-lib-jsonc: store large JSON integer values as Lua doubles
Fixes: #3293
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
8da8f38bf97c925f6f113d3b4793edb23e7e0dc2)
Jo-Philipp Wich [Wed, 13 Nov 2019 07:49:07 +0000 (08:49 +0100)]
luci-app-cifsd: mark as broken
Fixes: #3294
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 12 Nov 2019 10:51:49 +0000 (11:51 +0100)]
luci-mod-status: fix graph rendering with XHTML themes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
95bfb3f363d130566550e61565fc8f7073020763)