summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-03-22luci-theme-material: add back removed color variablesDaniel Nilsson
Partially reverts 2bdabf14c30320ef0433828b1a080f6b8fe9c430 by adding back the deleted color variables as the custom.css was used by users to override the theme with their own colors. To maintain backwards compatibility with users we should not remove/rename these as it will result in colors being applied incorrectly. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-19luci-app-attendedsysupgrade: clear request hash before every build requestDaniel Nilsson
Since commit b2ad5d724ef8d0f248080109b7098626e5b5c40c enables you to do multiple searches for a firmware upgrade without reloading the page, it was discovered that if the request hash is not reset, you will get the previous build with that specific request hash as the response even if you select new packages. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-19luci-app-attendedsysupgrade: move init of rpc data into load functionDaniel Nilsson
Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-19luci-app-attendedsysupgrade: don't reassign data and firmware infoDaniel Nilsson
The reassignment of the variable that holds the package information once you get a response from the sysupgrade server caused the package list (which is only loaded once when entering the app) to become an array instead of an object (since that's how the response is structured), which gave the result of once cancelling the firmware upgrade, the package list is now an array, making the package list unusable. This commit updates the variables that shouldn't be changed (data and firmware) to constants and all handle methods to take these values as parameters instead, allowing us to avoid the possible reassignment which will otherwise result in unexpected control flows. Ref: #6284 Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-19luci-lua-runtime: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-compat: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-jsonc: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-iptparser: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-ipkg: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-httpprotoutils: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-httpclient: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-lib-base: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-ssl-openssl: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-theme-openwrt-2020: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-theme-openwrt: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-theme-material: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-qmi: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-xfrm: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-wireguard: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-vxlan: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-vti: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-unet: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-sstp: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-relay: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-openfortivpn: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-openconnect: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-ncm: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-modemmanager: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-mbim: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-ipip: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-gre: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-external: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-bonding: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-batman-adv: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-autoip: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19luci-proto-3g: add missing license informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-18luci-app-travelmate: disable vpn processing by defaultDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2024-03-18Merge pull request #6998 from dannil/dockerman-networks-nullJo-Philipp Wich
luci-app-dockerman: check for existing IPAM config
2024-03-17luci-app-dockerman: check for existing IPAM configDaniel Nilsson
This was added in upstream with https://github.com/lisaac/luci-app-dockerman/commit/7292955a1b415bb60fa2e403bb3a437b4b7f7846 so should be fine for us to add it. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-17Revert "luci-base: force menu to regenerate after uci change"Hannu Nyman
This reverts commit 97ebdcbddb9cad76dc551086fcb887e55886a069. The commit seems to cause errors already before the login screen. Discussion in https://github.com/openwrt/luci/commit/97ebdcbddb9cad76dc551086fcb887e55886a069#commitcomment-139871175 Errors like: In error(), file [C] called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23) called from function ((tail call)) In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 148, byte 45: called from function build_pagetree (/usr/share/ucode/luci/dispatcher.uc:382:73) called from function menu_json (/usr/share/ucode/luci/dispatcher.uc:439:26) called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:898:24) called from anonymous function (/www/cgi-bin/luci:39:13) ` return lcall.call(modname, method, ...args);` Near here ----------------------------------------^ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-03-17Translated using Weblate (Spanish)Hosted Weblate
Currently translated at 9.4% (7 of 74 strings) Translation: OpenWrt/LuCI/applications/xinetd Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxinetd/es/ Translated using Weblate (Spanish) Currently translated at 11.7% (2 of 17 strings) Translation: OpenWrt/LuCI/applications/eoip Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationseoip/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (21 of 21 strings) Translation: OpenWrt/LuCI/applications/tor Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstor/es/ Translated using Weblate (Spanish) Currently translated at 100.0% (21 of 21 strings) Translation: OpenWrt/LuCI/applications/tor Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstor/es/ Translated using Weblate (Lithuanian) Currently translated at 100.0% (85 of 85 strings) Translated using Weblate (Lithuanian) Currently translated at 64.4% (127 of 197 strings) Translation: OpenWrt/LuCI/applications/ddns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/lt/ Translated using Weblate (Spanish) Currently translated at 100.0% (125 of 125 strings) Translation: OpenWrt/LuCI/applications/privoxy Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/es/ Translated using Weblate (Polish) Currently translated at 100.0% (85 of 85 strings) Translated using Weblate (Spanish) Currently translated at 100.0% (85 of 85 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (280 of 280 strings) Translated using Weblate (Lithuanian) Currently translated at 86.6% (39 of 45 strings) Translation: OpenWrt/LuCI/applications/cloudflared Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscloudflared/lt/ Translated using Weblate (Lithuanian) Currently translated at 36.6% (44 of 120 strings) Translation: OpenWrt/LuCI/applications/usteer Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsusteer/lt/ Translated using Weblate (Lithuanian) Currently translated at 65.1% (43 of 66 strings) Translation: OpenWrt/LuCI/applications/sshtunnel Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssshtunnel/lt/ Translated using Weblate (Lithuanian) Currently translated at 100.0% (280 of 280 strings) Translated using Weblate (Lithuanian) Currently translated at 17.5% (7 of 40 strings) Translated using Weblate (Lithuanian) Currently translated at 56.0% (111 of 198 strings) Translation: OpenWrt/LuCI/applications/smartdns Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssmartdns/lt/ Translated using Weblate (Lithuanian) Currently translated at 100.0% (2371 of 2371 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/lt/ Translated using Weblate (Korean) Currently translated at 100.0% (2 of 2 strings) Translation: OpenWrt/LuCI/applications/olsr-viz Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr-viz/ko/ Translated using Weblate (Korean) Currently translated at 47.3% (18 of 38 strings) Translation: OpenWrt/LuCI/applications/advanced-reboot Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/ko/ Translated using Weblate (Korean) Currently translated at 6.1% (23 of 376 strings) Translated using Weblate (Korean) Currently translated at 24.4% (33 of 135 strings) Translated using Weblate (Korean) Currently translated at 29.1% (690 of 2371 strings) Translation: OpenWrt/LuCI/modules/luci-base Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ko/ Translated using Weblate (Spanish) Currently translated at 100.0% (45 of 45 strings) Translation: OpenWrt/LuCI/applications/cloudflared Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscloudflared/es/ Translated using Weblate (Spanish) Currently translated at 24.2% (8 of 33 strings) Translation: OpenWrt/LuCI/applications/v2raya Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsv2raya/es/ Translated using Weblate (Spanish) Currently translated at 23.9% (11 of 46 strings) Translation: OpenWrt/LuCI/applications/xfrpc Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsxfrpc/es/ Translated using Weblate (Spanish) Currently translated at 96.9% (64 of 66 strings) Translation: OpenWrt/LuCI/applications/sshtunnel Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssshtunnel/es/ Translated using Weblate (Spanish) Currently translated at 96.2% (362 of 376 strings) Translated using Weblate (Hebrew) Currently translated at 37.0% (50 of 135 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (40 of 40 strings) Translated using Weblate (Russian) Currently translated at 100.0% (40 of 40 strings) Translated using Weblate (Polish) Currently translated at 100.0% (40 of 40 strings) Co-authored-by: Džiugas J <dziugas1959@hotmail.com> Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Matthaiks <kitynska@gmail.com> Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com> Co-authored-by: gallegonovato <fran-carro@hotmail.es> Co-authored-by: st7105 <st7105@gmail.com> Co-authored-by: try496 <pinghejk@gmail.com> Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org> Co-authored-by: 이정희 <daemul72@gmail.com> Signed-off-by: Džiugas J <dziugas1959@hotmail.com> Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com> Signed-off-by: gallegonovato <fran-carro@hotmail.es> Signed-off-by: 이정희 <daemul72@gmail.com> Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/lt/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/he/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ko/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/es/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/lt/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/pl/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/lt/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/pl/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/ru/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/zh_Hans/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/es/ Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ko/ Translation: OpenWrt/LuCI/applications/firewall Translation: OpenWrt/LuCI/applications/nut Translation: OpenWrt/LuCI/applications/opkg Translation: OpenWrt/LuCI/applications/p910nd Translation: OpenWrt/LuCI/applications/statistics
2024-03-17widgets: add a re-useable filtered logread viewKarl Palsson
Multiple apps introduced their own implementation of a syslog view, filtered for just their own application logs. Pull that out as a shared view. Some of these had _minor_ style differences, which has been "standardized" now. A full "widget" conversion would allow more end app tuning of that, but is not implemented. Signed-off-by: Karl Palsson <karlp@etactica.com> app-nextdns: fix Logs title Minor typo, introduced in 625abbf (convert simple controllers to menu.json) Signed-off-by: Karl Palsson <karlp@etactica.com> luci-base: implement shared log reader view Closes #5452 Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-03-17luci-base: force menu to regenerate after uci changeJames Haggerty
Because the menu JSON can have 'depends' in them, uci changes should force the menu to regenerate. Closes #6423 Signed-off-by: James Haggerty <james.haggerty@morsemicro.com> Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-03-17luci-base: ui.js: avoid polling in a tight loop on confirm/rollbackErik Karlsson
The call function was based on the legacy XHR interface and it has not been updated to comply with the new request interface which passes the duration as part of the response object rather than as a separate argument. This resulted in polling in a tight loop in certain cases since the duration was undefined. In addition there is no need to adjust apply_holdoff based on elapsed time as no significant amount of time has elapsed at this point. Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
2024-03-16luci-proto-ipv6: Add support for IPIP6(RFC2473) tunnelArayuki Mago
Add Generic Packet Tunneling in IPv6 Specification (RFC 2473) support. Signed-off-by: Arayuki Mago <ms@missing233.com>
2024-03-16luci-app-opkg: add warning about modifying packagesDaniel Nilsson
It is a well-known fact that opkg doesn't check ABI-compatibility between dependencies and upgrading packages in a stable release is therefore not recommended. In addition, installing and removing packages blindly may result in rendering the device inaccessible as well, so caution should be taken when doing this. This commit adds a warning which should help notify especially new users about these behaviors with a link to the wiki which advises to not upgrade packages. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-15Merge pull request #6987 from TDT-AG/pr/20240313-luci-baseFlorian Eckert
luci-base: fix license
2024-03-15luci-base: fix licenseFlorian Eckert
During the update of luasrcdiet with commit b5d5e5bf13e572af7f1589a01bfd338691d5f063 the license was incorrectly changed from 'Apache-2.0' to 'MIT'. As the name implies, this is the basic package that must be installed on the target for the LuCI to work at all. So changing the license from 'Apache-2.0' to 'MIT' should not have happend, because this information belongs to the package 'luci-base' and to the 'luasrcdiet'. Therefore, with commit b0d8fff3e40568af633032aacb0624da16f4266c the 'luasrcdiet' was moved to its own package. However, it was forgotten to adapt the licence to 'Apache-2.0' again. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-15luci-app-xinetd: add missing PKG_LICENSEFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-15luci-app-wol: add missing PKG_LICENSEFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>