summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2019-10-07luci-mod-system: flash.js: use common fs.js classJo-Philipp Wich
Also move the keep settings checkbox above the error messages in the sysupgrade confirmation dialog. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-07luci-mod-system: crontab.js: use common fs.js classJo-Philipp Wich
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: check for sysupgrade with backup possibilityRafał Miłecki
Some firmware images may not support preserving backup. In such cases display a warning and disable relevant checkbox. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2019-10-02luci-mod-system: check if it's possible to force sysupgradeRafał Miłecki
Some validation errors may be critical enough to prevent sysupgrade. Check the "forceable" property and disallow forcing sysupgrade if applicable. It would fail anyway at the "sysupgrade" call. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
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-mod-network: display the mesh ID in wireless overview if applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30luci-base: network.js: implement getMeshID() getterJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30luci-mod-system: allow IPv6 addresses for external syslog serverJo-Philipp Wich
Fixes: #3126 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-27luci-mod-system: fix rerendering of ssh key list after add/removeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-27luci-mod-system: allow deleting all NTP serversJo-Philipp Wich
Fixes: #3121 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-mod-system: flash.js: disable mtdblock downloads on mtd-less systemsJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/3c40a7450a9b7d340cdc9e233818c63a8092fec2#commitcomment-35233073 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25luci-mod-system: flash.js: rename handleReset to handleFirstbootJo-Philipp Wich
Rename the procedure to prevent a name clash with the standard view action which we intentionally disable. Ref: https://github.com/openwrt/luci/commit/3c40a7450a9b7d340cdc9e233818c63a8092fec2#commitcomment-35233207 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-25luci-base: update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-09-25luci-mod-system: flash.js: improve storage size detection heuristicsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-mod-network: permit WPS push-button on WPA3Ansuel Smith
Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
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>