Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-30 | luci-lib-nixio: pass exact sockaddr length to getnameinfo() | Jo-Philipp Wich | |
Musl libc requires the length parameter of getnameinfo() to be exactly `sizeof(struct sockaddr_in)` or `sizeof(struct sockaddr_in6)`, depending on the passed sockaddr family. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-06-04 | luci-lib-json: ignore null keys to allow encoding empty objects | Matthias Schiffer | |
There is currently no way to encode an empty object {}, as empty tables are encoded as empty lists []. With this patch, encode() will ignore table fields with the key json.null (which doesn't make sense anyways). This allows adding a field with key json.null to force encoding it as an object. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> | |||
2015-01-29 | Move inline documentation into separate files. | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-28 | luci-lib-jsonc: add api documentation | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-28 | luci-lib-ip: add api documentation | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-28 | luci-lib-nixio: move CHANGELOG and README into nixio namespace | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-28 | luci-lib-ip: add functions to deal with IPv6 mapped IPv6 | Jo-Philipp Wich | |
* 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> | |||
2015-01-28 | luci-lib-ip: multiple fixes | Jo-Philipp Wich | |
* 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> | |||
2015-01-26 | libs: add luci-lib-jsonc, a Lua binding for JSON-C | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-26 | luci-lib-ip: accept 2nd netmask argument in new(), IPv4() and IPv6() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-25 | luci-lib-ip: fix segfault in link() on systems with ip6gre support | Jo-Philipp Wich | |
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> | |||
2015-01-24 | luci-lib-ip: fix netlink receiving in link() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-23 | luci-lib-ip: add link() method to get basic iface info | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-22 | luci-lib-ip: always return table for dump, even if empty | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-22 | luci-lib-ip: support filtering neighbors by mac or dest addr | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-22 | luci-lib-ip: fix routes() for non-callback invocations | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-22 | luci-lib-nixio: always assume Linux target (#307) | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-22 | libs: add luci-lib-ip | Jo-Philipp Wich | |
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 | add params support in options | Yuzo | |
2015-01-22 | send Cookie in a single header line, follow browser behavior | Yuzo | |
2015-01-22 | add sock::readall() to ensure the response body is complete | Yuzo | |
2015-01-16 | Update my email addresses in the license headers | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-16 | Globally reduce copyright headers | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-15 | luci-lib-nixio: drop "bit" compatibility class | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-15 | luci-lib-px5g: disable MIPS16 | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-09 | luci-lib-px5g: add missing src Makefile and fix depends | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-09 | luci-lib-luaneightbl: add src Makefile and fix dependencies (#282) | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-08 | Remove obsolete .mk files | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-01-08 | Rework LuCI build system | Jo-Philipp Wich | |
* 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> | |||
2014-10-16 | httpclient: fix logic error for redirects | Manuel Munz | |
2014-06-11 | build: remove abandonned sgi libraries | Jo-Philipp Wich | |
2014-06-11 | build: introduce luci-base | Jo-Philipp Wich | |
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 | Remove unmaintained components: lucid, fastindex, niu | Jo-Philipp Wich | |
2014-04-24 | libs/sys: make sure to always return a table from arptable() when no ↵ | Jo-Philipp Wich | |
callback is passed (#671) | |||
2014-03-28 | libs/sgi-uhttpd: fix binding to properly work with current uhttpd2 ↵ | Jo-Philipp Wich | |
implementation Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2014-03-28 | libs/sgi-uhttpd: do not assume env.CONTENT_LENGTH to be a number | Jo-Philipp Wich | |
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-02-05 | httpclient: fix parsing of IPv6 URLs (#662) | Jo-Philipp Wich | |
2014-02-05 | build: fix clean targets in Makefiles (#667) | Jo-Philipp Wich | |
2013-12-03 | libs/core: further network model compatibility fixes | Jo-Philipp Wich | |
2013-12-03 | libs/core: make luci.model.network compatible with new wireless netifd ↵ | Jo-Philipp Wich | |
integration | |||
2013-12-03 | libs/json: add proper support for decoding unicode escapes | Jo-Philipp Wich | |
2013-07-07 | add luaneightbl: this is an arp replacement for ipv6. neightbl.get(wlan0) ↵ | Patrick Grimm | |
return ip,mac table this can use in a for loop "for ip,mac in pairs(t) do" Thanx Cyrus | |||
2013-05-23 | Add support for stateful DHCPv6 | Steven Barth | |
2013-04-04 | libs/web: do not cast to string when using network_netlist widget (#560) | Jo-Philipp Wich | |
2013-04-04 | libs/core: do not consider alternative routing tables in luci.model.network ↵ | Jo-Philipp Wich | |
for now | |||
2013-03-27 | libs/sys: fix incomplete options table when parsing iptables rules | Jo-Philipp Wich | |
2013-03-19 | libs/core: fallback to ipv6-prefix-assignment if ipv6-address is empty | Jo-Philipp Wich | |
2013-02-05 | libs/web: allow '!' and '.' symbols in phonedigit datatype | Jo-Philipp Wich | |
2013-01-30 | modules/admin-full: Add swap info to admin_status page if swap is available, ↵ | Manuel Munz | |
#533 | |||
2013-01-27 | libs/web: further endian fixes in lmo processing | Jo-Philipp Wich | |