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>
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>
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>
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>
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>
Jo-Philipp Wich [Sun, 21 Oct 2018 09:47:29 +0000 (11:47 +0200)]
luci-theme-material: add invalid input class
Fixes #1070.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 20 Oct 2018 15:56:02 +0000 (17:56 +0200)]
luci-base, themes: rework dynlist and dropdown widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 20 Oct 2018 14:30:24 +0000 (16:30 +0200)]
luci-theme-bootstrap: add flash animation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 20 Oct 2018 08:06:57 +0000 (10:06 +0200)]
luci-base: cbi.js: rework dropdown implementation
- Refactor event handler closures into class methods and bind them instead
- Fix quirk in dropdown placement calculation
- Different dropdown placement strategy on touch devices
- Broadcast custom "cbi-dropdown-change" event when value is changed
- Implement setValues() method to alter dropdown selection
- Prevent creating empty custom values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 20 Oct 2018 07:55:59 +0000 (09:55 +0200)]
luci-base: cbi.js: utilize node.closest() if available
Use node.closest() in findParent() when available since it should be faster
than manaually traversing the ancestor chain.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Oct 2018 17:16:00 +0000 (19:16 +0200)]
luci-base: cbi.js: drop cbi_bind()
Just use node.addEventListener() directly since all reasonably recent
browsers support it nowadays.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Oct 2018 06:39:23 +0000 (08:39 +0200)]
luci-base: cbi.js: rework client side input validation
- Refactor and fix datatype validation functions
- Turn the type compilation and validation into a proper class
- Display tooltip with error hint on invalid inputs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Oct 2018 06:21:51 +0000 (08:21 +0200)]
luci-base: cbi.js: fix corner case in IPv6() address parser
The implementation allowed a hexadecimal string without any colons.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 14:14:35 +0000 (16:14 +0200)]
luci-base, themes: add tooltip helpers & styles
Add the required JS and CSS infrastructure to support rich hover/focus
tooltips for element.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 12:03:52 +0000 (14:03 +0200)]
luci-base: cbi.js: switch to client side translation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 11:58:10 +0000 (13:58 +0200)]
themes: load client side translations
Extend the theme headers to include the translation string scripts,
allowing client side code to translate strings without server side
support.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 11:48:05 +0000 (13:48 +0200)]
luci-base: cbi.js: add client side translation infrastructure
Implement the string hash algorithm used by LuCI's translation system in
JavaScript and provide a `_()` translation wrapper function to lookup
messages in the global string table.
Once client side translation loading is activated in a later commit,
JavaScript code can use the same string translation mechanism as server
side Lua code, e.g. `_("Static Routes")` would yield "Statische Routen"
when the German translation is loaded.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 11:44:39 +0000 (13:44 +0200)]
luci-base: expose system translations to JavaScript
Add a new /admin/translations/ endpoint which exposes the loaded system
translations as JavaScript file.
Once referenced by <script>, the endpoint will create a `window.TR` object
containing the entire translation string table for use on the client side.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 11:32:52 +0000 (13:32 +0200)]
luci-base: remove unused i18n functions
Drop load(), loadc(), string() and stringf() from the luci.i18n class since
these functions are either no longer unused or were never used to begin with.
Also slightly rework the module to only use local symbols and unify the
module require style.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 09:02:28 +0000 (11:02 +0200)]
luci-base: remove references to luci.i18n.loadc()
The i18n.loadc() function has been a no-op since almost six years so it
makes no sense to invoke it anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 09:00:25 +0000 (11:00 +0200)]
luci-app-mjpg-streamer: remove reference to luci.i18n.loadc()
The i18n.loadc() function has been a no-op since almost six years.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 08:54:12 +0000 (10:54 +0200)]
luci-base: introduce luci.i18n.dump()
Add a new luci.i18n.dump() function which returns all currently loaded
translation strings as Lua table.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 18 Oct 2018 07:52:07 +0000 (09:52 +0200)]
luci-base: fix luci.i18n.setlanguage()
Rework the setlanguage() implementation to actually switch catalogues
if another language has been loaded previously and change it to return
the effectively loaded language tag.
Also improve input parameter validation and accept tags in both lower
or upper case.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 17 Oct 2018 10:57:34 +0000 (12:57 +0200)]
luci-base: template: add translation iterator function
Introduce a new luci.template.parser.get_translations() function which will
iterate all loaded translation entries and pass the to the given callback
function.
This is useful to expose the loaded translations in other formats, e.g. for
wrapping them into JSON feeds.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 17 Oct 2018 10:47:20 +0000 (12:47 +0200)]
build: i18n-scan.pl: *.js support, location annotations
Extend i18n-scan.pl to scan JavaScript files for translation strings as
well and annotate produced *.po template files with source code location
markers.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sun, 4 Nov 2018 16:05:01 +0000 (18:05 +0200)]
i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Fri, 2 Nov 2018 13:06:03 +0000 (14:06 +0100)]
Merge pull request #2246 from rosysong/rosy
theme: add initial commit for rosy theme
Jo-Philipp Wich [Fri, 2 Nov 2018 13:04:31 +0000 (14:04 +0100)]
Merge pull request #2193 from rosysong/freespace
luci-mod-system: add id for software/freespace div
Martin Hübner [Tue, 23 Oct 2018 16:43:58 +0000 (18:43 +0200)]
community-profiles: create profile for Fürstenwalde
New profile for Fürstenwalde. At the moment we use parts of the Berlin-
infrastructure. Thus I have not changed the ip-address-related things.
Signed-off-by: Martin Hübner <martin.hubner@web.de>
[reword and rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 2 Nov 2018 12:53:08 +0000 (13:53 +0100)]
Merge pull request #2250 from booo/remove-olsrd-library-version-numbers
get rid of library version numbers in luci olsrd code
Jo-Philipp Wich [Fri, 2 Nov 2018 12:52:37 +0000 (13:52 +0100)]
Merge pull request #2252 from stweil/lgtm
Add missing variable declarations in JavaScript code
Dirk Brenken [Tue, 30 Oct 2018 19:12:13 +0000 (20:12 +0100)]
Merge pull request #2253 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.3.0
Hannu Nyman [Tue, 30 Oct 2018 17:45:50 +0000 (19:45 +0200)]
timezone data: update to 2018g
Update timezone data to 2018g
http://mm.icann.org/pipermail/tz-announce/2018-October/000052.html
* Morocco switches to permanent +01 on 2018-10-27.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Dirk Brenken [Tue, 30 Oct 2018 14:29:00 +0000 (15:29 +0100)]
luci-app-travelmate: sync with travelmate 1.3.0
* add support for the new 'trm_proactive' option
Signed-off-by: Dirk Brenken <dev@brenken.org>
Rosy Song [Thu, 25 Oct 2018 03:29:18 +0000 (11:29 +0800)]
theme: add initial commit for rosy theme
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Signed-off-by: Yan Lan Shen <yanlan.shen@rosinson.com>
Stefan Weil [Sun, 28 Oct 2018 21:38:20 +0000 (22:38 +0100)]
Add missing variable declarations in JavaScript code
This fixes errors reported by LGTM.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Philipp Borgers [Thu, 25 Oct 2018 19:54:42 +0000 (21:54 +0200)]
get rid of library version numbers in luci olsrd code
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
Hannu Nyman [Thu, 25 Oct 2018 16:51:36 +0000 (19:51 +0300)]
Merge pull request #2248 from tano-systems/fstab-translateble-swap
luci-mod-system: fstab: "SWAP" section title is made translatable
Anton Kikin [Thu, 25 Oct 2018 16:40:23 +0000 (19:40 +0300)]
luci-mod-system: fstab: "SWAP" section title is made translatable
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Hannu Nyman [Thu, 25 Oct 2018 16:35:23 +0000 (19:35 +0300)]
Merge pull request #2247 from tano-systems/luci-base-upd-ru-i18n
luci-base: update and improve Russian translation
Anton Kikin [Thu, 25 Oct 2018 16:30:54 +0000 (19:30 +0300)]
luci-base: update and improve Russian translation
Add missing translations and update existing not quite correct translations.
Also removed unnecessary dots at the end of some translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Hannu Nyman [Thu, 25 Oct 2018 15:44:48 +0000 (18:44 +0300)]
timezone data: update to 2018f
Update timezone data to 2018f
http://mm.icann.org/pipermail/tz-announce/2018-October/000051.html
Volgograd moves from +03 to +04 on 2018-10-28.
Fiji ends DST 2019-01-13, not 2019-01-20.
Most of Chile changes DST dates, effective 2019-04-06.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Dirk Brenken [Tue, 23 Oct 2018 21:18:38 +0000 (23:18 +0200)]
Merge pull request #2243 from dibdot/ovpn-fix
luci-app-openvpn: file name fix
Dirk Brenken [Tue, 23 Oct 2018 21:16:38 +0000 (23:16 +0200)]
luci-app-openvpn: file name fix
* fix shellquote oversight of the last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Tue, 23 Oct 2018 19:26:51 +0000 (21:26 +0200)]
Merge pull request #2235 from dibdot/ovpn-upload
luci-app-openvpn: add ovpn upload support & more
Dirk Brenken [Sat, 20 Oct 2018 19:22:49 +0000 (21:22 +0200)]
luci-app-openvpn: add ovpn upload support & more
* add the ability to upload ovpn files directly,
incl. appropriate uci entry in openvpn config
* add the ability to edit ovpn files directly ('file' mode),
beside the 'basic' and 'advanced' modes for normal setups
* client side checks to validate instance name & template selection,
incl. online error reporting
* automatically remove non-ascii characters & windows line endings
from transfered ovpn file
* change from after_commit to after_apply hook
* remove misleading default values for Port & Protocol in Overview
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Tue, 23 Oct 2018 11:20:45 +0000 (13:20 +0200)]
Merge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu
luci-app-olsr-services: Don't use the nameservice with a specific ver…
Hannu Nyman [Mon, 22 Oct 2018 19:39:25 +0000 (20:39 +0100)]
Merge pull request #2227 from YuriPet/master
luci-base: update Ukrainian translation
Dirk Brenken [Sun, 21 Oct 2018 20:39:21 +0000 (22:39 +0200)]
Merge pull request #2239 from dibdot/travelmate
luci-app-travelmate: fix wireless scan
mmouselli [Sun, 21 Oct 2018 16:47:57 +0000 (18:47 +0200)]
luci-app-olsr-services: Don't use the nameservice with a specific version.
The "Services" menu option of olsr on the top of the web interface
is not there.
A specific version of the App name was in the controller service
Removing the limitation will fix the problem
https://github.com/freifunk-berlin/firmware/issues/594
Signed-off-by: mmouselli <m.mouselli@syseleven.de>
Jo-Philipp Wich [Sun, 21 Oct 2018 09:47:53 +0000 (11:47 +0200)]
Merge pull request #2236 from simontretter/master
luci-theme-material: Add main color variable
Dirk Brenken [Sun, 21 Oct 2018 06:37:56 +0000 (08:37 +0200)]
luci-app-travelmate: fix wireless scan
* fix possible crash during wireless scan
when no valid WPA label was found
Signed-off-by: Dirk Brenken <dev@brenken.org>
Simon Tretter [Sun, 21 Oct 2018 03:50:55 +0000 (11:50 +0800)]
luci-theme-material: Add main color variable
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
Jo-Philipp Wich [Sat, 20 Oct 2018 16:04:29 +0000 (18:04 +0200)]
Merge pull request #2233 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
Jo-Philipp Wich [Sat, 20 Oct 2018 16:04:11 +0000 (18:04 +0200)]
Merge pull request #2215 from MonwF/feature_root_redirect_path
luci-base: redirect root path to /cgi-bin/luci/
Jo-Philipp Wich [Sat, 20 Oct 2018 16:02:11 +0000 (18:02 +0200)]
Merge pull request #2196 from TDT-AG/pr/
20181001-luci-theme-material
luci-theme-material: make font configurable and minor fixes
INAGAKI Hiroshi [Fri, 19 Oct 2018 15:57:01 +0000 (00:57 +0900)]
luci-base: update Japanese translation
Added and updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Jo-Philipp Wich [Wed, 17 Oct 2018 05:43:54 +0000 (07:43 +0200)]
luci-base: fix cbi dropdown quirks with MS Edge
On MS Edge, the behaviour of "value" attributes on "li" elements is
unreliable, so use the "data-" prefix to circumvent the problem.
Ref: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/
19320991/
Fixes: #2224
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Fri, 12 Oct 2018 08:58:14 +0000 (10:58 +0200)]
luci-theme-material: fix css to show loading-img again
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Yurii [Sun, 14 Oct 2018 15:14:01 +0000 (18:14 +0300)]
luci-base: update Ukrainian translation
Updated with the latest sync translation, corrections.
Signed-off-by: Yurii yuripet@gmail.com
Hannu Nyman [Sat, 13 Oct 2018 19:02:42 +0000 (22:02 +0300)]
Merge pull request #2209 from jinchizhong/luci-app-statistics-add-curl
luci-app-statistics: add support for cUrl
Chizhong Jin [Sat, 13 Oct 2018 18:34:49 +0000 (02:34 +0800)]
pp-statistics: add support for cUrl
Add collectd-mod-curl plugin support. Which can do some complex track,
such as grab stock, but by now, only response time are supported.
Signed-off-by: Chizhong Jin <pjincz@gmail.com>
Hannu Nyman [Sat, 13 Oct 2018 13:24:44 +0000 (16:24 +0300)]
Merge pull request #2225 from tano-systems/luci-proto-3g-fix-missed-opt-name
luci-proto-3g: add missed option name for IPv6 address obtain mode
Hannu Nyman [Fri, 12 Oct 2018 15:51:09 +0000 (18:51 +0300)]
Merge pull request #2226 from yangfl/master
luci-app-dump1090: Fix typo of a dumb option
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
luci-app-dump1090: Fix typo of a dumb option
Option `aggressive` is supported by dump1090 binary, but oddly missing in
dump1090.init. Nevertheless, neither of them support the wrong
`agressive`.
Signed-off-by: David Yang <mmyangfl@gmail.com>
Anton Kikin [Fri, 12 Oct 2018 15:18:11 +0000 (18:18 +0300)]
luci-proto-3g: add missed option name for IPv6 address obtain mode
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Hannu Nyman [Fri, 12 Oct 2018 15:09:25 +0000 (18:09 +0300)]
Merge pull request #2221 from yangfl/master
treewide: Fix typos in UI strings
yangfl [Fri, 12 Oct 2018 05:55:48 +0000 (13:55 +0800)]
luci-app: init translations for shadowsocks-libev and unbound
Signed-off-by: David Yang <mmyangfl@gmail.com>
yangfl [Fri, 12 Oct 2018 05:43:46 +0000 (13:43 +0800)]
luci-app: Fix typos for po strings
Signed-off-by: David Yang <mmyangfl@gmail.com>
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
treewide: Fix typos in UI strings
Signed-off-by: David Yang <mmyangfl@gmail.com>
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
freifunk-watchdog: Fix typos
Signed-off-by: David Yang <mmyangfl@gmail.com>
Hannu Nyman [Fri, 12 Oct 2018 13:30:42 +0000 (16:30 +0300)]
Merge pull request #2223 from TDT-AG/pr/
20181012-luci-app-mwan3
luci-app-mwan3: fix typo
Dirk Brenken [Fri, 12 Oct 2018 13:30:18 +0000 (15:30 +0200)]
Merge pull request #2204 from dibdot/wg-qrfix
luci-app-wireguard: clean up QR Code generation
Florian Eckert [Thu, 11 Oct 2018 05:58:28 +0000 (07:58 +0200)]
luci-app-mwan3: fix typo
This has worked before because the interface variable is global. But
this is not nice. So this commit will fix this.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Hannu Nyman [Thu, 11 Oct 2018 16:57:32 +0000 (19:57 +0300)]
i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Thu, 11 Oct 2018 16:55:52 +0000 (19:55 +0300)]
i18n: fix translations
fix .po files
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Thu, 11 Oct 2018 16:52:24 +0000 (19:52 +0300)]
luci-app-travelmate: fix translation fallout
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Thu, 11 Oct 2018 16:24:49 +0000 (19:24 +0300)]
luci-app-splash: fix translation fallout
Fix the fallout from recent changes
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Thu, 11 Oct 2018 06:02:38 +0000 (08:02 +0200)]
luci-base: cbi.js: remove dead code
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>
Jo-Philipp Wich [Thu, 11 Oct 2018 06:00:01 +0000 (08:00 +0200)]
luci-lib-iptparser: fix packaging
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>
Jo-Philipp Wich [Thu, 11 Oct 2018 05:56:36 +0000 (07:56 +0200)]
luci-base: cbi.js: code cleanups
- 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>
Jo-Philipp Wich [Thu, 11 Oct 2018 05:00:13 +0000 (07:00 +0200)]
Merge pull request #2220 from yangfl/packages
luci-mod-system: block install and search if no package lists
yangfl [Wed, 10 Oct 2018 14:00:46 +0000 (22:00 +0800)]
luci-mod-system: block install and search if no package lists
Signed-off-by: David Yang <mmyangfl@gmail.com>
Hannu Nyman [Wed, 10 Oct 2018 17:25:11 +0000 (20:25 +0300)]
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
Jo-Philipp Wich [Wed, 10 Oct 2018 13:25:10 +0000 (15:25 +0200)]
luci-mod-status: fix CDATA marker on iptables status page
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>
Jo-Philipp Wich [Wed, 10 Oct 2018 11:17:20 +0000 (13:17 +0200)]
luci-base: move luci.sys.iptparser into separate package
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>
Jo-Philipp Wich [Wed, 10 Oct 2018 11:11:01 +0000 (13:11 +0200)]
luci-mod-status: rework iptables status page
- Parse and format iptables listing in client side JS
- Dynamically update packet counters
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
yangfl [Sat, 18 Aug 2018 04:21:21 +0000 (12:21 +0800)]
treewide: Fix typos in comments
Signed-off-by: David Yang <mmyangfl@gmail.com>
Jo-Philipp Wich [Wed, 10 Oct 2018 06:32:54 +0000 (08:32 +0200)]
luci-base: show default forwarding policy in zone forwarding list
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>
Jo-Philipp Wich [Wed, 10 Oct 2018 06:30:13 +0000 (08:30 +0200)]
luci-base: validate name in firewall zone selector widget
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>
Jo-Philipp Wich [Wed, 10 Oct 2018 06:28:15 +0000 (08:28 +0200)]
luci-base: cbi.js: recognize invalid input in dropdown create field
This is required to allow for validating the create field values in
later commits.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 10 Oct 2018 05:49:23 +0000 (07:49 +0200)]
Merge pull request #2216 from yangfl/ifacelist
luci-mod-network: show bridges in ifacelist when the interface itself is not a bridge
yangfl [Wed, 10 Oct 2018 05:12:34 +0000 (13:12 +0800)]
luci-mod-network: show bridges in ifacelist when the interface itself is not 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>
xiongjie [Wed, 10 Oct 2018 05:04:17 +0000 (13:04 +0800)]
luci-base: redirect root path to /cgi-bin/luci/
Fix openwrt/luci#1062
Signed-off-by: MonwF <boluo2@gmail.com>
Hannu Nyman [Tue, 9 Oct 2018 15:19:52 +0000 (18:19 +0300)]
timezone data: update to 2018e
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>
Jo-Philipp Wich [Tue, 9 Oct 2018 06:35:34 +0000 (08:35 +0200)]
Merge pull request #2200 from pmelange/freifunk_profiles_nameserver
freifunk profiles: add nameserver 80.67.169.40
Jo-Philipp Wich [Mon, 8 Oct 2018 11:34:07 +0000 (13:34 +0200)]
Merge pull request #2208 from remakeelectric/snmp-agentx
luci-app-snmpd: Allow turning off agentx
Karl Palsson [Mon, 8 Oct 2018 11:27:53 +0000 (11:27 +0000)]
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>
Dirk Brenken [Sun, 7 Oct 2018 05:46:29 +0000 (07:46 +0200)]
luci-app-wireguard: clean up QR Code generation
* no longer baffle QR code import with "(none)" values from wg dump
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Fri, 5 Oct 2018 10:30:23 +0000 (12:30 +0200)]
Merge pull request #2202 from dibdot/travelmate
luci-app-travelmate: sync with update 1.2.4