summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-09-13WIP from 2018-11-28multiplipv6prefixesMikael Magnusson
2018-11-28Merge pull request #2342 from dibdot/fwDirk Brenken
luci-app-firewall: remove hinting
2018-11-28luci-app-firewall: remove hintingDirk Brenken
Remove firewall hinting as discussed in #2340 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-28Merge pull request #2341 from brvphoenix/luci-theme-materialJo-Philipp Wich
luci-theme-material: add the missing modal/progressbar rules.
2018-11-28luci-theme-material: add the missing modal/progressbar rules.brv phoenix
Signed-off-by: brv phoenix <feixuekaka1@gmail.com>
2018-11-27Merge pull request #2329 from TDT-AG/pr/20181123-luci-theme-materialJo-Philipp Wich
luci-theme-material: add missing css cbi-section-error definitions
2018-11-27Merge pull request #2335 from shunjou/material-faviconJo-Philipp Wich
luci-theme-material: add new favicon
2018-11-27Merge pull request #2309 from rbalik/patch-1Jo-Philipp Wich
luci-mod-network: Add DAE settings to security tab
2018-11-27Merge pull request #2336 from TDT-AG/pr/20181127-luci-app-openvpnJo-Philipp Wich
luci-app-openvpn: Add missing config options
2018-11-27luci-base: dispatcher: use consistent orderingJo-Philipp Wich
Use the same ordering logic for building the dispatch tree and for querying the children of a given node. Fixes #2338. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27luci-base: dispatcher: remove tree modifier supportJo-Philipp Wich
This feature was never used, is hardly documented and appears to be designed to fiddle with the internal dispatch tree state. Given that, simply drop the related code to simplify the dispatcher class somewhat. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27luci-theme-bootstrap: allow tabmenus to wrap (#2333)Jo-Philipp Wich
Allow the tab menu line to wrap around on narrow screens to fix the issue reported in PR #2333. Also add the .nowrap utility class to the Bootstrap theme while we're touching it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27luci-app-openvpn: add missing ncp_ciphers optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing verify_client_cert optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing compress optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: predefining the dropdown for the cipher optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing ncp_disable optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27luci-app-openvpn: add missing allow_recursive_routing optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-26luci-theme-material: add new faviconshunjou
Also remove logo.png as it is unused. Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-26Merge pull request #2331 from dibdot/ovpnDirk Brenken
luci-app-openvpn: "final" changeset
2018-11-26luci-app-openvpn: "final" changesetDirk Brenken
* add 'auth-user-pass' edit section in file mode (see screenshot) * add port & protocol detection in file mode (see screenshot) * don't mix file & normal edit modes any longer * add CC compatibility fix (for turris devices) * fix/refine JS instance name filter * remove needless CSS rules * unlink ovpn/auth files on section removal * commit changes instantly (Add/Upload/Delete) Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-25luci-mod-network: adapt to current 802.11r defaultsHannu Nyman
The default for 802.11r option ft_psk_generate_local was changed a few months ago by openwrt/openwrt@3cc56a5 That change was a bit awkward, as it made hostapd to overlook the possibly existing r0kh values by default unless the user explicitly disables the new default. Adapt LuCI by changing the default for ft_psk_generate_local into 'enabled'. But ensure that LuCI does not delete the existing key values by not making the r0kh and r1kh fields to depend on this. Note that this is just a quick fix for the wrong default value causing problems, but not yet a complete fix for all the options. In the long run it might be better to make the detail options to depend on local generation. Reference also to LuCI PR #2102 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-24luci-mod-network: remove debug code from iface_status.jsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24luci-base: CSS accessibility improvements for modal dialogJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: move wifi and iface status JS into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: move wifi scan JS into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-base: modal accessibility fix, wrap XHR.stop()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: wifi scan CSS tweaksJo-Philipp Wich
Hide less important fields for mobile views. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-system: sshkeys CSS tweakJo-Philipp Wich
Overflow pubkey preview to the left, not to the right. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-theme-bootstrap: add responsive CSSJo-Philipp Wich
Add responsive CSS to improve the rendering on small screen devices. Tested on Mobile Safari using an iPhone 5 and iPhone 6, ymmv for other platforms. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-theme-material: add missing css cbi-section-error definitionsFlorian Eckert
Add the missing error css class definitions. Highlights the wrong inputs detected by the cbi validation function. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-23Merge pull request #2328 from tano-systems/fix-translate-argJo-Philipp Wich
luci-mod-network: fix invalid translate() argument pass
2018-11-23luci-mod-network: fix invalid translate() argument passAnton Kikin
We must pass to the translate() a string without substituted zone name. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-22Merge pull request #2325 from YuriPet/masterJo-Philipp Wich
luci-base & luci-app-opkg: update Ukrainian translation
2018-11-22luci-base: do not trigger form action when revealing passwordJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/2327 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-app-opkg: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-11-22luci-base: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-11-22luci-mod-status: move index and iptables page JS code into external filesJo-Philipp Wich
Also adjust the Bootstrap and OpenWrt themes accordingly Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-network: move wifi overview markup and JS code into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-network: move interface overview JS into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-base: move DOM manipulation functions to luci.jsJo-Philipp Wich
Introduce a new luci.dom class which groups the DOM manipulation helpers such as E(), findParent(), matchesElem() etc. Provide wrappers for the old functions to ease the transition to the new functions. Also add a new widget helper function L.itemlist() which consolidates the item enumeration formatting code found on various pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-app-opkg: allow presetting filter via query attributeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-system: move password and sshkey JS code into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-app-opkg: move JS code into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-base: cbi.js: remove functions moved to luci.jsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-base: introduce common JavaScript apiJo-Philipp Wich
Introduce a new script file luci.js which is included by default and intended to be the common location of functions currently scattered in cbi.js and xhr.js. The luci.js file provides a LuCI() class which - among other things - implements helpers to construct URL paths and making HTTP requests. A singleton instance of the class is instantiated as window.L upon load and preset with the necessary environment information. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22build: add build option to minify *.js filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22Merge pull request #2323 from musashino205/l10n/base-upd-jaDirk Brenken
luci-base: update Japanese translation
2018-11-22Merge pull request #2317 from TDT-AG/pr/20181121-luci-app-openvpnDirk Brenken
luci-app-openvpn: redirect to overview page on save/apply, hide boolean by default and cleanup code
2018-11-22luci-app-openvpn: do not show all boolean option by defaultFlorian Eckert
If a new instance is edit then all boolean option are shown on the LuCI. This is confusing. To fix this hide all boolean ellements on the config page which are not enabled by default. They must be add first. Signed-off-by: Florian Eckert <fe@dev.tdt.de>