summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-08-20luci-app-uhttpd: Bump default key size to 2048 bits for certificatesAlexander Schlarb
More about the currently recommended key sizes: https://www.keylength.com/en/compare/ Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja> Modified to maintain the old minimum of 1024 bits for low-end devices. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit ac8a957191e49b186fcebfa23a2b54e6f7a2f9db)
2017-08-20luci-app-uhttpd: Fix certificate parameter sectionAlexander Schlarb
Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja> (cherry picked from commit ab6485693834f7f66ff280d08abeec6e68265783)
2017-08-07luci-app-nlbw: make display template XHTML compliantJo-Philipp Wich
This allows proper rendering in OpenWrt theme. Fixes #1284. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-05luci-app-nlbwmon: always fetch latest dataJo-Philipp Wich
When displaying the most current accounting period, pass an empty timestamp to the backend in order to query the current in-memory data instead of the latest committed values. This ensures that the dashboard always renders the most current data in its default view. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-05luci-app-nlbwmon: Update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-08-05luci-app-nlbwmon: remove version marker from javascriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-05luci-app-nlbwmon: improve initial viewJo-Philipp Wich
Make sure that placeholder pie charts are rendered, display a hint about yet missing data in the tables and offer a link to force-commit ("Reload") the data. Also fix some mixed white space, an imbalanced dom operation and sync translation template. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-05luci-app-nlbwmon: add missing charting libraryJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-08-05luci-app-nlbwmon: Add Japanese translationINAGAKI Hiroshi
Added po templates and Japanese translation. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-08-05luci-app-nlbwmon: new packageJo-Philipp Wich
This commit introduces luci-app-nlbwmon, a frontend for nlbwmon, the lightweight NetLink BandWidth Montor. The nlbwmon daemon gathers per-host traffic statistics by querying netlink accounting data. Due to this approach, the executable is very small and does not rely on libpcap and CPU intensive raw sockets to monitor traffic. Depends on PR https://github.com/openwrt/packages/pull/4646 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-07-13luci-app-advanced-reboot: initial commitStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net> (cherry picked from commit f6505fc01c8aee4d2f9f7bc7537c3a93cfd5dab1)
2017-07-05luci-app-upnp: fix setting ucitrack init optionYousong Zhou
Fixes FS#693 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit ed11130b84ed6ff95f09c8a482f52fa253555881)
2017-07-05luci-minuupnpd: use enable flagKevin Darbyshire-Bryant
Add a 'master' miniupnpd service enable flag rather than just relying on rcS.d script existence. This allows the service to be disabled across sysupgrade, similar to minidlna. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> (cherry picked from commit 1093327a4ddaf377fde40fdfb8ed168abac4b5eb)
2017-07-05luci-app-miniupnpd: restore missing luci install fileKevin Darbyshire-Bryant
Restore luci indexcache handling incorrect removed in https://github.com/openwrt/luci/commit/387a06bb73462312c075e53ce9e6002d4af09e92 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> (cherry picked from commit 5ef9a3a0097530001db4d3ee317dcd80bdd7f7ca)
2017-06-19luci-proto-openconnect: remove "interface" fieldYousong Zhou
It's not needed anymore and removed in the openconnect package Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit dfd082c53bfb607b0c78973095ab49f831b7e1ac)
2017-06-19luci-proto-openconnect: allow setting mtu, password2Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit cf8146ff6779b5b97933d48a6eda8292b792b36b)
2017-06-12luci-app-ddns: fix to correct system statusChristian Schoenebeck
preset network "wan", if not configured in ddns config to correct display system status #1117 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> [Jo-Philipp Wich: cherry-pick of 3e0492f, fixes #1193] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-10luci-app-statistics: support specifying line width in graph definitionsJo-Philipp Wich
This allows a graph definition to explicitely request LINE1, LINE2 or LINE3 for a data source. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-10luci-app-statistics: support graph menu entries without corresponding labelsJo-Philipp Wich
Properly render menu items for plugin instances that do not have a corresponding label defined. This allows for registering new graph pages solely by dropping files into /usr/lib/lua/luci/statistics/rrdtool/definitions/ Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-02luci-mod-admin-full: automatically set dns=1 for static leases with hostnameJo-Philipp Wich
Most users likely want the hostname of a static DHCP lease to be resolveable, even if the corresponding host is currently offline. Adjust the form logic to automatically set 'option dns 1' whenever a name is specified in the static lease entry. FIxes LEDE FS#815. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01i18n: sync with masterJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-app-commands: Allow executing without downloading on public linkst123yh
Signed-off-by: t123yh <t123yh@outlook.com>
2017-06-01luci-theme-openwrt: fix JavaScript nameingFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-06-01luci-app-hd-idle: removed dashes in menu items and text labelsfantom-x
"hd-idle" replaced with "HDD Idle" in the menu and on the page. All translation files updated accordingly. Signed-off-by: Marc Benoit marcb6218@gmail.com
2017-06-01luci-theme-freifunk: fix a few broken translation directivesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-wireguard: use "Optional" instead of "Optional." as translationJo-Philipp Wich
This allows sharing the translation string with other components. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-mod-admin-full: use "Lease time" instead of "Leasetime" as translation ↵Jo-Philipp Wich
label This allows sharing a common translation string between DHCP and interface pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-ipv6: use "Automatic" instead as "automatic" as translation labelJo-Philipp Wich
This allows sharing a common translation string with all other protocols. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-proto-openconnect: fix authgroup translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-mod-admin-full: auto-migrate ifnames when changing VLAN configurationJo-Philipp Wich
This change extends the switch VLAN configuration page to automatically adjust interface ifname options when altering VLAN settings. For example "eth0" is changed to "eth0.1" when a previously untagged LAN VLAN is switched to tagged on the CPU port and vice versa. Notifications are displayed in the page header if an auto migration was performed. This change should make the switch configuration more user friendly and less prone to soft bricking. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-06-01luci-base: luci.tools.status: properly parse infinite dnsmasq leasesCody R. Brown
The expiry time in a dnsmasq lease file line may be 0 (i.e. expiry date = 01/01/1970 00:00:00 GMT) to denote an infinite lease time, so adjust the code to properly support that. The expiry attribute of the lease object will be set to "false" in case of an infinite lease. This is to mimic the odhcp code below. If the expiry date is not equal to 0, then just do exactly what was done before (return the os.diff of current time and ts). Signed-off-by: Cody R. Brown <dev@codybrown.ca>
2017-06-01base: status: For odhpcd leases display MAC formatted with colonsDaniel Dickinson
This should result in the MAC address display being the same using odhcpd for v4 DHCP as when using DNSMasq for v4 DHCP. Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-06-01changed stat to lstat in nixio_lstat functionThorsten M
Signed-off-by: Thorsten M. <thoto@devtal.de>
2017-05-24i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-24luci.mk: Update language name for Chineseamitabha
Rectification of non-standard name for language Chinese. Signed-off-by: Angus Ding angus.ding@gmail.com (cherry picked from commit d3861e7f8deb581cb34c6f789457153b43457ff4)
2017-05-24luci-base: support ip6ifaceid option for proto_staticHannu Nyman
Add support for 'ip6ifaceid' option for proto_static in LuCI. Information about the option: The option is optional and defaults to '::1'. Allowed values: 'eui64', 'random', fixed value like '::1' or '::1:2' When IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, the ip6ifaceid suffix (like '::1') is used to form the IPv6 address ('a:b:c:d::1') for the interface. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 5ca386469071d606609beb19a7f09325f3a8ed29)
2017-05-18luci-app-statistics: check that uci config sections existHannu Nyman
A missing or faulty luci_statistics config file may prevent LuCI access completely already at the login phase as the statistics config is parsed already then. The error is like: .../statistics/datatree.lua:16: attempt to index upvalue 'sections' (a nil value) User may be completely locked out of LuCI until he figures out the need to have a proper luci_statistics config file. Prevent the error by checking for the existence of the uci config sections before trying to use values from them. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit d04f667383ec2894a5ecefde7ad9284d07563a67)
2017-05-18luci-base: add Etc/GMT timezonesHannu Nyman
Add Etc/GMT timezones like GMT+5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f2cf516cf7d50c191e3ea94f4696a6c60348cf92)
2017-05-18build/zoneinfo2lua.pl: logic for Etc/GMT timezonesHannu Nyman
Add logic to add Etc/GMT timezones (like GMT+5) although the zones are not included in zone.tab Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit f8eee09f55faa375b11cf00b2f96915c92f924f4)
2017-05-09i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-05-09luci-app-statistics: processes: fix graph visibilityHannu Nyman
Fix graph visibility on processes page based on plugin instance. The overview instance is empty, while monitored processes have their own instances. Original version of the patch created by @koblack and discussed in #1021 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 0a6ce204234c9485549e290230e51484b1fceb64)
2017-05-08luci-mod-admin-full: add advice to restart cronHannu Nyman
Cron init script starts the service only if a crontab file exists. If there is no crontab file at boot and the user later creates one, he needs to manually restart the service. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 1970c21e3bbd70adc991cf6baf153129a1356c9b)
2017-05-06luci-base: luci.dispatcher: allow overriding sysauth templateJo-Philipp Wich
In some cases it is useful to be able to override the template used for the sysauth login dialog. Add a new property "sysauth_template" which allows overriding the template name from controller files. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-02luci-app-statistics: fix whitespaceHannu Nyman
* fix whitespace in config file * place the contextswitch item corerrctly in the sorted options list Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 2bc2f935a0428b8d31a6ff2b967157b5ca02e06b)
2017-04-30luci-app-statistics: processes plugin: add labels, correct dataHannu Nyman
Enhance processes statistics page: * add proper labels to graphs * correct RSS memory stats title, add VSZ stats Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit b737831e56854f55fedbc6a6394d385ee0aef6e3)
2017-04-30luci.mk: fix length of abbreviated hash in versionHannu Nyman
Fix the length of the abbreviated commit hash used in the LuCI version string used in the package names. Use the old standard of seven characters in hash. New git versions vary the length of the abbreviated commit hash based on the number of objects in repo. That may lead into different hash lengths with e.g. having full/shallow git history, having all/single branch or having different git versions in different build hosts. Different hash lengths in package name may lead to sneaky opkg install errors, as opkg apparently preserves info for removed packages and may prefer that. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit b9159c53472d1788284d363dc6ffff8c2542e4be)
2017-04-30luci-app-statistics: remove non-functional links from graphsHannu Nyman
The statistics graphs on the pages with multiple data sources have contained links to the data sources, but those links have not worked. Remove the links as they are unnecessary. This commit fixes #1006 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit 298f838d390a7ad032405ecdf34085bdde3fe2a4)
2017-04-30luci-app-adblock: backport updates to match 2.6.2Hannu Nyman
Backport updates to luci-app-adblock that correspond to the adblock 2.6.2 version. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-29Support for collectd-mod-contextswitchfantom-x
Signed-off-by: Marc Benoit marcb6218@gmail.com (cherry picked from commit 5bf636732efab13fdd92dabfd746cafb156dd4f6)
2017-04-20luci-mod-admin-full: use `nf_conntrack_count` for counting connections (#1114)Jo-Philipp Wich
As suggested by PR #1114, use `/proc/sys/net/netfilter/nf_conntrack_count` instead of counting the lines in `/proc/net/nf_conntrack` but use a slightly more efficient approach which avoids spawning an extra `cat` command. Signed-off-by: Jo-Philipp Wich <jo@mein.io>