Commit graph

8175 commits

Author SHA1 Message Date
Hannu Nyman
5566b3acef luci-app-statistics: adjust cpufreq graph for single/dual-core CPUs
The original data model definition assumed data from a quad-core CPU,
which caused errors with single- and dual-core processors.
Adjust the data model to work with also them.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-15 21:43:09 +01:00
Hannu Nyman
4343b2f13d luci-app-statistics: tweak 'cpufreq' number formatting
Adjust number formatting to display >1GHz values better.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-08 22:54:44 +02:00
Hannu Nyman
df3c8728b9 luci-app-statistics: add support for CPU frequency scaling stats
Add support for 'cpufreq' plugin in collectd, which monitors
the CPU cores' frequencies. Some platforms enable dynamic
frequency scaling according to CPU load.

'cpufreq' plugin can currently be built for x86 and mvebu.
(and it should likely be enabled also for ipq806x)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-08 22:24:56 +02:00
Hannu Nyman
3936e79cf8 time zone data: Update to 2016i
Note that several of the time zones now use a numeric name
that is quoted with < >  (e.g. "<+03>-3")

musl 1.1.15 and earlier have a bug with < > quoted time zone names.
Fix for the bug
* has already been patched in musl upstream with
  http://git.musl-libc.org/cgit/musl/commit/?id=8ca27ac4bfe73bff785d0c26c1de0da92b55e5c6
* has been committed in LEDE with
  671cb35880
* has been submitted to Openwrt as pull request
  https://github.com/openwrt/openwrt/pull/163

Key changes in 2016d-2016i:
---------------------------

2016d:
     America/Caracas switches from -0430 to -04 on 2016-05-01.

     Asia/Magadan switches from +10 to +11 on 2016-04-24.

     New zone Asia/Tomsk, split off from Asia/Novosibirsk.

2016f:
     Asia/Novosibirsk switches from +06 to +07 on 2016-07-24.

     Asia/Novokuznetsk and Asia/Novosibirsk now use numeric time zone
     abbreviations instead of invented ones.

2016g:
     Turkey switched from EET/EEST (+02/+03) to permanent +03,
     effective 2016-09-07. Use "+03" rather than an invented
     abbreviation for the new time.

     Several zones in Antarctica and the former Soviet Union, along
     with zones intended for ships at sea that cannot use POSIX TZ
     strings, now use numeric time zone abbreviations instead of
     invented or obsolete alphanumeric abbreviations.

2016h:
     Asia/Gaza and Asia/Hebron end DST on 2016-10-29, not
     2016-10-21. Predict that future fall transitions will
     be on the last Saturday of October.

     Asia/Colombo now uses numeric time zone abbreviations like "+0530"
     instead of alphabetic ones like "IST" and "LKT".

2016i:
     Pacific/Tongatapu begins DST on 2016-11-06, ending on
     2017-01-15.  Assume future observances in Tonga will be
     from the first Sunday in November through the third Sunday in
     January, like Fiji. Switch to numeric time zone abbreviations
     for this zone.

     Northern Cyprus is now +03 year round, causing a split in Cyprus
     time zones starting 2016-10-30 at 04:00. This creates a zone
     Asia/Famagusta.

     Antarctica/Casey switched from +08 to +11 on 2016-10-22.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-08 12:43:00 +02:00
Jo-Philipp Wich
d7d97723fe luci.mk: add simple cache buster
Append a ?v=version string to any media or resource URL that has a .js or .css
extension.

