summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2019-07-01luci-mod-system: fix flash activity trigger nameMartin Schiller
The former name "Flashmemory write access" is wrong. The triggers also indicate read/erase access to the flash memories. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-28luci-base: show niced processes on Status/Processes pageHannu Nyman
Modify the process status filter to allow also the processes with a nice value to be visible on the Status/Processes page. Filter out the top process itself. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-28luci-mod-system: fix some led trigger name translationsMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-28Merge pull request #2061 from Ansuel/improveconnFlorian Eckert
luci-mod-admin-full: improve connection page lookup loop
2019-06-26luci-mod-network: os-release variables have been renamed to OPENWRT_Bjørn Mork
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release variables") changes the prefix of the os-release variables from LEDE_ to OPENWRT_. Use the new name. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-06-22luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-06-12luci-mod-system: prevent clearing rc.local on unrelated submit actionsJo-Philipp Wich
Fixes: #2760 Fixes: 1c09ee5e4 ("luci-mod-system: fix SimpleForm usage on file editing pages") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-12luci-base: update Traditional Chinese translationPerry Thompson
Signed-off-by: Perry Thompson <contact@ryper.org>
2019-06-11luci-base: update Traditional Chinese translationa962702
update Traditional Chinese translations. Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-11luci-base: update Traditional Chinese translationAndy
update Traditional Chinese translation. Signed-off-by: Andy Yun <a962702@yahoo.com>
2019-06-09i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-05luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-05luci-mod-system: fix SimpleForm usage on file editing pagesJo-Philipp Wich
When a value identical to the stored one is submitted, the CBI framework will not emit an option write event and therfore not store the value in the form data dictionary passed to SimpleForm.handle(). This usage pattern usally works be accident for file editor views such as admin_system/crontab because \r\n windows style line endings are substituted with unix \n ones before writing the data, defeating the equality check in CBI. When a single line without trailing newline is submitted however, the CBI will not see a difference to the data stored in the file and clear out the value on subsequent saves. This commit alignes the logic used by various SimpleForm views to behave identically and predictable: - File data is handled in the SimpleForm.handle() callback - The forcewrite property is used to disable equality checks - Submission of an empty string empties the backing file Fixes: #2737 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-04luci-base: fix duid_to_mac reference in status.luaDirk Brenken
* fix for openwrt/packages#9148 Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-03luci-base: handle dhcp lease from odhcpdAnsuel Smith
Currently only the dnsmasq lease file is read for hostname hint. If someone use only odhcpd as dhcp daemon the hostname resolution on wifi_assoc list is broken. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-06-03luci-base: adds duid_to_mac to sys.luaAnsuel Smith
Move duid_to_mac function from status.lua to sys.lua. Implement translation from DUID-LL without header to MAC Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-05-29Merge pull request #2670 from TDT-AG/pr/20190410-luci-mod-networkFlorian Eckert
luci-mod-network: move auto option to general tab
2019-05-25Merge pull request #2174 from rosysong/lease-statusFlorian Eckert
luci-base: drop ipv6 lease status when IPV6 is not support
2019-05-18luci-base: Update German translationLars Kruse
The following changes are included: * properly handle "Präfix" as neuter * add missing hyphens to many appearances of "Präfix" * fix spelling * add few missing translations Signed-off-by: Lars Kruse <devel@sumpfralle.de>
2019-05-17Merge pull request #2716 from castillofrancodamian/baseHannu Nyman
luci-base: Update Spanish translation
2019-05-17luci-base: zh_CN: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-05-16luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-15luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-05-13luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-05-13i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-05-09Merge pull request #2687 from HenryGiraldo/masterJo-Philipp Wich
luci-mod-admin-full: add dependency for channel auto
2019-05-07luci-mod-admin-network: fix VLAN "add" button for empty switchesJo-Philipp Wich
Fixes OpenWrt FS#2270. Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-06luci-base: remove interface from zone upon deletionJo-Philipp Wich
Fixes: #2690 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-02luci-mod-admin-full: improve connection page lookup loopAnsuel Smith
Currently the lookup loop is very inefficient. This improve the lookup loop by moving the entities to a separate array and adds them only one time. Every entities is checked 3 times, after that it will be moved to dns cache as a raw addres (not resolved). This also introduce the Type column to identify common packet using the source port. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-05-02luci-mod-admin-full: add dependency for channel autoEnrique Giraldo
Do not show 'auto' channel option if hostapd is not compiled with CONFIG_ACS Signed-off-by: Enrique Giraldo <hgiraldos@gmail.com>
2019-04-30luci-base: luci.model.network: simplify is_auto()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-30Merge pull request #2620 from TDT-AG/pr/20190311-luci-mod-systemFlorian Eckert
luci-mod-system: add button to sync with ntp server
2019-04-25luci-mod-network: add auto start hintFlorian Eckert
Make the information if the interface is started on boot visible on the interface overview page. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-25luci-mod-network: add is_auto option to iface_statusFlorian Eckert
Make interface information is_auto available. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-25luci-base: add is_auto functionFlorian Eckert
Add missing is_auto getter function. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-24Merge pull request #2443 from TDT-AG/pr/20190109-luci-mod-system-passwordFlorian Eckert
luci-mod-system: add password strength info
2019-04-23Merge pull request #2681 from dibdot/shadowsocks-fixJo-Philipp Wich
luci-app-shadowsocks-libev: fix cidr datatype
2019-04-23luci-app-shadowsocks-libev: fix cidr datatypeDirk Brenken
* add a new 'cidr' alias datatype to fix #2671 Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-04-20luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-04-12luci-mod-system: add "KiB" to translatable stringsAnton Kikin
Also changed original "kiB" to "KiB" in accordance with IEEE 1541-2002. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-04-10luci-mod-network: move auto option to general tabFlorian Eckert
Since openwrt-18.06 the auto option is set/unset if we press connect/disconnect on the interface page. So I think we should move this to the general tab so that we see at once if this is started on boot or not. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-08luci-mod-network: fix bad unicode comma in network.jsJo-Philipp Wich
Fixes: 5624b36fa ("luci-mod-network: fix page refresh after interface reconnect") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08luci-mod-status: Remove port suffix where not applicableOlli Asikainen
Submitted-by: Olli Asikainen <olli.asikainen@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08Merge pull request #2642 from TDT-AG/pr/20190329-luci-baseJo-Philipp Wich
luci-base: add cbi tsection error msg option
2019-04-08luci-mod-status: convert bytes into KB / MB / GB on progress barClaudio Marelli
Currently on the system status page the the memory usage is shown in kB only. If you have a system with 1 GB of Ram its hard to read the large numbers. This automatically formats the byte numbers more human readable into KB / MB / GB. Submitted-by: Claudio Marelli <camarelli@gmx.net> [squash commits, rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08luci-base: luasrcdiet: switch to scm clone and fix tarball nameJo-Philipp Wich
Switch the LuaSrcDiet download to direct cached SCM clones and fix the tarball name while we're at it. Supersedes: #2522 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08luci-mod-network: fix page refresh after interface reconnectJo-Philipp Wich
Submitted-by: "taeasy" <88336@live.com> [reword commit subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-02luci-base: increase max size of network dropdownsJo-Philipp Wich
Fixes: #2646 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-03-29luci-base: add cbi tsection error msg optionFlorian Eckert
In some situation it is usefull to inform the use that this section could not get delete, because this config is referenced or is in use. Example pseudo code: function s.remove(self, sid) <check if secation could get deleted> if output == nil then self.error_msg = translatef("Unable to remove this section") return nil end end Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-03-27luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>