Jo-Philipp Wich
eb1ef783f6
luci-lib-ip: fix netlink receiving in link()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-24 14:25:53 +01:00
Jo-Philipp Wich
671566d701
luci-lib-ip: add link() method to get basic iface info
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-23 13:00:51 +01:00
Jo-Philipp Wich
4ab9f972c4
luci-lib-ip: always return table for dump, even if empty
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 23:59:11 +01:00
Jo-Philipp Wich
e85698638f
luci-lib-ip: support filtering neighbors by mac or dest addr
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 23:43:56 +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
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
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
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
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
0b491a05ca
luci-lib-px5g: disable MIPS16
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 11:12:11 +01:00
Jo-Philipp Wich
f4fb587125
luci-lib-px5g: add missing src Makefile and fix depends
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-09 13:19:28 +01:00
Jo-Philipp Wich
3c6d03ddee
luci-lib-luaneightbl: add src Makefile and fix dependencies ( #282 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-09 13:04:01 +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
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
Manuel Munz
0103344663
httpclient: fix logic error for redirects
2014-10-16 12:22:49 +02:00
Jo-Philipp Wich
e4be3f94a0
build: remove abandonned sgi libraries
2014-06-11 13:33:03 +00:00
Jo-Philipp Wich
7043c30e0e
build: introduce luci-base
...
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd,
modules/admin-core, themes/base and protcols/core into modules/base and renames
luci-lib-core to luci-base.
2014-06-11 13:29:05 +00:00
Jo-Philipp Wich
91b97bc9f6
Remove unmaintained components: lucid, fastindex, niu
2014-06-11 12:37:19 +00:00
Jo-Philipp Wich
b2d5843ddc
libs/sys: make sure to always return a table from arptable() when no callback is passed ( #671 )
2014-04-24 21:42:48 +00:00
Jo-Philipp Wich
c3bf59a91d
libs/sgi-uhttpd: fix binding to properly work with current uhttpd2 implementation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-03-28 16:59:08 +00:00
Jo-Philipp Wich
0efb19876b
libs/sgi-uhttpd: do not assume env.CONTENT_LENGTH to be a number
...
env.CONTENT_LENGTH as passed by uhttpd might be a string, so explicitely
convert it using tonumber().
Issue has been reported by Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-03-28 16:37:03 +00:00
Jo-Philipp Wich
b92a01d3ae
httpclient: fix parsing of IPv6 URLs ( #662 )
2014-02-05 13:44:07 +00:00
Jo-Philipp Wich
c1bd1e59d3
build: fix clean targets in Makefiles ( #667 )
2014-02-05 13:35:34 +00:00
Jo-Philipp Wich
cb6bdd9f50
libs/core: further network model compatibility fixes
2013-12-03 15:23:09 +00:00
Jo-Philipp Wich
e22e6dd9ca
libs/core: make luci.model.network compatible with new wireless netifd integration
2013-12-03 15:04:34 +00:00
Jo-Philipp Wich
297d368ecc
libs/json: add proper support for decoding unicode escapes
2013-12-03 15:04:32 +00:00
Patrick Grimm
54001e307e
add luaneightbl: this is an arp replacement for ipv6. neightbl.get(wlan0) return ip,mac table this can use in a for loop "for ip,mac in pairs(t) do" Thanx Cyrus
2013-07-07 12:45:59 +00:00
Steven Barth
5200eb1577
Add support for stateful DHCPv6
2013-05-23 10:14:20 +00:00
Jo-Philipp Wich
5fed5c91f8
libs/web: do not cast to string when using network_netlist widget ( #560 )
2013-04-04 14:06:26 +00:00
Jo-Philipp Wich
875bfd7706
libs/core: do not consider alternative routing tables in luci.model.network for now
2013-04-04 14:06:12 +00:00
Jo-Philipp Wich
4fa798dffe
libs/sys: fix incomplete options table when parsing iptables rules
2013-03-27 13:28:26 +00:00
Jo-Philipp Wich
f804a21c8d
libs/core: fallback to ipv6-prefix-assignment if ipv6-address is empty
2013-03-19 17:26:01 +00:00
Jo-Philipp Wich
c6712bdc3c
libs/web: allow '!' and '.' symbols in phonedigit datatype
2013-02-05 13:15:48 +00:00
Manuel Munz
5b129819cc
modules/admin-full: Add swap info to admin_status page if swap is available, #533
2013-01-30 13:36:20 +00:00
Jo-Philipp Wich
6bec9b6bcf
libs/web: further endian fixes in lmo processing
2013-01-27 18:18:47 +00:00
Jo-Philipp Wich
bb6ba23b3d
libs/web: add missing byteswap of index offset when parsing index offset of lmo files
2013-01-26 19:57:18 +00:00
Jo-Philipp Wich
ad3ec0d4ee
libs/web: fix endian issues in lmo conversion leading to a bad index order
2013-01-26 18:38:01 +00:00
Jo-Philipp Wich
7fd1bb5831
libs/web: support dependencies on mvalues
2013-01-22 11:52:27 +00:00
Jo-Philipp Wich
686de0fbec
move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6
2013-01-22 10:44:28 +00:00
Jo-Philipp Wich
a4f3f52d1c
New IPv6 integration
2013-01-22 10:44:16 +00:00
Jo-Philipp Wich
4fec63df9e
libs/core: remove now obsolete uint() wrapper in network model
2013-01-13 21:03:28 +00:00
Jo-Philipp Wich
237aa91089
libs/web: include limits.h to fix compilation on OS X ( #531 )
2013-01-13 18:33:21 +00:00
Jo-Philipp Wich
a52a6a4f22
libs/sys: fix luci.sys.processes.list() for entries with spaces i nthe STAT column ( #528 )
2013-01-11 18:16:26 +00:00
Jo-Philipp Wich
018cbe69a9
libs/web: fix missing escapes in network_ifacelist widget
2012-12-25 02:43:03 +00:00
Jo-Philipp Wich
33fba71fc9
libs/core: make luci.util.spairs(), kspairs() and vspairs() return the sequential index as 3rd variable
2012-12-25 02:28:20 +00:00
Jo-Philipp Wich
8cfa5cc7c5
don't use symlink to /lib/functions.sh
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
2012-12-20 15:01:04 +00:00