summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-01-29Move inline documentation into separate files.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28luci-lib-jsonc: add api documentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28luci-lib-ip: add api documentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28luci-lib-nixio: move CHANGELOG and README into nixio namespaceJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28build: remove *.luadoc files before packagingJo-Philipp Wich
2015-01-28Remove outdated luadoc from contribJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28build: add modified luadoc for use with LuCI sourcesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-28luci-lib-ip: add functions to deal with IPv6 mapped IPv6Jo-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-28luci-lib-ip: multiple fixesJo-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-26luci-app-firewall: rework internal/external zone list handling when adding ↵Jo-Philipp Wich
forwards Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-26luci-base: improve login/logout handlingJo-Philipp Wich
Redirect to the canonical url after login and redirect to an url without security token if the session expired. Also make sure that the login page is served with status code 403, not 200 to give ajax calls a chance to detect expired sessions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-26libs: add luci-lib-jsonc, a Lua binding for JSON-CJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-26luci-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-25luci-lib-ip: fix segfault in link() on systems with ip6gre supportJo-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-25luci-app-privoxy: fix path to luci.mk after moveJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-25Merge pull request #308 from chris5560/masterJo-Philipp Wich
luci-app-privoxy: move from openwrt/packages to openwrt/luci
2015-01-24luci-mod-admin-full: use sysupgrade -T to test imagesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-24luci-lib-ip: fix netlink receiving in link()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-24luci-app-privoxy: move from openwrt/packages to openwrt/luciChristian Schoenebeck
* move from openwrt/packages to openwrt/luci * adaption to new LuCI subdirectory structure * fix error handling * modified version handling * fixed translations Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-23luci-base: optimize luci.tools.webadmin.iface_get_network()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-23luci-lib-ip: add link() method to get basic iface infoJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-lib-ip: always return table for dump, even if emptyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-base: remove unused functions from luci.sys.netJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-lib-ip: support filtering neighbors by mac or dest addrJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-splash: convert ip4mac() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-splash: convert luci.sys.net.arptable() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-base: rewrite luci.tools.webadmin and remove unused functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-olsr: rewrite mac address resolvingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-freifunk: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-coovachilli: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-siitwizard: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-admin-full: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-lib-ip: fix routes() for non-callback invocationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-olsr: use luci.ip.routes() to find default gwJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-base: depend on luci-lib-ip and remove ip.luaJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-lib-nixio: always assume Linux target (#307)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22libs: add luci-lib-ipJo-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-22luci-base: use serialize_json() in luci.httpJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-base: add luci.util.serialize_json()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22Merge pull request #306 from Preffer/masterJo-Philipp Wich
libs/luci-lib-httpclient: fix not straightforward behavior of httpclient
2015-01-22add params support in optionsYuzo
2015-01-22send Cookie in a single header line, follow browser behaviorYuzo
2015-01-22add sock::readall() to ensure the response body is completeYuzo
2015-01-19Merge pull request #299 from nmav/ocserv-matchJo-Philipp Wich
luci-app-ocserv: modified match to apply to newer versions of occtl
2015-01-19Merge pull request #301 from nmav/ocserv4Jo-Philipp Wich
luci-app-ocserv: express PKID in a way that is acceptable by openconnect
2015-01-19Merge pull request #297 from chris5560/masterJo-Philipp Wich
luci-app-ddns: Update to version 2.1.1-0
2015-01-19luci-app-ocserv: express PKID in a way that is acceptable by openconnectNikos Mavrogiannopoulos
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-01-18ocserv: modified match to apply to newer versions of occtlNikos Mavrogiannopoulos
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>