summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-11-14luci-base, themes: dropdown behaviour improvementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: remove dead code in cbi_validate_field()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: enable validation for dropdown fieldsJo-Philipp Wich
Directly attach validation handlers to cbi dropdowns as well, this allows validating dropdown choices made by the user, similar to how plain select boxes are handled by the cbi JavaScript. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-openwrt: dropdown style tweaksJo-Philipp Wich
- Remove 2em min height, this looks out of place with the OpenWrt theme - Only colorize invalid dropdown when not open - Drop use of image background for invalid fields while we're at it Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-bootstrap: add invalid style for dropdownsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-{freifunk-generic,material,openwrt}: z-index fixesJo-Philipp Wich
Ensure that open dropdowns cover active tooltips. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-bootstrap: z-index fixesJo-Philipp Wich
Lower z-index of header bar to allow tooltips and dropdowns to overlap it, also increase the z-index of open dropdowns to ensure that they cover active tooltip bubbles. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: set .value property of cbi dropdown elementsJo-Philipp Wich
In order to make cbi dropdowns usable for validation and other code expecting native form elements, set the .value DOM property on the dropdown parent element whenever the selection is changed. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: properly handle cbi tooltips on nested elementsJo-Philipp Wich
Rework the tooltip event delegation logic to prevent hiding the tooltop when the cursor is moved to a children of the tooltip container element. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: avoid using .form property directlyJo-Philipp Wich
In order to prepare support for calling cbi validation on non-native form widgets, remove direct usages of the node.form property and lookup the containing form using findParent() instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: cbi.js: fix passing multiple dropdown values in change eventJo-Philipp Wich
Due to a misspelled property name, only the first value was passed in the event details. Fixes: c2b570998 ("luci-base: cbi.js: rework dropdown implementation") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: rework dynamic list templateJo-Philipp Wich
Commit 7c7821833 ("luci-base, themes: rework dynlist and dropdown widgets") changed the way we initialize dynamic lists on client side, avoiding the need for pre-rendering the items on the server side. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: add ARIA label to reveal/hide password buttonJo-Philipp Wich
Fixes #2070. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base: update german translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14Merge pull request #2281 from TDT-AG/pr/20181114-luci-app-mwan3Hannu Nyman
luci-app-mwan3: add/remove options
2018-11-14Merge pull request #2277 from sotux/masterHannu Nyman
i18n: luci-base: update Simplified Chinese translation
2018-11-14Merge pull request #2284 from dibdot/travelmateDirk Brenken
luci-app-travelmate: consolidate css
2018-11-14Merge pull request #2283 from dibdot/adblockDirk Brenken
luci-app-adblock: consolidate css
2018-11-14Merge pull request #2280 from dibdot/banipDirk Brenken
luci-app-banip: fix remaining css issues
2018-11-14luci-app-banip: fix remaining css issuesDirk Brenken
* fix IE Edge rendering issues * merge remaining external styles in central css Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14luci-app-travelmate: consolidate cssDirk Brenken
* fix IE Edge rendering issues * merge external styles in central css Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14luci-app-adblock: consolidate cssDirk Brenken
* fix IE Edge rendering issues * merge external styles in central css Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-14luci-app-mwan3: remove deprecated local_source optionFlorian Eckert
Remove deprecated local_source option which is not supported/needed anymore. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: add rt_table_lookup optionFlorian Eckert
Make list option rt_table_lookup configurable in luci. With this option we could define additional routing tables which get scanned by mwan3 and then get added to the connected ipset. The entries will be treated as connected network and will not get mangeld by mwan3. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: add rtmon interval optionFlorian Eckert
Add the configuration option rtmon to luci. With this parameter we could adjust how often the routing table get synced between main routing table and the interface routing table. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: rename variable in globalsconfig.luaFlorian Eckert
Name variables as the options name in uci. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: declare variables in globalsconfig.lua localFlorian Eckert
It is best practice to declar module variables local. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14Merge pull request #2279 from yglb/masterJo-Philipp Wich
luci-theme-rosy: Remove redundant statements and fixed typo
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-14i18n: luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.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>