oweals/luci.git
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>
9 years agoMerge pull request #402 from NeoRaider/json-empty-object 405/head 406/head 407/head 408/head
Jo-Philipp Wich [Wed, 10 Jun 2015 08:20:49 +0000 (10:20 +0200)]
Merge pull request #402 from NeoRaider/json-empty-object

luci-lib-json: ignore null keys to allow encoding empty objects

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

Timezone information is updated to 2015d, released on 24 Apr 2015.

9 years agoMerge pull request #403 from hnyman/fix-qos-l7
Jo-Philipp Wich [Sun, 7 Jun 2015 15:13:48 +0000 (17:13 +0200)]
Merge pull request #403 from hnyman/fix-qos-l7

luci-app-qos: remove l7 options

9 years agoluci-app-qos: remove l7 options 403/head
Hannu Nyman [Sat, 6 Jun 2015 07:41:23 +0000 (10:41 +0300)]
luci-app-qos: remove l7 options

Cleanup luci-app-qos, as it still contains references to l7 functionality
that has been removed both from kernel and from qos-scripts.

Qos config page has a non-functional "Service" option and every visit to
qos config page generates currently an error as no l7 files can be found.
   daemon.err uhttpd[2285]: find: /etc/l7-protocols/: No such file or directory

Patch removes "Service" option and the l7 file search.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoluci-lib-json: ignore null keys to allow encoding empty objects 402/head
Matthias Schiffer [Thu, 4 Jun 2015 19:03:24 +0000 (21:03 +0200)]
luci-lib-json: ignore null keys to allow encoding empty objects

There is currently no way to encode an empty object {}, as empty tables are
encoded as empty lists [].

With this patch, encode() will ignore table fields with the key json.null (which
doesn't make sense anyways). This allows adding a field with key json.null to
force encoding it as an object.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
9 years agoMerge pull request #401 from chris5560/master
Christian Schoenebeck [Thu, 4 Jun 2015 19:00:37 +0000 (21:00 +0200)]
Merge pull request #401 from chris5560/master

luci-app-privoxy: fixed function ipkg_ver_compare()

9 years agoluci-app-privoxy: fixed function ipkg_ver_compare() 401/head
Christian Schoenebeck [Thu, 4 Jun 2015 18:59:21 +0000 (20:59 +0200)]
luci-app-privoxy: fixed function ipkg_ver_compare()

fixed function ipkg_ver_compare()

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #400 from chris5560/master
Christian Schoenebeck [Thu, 4 Jun 2015 18:51:30 +0000 (20:51 +0200)]
Merge pull request #400 from chris5560/master

luci-app-radicale: fixed function ipkg_ver_compare

9 years agoluci-app-radicale: fixed function ipkg_ver_compare 400/head
Christian Schoenebeck [Thu, 4 Jun 2015 18:50:08 +0000 (20:50 +0200)]
luci-app-radicale: fixed function ipkg_ver_compare

fixed function ipkg_ver_compare()

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agocontrib/community-profiles/augsburg: Increase leasetime and bandwidth limits
Manuel Munz [Sun, 31 May 2015 14:41:11 +0000 (16:41 +0200)]
contrib/community-profiles/augsburg: Increase leasetime and bandwidth limits

9 years agoapplications/splash: remove set -x from splash.sh
Manuel Munz [Sat, 30 May 2015 23:13:30 +0000 (01:13 +0200)]
applications/splash: remove set -x from splash.sh

9 years agomodules/freifunk: fix basics cbi model
Manuel Munz [Sat, 30 May 2015 21:01:24 +0000 (23:01 +0200)]
modules/freifunk: fix basics cbi model

9 years agoapplications/olsr: change config file download on olsr overview page to use seperate...
Manuel Munz [Sat, 30 May 2015 20:53:11 +0000 (22:53 +0200)]
applications/olsr: change config file download on olsr overview page to use seperate v4 and v6 config files

9 years agocontrib/meshwizard: add ipv6only option to txtinfo/jsoninfo plugin config
Manuel Munz [Sat, 30 May 2015 20:02:05 +0000 (22:02 +0200)]
contrib/meshwizard: add ipv6only option to txtinfo/jsoninfo plugin config

9 years agoapplications/olsr: redirect errors on jsoninfo connects with netcat to /dev/null...
Manuel Munz [Sat, 30 May 2015 19:04:50 +0000 (21:04 +0200)]
applications/olsr: redirect errors on jsoninfo connects with netcat to /dev/null to avoid spamming the log