Commit Graph
7573 Commits
Author SHA1 Message Date
Srdjan Rosic 82fecb7709 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.
2015-08-22 09:27:25 +01:00
Jo-Philipp Wich 8597b86ebf Merge pull request #444 from hnyman/fixconntrack
statistics: fix conntrack and ping regression caused by collectd changes
2015-08-19 10:08:42 +02:00
Hannu Nyman b7b6ed740b 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>
2015-08-19 10:56:30 +03:00
Hannu Nyman ff9da6cb76 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>
2015-08-18 23:05:00 +03:00
Karl Palsson 2a77918b02 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>
2015-08-18 17:52:48 +02:00
Christian Schoenebeck c42bd54abb Merge pull request #441 from hnyman/tz2015f
Timezone information: update to 2015f
2015-08-18 09:50:17 +02:00
Hannu Nyman d63a7cb582 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>
2015-08-17 22:53:11 +03:00
Christian Schoenebeck bb7ea3ea04 Merge pull request #433 from chris5560/master
ipkg.lua: compare_versions() Replace Lua Math Library call
2015-08-04 21:19:35 +02:00
Christian Schoenebeck 0be846d7ff 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>
2015-08-04 21:14:48 +02:00
Christian Schoenebeck afc5d67207 Merge pull request #431 from chris5560/master
cbi.lua: Fix Flag.parse() to set "self.section.changed"
2015-08-04 11:05:23 +02:00
Christian Schoenebeck 237740b386 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>
2015-08-02 07:06:42 +02:00
Christian Schoenebeck fa88550215 Merge pull request #429 from chris5560/master
ipkg.lua: new function compare_version()
2015-08-01 16:17:11 +02:00
Jo-Philipp Wich 376f038726 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>
2015-07-30 22:38:36 +02:00
Manuel Munz 69ecfff002 contrib/community-profiles: add hameln 2015-07-30 16:44:44 +02:00
Christian Schoenebeck 305528b3cc 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>
2015-07-27 18:08:54 +02:00
Georgi Valkov ec170d6282 Fix: A disabled wireless network may be shown as enabled, when multiple networks are defined on the same radio. 2015-07-27 11:37:09 +02:00
Georgi Valkov 159b60f449 Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio. 2015-07-27 11:37:09 +02:00
Georgi Valkov 0110494b18 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. 2015-07-27 11:37:09 +02:00
Georgi Valkov 48c8cad48a Workaround: saved administration site user and pass may appear on the Wireless configuration page, replacing the WPA key. 2015-07-27 11:37:09 +02:00
Christian Schoenebeck 77acfe0b46 Merge pull request #428 from aa65535/master
luci-app-shadowsocks-libev: update package
2015-07-24 09:54:17 +02:00
Jian Chang 966d87b79b luci-app-shadowsocks-libev: update package
support for shadowsocks-libev v2.2.3

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-23 00:52:27 +08:00
Jo-Philipp Wich 3610f3222d luci-mod-rpc: move luci config require into the authentication function (#427)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 23:28:16 +02:00
Jo-Philipp Wich 16047d03c5 luci-mod-rpc: add missing luci config require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 22:30:45 +02:00
Lars Kruse e7f57e0caf Add luci support for dnsmasq option '--servers-file'
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2015-07-14 23:32:08 +02:00
Christian Schoenebeck 17ab7acbec Merge pull request #426 from mamarley/vnstatunderscorefix
luci-app-vnstat: Fix blank graphs for iface names with underscores
2015-07-12 18:50:06 +02:00
Michael Marley b1b0ba5ba9 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>
2015-07-12 11:45:23 -04:00
Manuel Munz 6d788d82f1 contrib/meshwizard: fix LAN with OLSR and DHCP 2015-07-07 12:22:39 +02:00
Manuel Munz 9d85b7ee2e contrib/meshwizard: fix a bug that occured when processing list options in set_defaults() 2015-07-05 01:32:25 +02:00
Christian Schoenebeck cfd8ad89c4 Merge pull request #425 from aa65535/master
luci-app-shadowsocks-libev: add package
2015-07-04 21:20:00 +02:00
Jo-Philipp Wich 74b5c1bbc3 luci-mod-admin-full: restart the firewall instead of reloading it
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-03 16:59:51 +02:00
Jian Chang 74501038e4 luci-app-shadowsocks-libev: add package
This adds support for configuring shadowsocks-libev

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-03 15:17:38 +08:00
Manuel Munz 30e344c60a fix ifname in wifi overview (freifunk public status). 2015-06-28 15:59:53 +02:00
Manuel Munz bccc6279fc Fix routes on freifunk public status page 2015-06-28 15:55:37 +02:00
Jo-Philipp Wich 0ef5f3c693 contrib/firefunk-watchdog: fix build against musl
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 14:19:51 +02:00
Jo-Philipp Wich 23dba10808 Merge pull request #424 from kdarbyshirebryant/master
luci-app-upnp: Stop sys upgrade disabling miniupnpd service on first boot after upgrade
2015-06-24 12:16:23 +02:00
kdarbyshirebryant 2d564999bf Merge pull request #1 from kdarbyshirebryant/miniupnpdatupgrade
Delete luci-upnp
2015-06-22 19:04:00 +01:00
kdarbyshirebryant 387a06bb73 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.
2015-06-22 18:58:58 +01:00
fabio70mi bae48b6f88 Update base.po
Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"
2015-06-17 16:06:20 +02:00
Jo-Philipp Wich eac90c78fb Merge pull request #419 from dangowrt/fix-olsr-json-dependency
luci-app-olsr: depend on luci-lib-json
2015-06-16 18:27:09 +02:00
Daniel Golle ba897c6a20 luci-app-olsr: depend on luci-lib-json
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-16 17:41:23 +02:00
Jo-Philipp Wich e8029d6398 Fix markup in Template reference 2015-06-16 10:21:47 +02:00
Jo-Philipp Wich dde25048b9 Fix links in ThemesHowTo.md 2015-06-16 10:17:28 +02:00
Jo-Philipp Wich 4b11843e4c Add documentation converted from old Trac wiki pages
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-16 10:11:45 +02:00
Jo-Philipp Wich 37a9d6aee7 Merge pull request #414 from maz-1/mjpg-update
add chinese translations for luci-app-mjpg-streamer
2015-06-16 09:56:30 +02:00
Christian Schoenebeck 3429097437 Merge pull request #409 from oneru/fwknop-qr
Luci-app-fwknopd:add a couple config options to the interface
2015-06-14 12:22:48 +02:00
maz-1 d48f53b0dd Merge pull request #1 from maz-1/allcommits
add chinese translations for luci-app-mjpg-streamer
2015-06-13 10:46:23 +08:00
Christian Schoenebeck 3bcbfb3823 Merge pull request #410 from maz-1/master
add chinese translations to luci-app-privoxy
2015-06-12 18:56:18 +02:00
maz-1 8e43ab3770 add chinese translations for luci-app-mjpg-streamer 2015-06-11 10:35:21 +02:00
maz-1 0b00986cfc add chinese translations for luci-app-privoxy 2015-06-11 10:29:55 +02:00
Jonathan Bennett 9d69f61f4c 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>
2015-06-10 16:10:56 -05:00