oweals/luci.git
6 years agoluci-app-mwan3: declare variables in globalsconfig.lua local
Florian Eckert [Tue, 16 Oct 2018 07:31:52 +0000 (09:31 +0200)]
luci-app-mwan3: declare variables in globalsconfig.lua local

It is best practice to declar module variables local.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2279 from yglb/master
Jo-Philipp Wich [Wed, 14 Nov 2018 06:28:25 +0000 (07:28 +0100)]
Merge pull request #2279 from yglb/master

luci-theme-rosy: Remove redundant statements and fixed typo

6 years agoluci-theme-rosy: fixed typo 2279/head
Yanlan Shen [Wed, 14 Nov 2018 03:50:49 +0000 (11:50 +0800)]
luci-theme-rosy: fixed typo

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Remove redundant statements
Yanlan Shen [Wed, 14 Nov 2018 03:49:33 +0000 (11:49 +0800)]
luci-theme-rosy: Remove redundant statements

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoMerge pull request #2245 from Ansuel/fstab
Jo-Philipp Wich [Mon, 12 Nov 2018 18:34:24 +0000 (19:34 +0100)]
Merge pull request #2245 from Ansuel/fstab

luci-mod-system: add support for additional filesystem

6 years agoluci-mod-system: add support for additional filesystem 2245/head
Ansuel Smith [Wed, 24 Oct 2018 17:19:58 +0000 (19:19 +0200)]
luci-mod-system: add support for additional filesystem

The filesystem option doesn't include additional filesystem included with /etc/filesystems, this is usefull if someone have ntfs-3g installed and wants to force use the external utility to mount partition instead of the default present in the kernel (if it's supported)

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
6 years agoMerge pull request #2275 from musashino205/l10n/tmate-upd-ja
Hannu Nyman [Mon, 12 Nov 2018 17:21:57 +0000 (19:21 +0200)]
Merge pull request #2275 from musashino205/l10n/tmate-upd-ja

luci-app-travelmate: update Japanese translation

6 years agoluci-app-travelmate: update Japanese translation 2275/head
INAGAKI Hiroshi [Mon, 12 Nov 2018 17:16:50 +0000 (02:16 +0900)]
luci-app-travelmate: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-mod-admin-full: dnsmasq clarify non-wildcard mode
Kevin Darbyshire-Bryant [Wed, 17 May 2017 13:29:43 +0000 (14:29 +0100)]
luci-mod-admin-full: dnsmasq clarify non-wildcard mode

'non-wildcard' interfaces enables dnsmasq's '--bind-dynamic' mode.
This binds dynamically to interfaces rather than wildcard addresses
*and* keeps track of interface comings/goings via a unique Linux api.

Quoting dnsmasq's author "bind-dynamic (bind individual addresses,
keep up with changes in interface config) ... On linux, there's actually
no sane reason not to use --bind-dynamic, and it's only not the default
for historical reasons."

listen/exclude interfaces may be used independently of bind dynamic mode
so removed the bogus dependency of 'nonwildcard' enabling access to
'listen/exclude' interfaces - they may be used in any mode..  In fact
the dnsmasq init script takes notice of include/exclude interfaces
irrespective of the 'nonwildcard' parameter.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agoMerge pull request #2274 from TDT-AG/pr/20181112-luic-mod-system
Jo-Philipp Wich [Mon, 12 Nov 2018 14:38:27 +0000 (15:38 +0100)]
Merge pull request #2274 from TDT-AG/pr/20181112-luic-mod-system

luci-mod-system: add user defined interface to netdev trigger

6 years agoluci-mod-system: add user defined interface to netdev trigger 2274/head
Florian Eckert [Fri, 9 Nov 2018 10:03:36 +0000 (11:03 +0100)]
luci-mod-system: add user defined interface to netdev trigger

Give the user the possibility to define and interface for the netdev
trigger which is not available at the moment. This is usefull if a
interface is not presented on configuration time.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
6 years agoMerge pull request #2272 from dibdot/banip
Dirk Brenken [Mon, 12 Nov 2018 11:16:31 +0000 (12:16 +0100)]
Merge pull request #2272 from dibdot/banip

luci-app-banip: fix JS errors in chromium

6 years agoluci-app-banip: fix JS errors in chromium 2272/head
Dirk Brenken [Mon, 12 Nov 2018 11:14:52 +0000 (12:14 +0100)]
luci-app-banip: fix JS errors in chromium

* fix JS errors in chromium on ipset- & ripe-view page

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoMerge pull request #2262 from yglb/master
Jo-Philipp Wich [Mon, 12 Nov 2018 06:52:50 +0000 (07:52 +0100)]
Merge pull request #2262 from yglb/master

luci-theme-rosy

6 years agoMerge pull request #2268 from hnyman/rrd
Jo-Philipp Wich [Sun, 11 Nov 2018 17:41:57 +0000 (18:41 +0100)]
Merge pull request #2268 from hnyman/rrd

