summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-11-14luci-theme-rosy: fixed typoYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-14luci-theme-rosy: Remove redundant statementsYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-12Merge pull request #2245 from Ansuel/fstabJo-Philipp Wich
luci-mod-system: add support for additional filesystem
2018-11-12luci-mod-system: add support for additional filesystemAnsuel Smith
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>
2018-11-12Merge pull request #2275 from musashino205/l10n/tmate-upd-jaHannu Nyman
luci-app-travelmate: update Japanese translation
2018-11-13luci-app-travelmate: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-12luci-mod-admin-full: dnsmasq clarify non-wildcard modeKevin Darbyshire-Bryant
'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>
2018-11-12Merge pull request #2274 from TDT-AG/pr/20181112-luic-mod-systemJo-Philipp Wich
luci-mod-system: add user defined interface to netdev trigger
2018-11-12luci-mod-system: add user defined interface to netdev triggerFlorian Eckert
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>
2018-11-12Merge pull request #2272 from dibdot/banipDirk Brenken
luci-app-banip: fix JS errors in chromium
2018-11-12luci-app-banip: fix JS errors in chromiumDirk Brenken
* fix JS errors in chromium on ipset- & ripe-view page Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-12Merge pull request #2262 from yglb/masterJo-Philipp Wich
luci-theme-rosy
2018-11-11Merge pull request #2268 from hnyman/rrdJo-Philipp Wich
luci-app-statistics: remove old deprecated rrdtool po files
2018-11-11luci-app-statistics: remove old deprecated rrdtool po filesHannu Nyman
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>
2018-11-11Merge pull request #2264 from dibdot/banipDirk Brenken
luci-app-banip: new package
2018-11-11Merge pull request #2267 from musashino205/l10n/base-upd-ja_2Hannu Nyman
luci-base: fix issues and update Japanese translation
2018-11-11luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-11luci-base: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-11luci-base: fix translation issuesINAGAKI Hiroshi
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>
2018-11-10i18n: cleanup old stringsHannu Nyman
also sync translations Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10luci-app-travelmate: further translation fixupHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10Merge pull request #2265 from danrl/dmHannu Nyman
luci-*-wireguard: Remove inactive maintainer
2018-11-10luci-*-wireguard: Remove inactive maintainerDan Lüdtke
I tried to find a successor in the last months, but that failed. Signed-off by Dan Luedtke <mail@danrl.com>
2018-11-10luci-app-banip: new packageDirk Brenken
for details & LuCI screenshots see base package desprition/PR: https://github.com/openwrt/packages/pull/7373 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-09luci-theme-rosy: Bug fix for network-interfacesYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09luci-theme-rosy: Fix resolution-related stylesYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09luci-theme-rosy: Modify the layout of the header and footerYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09luci-theme-rosy: Add a background pictureYanlan Shen
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-07i18n: sync translations, add location annotatationsHannu Nyman
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>
2018-11-07luci-app-nft-qos: remove extra .po filesHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-07Merge pull request #1855 from rosysong/nqosHannu Nyman
luci-app-nft-qos: add new application
2018-11-06luci-app-nft-qos: add new applicationRosy Song
This application is for nft-qos package. Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-11-05luci-mod-network: move AHCP protocol model to AHCP applicationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: validate DHCP clientid as hexstringJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: cbi.js: add client-side hexstring datatype validatorJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: cbi.js: add heuristics to attribute handling in E()Jo-Philipp Wich
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>
2018-11-05luci-theme-material: add invalid input classJo-Philipp Wich
Fixes #1070. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base, themes: rework dynlist and dropdown widgetsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-theme-bootstrap: add flash animationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: cbi.js: rework dropdown implementationJo-Philipp Wich
- 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>
2018-11-05luci-base: cbi.js: utilize node.closest() if availableJo-Philipp Wich
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>
2018-11-05luci-base: cbi.js: drop cbi_bind()Jo-Philipp Wich
Just use node.addEventListener() directly since all reasonably recent browsers support it nowadays. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: cbi.js: rework client side input validationJo-Philipp Wich
- 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>
2018-11-05luci-base: cbi.js: fix corner case in IPv6() address parserJo-Philipp Wich
The implementation allowed a hexadecimal string without any colons. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base, themes: add tooltip helpers & stylesJo-Philipp Wich
Add the required JS and CSS infrastructure to support rich hover/focus tooltips for element. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base: cbi.js: switch to client side translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05themes: load client side translationsJo-Philipp Wich
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>
2018-11-05luci-base: cbi.js: add client side translation infrastructureJo-Philipp Wich
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>
2018-11-05luci-base: expose system translations to JavaScriptJo-Philipp Wich
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>
2018-11-05luci-base: remove unused i18n functionsJo-Philipp Wich
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>