- Nov 15, 2018
-
-
Darius authored
Signed-off-by: Darius <jok.darius@gmail.com>
-
Wang805447391 authored
Add a button to each row in the wireless assoclist table to allow disconnecting clients using the ubus del_client method if the underlying radio interface supports it. Ref: https://github.com/openwrt/luci/pull/2271 Submitted-by: Wang805447391 <805447391@qq.com> [move deauth function to luci-base next to the existing assoclist function, require post security, fix parameter check condition, hide button if not supported by the radio, disable button after call, squash commits, fix whitespace, reword subject, add commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
- Nov 14, 2018
-
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Add a dummy validator for the server side so that we can start using unique in client side JS code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Move the old luci.model.ipkg utility class into a separate package and let the components using it depend on the new library package. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Switch the system controller to the common luci.sys.process.exec() function and drop the local ltn12_popen() and fork_exec() helpers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Rework the parameter handling to both prevent a crash when no parameter is given and to prevent root command injection through the mtd index part of the parameter value. Fixes: 9840d310 ("modules: add backup module for mtdblock devices") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
- Drop embedded CSS in favor to new global rules - Drop extraneous include of cbi.js - Use showModal() facilities - Fix a cosmetic bug in countdown timeout handling Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Add two new functions showModal() and hideModal() which will fade in and close an open modal respectively. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
The new process.exec() function simplifies spawning external processes and capturing their stdio. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
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>
-
Jo-Philipp Wich authored
Due to a misspelled property name, only the first value was passed in the event details. Fixes: c2b57099 ("luci-base: cbi.js: rework dropdown implementation") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Commit 7c782183 ("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>
-
Jo-Philipp Wich authored
Fixes #2070. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Florian Eckert authored
With this change we could set optional value for the file browser. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-
Zheng Qian authored
Signed-off-by: Zheng Qian <sotux82@gmail.com>
-
- Nov 12, 2018
-
-
Ansuel Smith authored
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>
-
Kevin Darbyshire-Bryant authored
'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>
-
Florian Eckert authored
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>
-
- Nov 11, 2018
-
-
INAGAKI Hiroshi authored
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-
INAGAKI Hiroshi authored
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-
INAGAKI Hiroshi authored
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>
-
- Nov 07, 2018
-
-
pmelange authored
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
-
Hannu Nyman authored
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>
-
- Nov 05, 2018
-
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
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 authored
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-
Jo-Philipp Wich authored
- 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 authored
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>
-