summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
AgeCommit message (Collapse)Author
2019-07-26luci-base: keep polling confirmation endpoint on XHR failuresJo-Philipp Wich
Fixes: #2912 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-26luci-base: form.js: pass-through placeholder option of CBIListValueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-26luci-base: ui.js: HTML escape uci changelog valuesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-26luci-base: ui.js: HTML escape custom dropdown valuesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-26luci-base: ui.js: fix event binding for UISelectJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: remove accidentally committed codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: add conntrack_helpers ubus procedureJo-Philipp Wich
Also move firewall specific ACLs into separate group. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: widgets.js: implement CBIDeviceSelect netdev pickerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: widgets.js: handle devices or subnets in CBIZoneForwardsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: firewall.js: add zone.getDevices() and zone.getSubnets() gettersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: widgets.js: CBIZoneSelect: improve initial renderingJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/2889 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22luci-base: widgets.js: CBIZoneSelect: fix availability of "device" choiceJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/2889 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-21luci-app-firewall: fix cbi form for rulesJo-Philipp Wich
- Set src/dest defaults only in initial section create state, otherwise it is impossible to specify output rules - Get rid of dest_remote/dest_local widget switching and implement change logic directly in tools.widgets.CBIZoneSelect - Remove leftover debug code Ref: https://github.com/openwrt/luci/issues/2889 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-21luci-base: correct spelling mistake in Ukrainian translationYurii
Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-20luci-base: Update Ukrainian translationYurii
Update Ukrainian translation according the latest translation resync. Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-20luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-07-19luci-base: Update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-07-19luci-base: update german translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19luci-base: resync base translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19luci-base: render default values for all server side cbi map widgetsJo-Philipp Wich
Fixes: 9c7eb1dec ("luci-base: switch from server side to client side widget markup") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19luci-base: ui.js: fix multi vs. multiple keyword confusionJo-Philipp Wich
The "luci.form" and "luci.tools.widgets" classes use the "multiple" keyword while ui.js uses "multi" internally, leading to single-value dropdowns widget values getting stored as uci lists. Fix the issue by using "multiple" everywhere. Fixes: #2871 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-16luci-base: update Ukrainian translationYurii
Updates, fixes and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-15luci-base: fix Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-07-14Merge pull request #2859 from castillofrancodamian/baseFlorian Eckert
luci-base: Update Spanish translation
2019-07-13luci-base: Update Spanish translationFranco Castillo
Update Spanish translation. Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-07-13luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-07-13luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-13i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-13luci-base: fix translatable text in ui.jsINAGAKI Hiroshi
Removed unnecessary symbols ("%>") at the end of the text. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-12luci-base: luci.js: add Promise.finally polyfillJo-Philipp Wich
Fixes: #2854 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-12luci-base: update Ukrainian translationYurii
Updates, fixes and additions. Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-12luci-base: ui.js: fix UISelect.setValue()Jo-Philipp Wich
Fixes: #2852 Fixes: ce04d7f ("luci-base: fix label-to-input association in js cbi maps") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-11luci-base: luci.js: only use overrideMimeType when supportedJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-11luci-base: validation.js: fix nested function declarationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-11luci-base: ui.js: fix UISelect.getValue()Jo-Philipp Wich
Fixes: #2852 Fixes: ce04d7f04 ("luci-base: fix label-to-input association in js cbi maps") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-10luci-base: luci.js: fix undefined "this" when /ubus/ is unavailableJo-Philipp Wich
Fixes: #2850 Fixes: 66dfe64ca ("luci-base: luci.js: cache determined RPC base url in session storage") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-10luci-base: luci.js: cache determined RPC base url in session storageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-09luci-base: properly handle getWifiNetidBySid() return valueJo-Philipp Wich
The getWifiNetidBySid() helper returns an array containing the network id and the corresponding radio name, not just the id. Fixes: #2846. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-09luci-base: fix label-to-input association in js cbi mapsJo-Philipp Wich
Fixes: #2845 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-08luci-base: use native ubus HTTP gateway if availableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-08luci-base,luci-mod-system: split ubus localtime into get and set callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-08luci-base: add rpcd ACL rulesJo-Philipp Wich
Add required ACL rules to allow access to the native ubus HTTP interface directly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07Revert "luci-base: luasrcdiet: switch to scm clone and fix tarball name"Jo-Philipp Wich
This reverts commit faa5f0eacd2b2c90c33a75ee1e7fd3ec776601af. Fixes: #2834 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: mvalue.htm: fix reading back multi value optionsJo-Philipp Wich
Fixes: 2a229e50c ("luci-base: fix cbi mvalue templates") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: fix cbi mvalue templatesJo-Philipp Wich
Fixes: 9c7eb1dec ("luci-base: switch from server side to client side widget markup") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: network.js: dynamically calculate IPv4 netmasksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07treewide: switch to shared isObject(), toArray() and sortedKeys() helpersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: luci.js: add isObject(), toArray() and sortedKeys() helperJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: form.js: reload map data when saving modal formsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-base: widgets.js: add textvalude representation for network selectJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>