Also substitute placeholders in the form <%# xxxPKG_VERSION %> where
xxx is replaced verbatim and PKG_VERSION with the actual version, e.g.
<%# ?x=PKG_VERSION %> will result in "?x=git-16.237.30043-f885853".

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-11-01 16:50:50 +01:00
Hannu Nyman
87ae1242b8 documentation: Update i18n advice
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-30 12:37:04 +02:00
Hannu Nyman
5f4b0fe274 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-30 10:21:12 +02:00
Hannu Nyman
3c23cc6470 luci-app-travelmate: user interface for Travelmate package
Create user interface for Travelmate, a new package that
helps in creating travel router functionality.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-30 10:10:46 +02:00
Jo-Philipp Wich
98e12fcebb Merge pull request #793 from remakeelectric/rme-master-tweaks
wifi_add minor usability tweaks
2016-10-28 16:17:05 +02:00
Jo-Philipp Wich
95358ab99d Merge pull request #776 from cshore/pull-request-statistics-nut
luci-app-statistics: nut: Add additional stats some UPSes report
2016-10-24 11:30:50 +02:00
Hannu Nyman
494116d620 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-23 21:36:36 +03:00
Hannu Nyman
3adf168cb0 Merge pull request #831 from danrl/patch-1
Typo
2016-10-23 20:21:44 +03:00
Dan Lüdtke
82add13629 Typo 2016-10-21 20:24:57 +02:00
Hannu Nyman
1e1a706db5 Merge pull request #682 from cshore/pull-request-pppoe-server
luci-app-pppoe-server: Add PPPoE server configuration
2016-10-14 13:15:35 +03:00
Hannu Nyman
3af8b3c5b6 Merge pull request #822 from NeoRaider/staging-dir-host
luci-base: use default install paths for host utils (again)
2016-10-10 19:06:33 +03:00
Matthias Schiffer
4d97a9f698
luci-base: use default install paths for host utils
This reverts commit d4c3372020.

PATH inconsistencies and Host/Install arguments have been fixed in both
LEDE and OpenWrt, so we can revert the revert.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-09 22:44:15 +02:00
Jo-Philipp Wich
e06c60a0d6 luci-base: remove default diag host from /etc/config/luci
Now that luci-mod-admin-full figures out the proper diagnostics host
during postinstall we can remove the UCI section from the default
configuration file.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-06 17:14:46 +02:00
Jo-Philipp Wich
067fe5bcce luci-mod-admin-full: figure out diagnostics host in postinstall
Attempt to infer the default diagnostics host for nslookup / ping / traceroute
from the various URLs in /etc/os-release. Fall back to "openwrt.org" if no
host is found to preserve backwards compatibility.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-06 17:13:23 +02:00
Jo-Philipp Wich
d4c3372020 Revert "luci-base: use default install paths for host utils"
This reverts commit 87a7570690.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05 01:44:02 +02:00
Jo-Philipp Wich
dcb2a0e680 Revert "luci-base: fix luci-base host tool install on OpenWrt"
This reverts commit f7639bcd6a.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05 01:43:55 +02:00
Hannu Nyman
e3287d84e1 Merge pull request #813 from NeoRaider/staging-dir-host
luci-base: fix luci-base host tool install on OpenWrt
2016-10-04 11:27:31 +03:00
Matthias Schiffer
f7639bcd6a
luci-base: fix luci-base host tool install on OpenWrt
OpenWrt doesn't provide an argument to Host/Install like LEDE does; use
HOST_BUILD_PREFIX instead, which is available on both.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-04 00:34:30 +02:00
Hannu Nyman
4a246820b1 Merge pull request #807 from hnyman/ssl-openssl
luci-ssl-openssl: Provide OpenSSL-based LuCI collection
2016-10-03 21:11:23 +03:00
Hannu Nyman
67de9f4bca luci-ssl-openssl: Provide OpenSSL-based LuCI collection
Add a new OpenSSL-based collection that uses libustream-openssl
instead of the default libustream-polarssl.
(Note: px5g still needs libpolarssl, so both libs will be included)

Mention PolarSSL in the title of luci-ssl.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-03 21:09:08 +03:00
Matthias Schiffer
87a7570690 luci-base: use default install paths for host utils
Also, don't make any assumptions about the staging dir lua and LuaSrcDiet
were installed to.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-03 18:07:43 +02:00
Hannu Nyman
185e4c1332 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-30 09:48:56 +03:00
Hannu Nyman
cad07f62d5 Merge pull request #770 from arturdm/patch-1
luci-app-statistics: Fix missing title in df graphs
2016-09-29 11:59:13 +03:00
Christian Schoenebeck
ddb98f186f Merge pull request #805 from chris5560/master
luci-app-ddns: no longer check for name lookup progs to support force ip version
2016-09-27 11:14:34 +02:00
Christian Schoenebeck
a043bca0ed luci-app-ddns: correct required ddns-script version
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-25 10:57:29 +02:00
Christian Schoenebeck
2d9472db9f luci-app-ddns: ignore if name lookup progs not supporting force ip version
- no longer verify installed name lookup programs to set has_forceip flag inside tools/ddns.lua
- adapt messages inside hints.lua

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-25 10:53:13 +02:00
Karl Palsson
4a5cee22ed wifi_add: allow multi SSID by default if supported.
Instead of defaulting to replace, even on hardware that supports multi
SSID, make the default to add.  This reduces the chance of locking
oneself out when adding a second network.  If you intended to replace,
ending up with two networks then deleting one is easier than recovering
when the old network configuration is gone.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-09-23 17:05:47 +00:00
Karl Palsson
ccc9970c24 wifi_add: help text should match reality
An additonal network is created if the box _is_ checked.
2016-09-23 17:05:47 +00:00
Karl Palsson
0bea4d17e6 wifi_add: show the SSID of the network being joined.
After clicking the "join" button on the scan list, the SSID is no longer
visible, though it's kept in the form to pass to the server.

