summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-09-19luci-base: form.js: add support for dynamic default valuesJo-Philipp Wich
Many uci options have different implicit defaults, depending on the values of other related options. A prominent example is the wireless ieee80211w option which defaults to 2, 1 or 0 depending on whether the encryption is set to wpa3-sae, wpa2/wpa2 mixed or any other mode respectively. Add the ability to specify a dictionary of default values and their corresponding dependencies in order to be able to express such configurations. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-base: ui.js: mark user-changed widgetsJo-Philipp Wich
Set a `data-changed=true` attribute on the widget element when the user did any change to the default value. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-base: form.js: fix default click action of button optionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-base: ensure that button labels are properly html escapedJo-Philipp Wich
Fixes: #3067 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-system: system.js: simplify btn actions, use feature flagsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18Merge pull request #3080 from castillofrancodamian/masterHannu Nyman
luci-base and apps: update Spanish translation
2019-09-18luci-base: network.js: filter invalid mac addressesJo-Philipp Wich
Only consider valid ethernet mac addresses when building the device state from raw getifaddrs() information. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-network: interfaces.js: derive status from layer 3 deviceJo-Philipp Wich
Align the status column device selection logic with the approach used for rendering the interface status boxes; first try to obtain the active layer3 device as reported by ubus, only then fall back to the protocol specific device hint which might or might not point to an existing device. Fixes: #3076 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-base: network.js: get low level device details from getifaddr() infoJo-Philipp Wich
Fixes: #3078 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-system: disable redundant page actions in crontab, startup viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17luci-base and apps: update Spanish translationFranco Castillo
Update of the Spanish translation of luci-base and some LuCI applications. * luci-base * adblock * advanced-reboot * aria2 * banip * ddns * firewall * mjpg-streamer * mwan3 * ntpc * simple-adblock * travelmate * vpnbypass * wifischedule * wireguard Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-17Merge pull request #3074 from TDT-AG/pr/20190916-flashops-german-translationFlorian Eckert
luci-base: fix german translation for factory reset hint
2019-09-17Merge pull request #3063 from TDT-AG/pr/20190908-luci-app-statisticsFlorian Eckert
luci-app-statistics: Add new plugin options
2019-09-17luci-proto-wireguard: fix preshared key validationJo-Philipp Wich
Ensure that the preshared key option remains optional. Fixes: #3075 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17luci-mod-system: remplement dropbear settings as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-16luci-base: fix german translation for factory reset hintMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-09-16luci-mod-system: remplement password change as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-15luci-mod-system: reimplement SSH key mgmt as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-16luci-base: add luci/setPassword rpc method, dropbear feature flagJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17luci-base: luci.js: render view buttons depending on available functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-16luci-base: form.js: implement JSONMapJo-Philipp Wich
Implement a new map type JSONMap which uses a JSON data structure instead of uci as configuration data backend. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-15Merge pull request #3069 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation
2019-09-15luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-15i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-14luci-base: luci.js: append version when dynamically loading classesJo-Philipp Wich
This allows for some naive cache busting when the LuCI version changes, to avoid loading outdated classes from cache. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-14luci-base: cbi.js: update dependencies after widgets have been renderedJo-Philipp Wich
Fixes: #3066 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-14luci-base: network.js: register "none" protocolJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13Merge pull request #3024 from TDT-AG/pr/20190829-material-logoFlorian Eckert
luci-theme-material: show logo also on login page
2019-09-13luci-mod-network: wireless.js: restore mac hints in mac list widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13luci-base: network.js: implement Hosts.getMACHints()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13luci-app-statistics: add ping stddev definitionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13luci-app-statistics: cleanup ping definitionsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13luci-app-statistics: update license header in memory definitionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13luci-app-statistics: add new memory plugin optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13luci-app-statistics: add new cpu plugin optionsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-13luci-base: fix ip6hint option dependencies and validationJo-Philipp Wich
Ref: https://forum.openwrt.org/t/odhcpd-make-lease-file-persistent/44118/8 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13Merge pull request #3060 from tano-systems/pr/update-ru-i18nJo-Philipp Wich
luci-base: Update Russian translation
2019-09-13luci-base: Update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-09-12Merge pull request #3059 from castillofrancodamian/masterHannu Nyman
luci-base: update Spanish translation
2019-09-12luci-base: update Spanish translationFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-12luci-base: update Spanish translationFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-12luci-mod-system: improve LED configuration pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-base: sys.lua: fix init script enable actionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: add heading to startup page, improve error reportingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: reimplent system/crontab as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-base: whitelist file/write actions on /etc/rc.localJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: restore rc.local editing functionalityJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-system: reimplent system/startup as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-base: rpc.js: fix list requests, handle aborted http requestsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-base: fix list method handling in ubus-rpc protocol proxyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>