Age | Commit message (Collapse) | Author |
|
Fix the fallout from recent changes
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Remove some superfluous code which was added with a previous commit.
Fixes: 8270f10f1 ("luci-base: cbi.js: code cleanups")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The previous commit omitted a subdirectory.
Fixes: 94323a61e ("luci-base: move luci.sys.iptparser into separate package")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- unify code style
- add matchesElem() helper
- replace nodeName checks with selector tests
- replace className manipulations with classList operations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-system: block install and search if no package lists
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
treewide: Fix typos in comments
|
|
Fixes: f6bfac211 ("luci-mod-status: rework iptables status page")
Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Since commit f6bfac211 ("luci-mod-status: rework iptables status page"),
nothing in luci-base depends on the iptparser class anymore, so fold it
out into a separate package and let the few apps that require it depend
on the new library package.
Saves about 10K uncompressed in luci-base while the iptables status
rework enlarged the markup by roughly 5KB, saving roughly 5KB of size
overall.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Parse and format iptables listing in client side JS
- Dynamically update packet counters
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
The zone forwarding list widget misleadingly displays the intra-zone
forwarding policy as default policy action when no forwardings exist
instead of the appropriate global defaults forwarding policy which is
the one applied to inter-zone forwarded traffic.
Fix the issue by displaying the defaults policy and not the per-zone
policy to match what the firewall implementation is actually doing.
Fixes: #2213
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When creating a new zone through the firewall zone selector widget,
validate the given name before creating new items.
Depends on commit 0b6ae96f2 ("luci-base: cbi.js: recognize invalid
input in dropdown create field").
Fixes: #2211
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This is required to allow for validating the create field values in
later commits.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge
|
|
a bridge
It's completely OK to select a bridge as the underlying interface of
other interfaces, say a tunnel or PPPoE. The only case which should be
forbidden is bridge over bridge.
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
Update timezone data to 2018e
http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html
North Korea switches back to +09 on 2018-05-05.
The main format uses negative DST again, for Ireland
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
freifunk profiles: add nameserver 80.67.169.40
|
|
luci-app-snmpd: Allow turning off agentx
|
|
AgentX support doesn't actually require TCP, it also works over unix
domain sockets, and UDS is the only method that's compiled in by
default. Remove that misleading text, and make the section
add/removable so that you can remove it to disable agentx support.
Behaviour with multiple sections is undefined. (don't do that!)
This matches the current behaviour of the snmpd init script, which will
enable agentx with the compile time default settings if the agentx
socket config is blank/missing.
Signed-off-by: Karl Palsson <karlp@etactica.com>
|
|
luci-app-travelmate: sync with update 1.2.4
|
|
luci-app-wireguard: add QR Code support plus fixes
|
|
* with the config option 'trm_radio' you can now restrict travelmate
to a single radio (e.g. 'radio1') or change the overall
scanning order (e.g. 'radio1 radio2 radio0')
* LuCI: show QR codes now inline on the overview page
(collapsed by default)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
|
|
Rename "Apply unchecked" to "Apply anyway" for better clarity and update
the base translation files accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Do not concatenate the yet undefined mtime variable to avoid a controller
error with backtrace.
Fixes: b3642f476 ("luci-app-nlbwmon: add proper file names for json and csv exports.")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-app-mwan3: fix i18n traceback
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
luci-mod-system: add zram options
|
|
This adds option to configure zram size and compression algo
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
* add optional QR Code support to status page (per wg Interface),
submitted information via QR code are:
- [Interface] (list of) Address / PrivateKey
- [Peer] Endpoint / PublicKey / (list of) AllowedIPs
- support multiple interfaces and peers
* fix XHTML rendering errors with OpenWrt standard theme
* fix logical glitch with empty descriptions, remove needless variables
* left align the output for better viewing esp. with material theme
* freshen up design a little bit
* switch space indentation to tabs
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
i18n: update Chinese translation
|
|
luci-app-network: add rekey option
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|
|
This is a special proto which should go into a separate package.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This is a special proto which should go into a separate package.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Currently, the json and csv exports are just named `data` which is not
intuitive. This adds proper file name extensions using the
Content-disposition HTTP header.
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Prevent an incorrect / misleading "There are no changes to apply" message
from popping up when adding a new SSH key to the text box.
Fixes #2048.
Signed-off-by: Dirk Brenken <dev@brenken.org>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add grammar corrections suggested in PRs #2114 and #2190.
Suggested-by: Roman <x.wserfer@gmail.com>
[squash #2114 and #2190, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add description fields to luci-app-wireguard similar to those in
luci-proto-wireguard.
Ref: https://github.com/openwrt/luci/commit/140f41b4
Suggested-by: "rwalli" <rwalli@gmx.net>
[squash commits, reword commit message, remove semicolons,
remove trailing white space]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes #2132.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This is useful to write page specific CSS rules.
Also fix a missing space in the body CSS class name in the bootstrap theme
while we're at it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes #2173.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
It's not necessary to execute all code if section already exists.
Signed-off-by: Darius Joksas <jok.darius@gmail.com>
[reword commit message, squash commits, remove stray semicolon]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- unused requirements removed
- unused variable and foreach loop removed
Signed-off-by: Darius <darius.joksas@teltonika.lt>
[slightly reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-base: fix sysauth cookie not removed on logout
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|