oweals/luci.git
9 years agofix path error
Lutty Yang [Wed, 16 Sep 2015 14:02:21 +0000 (22:02 +0800)]
fix path error

9 years agofix path error
Lutty Yang [Wed, 16 Sep 2015 13:30:50 +0000 (21:30 +0800)]
fix path error

9 years agoinit Material Design theme
Lutty Yang [Wed, 16 Sep 2015 11:59:17 +0000 (19:59 +0800)]
init Material Design theme

9 years agoLuci opkg/packages: Show package size in list of available packages
Hannu Nyman [Wed, 16 Sep 2015 09:47:48 +0000 (12:47 +0300)]
Luci opkg/packages: Show package size in list of available packages

Add package *.ipk size information to package listing in Luci,
as opkg was today extended to support listing also the size information.
Visible fields are now: name, version, size, description

That will help users considering installation of a certain package
to assess its size impact on flash.

Note: Opkg data includes the size of the .ipk file, not the expanded size.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #475 from hnyman/opkg-feed-config
Hannu Nyman [Tue, 15 Sep 2015 12:05:09 +0000 (15:05 +0300)]
Merge pull request #475 from hnyman/opkg-feed-config

luci-mod-admin-full: restore opkg feed config capability

9 years agoluci-mod-admin-full: restore opkg feed config capability 475/head
Hannu Nyman [Tue, 15 Sep 2015 10:01:03 +0000 (13:01 +0300)]
luci-mod-admin-full: restore opkg feed config capability

opkg config was recently changed by https://dev.openwrt.org/changeset/46491/

Existing /etc/opkg.conf was split to three:
   /etc/opkg.conf -> base opkg configuration
   /etc/opkg/distfeeds.conf -> default Openwrt package feeds
   /etc/opkg/customfeeds.conf -> custom package feeds

Since then, the actual feed definitions have not been visible/configurable,
as only /etc/opkg.conf has been visible in Luci.

This patch restores the capability to see and edit package feed definitions.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #471 from freifunk-berlin/remove_bno
Manuel Munz [Sat, 12 Sep 2015 17:00:17 +0000 (19:00 +0200)]
Merge pull request #471 from freifunk-berlin/remove_bno

community-profiles: remove bno profile

9 years agocommunity-profiles: remove bno profile 471/head
Philipp Borgers [Sat, 12 Sep 2015 15:03:20 +0000 (17:03 +0200)]
community-profiles: remove bno profile

The Berlin Nord-Ost community profile is not up-to-date and as far as I know the
community does not exist anymore.

9 years agostatistics: fix typo
Hannu Nyman [Wed, 2 Sep 2015 12:40:56 +0000 (15:40 +0300)]
statistics: fix typo

sed -i "s/collected date/collected data/"

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agocontrib: remove obsolete luasrcdiet packaging, its built as part of luci-base now
Jo-Philipp Wich [Wed, 2 Sep 2015 07:46:05 +0000 (09:46 +0200)]
contrib: remove obsolete luasrcdiet packaging, its built as part of luci-base now

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agocontrib: remove obsolete uhttpd packaging
Jo-Philipp Wich [Wed, 2 Sep 2015 07:41:35 +0000 (09:41 +0200)]
contrib: remove obsolete uhttpd packaging

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agocontrib: remove obsolete host uci configurations
Jo-Philipp Wich [Wed, 2 Sep 2015 07:41:14 +0000 (09:41 +0200)]
contrib: remove obsolete host uci configurations

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRemove obsolete toplevel Makefile
Jo-Philipp Wich [Wed, 2 Sep 2015 07:38:54 +0000 (09:38 +0200)]
Remove obsolete toplevel Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild/makedocs.sh: handle relative output directories
Jo-Philipp Wich [Wed, 2 Sep 2015 07:38:28 +0000 (09:38 +0200)]
build/makedocs.sh: handle relative output directories

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #463 from hnyman/max-len-version
Hannu Nyman [Wed, 2 Sep 2015 05:50:58 +0000 (08:50 +0300)]
Merge pull request #463 from hnyman/max-len-version