luci-app-statistics: remove old deprecated rrdtool po files

6 years agoluci-app-statistics: remove old deprecated rrdtool po files 2268/head
Hannu Nyman [Sun, 11 Nov 2018 16:10:46 +0000 (18:10 +0200)]
luci-app-statistics: remove old deprecated rrdtool po files

Remove old rrdtool.po* files that have been deprecated already
in 2011-2015.

Also remove reference to them from i18n-sync.pl

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #2264 from dibdot/banip
Dirk Brenken [Sun, 11 Nov 2018 13:59:39 +0000 (14:59 +0100)]
Merge pull request #2264 from dibdot/banip

luci-app-banip: new package

6 years agoMerge pull request #2267 from musashino205/l10n/base-upd-ja_2
Hannu Nyman [Sun, 11 Nov 2018 07:17:38 +0000 (09:17 +0200)]
Merge pull request #2267 from musashino205/l10n/base-upd-ja_2

luci-base: fix issues and update Japanese translation

6 years agoluci-base: update Japanese translation 2267/head
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:47:49 +0000 (15:47 +0900)]
luci-base: update Japanese translation

Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-base: sync translations
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:35:47 +0000 (15:35 +0900)]
luci-base: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoluci-base: fix translation issues
INAGAKI Hiroshi [Sun, 11 Nov 2018 06:24:18 +0000 (15:24 +0900)]
luci-base: fix translation issues

Fixed several issues for translation.

- add translation markup to "Expecting "
- add missing ")" into "valid time (HH:MM:SS"

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
6 years agoi18n: cleanup old strings
Hannu Nyman [Sat, 10 Nov 2018 19:26:41 +0000 (21:26 +0200)]
i18n: cleanup old strings

also sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-travelmate: further translation fixup
Hannu Nyman [Sat, 10 Nov 2018 19:25:54 +0000 (21:25 +0200)]
luci-app-travelmate: further translation fixup

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #2265 from danrl/dm
Hannu Nyman [Sat, 10 Nov 2018 13:07:09 +0000 (15:07 +0200)]
Merge pull request #2265 from danrl/dm

luci-*-wireguard: Remove inactive maintainer

6 years agoluci-*-wireguard: Remove inactive maintainer 2265/head
Dan Lüdtke [Sat, 10 Nov 2018 12:54:59 +0000 (13:54 +0100)]
luci-*-wireguard: Remove inactive maintainer

I tried to find a successor in the last months, but that failed.

Signed-off by Dan Luedtke <mail@danrl.com>

6 years agoluci-app-banip: new package 2264/head
Dirk Brenken [Sat, 10 Nov 2018 10:19:50 +0000 (11:19 +0100)]
luci-app-banip: new package

for details & LuCI screenshots see base package desprition/PR:
https://github.com/openwrt/packages/pull/7373

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoluci-theme-rosy: Bug fix for network-interfaces 2262/head
Yanlan Shen [Fri, 9 Nov 2018 06:57:02 +0000 (14:57 +0800)]
luci-theme-rosy: Bug fix for network-interfaces

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Fix resolution-related styles
Yanlan Shen [Tue, 6 Nov 2018 02:00:40 +0000 (10:00 +0800)]
luci-theme-rosy: Fix resolution-related styles

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Modify the layout of the header and footer
Yanlan Shen [Tue, 6 Nov 2018 01:59:35 +0000 (09:59 +0800)]
luci-theme-rosy: Modify the layout of the header and footer

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoluci-theme-rosy: Add a background picture
Yanlan Shen [Tue, 6 Nov 2018 01:58:16 +0000 (09:58 +0800)]
luci-theme-rosy: Add a background picture

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
6 years agoi18n: sync translations, add location annotatations 2256/head
Hannu Nyman [Wed, 7 Nov 2018 16:10:59 +0000 (18:10 +0200)]
i18n: sync translations, add location annotatations

Thanks to a recent commit, the translation files will now
have info about locations where the string is used. That
can help is deciding the correct translation, as all contexts
are more easily found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoluci-app-nft-qos: remove extra .po files
Hannu Nyman [Wed, 7 Nov 2018 16:05:26 +0000 (18:05 +0200)]
luci-app-nft-qos: remove extra .po files

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 years agoMerge pull request #1855 from rosysong/nqos
Hannu Nyman [Wed, 7 Nov 2018 14:54:07 +0000 (16:54 +0200)]
Merge pull request #1855 from rosysong/nqos

luci-app-nft-qos: add new application

