summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
2015-01-18luci-app-ddns: Update to version 2.1.1-0Christian Schoenebeck
- 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-18luci.mk: expose option to override PKGARCH (#295)Jo-Philipp Wich
Also mark packages without src/ as arch independant by default. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17themes: fix load number formattingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17luci-theme-openwrt: fix version displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16luci-base: remove luci.initJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16luci-mod-admin-full: directly require luci.version and fetch uname with ↵Jo-Philipp Wich
library call Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16luci-base: use local sys module table in luci.dispatcherJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16themes: require luci.version directlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>