Luci opkg/packages: Limit version string display to 26 chars

9 years agoLuci opkg/packages: Limit version string display to 26 chars 463/head
Hannu Nyman [Tue, 1 Sep 2015 11:33:56 +0000 (14:33 +0300)]
Luci opkg/packages: Limit version string display to 26 chars

Many packages currently include a git commit hash in version string.
That makes versions string very long and the version column takes much space
when listing available/installed packages in Luci.

Longest version string is 58 characters (micropython).
85 packages have at least 50 chars and 150 packages at least 40 chars.

Adjust Luci to display max. 26 characters (= luci's own version string).

Longer version strings are cut to: "first 21c" + ".." + "last 3c"

The last 3 chars are used to preserve the possible PKG_REVISION string.
E.g. 'opkg' has only hash+PKG_REVISION, so using only start of the string
might not be optimal.

Examples:

1.3.10-20150302-f2a889564b3a215902622b040a1247af38cb8203-1
1.3.10-20150302-f2a88..3-1

0.1-20150302-654c7d288603f7dae09eb09b57fb67b38c7ac6c3-1
0.1-20150302-654c7d28..3-1

9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
9c97d5ecd795709c8584e..d-7

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoluci-lib-ip: fix documentation issue
Jo-Philipp Wich [Tue, 1 Sep 2015 14:49:19 +0000 (16:49 +0200)]
luci-lib-ip: fix documentation issue

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRegenerate api documentation
Jo-Philipp Wich [Tue, 1 Sep 2015 14:44:59 +0000 (16:44 +0200)]
Regenerate api documentation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMove doc/ to documentation/api/
Jo-Philipp Wich [Tue, 1 Sep 2015 14:44:03 +0000 (16:44 +0200)]
Move doc/ to documentation/api/

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoFix module lines in several luadoc files
Jo-Philipp Wich [Tue, 1 Sep 2015 14:43:19 +0000 (16:43 +0200)]
Fix module lines in several luadoc files

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci.utils.contains: update documentation to match reality
Karl Palsson [Tue, 1 Sep 2015 13:36:38 +0000 (13:36 +0000)]
luci.utils.contains: update documentation to match reality

Signed-off-by: Karl Palsson <karlp@remake.is>
9 years agoAdd generated documentation to repository
Jo-Philipp Wich [Tue, 1 Sep 2015 10:19:27 +0000 (12:19 +0200)]
Add generated documentation to repository

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #460 from jplitza/master
Jo-Philipp Wich [Tue, 1 Sep 2015 07:34:14 +0000 (09:34 +0200)]
Merge pull request #460 from jplitza/master

luci-lib-jsonc: Fix memory leak in stringify()

9 years agoMerge pull request #416 from fabio70mi/patch-1
Hannu Nyman [Tue, 1 Sep 2015 07:11:21 +0000 (10:11 +0300)]
Merge pull request #416 from fabio70mi/patch-1

Update base.po

9 years agoluci-lib-jsonc: Fix memory leak in stringify() 460/head
Jan-Philipp Litza [Mon, 31 Aug 2015 17:52:36 +0000 (19:52 +0200)]
luci-lib-jsonc: Fix memory leak in stringify()

9 years agoMerge pull request #393 from nmav/no-group-match
Hannu Nyman [Mon, 31 Aug 2015 08:20:29 +0000 (11:20 +0300)]
Merge pull request #393 from nmav/no-group-match

luci-app-ocserv: list users with no group

9 years agoMerge pull request #457 from jplitza/master
Jo-Philipp Wich [Sun, 30 Aug 2015 15:57:00 +0000 (17:57 +0200)]
Merge pull request #457 from jplitza/master

luci-lib-jsonc: fix handling of strange keys, allow encoding []

9 years agoluci-lib-jsonc: allow encoding empty lists 457/head
Jan-Philipp Litza [Sun, 30 Aug 2015 13:45:49 +0000 (15:45 +0200)]
luci-lib-jsonc: allow encoding empty lists

To be consistent with the behavior of luci-lib-json, an empty Lua table
should be encoded to an empty JSON list, not an empty JSON object.

To still allow encoding empty JSON objects, the usage of anything other
than a number or a string as a key (for example an empty table or a
function) can be used to force encoding as an object:

    json.stringify({})                  -- "[]"
    json.stringify({[{}] = true})       -- "{}"

Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
9 years agoluci-lib-jsonc: Ignore non-string-or-number keys in tables
Jan-Philipp Litza [Sun, 30 Aug 2015 13:42:52 +0000 (15:42 +0200)]
luci-lib-jsonc: Ignore non-string-or-number keys in tables

Previously, the following caused a segmentation fault:

    json.stringify({[{}] = true})

This was caused by lua_tostring() returning NULL for anything but
strings and numbers, letting json_object_object_add crash.

This patch makes jsonc ignore all keys which have no string
representation altogether.

Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
9 years agostatistics: remove references to Lucid from scripts
Hannu Nyman [Sun, 30 Aug 2015 11:00:29 +0000 (14:00 +0300)]
statistics: remove references to Lucid from scripts

Both init.d and uci-defaults scripts included in luci-app-statistics
still contained stuff related to lucid, which package was removed by
https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc

Changes to scripts:
* init.d: lucid reference removed,
          /var/etc creation moved earlier (before first possible use)
* uci-defaults: lucid parameters & restart removed
  (but busybox httpd stuff was left intact, although it might be unnecessary)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #456 from hnyman/stat-config
hnyman [Sun, 30 Aug 2015 05:57:12 +0000 (08:57 +0300)]
Merge pull request #456 from hnyman/stat-config

statistics: cleanup default configuration

9 years agoluci-app-multiwan: mark broken as it depends on multiwan from oldpackages
Hannu Nyman [Sat, 29 Aug 2015 15:04:55 +0000 (18:04 +0300)]
luci-app-multiwan: mark broken as it depends on multiwan from oldpackages

Mark luci-app-multiwan @BROKEN, as it depends on the old 'multiwan'
package, located in the deprecated 'oldpackages' feed.

'packages' feed contains both 'mwan3' and 'luci-app-mwan3' apps that
have superseded the old packages.

This should fix #395.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: adjust default settings to match default plugins 456/head
Hannu Nyman [Sat, 29 Aug 2015 08:15:39 +0000 (11:15 +0300)]
statistics: adjust default settings to match default plugins

Adjust default settings to match the plugins installed by default
(default plugins: iwinfo, interface, load)

* disable plugins not installed by default to avoid error messages at start
* remove references to Freifunk interfaces, as most users do not have those

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: cleanup config file
Hannu Nyman [Sat, 29 Aug 2015 07:59:01 +0000 (10:59 +0300)]
statistics: cleanup config file

No functional changes, but the file is reorganised:
* group settings: general settings / output plugins / input plugins
* sort settings inside a group
* remove quotes from option names to match the current uci behaviour
* whitespace corrections

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: clarify CPU/processor graph by removing "idle" from it
Hannu Nyman [Fri, 28 Aug 2015 19:58:16 +0000 (22:58 +0300)]
statistics: clarify CPU/processor graph by removing "idle" from it

Clarify the CPU time consumption graph by removing the "idle" data from it.
Especially with light traffic, removing "idle" enables the graph
to scale better and to properly show the CPU load variations.

If "idle" data needs to be seen, it might be added as a second graph below.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: clarify stats introduction
Hannu Nyman [Fri, 28 Aug 2015 19:48:03 +0000 (22:48 +0300)]
statistics: clarify stats introduction

* Clarify the short explanation on the statistics section's front page.
* Mention the possibility of additional collectd plugins to get more stats.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoRemove ancient INSTALL file and update README.me
Hannu Nyman [Fri, 28 Aug 2015 15:38:41 +0000 (18:38 +0300)]
Remove ancient INSTALL file and update README.me

Remove the outdated INSTALL file from Kamikaze period,
as README.md contains the updated information.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #454 from hnyman/fix-entropy 438/head
Jo-Philipp Wich [Fri, 28 Aug 2015 10:06:25 +0000 (12:06 +0200)]
Merge pull request #454 from hnyman/fix-entropy

statistics: entropy plugin - fix placement of entropy.lua

9 years agostatistics: entropy plugin - fix placement of entropy.lua 454/head
Hannu Nyman [Fri, 28 Aug 2015 09:51:43 +0000 (12:51 +0300)]
statistics: entropy plugin - fix placement of entropy.lua

Move the file entropy.lua to the correct directory.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #451 from hnyman/fw-zone-len
Christian Schoenebeck [Fri, 28 Aug 2015 09:19:45 +0000 (11:19 +0200)]
Merge pull request #451 from hnyman/fw-zone-len

luci-app-firewall: validate zone name to enforce fw3 max. length

9 years agoMerge pull request #452 from hnyman/entropy
Christian Schoenebeck [Fri, 28 Aug 2015 09:19:00 +0000 (11:19 +0200)]
Merge pull request #452 from hnyman/entropy

statistics: Add support for entropy stats

9 years agostatistics: Add support for entropy stats 452/head
Hannu Nyman [Thu, 27 Aug 2015 07:19:38 +0000 (10:19 +0300)]
statistics: Add support for entropy stats

Add statistics on the available entropy.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agofirewall: validate max length of zone name 451/head
Hannu Nyman [Wed, 26 Aug 2015 10:51:31 +0000 (13:51 +0300)]
firewall: validate max length of zone name

fw3 sets the maximum length of the zone name to 14 and
ignores zone definitions with too long names.
http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.h;hb=HEAD#l25
http://nbd.name/gitweb.cgi?p=firewall3.git;a=blob;f=zones.c;hb=HEAD#l195

Add a simple validation to ensure that the new zone name is short enough.
This should fix issue #345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #448 from hnyman/cpulabel
Christian Schoenebeck [Mon, 24 Aug 2015 07:49:54 +0000 (09:49 +0200)]
Merge pull request #448 from hnyman/cpulabel

statistics: cpu graph - add label definitions, add softirq and interrupt stats

9 years agoMerge pull request #450 from hnyman/stat-memory
Christian Schoenebeck [Mon, 24 Aug 2015 07:49:11 +0000 (09:49 +0200)]
Merge pull request #450 from hnyman/stat-memory

statistics: support better autoscaling in rrdtool, improve memory graph's y-axis

9 years agostatistics: memory plugin - improve graph by better scaling of y-axis 450/head
Hannu Nyman [Sun, 23 Aug 2015 18:12:56 +0000 (21:12 +0300)]
statistics: memory plugin - improve graph by better scaling of y-axis

Utilise alt_autoscale_max to make the memory chart y-axis to scale better
for devices with e.g. 128 MB RAM.

Also fix the axis min value to 0.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: support rrdtool's alt_autoscale and alt_autoscale_max options
Hannu Nyman [Sun, 23 Aug 2015 18:02:14 +0000 (21:02 +0300)]
statistics: support rrdtool's alt_autoscale and alt_autoscale_max options

Implement support for alternative scaling of the y-axis.
By default, rrdtool will autoscale to 1,2,5,10,20,50,100,200,... etc.,
which is not always suitable (e.g. memory charts for device with 128 MB).

Rrdtool 1.0.50 already supports alternative autoscaling that creates
a tighter y-axis. Implement graph-level options in Luci statistics to
support those boolean options as "alt_autoscale" and "alt_autoscale_max".

info at http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: cpu graph - add label definitions, add softirq and interrupt stats 448/head
Hannu Nyman [Sun, 23 Aug 2015 14:14:22 +0000 (17:14 +0300)]
statistics: cpu graph - add label definitions, add softirq and interrupt stats

CPU plugin in the Luci statistics was missing the label definitions,
so the field labels are like "cpu_system" instead of "System".
Add proper label definitions to CPU (like the other plugins already have).

The statistics graph was also missing softirq and interrupt stats, although colors
for them were defined. Softirq consumes massive amount of CPU especially with
any qos in use, so it is important for the user to see also that data. Add both
softirq and interrupt stats to the graph.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #447 from srdjanrosic/patch-1
Manuel Munz [Sun, 23 Aug 2015 08:33:12 +0000 (10:33 +0200)]
Merge pull request #447 from srdjanrosic/patch-1

Enable setting --script-security in client mode.

9 years agoEnable setting --script-security in client mode. 447/head
Srdjan Rosic [Sat, 22 Aug 2015 08:27:25 +0000 (09:27 +0100)]
Enable setting --script-security in client mode.

  This is useful in client mode as well, since it allows one to use --route-noexec and --up <cmd> or --route-up <cmd> to create routes manually instead of relying on whatever routes vpn server pushes down to the client.
  mode=server dependency in luci was introduced together with script_security by mmunz back in 2011.with no explanation in the commit why mode=server was there.

9 years agoMerge pull request #444 from hnyman/fixconntrack
Jo-Philipp Wich [Wed, 19 Aug 2015 08:08:42 +0000 (10:08 +0200)]
Merge pull request #444 from hnyman/fixconntrack

statistics: fix conntrack and ping regression caused by collectd changes

9 years agostatistics: fix ping graph label regression 444/head
Hannu Nyman [Wed, 19 Aug 2015 07:56:30 +0000 (10:56 +0300)]
statistics: fix ping graph label regression

Earlier update to collectd 5.4.1 changed the field from "ping" to "value",
which was changed in the graph definition here, but the label definition
was forgotten. Field's label now reads "ping_IPaddr_value".

Correct the label definition to show only IPaddr like the other two graphs.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agostatistics: fix conntrack regression caused by collectd 5.5.0
Hannu Nyman [Tue, 18 Aug 2015 20:05:00 +0000 (23:05 +0300)]
statistics: fix conntrack regression caused by collectd 5.5.0

Collectd 5.5.0 introduced new data to conntrack plugin:
In addition to the number of tracked connections there is also
the static max conntrack value and the calculated use percentage.

Luci's conntrack plugin intrepretes "conntrack-max" as a new data instance
and includes it in the graph in addition to the real "conntrack" number.

Eliminate "max" from graph by specifying empty "" instance as data source.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agohttp.protocol: Support filehandlers for unhandled encodings
Karl Palsson [Tue, 18 Aug 2015 13:59:32 +0000 (13:59 +0000)]
http.protocol: Support filehandlers for unhandled encodings

The setfilehandler() functions used for mime and url encoded message
bodies all operate with a signature of fh(meta, chunk, eof), but for
unhandled encodings, the callback was directly assigned to the sink
function, which has a signature of snk(chunk).  Insert a wrapper to
properly generate the EOF flag, and include a stub "meta" block
providing a virtual "name" and also the original client provided
Content-Type header, to possibly help with taking alternative actions in
the file handler.

The sink function created for raw content decoding also used the wrong
signature for the sink function.

Signed-off-by: Karl Palsson <karlp@remake.is>
9 years agoMerge pull request #441 from hnyman/tz2015f
Christian Schoenebeck [Tue, 18 Aug 2015 07:50:17 +0000 (09:50 +0200)]
Merge pull request #441 from hnyman/tz2015f

Timezone information: update to 2015f

9 years agoTimezone information: update to 2015f 441/head
Hannu Nyman [Mon, 17 Aug 2015 19:53:11 +0000 (22:53 +0300)]
Timezone information: update to 2015f

Changes in 2015e and 2015f:
http://mm.icann.org/pipermail/tz-announce/2015-June/000032.html
http://mm.icann.org/pipermail/tz-announce/2015-August/000033.html

     Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
     not 06-13 and 07-18 as we had guessed.

     Assume Cayman Islands will observe DST starting next year, using US rules.
     Although it isn't guaranteed, it is the most likely.

     North Korea switches to +0830 on 2015-08-15.
     The abbreviation remains "KST".

     Uruguay no longer observes DST.

     Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoMerge pull request #433 from chris5560/master
Christian Schoenebeck [Tue, 4 Aug 2015 19:19:35 +0000 (21:19 +0200)]
Merge pull request #433 from chris5560/master

ipkg.lua: compare_versions() Replace Lua Math Library call

9 years agoipkg.lua: compare_versions() Replace Lua Math Library call 433/head
Christian Schoenebeck [Tue, 4 Aug 2015 19:14:48 +0000 (21:14 +0200)]
ipkg.lua: compare_versions() Replace Lua Math Library call

function compare_versions(): replace Lua Math Library call with if clause

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #431 from chris5560/master
Christian Schoenebeck [Tue, 4 Aug 2015 09:05:23 +0000 (11:05 +0200)]
Merge pull request #431 from chris5560/master

cbi.lua: Fix Flag.parse() to set "self.section.changed"

9 years agocbi.lua: Fix Flag.parse() to set "self.section.changed" 431/head
Christian Schoenebeck [Sun, 2 Aug 2015 05:06:42 +0000 (07:06 +0200)]
cbi.lua: Fix Flag.parse() to set "self.section.changed"

Add to set "self.section.changed" on changes like other values do.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #429 from chris5560/master
Christian Schoenebeck [Sat, 1 Aug 2015 14:17:11 +0000 (16:17 +0200)]
Merge pull request #429 from chris5560/master

ipkg.lua: new function compare_version()

9 years agoluci-lib-nixio: pass exact sockaddr length to getnameinfo()
Jo-Philipp Wich [Thu, 30 Jul 2015 20:16:47 +0000 (22:16 +0200)]
luci-lib-nixio: pass exact sockaddr length to getnameinfo()

Musl libc requires the length parameter of getnameinfo() to be exactly
`sizeof(struct sockaddr_in)` or `sizeof(struct sockaddr_in6)`, depending on
the passed sockaddr family.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agocontrib/community-profiles: add hameln
Manuel Munz [Thu, 30 Jul 2015 14:44:44 +0000 (16:44 +0200)]
contrib/community-profiles: add hameln

9 years agoipkg.lua: new function compare_version 429/head
Christian Schoenebeck [Mon, 27 Jul 2015 16:08:54 +0000 (18:08 +0200)]
ipkg.lua: new function compare_version

* minor fix function _list() set to local
* new function compare_version() lua version of opkg compare-version

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoFix: A disabled wireless network may be shown as enabled, when multiple networks...
Georgi Valkov [Fri, 17 Jul 2015 23:28:54 +0000 (02:28 +0300)]
Fix: A disabled wireless network may be shown as enabled, when multiple networks are defined on the same radio.

9 years agoFix: Status for disabled wireless networks may display the SSID, BSSID and Mode of...
Georgi Valkov [Fri, 17 Jul 2015 22:22:47 +0000 (01:22 +0300)]
Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio.

9 years agoWhen editing an AP wireless network in LuCI, if one or more STA networks are also...
Georgi Valkov [Fri, 17 Jul 2015 17:03:58 +0000 (20:03 +0300)]
When editing an AP wireless network in LuCI, if one or more STA networks are also present on the same radio, then the channel is locked and cannot be changed for the AP. The case when all STA networks are disabled is not considered. This patch fixes the issue. Disabled networks no longer apply a lock on the channel.

9 years agoWorkaround: saved administration site user and pass may appear on the Wireless config...
Georgi Valkov [Fri, 17 Jul 2015 16:52:24 +0000 (19:52 +0300)]
Workaround: saved administration site user and pass may appear on the Wireless configuration page, replacing the WPA key.

9 years agoMerge pull request #428 from aa65535/master
Christian Schoenebeck [Fri, 24 Jul 2015 07:54:17 +0000 (09:54 +0200)]
Merge pull request #428 from aa65535/master

luci-app-shadowsocks-libev: update package

9 years agoluci-app-shadowsocks-libev: update package 428/head
Jian Chang [Wed, 22 Jul 2015 16:52:27 +0000 (00:52 +0800)]
luci-app-shadowsocks-libev: update package

support for shadowsocks-libev v2.2.3

Signed-off-by: Jian Chang <aa65535@live.com>
9 years agoluci-mod-rpc: move luci config require into the authentication function (#427)
Jo-Philipp Wich [Wed, 15 Jul 2015 21:25:43 +0000 (23:25 +0200)]
luci-mod-rpc: move luci config require into the authentication function (#427)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-rpc: add missing luci config require
Jo-Philipp Wich [Wed, 15 Jul 2015 20:30:45 +0000 (22:30 +0200)]
luci-mod-rpc: add missing luci config require

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoAdd luci support for dnsmasq option '--servers-file'
Lars Kruse [Sun, 29 Mar 2015 20:11:29 +0000 (22:11 +0200)]
Add luci support for dnsmasq option '--servers-file'

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
9 years agoMerge pull request #426 from mamarley/vnstatunderscorefix
Christian Schoenebeck [Sun, 12 Jul 2015 16:50:06 +0000 (18:50 +0200)]
Merge pull request #426 from mamarley/vnstatunderscorefix

luci-app-vnstat: Fix blank graphs for iface names with underscores

9 years agoluci-app-vnstat: Fix blank graphs for iface names with underscores 426/head
Michael Marley [Sun, 12 Jul 2015 15:38:40 +0000 (11:38 -0400)]
luci-app-vnstat: Fix blank graphs for iface names with underscores

The regex used to process the iface query string argument in
vnstat.htm was stripping underscores, which caused the graph not to
display for interfaces with names containing underscores.  This
patch adds the underscore to that regex so that the interface name
will be correct and the graph will be displayed.

Signed-off-by: Michael Marley <michael@michaelmarley.com>
9 years agocontrib/meshwizard: fix LAN with OLSR and DHCP
Manuel Munz [Tue, 7 Jul 2015 10:22:39 +0000 (12:22 +0200)]
contrib/meshwizard: fix LAN with OLSR and DHCP

9 years agocontrib/meshwizard: fix a bug that occured when processing list options in set_defaults()
Manuel Munz [Sat, 4 Jul 2015 23:32:25 +0000 (01:32 +0200)]
contrib/meshwizard: fix a bug that occured when processing list options in set_defaults()

9 years agoMerge pull request #425 from aa65535/master
Christian Schoenebeck [Sat, 4 Jul 2015 19:20:00 +0000 (21:20 +0200)]
Merge pull request #425 from aa65535/master

luci-app-shadowsocks-libev: add package

9 years agoluci-mod-admin-full: restart the firewall instead of reloading it
Jo-Philipp Wich [Fri, 3 Jul 2015 14:59:37 +0000 (16:59 +0200)]
luci-mod-admin-full: restart the firewall instead of reloading it

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-shadowsocks-libev: add package 425/head
Jian Chang [Fri, 3 Jul 2015 07:17:38 +0000 (15:17 +0800)]
luci-app-shadowsocks-libev: add package

This adds support for configuring shadowsocks-libev

Signed-off-by: Jian Chang <aa65535@live.com>
9 years agofix ifname in wifi overview (freifunk public status).
Manuel Munz [Sun, 28 Jun 2015 13:59:53 +0000 (15:59 +0200)]
fix ifname in wifi overview (freifunk public status).

9 years agoFix routes on freifunk public status page
Manuel Munz [Sun, 28 Jun 2015 13:55:37 +0000 (15:55 +0200)]
Fix routes on freifunk public status page

9 years agocontrib/firefunk-watchdog: fix build against musl
Jo-Philipp Wich [Thu, 25 Jun 2015 12:19:51 +0000 (14:19 +0200)]
contrib/firefunk-watchdog: fix build against musl

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #424 from kdarbyshirebryant/master
Jo-Philipp Wich [Wed, 24 Jun 2015 10:16:23 +0000 (12:16 +0200)]
Merge pull request #424 from kdarbyshirebryant/master

luci-app-upnp: Stop sys upgrade disabling miniupnpd service on first boot after upgrade

9 years agoMerge pull request #1 from kdarbyshirebryant/miniupnpdatupgrade 424/head
kdarbyshirebryant [Mon, 22 Jun 2015 18:04:00 +0000 (19:04 +0100)]
Merge pull request #1 from kdarbyshirebryant/miniupnpdatupgrade

Delete luci-upnp

9 years agoDelete luci-upnp
kdarbyshirebryant [Mon, 22 Jun 2015 17:58:58 +0000 (18:58 +0100)]
Delete luci-upnp

Stop sys upgrade automatically disabling miniupnpd on first boot after upgrade.
I spent a lot of time tracking this behaviour down which only occurs if you have luci-app-upnp installed.

9 years agoUpdate base.po
fabio70mi [Mon, 15 Jun 2015 12:40:52 +0000 (14:40 +0200)]
Update base.po

Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"

9 years agoMerge pull request #419 from dangowrt/fix-olsr-json-dependency
Jo-Philipp Wich [Tue, 16 Jun 2015 16:27:09 +0000 (18:27 +0200)]
Merge pull request #419 from dangowrt/fix-olsr-json-dependency

luci-app-olsr: depend on luci-lib-json

9 years agoluci-app-olsr: depend on luci-lib-json 419/head
Daniel Golle [Tue, 16 Jun 2015 15:36:42 +0000 (17:36 +0200)]
luci-app-olsr: depend on luci-lib-json

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 years agoFix markup in Template reference
Jo-Philipp Wich [Tue, 16 Jun 2015 08:21:47 +0000 (10:21 +0200)]
Fix markup in Template reference

9 years agoFix links in ThemesHowTo.md
Jo-Philipp Wich [Tue, 16 Jun 2015 08:17:28 +0000 (10:17 +0200)]
Fix links in ThemesHowTo.md

9 years agoAdd documentation converted from old Trac wiki pages
Jo-Philipp Wich [Tue, 16 Jun 2015 08:11:03 +0000 (10:11 +0200)]
Add documentation converted from old Trac wiki pages

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #414 from maz-1/mjpg-update
Jo-Philipp Wich [Tue, 16 Jun 2015 07:56:30 +0000 (09:56 +0200)]
Merge pull request #414 from maz-1/mjpg-update

add chinese translations for luci-app-mjpg-streamer

9 years agoUpdate base.po 416/head
fabio70mi [Mon, 15 Jun 2015 12:06:26 +0000 (14:06 +0200)]
Update base.po

Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"

9 years agoMerge pull request #409 from oneru/fwknop-qr
Christian Schoenebeck [Sun, 14 Jun 2015 10:22:48 +0000 (12:22 +0200)]
Merge pull request #409 from oneru/fwknop-qr

Luci-app-fwknopd:add a couple config options to the interface

9 years agoMerge pull request #1 from maz-1/allcommits 411/head 414/head
maz-1 [Sat, 13 Jun 2015 02:46:23 +0000 (10:46 +0800)]
Merge pull request #1 from maz-1/allcommits

add chinese translations for luci-app-mjpg-streamer

9 years agoMerge pull request #410 from maz-1/master
Christian Schoenebeck [Fri, 12 Jun 2015 16:56:18 +0000 (18:56 +0200)]
Merge pull request #410 from maz-1/master

add chinese translations to luci-app-privoxy

9 years agoadd chinese translations for luci-app-mjpg-streamer
maz-1 [Thu, 11 Jun 2015 08:35:21 +0000 (10:35 +0200)]
add chinese translations for luci-app-mjpg-streamer

9 years agoadd chinese translations for luci-app-privoxy 410/head
maz-1 [Thu, 11 Jun 2015 08:29:55 +0000 (10:29 +0200)]
add chinese translations for luci-app-privoxy

9 years agoLuci-app-fwknopd:add a couple config options to the interface 409/head
Jonathan Bennett [Wed, 10 Jun 2015 14:31:53 +0000 (09:31 -0500)]
Luci-app-fwknopd:add a couple config options to the interface
Minor tweaks to uci-defaults
refresh translation files
Signed-off-by: Jonathan Bennett <JBennett@incomsystems.biz>