summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-03-13luci-app-ocserv: match default value of compressionRaymond Tau
Modify the default setting of compression to match the default value of the package ocserv. Signed-off-by: Raymond Tau <raymondtau@gmail.com>
2018-03-12treewide: unify mac address handlingJo-Philipp Wich
Use the new luci.ip MAC address facilities to parse and verify MAC addresses in a common way, instead of relying on various ad-hoc solutions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12luci-base: fix documentation spelling mistakes in luci.http.protocolJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12luci-base: fix documentation spelling mistakes in luci.utilJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12luci-lib-ip: add MAC address calculation supportJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12luci-lib-nixio: fix spelling mistakes in documentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-11luci-base: fix parsing of ethers(5)Jo-Philipp Wich
The /etc/ethers file may contain any number of white space characters between the mac address and the IP/hostname field, so extend the pattern to allow for that. Man ethers(5) also states that the IP field may be a symbolic hostname, so test whether the name is an IP address or hostname before adding it to the hints structure. Fixes #1674. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-09Merge pull request #1675 from dibdot/material-fixHannu Nyman
luci-base/firewall_zonelist: fix visual interface/background alignment
2018-03-09luci-base/firewall_zonelist: fix visual interface/background alignmentDirk Brenken
* fix for #1667, tested with all standard themes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-08Merge pull request #1671 from dibdot/travelmateDirk Brenken
luci-app-travelmate: remove qrencode short options
2018-03-08luci-app-travelmate: remove qrencode short optionsDirk Brenken
* forthcoming qrencode version will remove the short option "-I" for inline, to get prepared switch to normal qrencode command line parameters. Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-07luci-app-attendedsysupgrade: reload rpcd fix #1668Paul Spooren
when installing the luci app and opening it for the first time the webinterface shows an error as some freshly installed rpcd calls are not yet available. The reload fixes the problem. luci-app-attendedsysupgrade: downloadable image the creted sysupgrade image can now easily be downloaded via web interface. also fixed some </br> to <br /> Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-06luci-app-attendedsysupgrade: show unknown packagePaul Spooren
Reads the header X-Unknown-Package offered by the sysupgrade server and shows it in the error message. Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-06Merge pull request #1653 from guidosarducci/master-fix-apcups-statisticsHannu Nyman
[RFC] luci-app-statistics: only graph data supported by APC UPS
2018-03-05Merge pull request #1662 from dibdot/travelmateDirk Brenken
luci-app-travelmate: fixes for new QR code template
2018-03-04luci-app-travelmate: fixes for new QR code templateDirk Brenken
* remove unofficial 'WPA2' enc. token for better compatibility with certain QR code reader, still 'WPA', 'WEP' and 'nopass' are supported * add WEP key slot support (not really needed, but it's still supported by LuCI wireless) * correct escape single quotes and other special chars in SSID & passwords * code cleanup Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-04Merge pull request #1660 from musashino205/l10n/tmate-upd-jaHannu Nyman
luci-app-travelmate: update Japanese translation
2018-03-04luci-app-travelmate: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-04luci-app-travelmate: sync translationsINAGAKI Hiroshi
Synchronized translations with sources. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-03luci-app-statistics: only graph data supported by APC UPSguidosarducci
Some graph definitions rely on data not supported across all APC UPSes. Due to recent upstream changes in collectd, the daemon no longer creates a NaN-filled .rrd file corresponding to any missing UPS data. Depending on the connected UPS, this may result in some "broken" graphs on the Luci Statistics page since rrdtool cannot find the expected .rrd file. Include the add_supported() function to determine the UPS data available at runtime and update any definitions of graphs to include only supported data. For example, the whole chart stack of AC input and output voltages will normally be "broken" if the UPS only measures AC input voltage. With these changes, the output voltage graph definition is stripped out, allowing the chart to render. Make consistent use of data types and instances in graph definitions. All definitions now use the same format with the 'instances' key. Unnecessary 'types' and 'sources' keys are removed. Fix the definition of 'line frequency' graph, based on upstream collectd apcups plugin code: type is 'frequency' but instance should be 'input'. This also includes some code and whitespace cleanup. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-03Merge pull request #1658 from dibdot/travelmateDirk Brenken
luci-app-travelmate: sync with release 1.1.3
2018-03-02Merge pull request #1652 from TDT-AG/pr/20180301-luci-app-mwan3-fix-status-pageHannu Nyman
luci-app-mwan3: fix status pages
2018-03-02luci-app-travelmate: sync with release 1.1.3Dirk Brenken
* show WiFi QR codes from all configured Access Points Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02luci-base: properly handle undefined IPv6 local-address informationJo-Philipp Wich
If IPv6 prefix assignment is disabled, the "local-address" structure might exist, but be empty which causes the adress formatting in the network model class to bail out. Verify the completeness of the "local-address" structure before using it in order to avoid runtime errors. Fixes #1657. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-02luci-base, luci-mod-admin-full: store backup vars in luci configurationJo-Philipp Wich
Keep the ifname and bridge state backup variables in /etc/config/luci to not pollute /etc/config/network. Fixes #1655. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-01Merge pull request #1656 from musashino205/l10n/adblk-upd-jaDirk Brenken
luci-app-adblock: fix the msgid to keep the translations
2018-03-02luci-app-adblock: fix the msgid to keep the translationsINAGAKI Hiroshi
XHTML markup of "&" in the description about "download queue" was fixed in 71230d2. Since UI text of it no longer matches msgid, I fixed it. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-01luci-mod-admin-full: add hint on backup restoreFlorian Eckert
Add a hint to backup restore that files could remain on the system. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-firewall: only show SNAT template if there are more then one zoneFlorian Eckert
Only show SNAT template if there are more then one zone. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-firewall: on forward rule change preselectionFlorian Eckert
Change the preselection for the src zone to wan and the dest zon to lan because this is the normal situation. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-firewall: only show portforward template if there are more then one ↵Florian Eckert
zone Only show portforward template if there are more then one zone. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-base: fix browser.htm templateFlorian Eckert
If cbi_init() is not called first browser gif will not be found. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: remove css from javascript in overview_status_interfaceFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: Update header name in status pagesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: remove duplicated code sectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: fix source stylingFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: remove css styling from status_interface pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: remove css styling from overview_status_interface pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: fix stack trace if no tacking_ip is set on interface addFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-28Merge pull request #1651 from hafu/ffp-profileHannu Nyman
community-profiles: potsdam - changed SSID
2018-02-28community-profiles: potsdam - changed SSIDHannes Fuchs
After some discussion in our meetings and on the maling list we decided to change the SSID to a fixed one. Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
2018-02-28Merge pull request #1647 from dibdot/adblockDirk Brenken
luci-app-adblock: fix frontend typo
2018-02-27Merge pull request #1648 from dibdot/travelmateDirk Brenken
luci-app-travelmate: sync with release 1.1.2
2018-02-27luci-app-travelmate: sync with release 1.1.2Dirk Brenken
* refine timings & valid input ranges Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-27luci-app-adblock: fix frontend typoDirk Brenken
fix trivial 'msmtp' typo & changed .po files as well Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-20Merge pull request #1633 from dibdot/travelmatedibdot
luci-app-travelmate: sync with release 1.1.0
2018-02-19luci-app-travelmate: sync with release 1.1.0Dirk Brenken
* add an option for the captive portal detection * support the new signal quality treshold (default 30) * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-16luci-base: do not assume a fixed host address in delegated prefix (#1484)Jo-Philipp Wich
OpenWrt/LEDE introduced the "local-address" field a while back to expose the effective local host address of the delegated prefix, so use that information instead of assuming `[prefix]:1`. Fixes #1484. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16luci-base: rework client side IP validation types and support "hostid" typeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16luci-base: fix Lua-side ip6hostid() datatype validationJo-Philipp Wich
A valid host ID as accepted by netifd must meet the following criteria: - Is either one of the two special "random" or "eui64" strings - Or is a valid IPv6 address according to inet_pton(AF_INET6) - Has the first 64 bit set to zero Signed-off-by: Jo-Philipp Wich <jo@mein.io>