project/luci.git
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 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>
9 years agoMerge pull request #294 from luizluca/luci-proto-3g_add-dialnumber
Jo-Philipp Wich [Fri, 16 Jan 2015 19:51:02 +0000 (20:51 +0100)]
Merge pull request #294 from luizluca/luci-proto-3g_add-dialnumber

luci-proto-3g: add dialnumber option

9 years agoluci-proto-3g: add dialnumber option 294/head
Luiz Angelo Daros de Luca [Fri, 16 Jan 2015 17:37:13 +0000 (15:37 -0200)]
luci-proto-3g: add dialnumber option

UCI network already permit dialnumber option for 3g interfaces.
This adds dialnumber to luci protocol 3g. Also it introduces a
new translation string "Dial number", added to template and updated
on each language (all empty but pt-br).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
9 years agoprotocols: fix keepalive settings for pppd based protocols
Jo-Philipp Wich [Thu, 15 Jan 2015 21:55:37 +0000 (22:55 +0100)]
protocols: fix keepalive settings for pppd based protocols

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: display routers localtime again
Jo-Philipp Wich [Thu, 15 Jan 2015 16:41:26 +0000 (17:41 +0100)]
luci-mod-admin-full: display routers localtime again

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: fix missing nixio.fs require
Jo-Philipp Wich [Thu, 15 Jan 2015 15:34:48 +0000 (16:34 +0100)]
luci-mod-admin-full: fix missing nixio.fs require

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: remove old fastindex support code, use cached module tables
Jo-Philipp Wich [Thu, 15 Jan 2015 15:32:03 +0000 (16:32 +0100)]
luci-base: remove old fastindex support code, use cached module tables

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-nixio: drop "bit" compatibility class
Jo-Philipp Wich [Thu, 15 Jan 2015 15:05:31 +0000 (16:05 +0100)]
luci-lib-nixio: drop "bit" compatibility class

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-siitwizard: explicitely require bit library
Jo-Philipp Wich [Thu, 15 Jan 2015 15:04:54 +0000 (16:04 +0100)]
luci-app-siitwizard: explicitely require bit library

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: remove unconditional "bit" preloading
Jo-Philipp Wich [Thu, 15 Jan 2015 15:02:54 +0000 (16:02 +0100)]
luci-base: remove unconditional "bit" preloading

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: remove useless "bit" requires
Jo-Philipp Wich [Thu, 15 Jan 2015 15:02:21 +0000 (16:02 +0100)]
luci-mod-admin-full: remove useless "bit" requires

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: drop luci.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:40:33 +0000 (15:40 +0100)]
luci-base: drop luci.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-failsafe: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:40:05 +0000 (15:40 +0100)]
luci-mod-failsafe: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:37:46 +0000 (15:37 +0100)]
luci-mod-admin-full: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-freifunk: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:11:57 +0000 (15:11 +0100)]
luci-mod-freifunk: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-theme-freifunk-generic: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:09:02 +0000 (15:09 +0100)]
luci-theme-freifunk-generic: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-multiwan: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:06:03 +0000 (15:06 +0100)]
luci-app-multiwan: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-splash: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:05:06 +0000 (15:05 +0100)]
luci-app-splash: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-olsr-services: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:04:04 +0000 (15:04 +0100)]
luci-app-olsr-services: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-freifunk-widgets: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 14:03:18 +0000 (15:03 +0100)]
luci-app-freifunk-widgets: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-olsr: switch to nixio.fs
Jo-Philipp Wich [Thu, 15 Jan 2015 13:55:46 +0000 (14:55 +0100)]
luci-app-olsr: switch to nixio.fs

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()
Jo-Philipp Wich [Thu, 15 Jan 2015 13:26:36 +0000 (14:26 +0100)]
luci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agothemes: eliminate uses of luci.sys.loadavg()
Jo-Philipp Wich [Thu, 15 Jan 2015 13:26:27 +0000 (14:26 +0100)]
themes: eliminate uses of luci.sys.loadavg()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-freifunk: eliminate uses of luci.sys.sysinfo()
Jo-Philipp Wich [Thu, 15 Jan 2015 13:11:35 +0000 (14:11 +0100)]
luci-mod-freifunk: eliminate uses of luci.sys.sysinfo()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-mini: remove uses of luci.sys.sysinfo()
Jo-Philipp Wich [Thu, 15 Jan 2015 12:44:38 +0000 (13:44 +0100)]
luci-mod-admin-mini: remove uses of luci.sys.sysinfo()

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: eliminate the use of luci.sys.sysinfo()
Jo-Philipp Wich [Thu, 15 Jan 2015 12:35:10 +0000 (13:35 +0100)]
luci-mod-admin-full: eliminate the use of luci.sys.sysinfo()

