summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
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: 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>
2019-03-11luci-mod-system: add button to sync with ntp serverFlorian Eckert
Especially for systems without RTC this change has two advantages * manual time sync with time server during configuration * test possibility of the time sync over the configured servers Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-03-09luci-mod-network: wifi: Add OWE supportHauke Mehrtens
This allows to select OWE support in the wireless menu when a capable hostapd is installed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-03-09luci-mod-network: wifi: Add WPA3 SAE supportHauke Mehrtens
This checks if the installed hostapd supports SAE and allows to select WPA3 Personal SAE in that case. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-03-05luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-03-01luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-28luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-27Merge pull request #2581 from castillofrancodamian/baseHannu Nyman
luci-base: Update Spanish translation
2019-02-27wifi: add "macaddr" validator to bssid optionYousong Zhou
Resolves FS#1649 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-02-26luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-21luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-13treewide: move freifunk-related packages to separate repoSven Roederer
Even Freifunk was one of the major factory to create the LuCI-system, it's now only a very small part of LuCI. LuCI has become a much bigger thing and it seems that it's time to move the packages only relating to Freifunk into it's own feed. On the mailinglist it was discussed [1] and a repo below the general Freifunk team on github was created. This commit removes all packages that will be hosted in the new repo [2] 1 - http://lists.freifunk.net/pipermail/wlannews-freifunk.net/2019-February/004818.html 2 - https://github.com/freifunk/openwrt-packages Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2019-02-12treewide: avoid double-escaping CBI section labelsJo-Philipp Wich
Since the section labels are already HTML-escaped implicitely by the striptags() function, we must not escape them again in attr() or ifattr(). Fixes: #2524 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12luci-base: dispatcher: support raw values in attr() and ifattr()Jo-Philipp Wich
Extend the attr() and ifattr() template functions to take an optional further parameter indicating that the passed value should not be escaped. This is needed for cases where the input already is escaped through other means, e.g. when the value was previously filtered through the striptags() template helper. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12luci-mod-status: iptables.js: fix parsing IP addresses in rulesJo-Philipp Wich
Rework the regexp pattern to allow both IP addresses without mask and IPv6 addresses with netmask instead of CIDR notation. Fixes: #2495, #2530 Fixes: f6bfac211 ("luci-mod-status: rework iptables status page") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-11luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>