6 years agoluci-app-nft-qos: add new application 1855/head
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>
6 years agoluci-mod-network: move AHCP protocol model to AHCP application
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>
6 years agoluci-base: validate DHCP clientid as hexstring
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>
6 years agoluci-base: cbi.js: add client-side hexstring datatype validator
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>
6 years agoluci-base: cbi.js: add heuristics to attribute handling in E()
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>
6 years agoluci-theme-material: add invalid input class
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>
6 years agoluci-base, themes: rework dynlist and dropdown widgets
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>
6 years agoluci-theme-bootstrap: add flash animation
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>
6 years agoluci-base: cbi.js: rework dropdown implementation
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>
6 years agoluci-base: cbi.js: utilize node.closest() if available
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>
6 years agoluci-base: cbi.js: drop cbi_bind()
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>
6 years agoluci-base: cbi.js: rework client side input validation
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>
6 years agoluci-base: cbi.js: fix corner case in IPv6() address parser
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>
6 years agoluci-base, themes: add tooltip helpers & styles
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>
6 years agoluci-base: cbi.js: switch to client side translation
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>
6 years agothemes: load client side translations
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>
6 years agoluci-base: cbi.js: add client side translation infrastructure
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>
6 years agoluci-base: expose system translations to JavaScript
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>
6 years agoluci-base: remove unused i18n functions
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>
6 years agoluci-base: remove references to luci.i18n.loadc()
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>
6 years agoluci-app-mjpg-streamer: remove reference to luci.i18n.loadc()
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>
6 years agoluci-base: introduce luci.i18n.dump()
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>
6 years agoluci-base: fix luci.i18n.setlanguage()
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>
6 years agoluci-base: template: add translation iterator function
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>
6 years agobuild: i18n-scan.pl: *.js support, location annotations
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>
6 years agoi18n: sync translations
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>
6 years agoMerge pull request #2246 from rosysong/rosy
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

6 years agoMerge pull request #2193 from rosysong/freespace
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

6 years agocommunity-profiles: create profile for Fürstenwalde
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>
6 years agoMerge pull request #2250 from booo/remove-olsrd-library-version-numbers
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

6 years agoMerge pull request #2252 from stweil/lgtm
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

6 years agoMerge pull request #2253 from dibdot/travelmate
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

6 years agotimezone data: update to 2018g
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>
6 years agoluci-app-travelmate: sync with travelmate 1.3.0 2253/head
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>
6 years agotheme: add initial commit for rosy theme 2246/head
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>
6 years agoAdd missing variable declarations in JavaScript code 2252/head
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>
6 years agoget rid of library version numbers in luci olsrd code 2250/head
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>
6 years agoMerge pull request #2248 from tano-systems/fstab-translateble-swap
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

6 years agoluci-mod-system: fstab: "SWAP" section title is made translatable 2248/head
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>
6 years agoMerge pull request #2247 from tano-systems/luci-base-upd-ru-i18n
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

6 years agoluci-base: update and improve Russian translation 2247/head
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>
6 years ago timezone data: update to 2018f
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>
6 years agoMerge pull request #2243 from dibdot/ovpn-fix
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

6 years agoluci-app-openvpn: file name fix 2243/head
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>
6 years agoMerge pull request #2235 from dibdot/ovpn-upload
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

6 years agoluci-app-openvpn: add ovpn upload support & more 2235/head
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>
6 years agoMerge pull request #2238 from mmouselli/fixed_ui_olsr_service_menu
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…

6 years agoMerge pull request #2227 from YuriPet/master
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

6 years agoMerge pull request #2239 from dibdot/travelmate
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

6 years agoluci-app-olsr-services: Don't use the nameservice with a specific version. 2238/head
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>
6 years agoMerge pull request #2236 from simontretter/master
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

6 years agoluci-app-travelmate: fix wireless scan 2239/head
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>
6 years agoluci-theme-material: Add main color variable 2236/head
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>
6 years agoMerge pull request #2233 from musashino205/l10n/base-upd-ja
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

6 years agoMerge pull request #2215 from MonwF/feature_root_redirect_path
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/

6 years agoMerge pull request #2196 from TDT-AG/pr/20181001-luci-theme-material
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

6 years agoluci-base: update Japanese translation 2233/head
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>
6 years agoluci-base: fix cbi dropdown quirks with MS Edge
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>
6 years agoluci-theme-material: fix css to show loading-img again 2196/head
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>
6 years agoluci-base: update Ukrainian translation 2227/head
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
6 years agoMerge pull request #2209 from jinchizhong/luci-app-statistics-add-curl
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

6 years agopp-statistics: add support for cUrl 2209/head
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>
6 years agoMerge pull request #2225 from tano-systems/luci-proto-3g-fix-missed-opt-name
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

6 years agoMerge pull request #2226 from yangfl/master
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

6 years agoluci-app-dump1090: Fix typo of a dumb option 2226/head
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>
6 years agoluci-proto-3g: add missed option name for IPv6 address obtain mode 2225/head
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>
6 years agoMerge pull request #2221 from yangfl/master
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