Commit graph

8219 commits

Author SHA1 Message Date
Bastian Bittorf
8ca5d6da96 freifunk-common: neigh.sh: work also with unprettyfied JSON output
Older OLSRd-version outputs JSON humanreadable over multiple lines.
The introduced change in 524439cd16 broke
the output for those users. Fix that be a finer filter regex.
Thanks to Thomas Huehn <thomas@net.t-labs.tu-berlin.de> for spotting that.
2016-12-13 21:38:29 +01:00
Bastian Bittorf
524439cd16 freifunk-common: neigh.sh: fix for new olsrd 0.9.5
Starting with version 0.9.5 the new olsr-deamon behaves
more standard-compliant and outputs correct HTTP-headers.
This would confuse the script and abort parsing.

Fix that by only trying to parse the JSON-value and
just ignore the other stuff. After this, we can see neighbours again.

Thanks to FreifunkUFO <ufo@rund.freifunk.net> for spotting this.
2016-12-12 08:48:11 +01:00
Hannu Nyman
ac5bd8c2f1 luci-mod-failsafe: use same string as luci-mod-admin-full
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 19:11:50 +02:00
Daniel Dickinson
8c6c75f6ec Merge pull request #821 from andrewshadura/luci-route-types
Add support for route types
2016-12-10 11:00:16 -05:00
Hannu Nyman
0fdee1ed9d i18n: fix some sysupgrade related string translations
Fix translated strings broken by recent changes.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 16:36:02 +02:00
Hannu Nyman
e65f6512e7 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 14:34:30 +02:00
Hannu Nyman
f7ec630913 luci-theme-material: remove link to distro repo from footer
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 14:26:34 +02:00
Hannu Nyman
73749fa048 luci-mod-admin-{full,mini}: make more distro agnostic
Remove some non-essential references to explicit distro names.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 14:12:37 +02:00
Daniel Dickinson
c5287ef15f Merge pull request #663 from NeoRaider/styleable-checkboxes
luci-base: view: make checkboxes and radio buttons styleable
2016-12-10 06:36:01 -05:00
Daniel Dickinson
a3fc4859dd Merge pull request #656 from nlhintz/pull-request
luci: broadcom - add n-mode support
2016-12-10 06:34:22 -05:00
Hannu Nyman
dad185e2c9 Fix config files getting overwritten in opkg install
Commit 39ff053890 accidentally removed the conffiles definitions
from luci-base, statistics, splash and diag-devinfo apps.

That has caused existing config files to get overwritten if the
package has been reinstalled via opkg. Additionally, the splash
text files have not been saved in sysupgrade or backup as they
are located outside /etc/config

This commit adds back the conffiles definitions to the respective
packages.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 11:20:01 +02:00
Hannu Nyman
a7c5c018b6 time zone data: Update to 2016j
Changes:
     Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
     This hives off a new zone Europe/Saratov from Europe/Volgograd.

     The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like
     Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring
     1999, not fall 1994.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-09 18:10:44 +02:00
