project/luci.git
9 years agoluci-base: fix wrong pattern of urlencode() (encode '+' properly) #182 336/head
Legend Tang [Sat, 28 Feb 2015 19:03:08 +0000 (03:03 +0800)]
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182

9 years agotheme/bootstrap: add a mssing class style in form section (#298) 334/head
Legend Tang [Sat, 28 Feb 2015 17:20:33 +0000 (01:20 +0800)]
theme/bootstrap: add a mssing class style in form section (#298)

NOTE: three <br /> in some luci-app's cbi-tab-descr section which help
to workaround must be removed.

9 years agocontrib/community-profiles/demo: remove openwifimap
Manuel Munz [Wed, 25 Feb 2015 19:11:31 +0000 (20:11 +0100)]
contrib/community-profiles/demo: remove openwifimap

9 years agocontrib/community-profiles/augsburg: remove openwifimap
Manuel Munz [Wed, 25 Feb 2015 19:09:47 +0000 (20:09 +0100)]
contrib/community-profiles/augsburg: remove openwifimap

9 years agocontrib/meshwizard: add madwifi iface options if needed
soma [Wed, 25 Feb 2015 19:00:33 +0000 (20:00 +0100)]
contrib/meshwizard: add madwifi iface options if needed

9 years agocontrib/freifunk-common: fix wifi device and iface settings: mcast_rate set to 6000...
soma [Wed, 25 Feb 2015 18:59:26 +0000 (19:59 +0100)]
contrib/freifunk-common: fix wifi device and iface settings: mcast_rate set to 6000, remove hwmode, remove madwifi only options. introduce a new section to set madwifi iface options

9 years agoMerge pull request #328 from chris5560/master-pending-1
Manuel Munz [Fri, 20 Feb 2015 13:28:11 +0000 (14:28 +0100)]
Merge pull request #328 from chris5560/master-pending-1

wifi.lua: add "Back to Overview" button

9 years agoapplications/luci-splash: fix fac02283137f6ff59363695bb07a3f9cec58e577 | ipt module...
Manuel Munz [Fri, 20 Feb 2015 13:20:55 +0000 (14:20 +0100)]
applications/luci-splash: fix fac02283137f6ff59363695bb07a3f9cec58e577 | ipt module was missing and the new functions didn't return anything

9 years agoapplications/olsr-services: fix error on public services page
Manuel Munz [Thu, 19 Feb 2015 19:33:26 +0000 (20:33 +0100)]
applications/olsr-services: fix error on public services page

9 years agothemes/freifunk-generic: fix error with version string display in header on BB
Manuel Munz [Thu, 19 Feb 2015 19:20:31 +0000 (20:20 +0100)]
themes/freifunk-generic: fix error with version string display in header on BB

9 years agoMerge pull request #330 from Maltis/patch-1
Manuel Munz [Wed, 18 Feb 2015 23:08:04 +0000 (00:08 +0100)]
Merge pull request #330 from Maltis/patch-1

Delete profile_neuss

9 years agoDelete profile_neuss 330/head
Maltis [Wed, 18 Feb 2015 22:40:19 +0000 (23:40 +0100)]
Delete profile_neuss

9 years agoMerge pull request #329 from yayachiken/master
Manuel Munz [Wed, 18 Feb 2015 21:58:32 +0000 (22:58 +0100)]
Merge pull request #329 from yayachiken/master

Removed outdated information for Freifunk Aachen

9 years agoRemoved outdated information for Freifunk Aachen 329/head
David Kolossa [Wed, 18 Feb 2015 21:45:25 +0000 (22:45 +0100)]
Removed outdated information for Freifunk Aachen

- Freifunk Aachen now uses Gluon
- In addition, the old IP space has already been reallocated for other
  communities, so the information here is definitely outdated.

Signed-off-by: David Kolossa <david.kolossa@posteo.de>
9 years agowifi.lua: add "Back to Overview" button 328/head
Christian Schoenebeck [Sat, 14 Feb 2015 10:27:57 +0000 (11:27 +0100)]
wifi.lua: add "Back to Overview" button

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #323 from jmccrohan/master
Manuel Munz [Tue, 10 Feb 2015 07:45:18 +0000 (08:45 +0100)]
Merge pull request #323 from jmccrohan/master

luci-app-asterisk: fix typo in package description

9 years agoAvoid setting duplicate cookies
Jo-Philipp Wich [Mon, 9 Feb 2015 15:30:11 +0000 (16:30 +0100)]
Avoid setting duplicate cookies

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: pass session timeout as integer
Jo-Philipp Wich [Mon, 9 Feb 2015 12:03:44 +0000 (13:03 +0100)]
luci-base: pass session timeout as integer

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-freifunk: fix public status page
Jo-Philipp Wich [Mon, 9 Feb 2015 11:15:06 +0000 (12:15 +0100)]
luci-mod-freifunk: fix public status page

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: establish ubus connection before dropping privileges (#310)
Jo-Philipp Wich [Mon, 9 Feb 2015 11:14:20 +0000 (12:14 +0100)]
luci-base: establish ubus connection before dropping privileges (#310)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-asterisk: fix typo in package description 323/head
Jonathan McCrohan [Mon, 9 Feb 2015 00:38:38 +0000 (00:38 +0000)]
luci-app-asterisk: fix typo in package description

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
9 years agoMerge pull request #302 from chris5560/master
Jo-Philipp Wich [Sun, 8 Feb 2015 18:57:20 +0000 (19:57 +0100)]
Merge pull request #302 from chris5560/master

luci-themes: luci.main.mediaurlbase not set correctly

9 years agoMerge pull request #320 from chris5560/master
Jo-Philipp Wich [Sun, 8 Feb 2015 18:22:45 +0000 (19:22 +0100)]
Merge pull request #320 from chris5560/master

admin_network: interface details, implement "Back to Overview" button

9 years agoMerge pull request #315 from poranje/proto-ipv6+aiccu
Jo-Philipp Wich [Sun, 8 Feb 2015 18:18:16 +0000 (19:18 +0100)]
Merge pull request #315 from poranje/proto-ipv6+aiccu

luci-proto-ipv6: add aiccu

9 years agoadmin_network: interface details, implement back to overview 320/head
Christian Schoenebeck [Sun, 8 Feb 2015 18:17:09 +0000 (19:17 +0100)]
admin_network: interface details, implement back to overview

Implements "Back to Overview" on interface details page

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #305 from nmav/compression
Jo-Philipp Wich [Sun, 8 Feb 2015 18:13:39 +0000 (19:13 +0100)]
Merge pull request #305 from nmav/compression

luci-app-ocserv: Added option to enable compression

9 years agoMerge pull request #319 from nmav/oc-iface
Jo-Philipp Wich [Sun, 8 Feb 2015 18:13:12 +0000 (19:13 +0100)]
Merge pull request #319 from nmav/oc-iface

openconnect: ask for the output interface name

9 years agoopenconnect: ask for the output interface name 319/head
Nikos Mavrogiannopoulos [Sun, 8 Feb 2015 17:46:48 +0000 (18:46 +0100)]
openconnect: ask for the output interface name

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
9 years agoluci-proto-ipv6: aiccu fixed ip6prefix datatype 315/head
Paul Oranje [Fri, 6 Feb 2015 18:39:56 +0000 (19:39 +0100)]
luci-proto-ipv6: aiccu fixed ip6prefix datatype

9 years agoluci-proto-ipv6: aiccu improvements
Paul Oranje [Fri, 6 Feb 2015 11:04:58 +0000 (12:04 +0100)]
luci-proto-ipv6: aiccu improvements

- option heartbeat as tunnel type (heartbeat or AYIYA) (inspired by
idea of openwrt forum user thefRont)
- another typo fix in the mtu option

9 years agoMerge pull request #317 from hnyman/fix-zoneinfo2lua
Jo-Philipp Wich [Fri, 6 Feb 2015 10:02:58 +0000 (11:02 +0100)]
Merge pull request #317 from hnyman/fix-zoneinfo2lua

zoneinfo2lua.pl to generate shorter copyright messages

9 years agoMerge pull request #316 from hnyman/timezone-2015a
Jo-Philipp Wich [Fri, 6 Feb 2015 10:02:40 +0000 (11:02 +0100)]
Merge pull request #316 from hnyman/timezone-2015a

Timezone data: Update to 2015a

9 years agozoneinfo2lua.pl to generate shorter copyright messages 317/head
Hannu Nyman [Wed, 4 Feb 2015 17:11:41 +0000 (19:11 +0200)]
zoneinfo2lua.pl to generate shorter copyright messages

Change zoneinfo2lua.pl to generate the short copyright messages
that have been there since https://github.com/openwrt/luci/commit/7a3493b1f7d75a3945279115324cf2ff4da26b7b

Also change the advice on line 3 about directory, where this script
should be run.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoluci-proto-ipv6: fix typo in aiccu mtu range
Paul Oranje [Wed, 4 Feb 2015 16:51:25 +0000 (17:51 +0100)]
luci-proto-ipv6: fix typo in aiccu mtu range

9 years agoTimezone data: Update to 2015a 316/head
Hannu Nyman [Wed, 4 Feb 2015 16:50:36 +0000 (18:50 +0200)]
Timezone data: Update to 2015a

Timezone information is updated to 2015a, released on 30 Jan 15.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.

Changes are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html

The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST.

Chile will not change clocks in April or thereafter; its new
standard time will be its old daylight saving time.
This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer.

Ps. I manually edited headers to have the shorter new copyright,
instead of the long one generated buy the script.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years agoluci-proto-ipv6: set aiccu mtu option range
Paul Oranje [Wed, 4 Feb 2015 11:12:59 +0000 (12:12 +0100)]
luci-proto-ipv6: set aiccu mtu option range

9 years agoluci-proto-ipv6: add aiccu
Paul Oranje [Tue, 3 Feb 2015 23:04:04 +0000 (00:04 +0100)]
luci-proto-ipv6: add aiccu

initial commit

9 years agoMove inline documentation into separate files.
Jo-Philipp Wich [Thu, 29 Jan 2015 15:26:15 +0000 (16:26 +0100)]
Move inline documentation into separate files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-jsonc: add api documentation
Jo-Philipp Wich [Wed, 28 Jan 2015 21:31:28 +0000 (22:31 +0100)]
luci-lib-jsonc: add api documentation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: add api documentation
Jo-Philipp Wich [Wed, 28 Jan 2015 21:31:14 +0000 (22:31 +0100)]
luci-lib-ip: add api documentation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-nixio: move CHANGELOG and README into nixio namespace
Jo-Philipp Wich [Wed, 28 Jan 2015 21:29:45 +0000 (22:29 +0100)]
luci-lib-nixio: move CHANGELOG and README into nixio namespace

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: remove *.luadoc files before packaging
Jo-Philipp Wich [Wed, 28 Jan 2015 21:29:03 +0000 (22:29 +0100)]
build: remove *.luadoc files before packaging

9 years agoRemove outdated luadoc from contrib
Jo-Philipp Wich [Wed, 28 Jan 2015 21:28:29 +0000 (22:28 +0100)]
Remove outdated luadoc from contrib

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: add modified luadoc for use with LuCI sources
Jo-Philipp Wich [Wed, 28 Jan 2015 21:27:46 +0000 (22:27 +0100)]
build: add modified luadoc for use with LuCI sources

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: add functions to deal with IPv6 mapped IPv6
Jo-Philipp Wich [Wed, 28 Jan 2015 13:21:01 +0000 (14:21 +0100)]
luci-lib-ip: add functions to deal with IPv6 mapped IPv6

 * Add luci.ip.cidr.is6mapped4() to test whether an IPv6 CIDR is a mapped IPv4 one
 * Add luci.ip.cidr.mapped4() to derive IPv4 from mapped CIDR
 * Remove mapped IPv4 workaround from constructor as it breaks genuine addrs like ::ffff:0

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: multiple fixes
Jo-Philipp Wich [Wed, 28 Jan 2015 12:23:24 +0000 (13:23 +0100)]
luci-lib-ip: multiple fixes

 * Fix broken neighbor filtering by address range due to uninitialized memory
 * Fix wrong sizeof in _cidr_add_sub when adding/substracing IPv6 addresses
 * Properly convert numeric values to IPv6 addresses

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-firewall: rework internal/external zone list handling when adding forwards
Jo-Philipp Wich [Mon, 26 Jan 2015 16:55:09 +0000 (17:55 +0100)]
luci-app-firewall: rework internal/external zone list handling when adding forwards

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: improve login/logout handling
Jo-Philipp Wich [Mon, 26 Jan 2015 16:31:21 +0000 (17:31 +0100)]
luci-base: improve login/logout handling

Redirect to the canonical url after login and redirect to an url without
security token if the session expired. Also make sure that the login page
is served with status code 403, not 200 to give ajax calls a chance to
detect expired sessions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agolibs: add luci-lib-jsonc, a Lua binding for JSON-C
Jo-Philipp Wich [Mon, 26 Jan 2015 15:49:23 +0000 (16:49 +0100)]
libs: add luci-lib-jsonc, a Lua binding for JSON-C

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: accept 2nd netmask argument in new(), IPv4() and IPv6()
Jo-Philipp Wich [Mon, 26 Jan 2015 09:47:39 +0000 (10:47 +0100)]
luci-lib-ip: accept 2nd netmask argument in new(), IPv4() and IPv6()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: fix segfault in link() on systems with ip6gre support
Jo-Philipp Wich [Sun, 25 Jan 2015 20:39:17 +0000 (21:39 +0100)]
luci-lib-ip: fix segfault in link() on systems with ip6gre support

If an ip6gre interface is queried, the resulting link local address string
of 47 byte overflowed the buffer of 32 bytes used to hold the translated
address.

Increase the address string buffer to 48 byte and check the address length
prior to writing it into the buffer to avoid future problems with longs
link local addresses.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-privoxy: fix path to luci.mk after move
Jo-Philipp Wich [Sun, 25 Jan 2015 17:30:07 +0000 (18:30 +0100)]
luci-app-privoxy: fix path to luci.mk after move

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #308 from chris5560/master
Jo-Philipp Wich [Sun, 25 Jan 2015 11:36:50 +0000 (12:36 +0100)]
Merge pull request #308 from chris5560/master

luci-app-privoxy: move from openwrt/packages to openwrt/luci

9 years agoluci-mod-admin-full: use sysupgrade -T to test images
Jo-Philipp Wich [Sat, 24 Jan 2015 13:26:51 +0000 (14:26 +0100)]
luci-mod-admin-full: use sysupgrade -T to test images

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: fix netlink receiving in link()
Jo-Philipp Wich [Sat, 24 Jan 2015 13:25:53 +0000 (14:25 +0100)]
luci-lib-ip: fix netlink receiving in link()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-privoxy: move from openwrt/packages to openwrt/luci 308/head
Christian Schoenebeck [Sat, 24 Jan 2015 09:38:54 +0000 (10:38 +0100)]
luci-app-privoxy: move from openwrt/packages to openwrt/luci

* move from openwrt/packages to openwrt/luci
* adaption to new LuCI subdirectory structure
* fix error handling
* modified version handling
* fixed translations

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoluci-base: optimize luci.tools.webadmin.iface_get_network()
Jo-Philipp Wich [Fri, 23 Jan 2015 14:26:33 +0000 (15:26 +0100)]
luci-base: optimize luci.tools.webadmin.iface_get_network()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: add link() method to get basic iface info
Jo-Philipp Wich [Fri, 23 Jan 2015 12:00:51 +0000 (13:00 +0100)]
luci-lib-ip: add link() method to get basic iface info

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: always return table for dump, even if empty
Jo-Philipp Wich [Thu, 22 Jan 2015 22:58:42 +0000 (23:58 +0100)]
luci-lib-ip: always return table for dump, even if empty

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: remove unused functions from luci.sys.net
Jo-Philipp Wich [Thu, 22 Jan 2015 22:55:11 +0000 (23:55 +0100)]
luci-base: remove unused functions from luci.sys.net

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: support filtering neighbors by mac or dest addr
Jo-Philipp Wich [Thu, 22 Jan 2015 22:43:56 +0000 (23:43 +0100)]
luci-lib-ip: support filtering neighbors by mac or dest addr

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-splash: convert ip4mac() to luci.ip.neighbors()
Jo-Philipp Wich [Thu, 22 Jan 2015 21:07:50 +0000 (22:07 +0100)]
luci-app-splash: convert ip4mac() to luci.ip.neighbors()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-splash: convert luci.sys.net.arptable() to luci.ip.neighbors()
Jo-Philipp Wich [Thu, 22 Jan 2015 20:52:04 +0000 (21:52 +0100)]
luci-app-splash: convert luci.sys.net.arptable() to luci.ip.neighbors()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()
Jo-Philipp Wich [Thu, 22 Jan 2015 17:50:00 +0000 (18:50 +0100)]
luci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()
Jo-Philipp Wich [Thu, 22 Jan 2015 17:45:28 +0000 (18:45 +0100)]
luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: rewrite luci.tools.webadmin and remove unused functions
Jo-Philipp Wich [Thu, 22 Jan 2015 17:25:49 +0000 (18:25 +0100)]
luci-base: rewrite luci.tools.webadmin and remove unused functions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-olsr: rewrite mac address resolving
Jo-Philipp Wich [Thu, 22 Jan 2015 16:52:44 +0000 (17:52 +0100)]
luci-app-olsr: rewrite mac address resolving

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-freifunk: switch to luci.ip route functions
Jo-Philipp Wich [Thu, 22 Jan 2015 15:44:01 +0000 (16:44 +0100)]
luci-mod-freifunk: switch to luci.ip route functions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-coovachilli: switch to luci.ip route functions
Jo-Philipp Wich [Thu, 22 Jan 2015 15:36:18 +0000 (16:36 +0100)]
luci-app-coovachilli: switch to luci.ip route functions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-siitwizard: switch to luci.ip route functions
Jo-Philipp Wich [Thu, 22 Jan 2015 15:29:35 +0000 (16:29 +0100)]
luci-app-siitwizard: switch to luci.ip route functions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: switch to luci.ip route functions
Jo-Philipp Wich [Thu, 22 Jan 2015 14:53:16 +0000 (15:53 +0100)]
luci-mod-admin-full: switch to luci.ip route functions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-ip: fix routes() for non-callback invocations
Jo-Philipp Wich [Thu, 22 Jan 2015 14:25:41 +0000 (15:25 +0100)]
luci-lib-ip: fix routes() for non-callback invocations

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-olsr: use luci.ip.routes() to find default gw
Jo-Philipp Wich [Thu, 22 Jan 2015 14:12:56 +0000 (15:12 +0100)]
luci-app-olsr: use luci.ip.routes() to find default gw

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: depend on luci-lib-ip and remove ip.lua
Jo-Philipp Wich [Thu, 22 Jan 2015 14:08:09 +0000 (15:08 +0100)]
luci-base: depend on luci-lib-ip and remove ip.lua

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-nixio: always assume Linux target (#307)
Jo-Philipp Wich [Thu, 22 Jan 2015 14:01:39 +0000 (15:01 +0100)]
luci-lib-nixio: always assume Linux target (#307)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agolibs: add luci-lib-ip
Jo-Philipp Wich [Thu, 22 Jan 2015 13:59:13 +0000 (14:59 +0100)]
libs: add luci-lib-ip

Add new luci.ip library which is an api compatible C reimplementation
of ip.lua. It also supports dumping the system routing table and neighbour
entry database via netlink.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: use serialize_json() in luci.http
Jo-Philipp Wich [Sun, 18 Jan 2015 18:01:04 +0000 (19:01 +0100)]
luci-base: use serialize_json() in luci.http

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: add luci.util.serialize_json()
Jo-Philipp Wich [Sun, 18 Jan 2015 18:00:38 +0000 (19:00 +0100)]
luci-base: add luci.util.serialize_json()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #306 from Preffer/master
Jo-Philipp Wich [Thu, 22 Jan 2015 11:06:05 +0000 (12:06 +0100)]
Merge pull request #306 from Preffer/master

libs/luci-lib-httpclient: fix not straightforward behavior of httpclient

9 years agoadd params support in options 306/head
Yuzo [Thu, 22 Jan 2015 05:12:48 +0000 (13:12 +0800)]
add params support in options

9 years agosend Cookie in a single header line, follow browser behavior
Yuzo [Thu, 22 Jan 2015 04:50:58 +0000 (12:50 +0800)]
send Cookie in a single header line, follow browser behavior

9 years agoadd sock::readall() to ensure the response body is complete
Yuzo [Thu, 22 Jan 2015 03:34:00 +0000 (11:34 +0800)]
add sock::readall() to ensure the response body is complete

9 years agoluci-app-ocserv: Added option to enable compression 305/head
Nikos Mavrogiannopoulos [Tue, 20 Jan 2015 21:21:20 +0000 (22:21 +0100)]
luci-app-ocserv: Added option to enable compression

9 years agoluci-themes: luci.main.mediaurlbase not set correctly 302/head
Christian Schoenebeck [Mon, 19 Jan 2015 20:08:03 +0000 (21:08 +0100)]
luci-themes: luci.main.mediaurlbase not set correctly

Currently by default theme Bootstrap is installed but
luci.main.mediaurlbase (it holds the current active theme) still has
openwrt.org set.
I did not find the mechanism how LuCI starts Bootstrap theme but the
installation should set luci.main.mediaurlbase correctly.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #299 from nmav/ocserv-match
Jo-Philipp Wich [Mon, 19 Jan 2015 17:39:10 +0000 (18:39 +0100)]
Merge pull request #299 from nmav/ocserv-match

luci-app-ocserv: modified match to apply to newer versions of occtl

9 years agoMerge pull request #301 from nmav/ocserv4
Jo-Philipp Wich [Mon, 19 Jan 2015 17:38:51 +0000 (18:38 +0100)]
Merge pull request #301 from nmav/ocserv4

luci-app-ocserv: express PKID in a way that is acceptable by openconnect

9 years agoMerge pull request #297 from chris5560/master
Jo-Philipp Wich [Mon, 19 Jan 2015 17:37:41 +0000 (18:37 +0100)]
Merge pull request #297 from chris5560/master

luci-app-ddns: Update to version 2.1.1-0

9 years agoluci-app-ocserv: express PKID in a way that is acceptable by openconnect 301/head
Nikos Mavrogiannopoulos [Mon, 19 Jan 2015 17:24:48 +0000 (18:24 +0100)]
luci-app-ocserv: express PKID in a way that is acceptable by openconnect

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
9 years agoocserv: modified match to apply to newer versions of occtl 299/head
Nikos Mavrogiannopoulos [Sun, 18 Jan 2015 21:46:01 +0000 (22:46 +0100)]
ocserv: modified match to apply to newer versions of occtl

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
9 years agoluci-app-ddns: Update to version 2.1.1-0 297/head
Christian Schoenebeck [Sun, 18 Jan 2015 18:22:54 +0000 (19:22 +0100)]
luci-app-ddns: Update to version 2.1.1-0

- adaption Makefile to changed luci.mk
- description in Makefile for correct version handling
- modified handling to detect and display installed version
- new functions ipkg_ver_installed() and ipkg_ver_compare
- correct wrong spellings
- modified language template and German translation

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoluci.mk: expose option to override PKGARCH (#295)
Jo-Philipp Wich [Sun, 18 Jan 2015 16:27:13 +0000 (17:27 +0100)]
luci.mk: expose option to override PKGARCH (#295)

Also mark packages without src/ as arch independant by default.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agothemes: fix load number formatting
Jo-Philipp Wich [Sat, 17 Jan 2015 14:17:42 +0000 (15:17 +0100)]
themes: fix load number formatting

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-theme-openwrt: fix version display
Jo-Philipp Wich [Fri, 16 Jan 2015 23:40:31 +0000 (00:40 +0100)]
luci-theme-openwrt: fix version display

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoUpdate my email addresses in the license headers
Jo-Philipp Wich [Fri, 16 Jan 2015 22:46:42 +0000 (23:46 +0100)]
Update my email addresses in the license headers

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoGlobally reduce copyright headers
Jo-Philipp Wich [Fri, 16 Jan 2015 22:38:38 +0000 (23:38 +0100)]
Globally reduce copyright headers

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: remove luci.init
Jo-Philipp Wich [Fri, 16 Jan 2015 20:39:46 +0000 (21:39 +0100)]
luci-base: remove luci.init

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: directly require luci.version and fetch uname with library call
Jo-Philipp Wich [Fri, 16 Jan 2015 20:39:26 +0000 (21:39 +0100)]
luci-mod-admin-full: directly require luci.version and fetch uname with library call

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: use local sys module table in luci.dispatcher
Jo-Philipp Wich [Fri, 16 Jan 2015 20:34:30 +0000 (21:34 +0100)]
luci-base: use local sys module table in luci.dispatcher

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agothemes: require luci.version directly
Jo-Philipp Wich [Fri, 16 Jan 2015 20:33:34 +0000 (21:33 +0100)]
themes: require luci.version directly

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-olsr: add workaround for finding default gw with policy routing
Jo-Philipp Wich [Fri, 16 Jan 2015 20:10:32 +0000 (21:10 +0100)]
luci-app-olsr: add workaround for finding default gw with policy routing

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>