Show the chosen SSID on the top of the page, to help people confirm that
they're joining the right network.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-09-23 17:05:40 +00:00
Hannu Nyman
07591d77aa freifunk-p2pblock / luci-app-p2pblock: mark BROKEN
Mark freifunk-p2pblock and luci-app-p2pblock BROKEN
as p2pblock needs layer7 support in iptables, which
was removed in early 2015 from iptables-mod-filter:
https://dev.openwrt.org/changeset/45423
https://dev.openwrt.org/changeset/45424

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-22 21:35:57 +03:00
Hannu Nyman
6cd59651a6 Merge pull request #800 from kuoruan/aria2
luci-app-aria2: fix template name
2016-09-20 09:47:29 +03:00
Hsing-Wang Liao
909083e673 luci-app-aria2: fix template name
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-09-20 11:44:03 +08:00
Hannu Nyman
51e087e55f Merge pull request #799 from kuoruan/aria2
luci-app-aria2: fix and update
2016-09-19 13:31:25 +03:00
Hsing-Wang Liao
a4c8c20647 luci-app-aria2: fix bugs and add log option
* Fix unable save authentication method;
* Use luci.dispatcher.build_url(...) to support Chaos Calmer;
* Add log file and log level options;
* Rename files.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-09-19 18:15:25 +08:00
Hsing-Wang Liao
3d40befbdd luci-app-aria2: add maintainer info
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-09-19 10:17:11 +08:00
Jo-Philipp Wich
44bf3f0c16 Merge pull request #794 from remakeelectric/wiki-links
docs: link to the developer wiki documentation
2016-09-07 19:11:46 +02:00
Karl Palsson
592352d0f8 docs: link to the developer wiki documentation
Signed-off-by: Karl Palsson <karlp@etactica.com>
2016-09-07 17:10:05 +00:00
Hannu Nyman
a69bd4202e luci-app-statistics: Add cpu and memory plugins to the default set
Add cpu and memory statistics plugins to the default set included
in Luci statistics and enable them in the default config. They are
useful small collectd plugins for resource usage monitoring.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-09-04 13:18:59 +03:00
Hannu Nyman
d5f8c9b028 Merge pull request #782 from Ansuel/master
Fix some capital and add some translation
2016-08-25 00:45:41 +03:00
Hannu Nyman
849f17ae17 luci-app-pbx(-voicemail): mark BROKEN
Mark the luci-app-pbx(-voicemail) packages BROKEN as trying
to install them now produces dependency errors.

The pbx packages depend on asterisk 1.8 that is EOL upstream
and has been moved from the telephony feed to the abandoned feed.

If LuCI pbx packages are still needed, they should be refreshed
to depend on a current asterisk version from the telephony feed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 18:58:00 +03:00
BuildTools
140b6d0e1d Fix some capital and add some translation
Hope this time I have done a good work
2016-08-24 12:27:01 +02:00
Hannu Nyman
74b452a83e i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 11:49:13 +03:00
Hannu Nyman
107b3c7def luci-mod-admin-full: tweak checksum item presentation
Simplify the sysupgrade image checksum strings in order to
avoid translating "Checksum xxx" items both for MD5 and SHA256.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-08-24 11:46:20 +03:00
Jo-Philipp Wich
f885853b5c Revert "Fix and update italian translation"
This reverts commit 66d5023891 since the
original change was apparently untested.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-24 10:20:43 +02:00
Jo-Philipp Wich
cf28cbd4a4 Merge pull request #781 from Ansuel/patch-1
Fix and update italian translation
2016-08-23 23:12:38 +02:00
Ansuel
66d5023891 Fix and update italian translation
I have fixed some capital letter and add some translation
2016-08-23 23:10:45 +02:00