summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2019-09-24Merge pull request #2357 from Ansuel/masteroJo-Philipp Wich
luci-mod-network: add master option
2019-09-24luci-mod-system: system.js: use more concise label for use_dhcpJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-base: adds italian translation for master descriptionAnsuel Smith
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-base: sync translationsAnsuel Smith
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-network: add master optionAnsuel Smith
Adds option to set interface as master in dhcpv6 relay mode. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-system: system.js: expose use_dhcp NTP optionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: reimplement flashops as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-system: startup.js: fix syntax errorJo-Philipp Wich
Fixes: f3ff641d8 ("luci-mod-system: ensure that textarea contents are properly escaped") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: wireless.js: properly handle SAE in join confirmationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: interfaces.js: map remove action to network.deleteNetwork()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-base: network.js: fix deleteNetwork() implementationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-base: form.js: do not inherit map tabbing to nested sectionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-base: form.js: allow overriding remove action in Table/GridSectionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: wireless.js: prompt for passphrase when joining SAE netJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: resort zonePromise orderChen Minqiang
This fix #3103 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-09-23luci-mod-system: ensure that textarea contents are properly escapedJo-Philipp Wich
Fixes: #3090 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-22luci-base: form.js: do not add title attributes for untitled optionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: update Ukrainian translationYurii
Corrected my typo. Signed-off-by: Yurii <yuripet@gmail.com>
2019-09-21Merge pull request #3042 from muink/patch-1Florian Eckert
luci-base: hosts.js: Update chinese translations
2019-09-21luci-base: update Ukrainian translationYurii
Update Ukrainian translation according the latest translation resync. Сorrections and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-09-21Merge pull request #3093 from castillofrancodamian/masterHannu Nyman
luci-base: update Spanish translation
2019-09-21luci-base: update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-21luci-mod-system: remove unused controller actionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-mod-system: mounts.js: preload fstab uciJo-Philipp Wich
Preload the uci configuration on page load to avoid accidential double rendering of the globals section and mount overview table. Fixes: e39ab8725 ("luci-mod-system: mounts.js: implicitely create globals section") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-mod-system: mounts.js: implicitely create globals sectionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-mod-system: remplement fstab settings as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: add rpc methods for mount managementJo-Philipp Wich
This commit introduces the new methods luci/getBlockDevices, luci/setBlockDetect, luci/getMountPoints, luci/setUmount in preparation for the reworked mount point management. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: tie cached system features to user sessionJo-Philipp Wich
Store the cached system feature flags keyed by the current session id, this ensures that the features are refreshed on login. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: network.js: don't batch wireless scan requestsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: rpc.js: increase default timeout to 20s, allow batch preventionJo-Philipp Wich
Support a new option "nobatch: true" in rpc.declare() which prevents the underlying RPC call from being batched with other calls. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: luci.js: improve XHR issue diagnosticsJo-Philipp Wich
Differentiate between request timeouts and other error reasons. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-21luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-21luci-base: use old translation for "Gateway Ports"INAGAKI Hiroshi
This text is replaced from "Gateway ports" in f878b21c8c4ef9444a9de6bc02b58ed4f91b0b2d. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-21luci-base: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-20luci-mod-network: sort wifi encryption by strength and popularityJo-Philipp Wich
Fixes: #3082 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: fix key option quirk when switching wep and wpa modesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=2 for OWEJo-Philipp Wich
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/hostapd/files/hostapd.sh;h=46acbefeeeb771de879dd9926ad170042dff2473;hb=HEAD#l327 Fixes: 63f28fd06 luci-mod-network: default to ieee80211w=1 for OWE Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-base: form.js: only update option default if cfgvalue is nullJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=1 for OWEJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: wireless.js: fix parsing of wep key slot cfgvalueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-mod-network: wireless.js: fix disabled state on disabled radioJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-mod-network: wireless.js: select proper 11w default for WPA3 modesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-base: proto_dhcp.lua: Update chinese translationsmuink
Signed-off-by: muink <hukk1996@gmail.com>
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>