Commit graph

7515 commits

Author SHA1 Message Date
Jo-Philipp Wich
fac0228313 luci-app-splash: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 21:57:00 +01:00
Jo-Philipp Wich
b24dfd52ac luci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:50:00 +01:00
Jo-Philipp Wich
213595ce85 luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:45:28 +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
44ee102ff9 luci-app-olsr: rewrite mac address resolving
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 17:52:44 +01:00
Jo-Philipp Wich
7dc9f86749 luci-mod-freifunk: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 16:44:01 +01:00
Jo-Philipp Wich
625a89a370 luci-app-coovachilli: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 16:36:18 +01:00
Jo-Philipp Wich
feb576413b luci-app-siitwizard: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 16:29:35 +01:00
Jo-Philipp Wich
5b94c1cca2 luci-mod-admin-full: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:53:16 +01:00
Jo-Philipp Wich
e9bfa5fe79 luci-lib-ip: fix routes() for non-callback invocations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:25:41 +01:00
Jo-Philipp Wich
b48386be67 luci-app-olsr: use luci.ip.routes() to find default gw
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:12:56 +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
8cf1b1374d luci-lib-nixio: always assume Linux target (#307)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
0ff02e3a13 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>
2015-01-22 15:01:50 +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
4b2d2e3603 Merge pull request #306 from Preffer/master
libs/luci-lib-httpclient: fix not straightforward behavior of httpclient
2015-01-22 12:06:05 +01:00
Yuzo
3dbdff7096 add params support in options 2015-01-22 13:12:48 +08:00
Yuzo
b6d4f32dcc send Cookie in a single header line, follow browser behavior 2015-01-22 12:50:58 +08:00
Yuzo
c30cf9abd4 add sock::readall() to ensure the response body is complete 2015-01-22 11:34:00 +08:00
Nikos Mavrogiannopoulos
d0759af923 luci-app-ocserv: Added option to enable compression 2015-01-20 22:21:20 +01:00
Nikos Mavrogiannopoulos
7a792ee564 luci-app-ocserv: uclibc's crypt() doesn't support sha2crypt
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-20 22:19:11 +01:00
Christian Schoenebeck
55ab4e4ce2 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>
2015-01-19 21:08:03 +01:00
Jo-Philipp Wich
0d541a4cbd Merge pull request #299 from nmav/ocserv-match
luci-app-ocserv: modified match to apply to newer versions of occtl
2015-01-19 18:39:10 +01:00
Jo-Philipp Wich
c96d986645 Merge pull request #301 from nmav/ocserv4
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
2015-01-19 18:38:51 +01:00
Jo-Philipp Wich
3efb9ed60b Merge pull request #297 from chris5560/master
luci-app-ddns: Update to version 2.1.1-0
2015-01-19 18:37:41 +01:00
Nikos Mavrogiannopoulos
d3104487b4 luci-app-ocserv: express PKID in a way that is acceptable by openconnect
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-19 18:24:54 +01:00
Nikos Mavrogiannopoulos
f5da9b53e1 ocserv: modified match to apply to newer versions of occtl
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-18 22:49:06 +01:00
Christian Schoenebeck
819a733df3 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>
2015-01-18 19:22:54 +01:00
Jo-Philipp Wich
52ecc90b31 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>
2015-01-18 17:27:16 +01:00
Jo-Philipp Wich
30d45d0c0e themes: fix load number formatting
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17 15:17:42 +01:00
Jo-Philipp Wich
4abf1caa3f luci-theme-openwrt: fix version display
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17 00:40:31 +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
9e1383dd40 luci-mod-admin-full: directly require luci.version and fetch uname with library call
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
Jo-Philipp Wich
daee4a650e themes: require luci.version directly
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
9d908ffd78 luci-app-olsr: add workaround for finding default gw with policy routing
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
bba6454b8f Merge pull request #294 from luizluca/luci-proto-3g_add-dialnumber
luci-proto-3g: add dialnumber option
2015-01-16 20:51:02 +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
224325a36d protocols: fix keepalive settings for pppd based protocols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 22:55:37 +01:00
Jo-Philipp Wich
458469bb4f luci-mod-admin-full: display routers localtime again
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 17:41:26 +01:00
Jo-Philipp Wich
a35fffe3c3 luci-mod-admin-full: fix missing nixio.fs require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:34:48 +01: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
575e1093ab luci-lib-nixio: drop "bit" compatibility class
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:05:31 +01:00
Jo-Philipp Wich
6043fe9433 luci-app-siitwizard: explicitely require bit library
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:04:54 +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
6ff7bae36a luci-mod-admin-full: remove useless "bit" requires
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:25 +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