Hannu Nyman
5852affbbc meshwizard: remove local variable definitions outside functions
Adapted from PR #819 by FreifunkUFO

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-09 17:51:50 +02:00
Jo-Philipp Wich
70bad4da4f luci-mod-admin-full: handle infinite lease times in output
When a lease objects expires property is set to "false", its expiry time is
unlimited, so adjust the templates to properly display that state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-09 13:07:42 +01:00
Jo-Philipp Wich
8e9e92a630 luci-base: luci.tools.status: properly parse infinite odhcpd leases
The expiry time in an odhcpd lease file line may be -1 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.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-09 13:05:44 +01:00
Hannu Nyman
6d5f878d7c Merge pull request #866 from arjendekorte/patch-4
theme-bootstrap: fix invalid use of 'linear-gradient'
2016-12-06 11:38:56 +02:00
arjendekorte
d4c31c5c90 Update cascade.css
The linear-gradient function syntax uses 'to bottom' instead of 'top' for a gradient from top to bottom.
2016-12-05 16:31:32 +01:00
Hannu Nyman
a9d74a6729 Merge pull request #864 from EricLuehrsen/unbound_uci
Unbound: Basic LuCI to go with recent Unbound UCI enhancements
2016-12-05 13:31:00 +02:00
Christian Schoenebeck
5127dd6a2d Merge pull request #865 from chris5560/master
luci-app-ddns: update to support ddns-scripts 2.7.6
2016-12-04 22:26:10 +01:00
Christian Schoenebeck
475b74b9bf luci-app-ddns: update to support ddns-scripts 2.7.6
needed changes to support ddns-scripts 2.7.6
- new command line options of dynamic_ddns_lucihelper.sh
- renamed global config options
- new location of services files

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-04 21:37:17 +01:00
Eric Luehrsen
3580eddcfa Unbound: Basic LuCI to go with recent Unbound UCI (Oct2016)
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-12-04 13:58:13 -05:00
Christian Schoenebeck
1fd43b4b65 Merge pull request #787 from rogerpueyo/luci-proto-ipip
luci-proto-ipip: Add package
2016-12-01 20:33:44 +01:00
Christian Schoenebeck
4e9c2f61c2 Merge pull request #863 from danrl/luci-proto-wireguard
luci-proto-wireguard: Fix misleading description
2016-12-01 10:31:08 +01:00
danrl
3bfc32f541 luci-proto-wireguard: Fix misleading description
Description was misleading, as the routes are not created automatically. We have
a flag to create routes. Added a hint what to fill into the AlledIPs field as
users repeatedly have struggled to use it correctly. Thanks to Stefan Agner for
providing feedback on this.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-12-01 09:01:35 +01:00
Hannu Nyman
ebb5a90f76 Merge pull request #847 from newkit/feature_luci-app-wifischedule
Added luci-app-wifischeduler
2016-11-25 17:30:44 +02:00
Nils Koenig
222bf48b74 luci-app-wifischedule: added package
Turns WiFi on and off according to a schedule

Splitted frontend and backend in different packages.
This feature has now a dependency to the package

    wifischedule

in openwrt/packages/net which needs to be merged as well.

Signed-off-by: Nils Koenig <openwrt@newk.it>
2016-11-25 16:17:55 +01:00
Roger Pueyo Centelles
d8b3515cd4 luci-proto-ipip: Add package
This package adds LuCI support for IPIP tunnels (IPv4-in-IPv4 RFC2003)

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2016-11-21 11:27:23 +01:00
Hannu Nyman
1c27f6b462 luci-app-statistics: add support for thermal stats
Add support for temperature data from collect-mod-thermal

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-11-19 16:10:57 +02:00
Hannu Nyman
840a414c3a Merge pull request #857 from danrl/luci-proto-wireguard-dependency
luci-proto-wireguard: do not depend on meta-package
2016-11-19 16:03:15 +02:00
danrl
e610bfa1f7 luci-proto-wireguard: do not depend on meta-package
Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-19 15:00:01 +01:00
Jo-Philipp Wich
36e695d108 Merge pull request #852 from danrl/luci-proto-wireguard
luci-proto-wireguard: WireGuard VPN Protocol (New)
2016-11-17 20:37:16 +01:00
danrl
eb44a58c6d luci-proto-wireguard: input validation optimization 2016-11-15 23:57:23 +01:00
danrl
bcd0e1ac04 Merge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto-wireguard 2016-11-15 21:43:37 +01:00
Dan Lüdtke
f9f4145bbd luci-proto-wireguard: added maintainer
Signed-off-by: Dan Lüdtke <mail@danrl.com>
2016-11-15 21:43:09 +01:00
danrl
9caa982c19 luci-proto-wireguard: WireGuard VPN Protocol (New)
WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
2016-11-15 21:43:09 +01:00
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
danrl
35f1ad816d Merge branch 'luci-proto-wireguard' of github.com:danrl/openwrt-luci into luci-proto-wireguard 2016-11-15 21:41:14 +01:00
danrl
71770c1d9a luci-proto-wireguard: WireGuard VPN Protocol (New)
WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
2016-11-15 21:40:14 +01:00
Dan Lüdtke
a42d1688a0 luci-proto-wireguard: added maintainer
Signed-off-by: Dan Lüdtke <mail@danrl.com>
2016-11-15 20:22:18 +01:00
danrl
a508b8d7ee luci-proto-wireguard: WireGuard VPN Protocol (New)
WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
2016-11-15 16:55:47 +01:00
Hannu Nyman
d4bbf44fbb 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-10 20:34:08 +02: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