Fetch the required information via ubus instead of relying on the
to-be-removed luci.sys.sysinfo() and luci.sys.loadavg() functions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-px5g: disable MIPS16
Jo-Philipp Wich [Thu, 15 Jan 2015 10:12:11 +0000 (11:12 +0100)]
luci-lib-px5g: disable MIPS16

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: switch luci.model.network to common ubus api
Jo-Philipp Wich [Thu, 15 Jan 2015 10:10:02 +0000 (11:10 +0100)]
luci-base: switch luci.model.network to common ubus api

Replaces the ubus calls in luci.model.network with the common api
from luci.util.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: switch to ubus sessions
Jo-Philipp Wich [Thu, 15 Jan 2015 09:55:53 +0000 (10:55 +0100)]
luci-base: switch to ubus sessions

Remove luci.sauth session storage implementation and offload the session
management to the rpcd ubus backend. Also depend on rpcd due to this.

9 years agoluci-base: add luci.util.ubus()
Jo-Philipp Wich [Thu, 15 Jan 2015 09:52:53 +0000 (10:52 +0100)]
luci-base: add luci.util.ubus()

Add luci.util.ubus() convenience wrapper which establishes a connection on
the first call.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: add po2lmo to .gitignore (#292)
Jo-Philipp Wich [Thu, 15 Jan 2015 08:48:47 +0000 (09:48 +0100)]
build: add po2lmo to .gitignore (#292)

9 years agoMerge pull request #290 from chris5560/master
Jo-Philipp Wich [Sun, 11 Jan 2015 16:42:02 +0000 (17:42 +0100)]
Merge pull request #290 from chris5560/master

luci.mk: cosmetic change for translation description

9 years agoluci-app-ushare: mark as broken since ushare is in oldpackages
Jo-Philipp Wich [Sun, 11 Jan 2015 16:39:46 +0000 (17:39 +0100)]
luci-app-ushare: mark as broken since ushare is in oldpackages

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci.mk: cosmetic change for translation description 290/head
Christian Schoenebeck [Sun, 11 Jan 2015 16:10:32 +0000 (17:10 +0100)]
luci.mk: cosmetic change for translation description

Sample:
old: "Deutsch (German)"
new: "Translation for luci-app-ddns - Deutsch (German)"

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoluci-mod-admin-full: fix luci-bwc compilation
Jo-Philipp Wich [Sun, 11 Jan 2015 15:22:12 +0000 (16:22 +0100)]
luci-mod-admin-full: fix luci-bwc compilation

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #289 from chris5560/master
Jo-Philipp Wich [Sat, 10 Jan 2015 23:27:14 +0000 (00:27 +0100)]
Merge pull request #289 from chris5560/master

luci-app-ddns: adaption to new luci structure and cleanup

9 years agoluci-app-ddns: adaption to new luci structure and cleanup 289/head
Christian Schoenebeck [Sat, 10 Jan 2015 23:14:59 +0000 (00:14 +0100)]
luci-app-ddns: adaption to new luci structure and cleanup

- adaption to LuCI's new directory structure on github
- adaption to LuCI's new Makefile optional settings
- remove CHANGELOG from github
- directory structure cleanup
not all patches of 2.1.0-3 and before were applied to new directory
structure

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agobuild: rework language dependencies
Jo-Philipp Wich [Sat, 10 Jan 2015 22:36:26 +0000 (23:36 +0100)]
build: rework language dependencies

Rework the language package dependencies to avoid introducing unnecessary
depends. The luci-i18n-$app-$lang packages now depend on luci-$app.

 * When a language is selected as <*> then the language packs for each
   enabled LuCI module are built into the image
 * When a language is selected as <m> then the language packs for each
   enabled LuCI module are built as package
 * When CONFIG_ALL is set (e.g. release builds, snapshots) then all
   language packs are built

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #288 from chris5560/master
Jo-Philipp Wich [Sat, 10 Jan 2015 21:39:41 +0000 (22:39 +0100)]
Merge pull request #288 from chris5560/master

Modified dependencies

9 years agoModified dependencies 288/head
Christian Schoenebeck [Sat, 10 Jan 2015 21:33:43 +0000 (22:33 +0100)]
Modified dependencies

Module luci-base
- libubus-lua not needed

Module luci-mod-admin
- libubus-lua needed

Collection luci
- luci-lib-nixio not needed, already in luci-base

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoluci-base: handle missing translations in template engine
Jo-Philipp Wich [Sat, 10 Jan 2015 20:19:54 +0000 (21:19 +0100)]
luci-base: handle missing translations in template engine

Previously the template engine did not interpolate translation macros if no
translation catalogue could be loaded due to a missing i18n directory.

Change the offending code to return the original string in any error case.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: add depends on libubus-lua and luci-lib-nixio as well
Jo-Philipp Wich [Sat, 10 Jan 2015 18:58:06 +0000 (19:58 +0100)]
luci-base: add depends on libubus-lua and luci-lib-nixio as well

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: depend on libuci-lua
Jo-Philipp Wich [Sat, 10 Jan 2015 18:54:05 +0000 (19:54 +0100)]
luci-base: depend on libuci-lua

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: fix language dependency handling
Jo-Philipp Wich [Sat, 10 Jan 2015 13:20:18 +0000 (14:20 +0100)]
build: fix language dependency handling

Turn language selection into a tristate, this allows building language
packages without having them included in the image.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: fix dependency on lua (#284)
Jo-Philipp Wich [Sat, 10 Jan 2015 12:40:31 +0000 (13:40 +0100)]
luci-base: fix dependency on lua (#284)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: depend on Lua (#283)
Jo-Philipp Wich [Fri, 9 Jan 2015 15:35:23 +0000 (16:35 +0100)]
luci-base: depend on Lua (#283)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-app-ahcp: remove empty src directory
Jo-Philipp Wich [Fri, 9 Jan 2015 12:23:34 +0000 (13:23 +0100)]
luci-app-ahcp: remove empty src directory

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-px5g: add missing src Makefile and fix depends
Jo-Philipp Wich [Fri, 9 Jan 2015 12:19:28 +0000 (13:19 +0100)]
luci-lib-px5g: add missing src Makefile and fix depends

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-lib-luaneightbl: add src Makefile and fix dependencies (#282)
Jo-Philipp Wich [Fri, 9 Jan 2015 12:04:01 +0000 (13:04 +0100)]
luci-lib-luaneightbl: add src Makefile and fix dependencies (#282)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: fix build dep spec in previous commit (#281)
Jo-Philipp Wich [Thu, 8 Jan 2015 21:23:38 +0000 (22:23 +0100)]
luci-mod-admin-full: fix build dep spec in previous commit (#281)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-mod-admin-full: add build dependency on libiwinfo
Jo-Philipp Wich [Thu, 8 Jan 2015 21:17:36 +0000 (22:17 +0100)]
luci-mod-admin-full: add build dependency on libiwinfo

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: remove remainders of old build system
Jo-Philipp Wich [Thu, 8 Jan 2015 15:52:51 +0000 (16:52 +0100)]
build: remove remainders of old build system

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: adapt zoneinfo2lua.pl to new structure
Jo-Philipp Wich [Thu, 8 Jan 2015 15:51:47 +0000 (16:51 +0100)]
build: adapt zoneinfo2lua.pl to new structure

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRemove obsolete .mk files
Jo-Philipp Wich [Thu, 8 Jan 2015 15:49:42 +0000 (16:49 +0100)]
Remove obsolete .mk files

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: adapt i18n-update.pl to new structure
Jo-Philipp Wich [Thu, 8 Jan 2015 15:46:58 +0000 (16:46 +0100)]
build: adapt i18n-update.pl to new structure

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agobuild: adapt mkbasepot.sh to new structure
Jo-Philipp Wich [Thu, 8 Jan 2015 15:40:09 +0000 (16:40 +0100)]
build: adapt mkbasepot.sh to new structure

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agocontrib: remove abandonned projects
Jo-Philipp Wich [Thu, 8 Jan 2015 15:35:30 +0000 (16:35 +0100)]
contrib: remove abandonned projects

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMove mjpg-streamer.pot to the right directory
Jo-Philipp Wich [Thu, 8 Jan 2015 15:34:17 +0000 (16:34 +0100)]
Move mjpg-streamer.pot to the right directory

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRemove obsolete i18n directory
Jo-Philipp Wich [Thu, 8 Jan 2015 15:32:32 +0000 (16:32 +0100)]
Remove obsolete i18n directory

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRemove obsolete ipkg directories
Jo-Philipp Wich [Thu, 8 Jan 2015 15:31:40 +0000 (16:31 +0100)]
Remove obsolete ipkg directories

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agocontrib: remove obsolete luci package definitions
Jo-Philipp Wich [Thu, 8 Jan 2015 14:58:53 +0000 (15:58 +0100)]
contrib: remove obsolete luci package definitions

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoluci-base: luci.util: rewrite threadlocal code to not confuse minifier
Jo-Philipp Wich [Thu, 8 Jan 2015 14:56:35 +0000 (15:56 +0100)]
luci-base: luci.util: rewrite threadlocal code to not confuse minifier

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoRework LuCI build system
Jo-Philipp Wich [Wed, 3 Dec 2014 14:17:05 +0000 (15:17 +0100)]
Rework LuCI build system

 * Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
9 years agoMerge pull request #278 from nmav/ocserv
Jo-Philipp Wich [Mon, 5 Jan 2015 18:04:19 +0000 (19:04 +0100)]
Merge pull request #278 from nmav/ocserv

Print the ocserv's certificate hash and key ID

9 years agoPrint the ocserv's certificate hash and key ID 278/head
Nikos Mavrogiannopoulos [Sat, 3 Jan 2015 17:50:22 +0000 (18:50 +0100)]
Print the ocserv's certificate hash and key ID

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
9 years agoMerge pull request #264 from thess/mjpg-streamer
Jo-Philipp Wich [Mon, 5 Jan 2015 16:16:59 +0000 (17:16 +0100)]
Merge pull request #264 from thess/mjpg-streamer

luci-app-mjpg-streamer: Add new module for mjpg-streamer management

9 years agoMerge pull request #273 from FreifunkUFO/master
Jo-Philipp Wich [Mon, 5 Jan 2015 15:35:50 +0000 (16:35 +0100)]
Merge pull request #273 from FreifunkUFO/master

luci-freifunk-diagnostics: change adress to an ipv6-enabled host

9 years agochange adress to an ipv6-enabled host 273/head
FreifunkUFO [Mon, 29 Dec 2014 18:05:00 +0000 (19:05 +0100)]
change adress to an ipv6-enabled host

9 years agoMerge pull request #271 from FreifunkUFO/master
Manuel Munz [Thu, 25 Dec 2014 09:15:51 +0000 (10:15 +0100)]
Merge pull request #271 from FreifunkUFO/master

package/community-profiles: add profile_31c3

9 years agodetails 31c3 271/head
FreifunkUFO [Wed, 24 Dec 2014 02:50:24 +0000 (03:50 +0100)]
details 31c3

9 years agonew profile for 31c3
FreifunkUFO [Wed, 24 Dec 2014 02:41:38 +0000 (03:41 +0100)]
new profile for 31c3

9 years agoMerge pull request #267 from n3ph/master
Manuel Munz [Thu, 18 Dec 2014 00:53:26 +0000 (01:53 +0100)]
Merge pull request #267 from n3ph/master

package/community-profiles: add profile_freiburg

9 years agoUpdate profile_freiburg 267/head
n3ph [Wed, 17 Dec 2014 17:45:34 +0000 (18:45 +0100)]
Update profile_freiburg

The SSID freiburg.freifunk.net is used as the VAP-SSID so we have to use sth. different for the ad-hoc SSID..

ATM 02:d1:11:37:fc:38 - why not using 02:CA:FF:EE:BA:BE...

9 years agoCreate profile_freiburg 266/head
n3ph [Wed, 17 Dec 2014 17:27:38 +0000 (18:27 +0100)]
Create profile_freiburg

9 years agoMerge pull request #262 from chris5560/master
Jo-Philipp Wich [Tue, 9 Dec 2014 15:38:04 +0000 (16:38 +0100)]
Merge pull request #262 from chris5560/master

luci-app-ddns: Update to support ddns-scripts 2.1.0-3

9 years agoluci-app-mjpg-streamer: Add new module for mjpg-streamer management 264/head
Ted Hess [Fri, 10 Oct 2014 22:27:40 +0000 (18:27 -0400)]
luci-app-mjpg-streamer: Add new module for mjpg-streamer management

Signed-off-by: Ted Hess <thess@kitschensync.net>
9 years agoluci-app-ddns: Update to support ddns-scripts 2.1.0-3 262/head
Christian Schoenebeck [Sun, 7 Dec 2014 20:31:57 +0000 (21:31 +0100)]
luci-app-ddns: Update to support ddns-scripts 2.1.0-3

- modified controller
-- remove support for ddns-scripts Version 1.x
-- ddns-scripts not correctly installed do not start
-- no config file create an empty one
- moved log settings to advanced tab
- set default syslog level "Notice"
- removed special handling for dynamic_dns_helper.sh in postinst

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
9 years agoMerge pull request #256 from chris5560/master
Jo-Philipp Wich [Mon, 24 Nov 2014 10:37:24 +0000 (11:37 +0100)]
Merge pull request #256 from chris5560/master

luci-app-ddns: modified to support ddns-scripts 2.1.0-2

9 years agoMerge pull request #258 from remakeelectric/accept-multi-chunk-post
Jo-Philipp Wich [Sat, 22 Nov 2014 18:21:26 +0000 (19:21 +0100)]
Merge pull request #258 from remakeelectric/accept-multi-chunk-post

luci.http.protocol: Allow posts to contain more than a single chunk

9 years agoluci.http.protocol: Allow posts to contain more than a single chunk 258/head
Karl Palsson [Fri, 21 Nov 2014 18:18:51 +0000 (18:18 +0000)]
luci.http.protocol: Allow posts to contain more than a single chunk

The ltn12.pump.step() loop in parse_message_body was incorrectly testing
for EOF, and returning after the first chunk, even if further chunks
were available.  The loop in parse_message_header made the correct
check, and test code making raw ajax json posts now succeeds for posts
>= 2048 bytes.

Signed-off-by: Karl Palsson <karlp@remake.is>
9 years agoMerge pull request #257 from NeoRaider/master
Jo-Philipp Wich [Mon, 17 Nov 2014 14:21:47 +0000 (15:21 +0100)]
Merge pull request #257 from NeoRaider/master

modules/base: ltn12: fix source.file() termination condition

9 years agomodules/base: ltn12: source.file() should terminate when an empty chunk is read 257/head
Matthias Schiffer [Mon, 17 Nov 2014 13:25:51 +0000 (14:25 +0100)]
modules/base: ltn12: source.file() should terminate when an empty chunk is read

The read method of nixio's file and socket objects both return an empty string
when they reach EOF, not nil, causing the consumer to loop endlessly as
source.file() never terminates.

As there is no other situation in which an empty chunk is read, just change it
to nil to terminate the consumer's loop.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
9 years agoluci-app-ddns: modified to support ddns-scripts 2.1.0-2 256/head
Christian Schoenebeck [Sat, 15 Nov 2014 21:06:18 +0000 (22:06 +0100)]
luci-app-ddns: modified to support ddns-scripts 2.1.0-2

- moved /usr/lib/ddns/dynamic_dns_lucihelper.sh to ddns-scripts package
- fixed error message when validating proxy
- modified validating ip_script to allow the usage of parameters
- using ipkg/postinst AND ipkg/postinst-pkg as long as LuCI Makefiles did not
fullfil requirements of new OpenWrt default_postinst and default_postrm
reported in Issue #255
- cleanup whitespaces at line ends

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>