Jo-Philipp Wich
6c16f97c4c
luci-base: remove unused functions from luci.sys.net
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 23:55:11 +01:00
Jo-Philipp Wich
577b772824
luci-base: rewrite luci.tools.webadmin and remove unused functions
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:25:49 +01:00
Jo-Philipp Wich
0e90bf98df
luci-base: depend on luci-lib-ip and remove ip.lua
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:08:09 +01:00
Jo-Philipp Wich
390c4bd5a7
luci-base: use serialize_json() in luci.http
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
61a9a58efc
luci-base: add luci.util.serialize_json()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
41d2b33087
Update my email addresses in the license headers
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:49:44 +01:00
Jo-Philipp Wich
7a3493b1f7
Globally reduce copyright headers
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Jo-Philipp Wich
9980114624
luci-base: remove luci.init
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
2ebc394347
luci-base: use local sys module table in luci.dispatcher
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Luiz Angelo Daros de Luca
b34c9ae639
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>
2015-01-16 15:37:13 -02:00
Jo-Philipp Wich
7aa838988f
luci-base: remove old fastindex support code, use cached module tables
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:32:03 +01:00
Jo-Philipp Wich
e2ec170445
luci-base: remove unconditional "bit" preloading
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:54 +01:00
Jo-Philipp Wich
e91b603acc
luci-base: drop luci.fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:40:33 +01:00
Jo-Philipp Wich
76eb057b2c
luci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 14:26:36 +01:00
Jo-Philipp Wich
c159d28091
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>
2015-01-15 11:10:02 +01:00
Jo-Philipp Wich
199c8cbc4c
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.
2015-01-15 11:09:05 +01:00
Jo-Philipp Wich
eb8560061a
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>
2015-01-15 11:03:31 +01:00
Christian Schoenebeck
42757cb549
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>
2015-01-10 22:33:43 +01:00
Jo-Philipp Wich
9a81d8ff32
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>
2015-01-10 21:19:54 +01:00
Jo-Philipp Wich
1380c7b07d
luci-base: add depends on libubus-lua and luci-lib-nixio as well
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 19:58:06 +01:00
Jo-Philipp Wich
26aefe4f69
luci-base: depend on libuci-lua
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 19:54:05 +01:00
Jo-Philipp Wich
c97011fd97
luci-base: fix dependency on lua ( #284 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 13:42:42 +01:00
Jo-Philipp Wich
3afecbd8ab
luci-base: depend on Lua ( #283 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-09 16:35:23 +01:00
Jo-Philipp Wich
4cb3aed0ca
Remove obsolete .mk files
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:49:42 +01:00
Jo-Philipp Wich
fa84ca05d5
luci-base: luci.util: rewrite threadlocal code to not confuse minifier
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Jo-Philipp Wich
1bb4822dca
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>
2015-01-08 16:26:20 +01:00