summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
AgeCommit message (Collapse)Author
2019-10-15luci-base: static.js: make IPv6 assignment hint optionalJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-11luci-base: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-10-11luci-base: widgets.js: add user and group selectRichard Yu
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-10-09luci-base: update Ukrainian translationYurii
Corrected typo. Signed-off-by: Yurii <yuripet@gmail.com>
2019-10-09luci-base: update Ukrainian translationYurii
Updating Ukrainian translation according the latest sync translation. Сorrections and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-10-09luci-base: fix CSRF prevention for arcombine targetsJo-Philipp Wich
The dispatcher failed to propagate the child target post security requirements to the arcombine() dispatch target so far - fix this by recursively testing the post security requirements. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-09luci-base: fix typo in german translationMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-10-08luci-base: update Spanish translationFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-10-09luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-10-08i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-10-07luci-base: form.js: fix anonymous section table titlesJo-Philipp Wich
When no section title is defined, the table renderer is supposed to use the uci section id as fallback when the table section is not declared to be anonymous. Fixes: #3147 Fixes: a90bf384b ("luci-base: form.js: harmonize title property handling") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: form.js: treat inactive options as optionalJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: add reboot rpc callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: ui.js: add pingDevice() and awaitReconnect() functionsJo-Philipp Wich
Import these functions from the flash.js for use with other views that might trigger a device reboot. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: ui.js: use common fs.js class for filebrowser operationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: introduce common fs.js helper classJo-Philipp Wich
Introduce a new fs.js helper class to gather filesystem related RPC operations in a single file. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-base: luci.js: add resolveDefault() helperJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-03luci-base: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-10-02luci-mod-system: flash.js: fix "rootfs_data" partition detectionJo-Philipp Wich
The `/sys/devices/virtual/mtd/` information is not available on all devices so rely on the contents of `/proc/mtd` instead to check for the existence of the `rootfs_data` partition. Fixes: #3136 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-02luci-mod-system: use "system" new "validate_firmware_image" ubus methodRafał Miłecki
This new ubus method provides more properly-formatted details about firmware file. Use it to check if uploaded image is valid. The old "sysupgrade --test" method is left for now to provide stderr output. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> [Added missing ACL, add default value for the ubus failure case] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-02luci-base: luci.js, rpc.js, uci.js, network.js: add JSDoc annotationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30Merge pull request #3131 from tano-systems/pr/luci-base-i18n-ruFlorian Eckert
luci-base: update Russian translation
2019-09-30luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-09-30luci-base: network.js: implement getMeshID() getterJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-28timezone data: update to 2019cHannu Nyman
Update timezone data to 2019c http://mm.icann.org/pipermail/tz-announce/2019-September/000057.html 2019c: * Fiji observes DST from 2019-11-10 to 2020-01-12. * Norfolk Island starts observing Australian-style DST. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-09-25luci-base: update Ukrainian translationYurii
Updating Ukrainian translation according the latest sync translation. Сorrections and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-09-25luci-base: update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-24Merge pull request #2756 from Ansuel/wpsJo-Philipp Wich
luci-mod-network: permit WPS push-button on WPA3
2019-09-24luci-base: update translation with changed stringAnsuel Smith
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
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-system: reimplement flashops as client side viewJo-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-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: 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>