summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
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-mod-freifunk: 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-base: depend on luci-lib-ip and remove ip.luaJo-Philipp Wich
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-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-16luci-proto-3g: add dialnumber optionLuiz Angelo Daros de Luca
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-15luci-mod-admin-full: display routers localtime againJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: fix missing nixio.fs requireJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-base: remove old fastindex support code, use cached module tablesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-base: remove unconditional "bit" preloadingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: remove useless "bit" requiresJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-base: drop luci.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-failsafe: switch to nixio.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: switch to nixio.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-freifunk: switch to nixio.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-freifunk: eliminate uses of luci.sys.sysinfo()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-mini: remove uses of luci.sys.sysinfo()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: eliminate the use of luci.sys.sysinfo()Jo-Philipp Wich
Fetch the required information via ubus instead of relying on the to-be-removed luci.sys.sysinfo() and luci.sys.loadavg() functions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-base: switch luci.model.network to common ubus apiJo-Philipp Wich
Replaces the ubus calls in luci.model.network with the common api from luci.util. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-base: switch to ubus sessionsJo-Philipp Wich
Remove luci.sauth session storage implementation and offload the session management to the rpcd ubus backend. Also depend on rpcd due to this.
2015-01-15luci-base: add luci.util.ubus()Jo-Philipp Wich
Add luci.util.ubus() convenience wrapper which establishes a connection on the first call. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-11luci-mod-admin-full: fix luci-bwc compilationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10Modified dependenciesChristian Schoenebeck
Module luci-base - libubus-lua not needed Module luci-mod-admin - libubus-lua needed Collection luci - luci-lib-nixio not needed, already in luci-base Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-10luci-base: handle missing translations in template engineJo-Philipp Wich
Previously the template engine did not interpolate translation macros if no translation catalogue could be loaded due to a missing i18n directory. Change the offending code to return the original string in any error case. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10luci-base: add depends on libubus-lua and luci-lib-nixio as wellJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10luci-base: depend on libuci-luaJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10luci-base: fix dependency on lua (#284)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-09luci-base: depend on Lua (#283)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08luci-mod-admin-full: fix build dep spec in previous commit (#281)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08luci-mod-admin-full: add build dependency on libiwinfoJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Remove obsolete .mk filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08luci-base: luci.util: rewrite threadlocal code to not confuse minifierJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-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-11-21luci.http.protocol: Allow posts to contain more than a single chunkKarl Palsson
The ltn12.pump.step() loop in parse_message_body was incorrectly testing for EOF, and returning after the first chunk, even if further chunks were available. The loop in parse_message_header made the correct check, and test code making raw ajax json posts now succeeds for posts >= 2048 bytes. Signed-off-by: Karl Palsson <karlp@remake.is>
2014-11-17modules/base: ltn12: source.file() should terminate when an empty chunk is readMatthias Schiffer
The read method of nixio's file and socket objects both return an empty string when they reach EOF, not nil, causing the consumer to loop endlessly as source.file() never terminates. As there is no other situation in which an empty chunk is read, just change it to nil to terminate the consumer's loop. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-11-14Update timezone info to 2014i (from 2011n)Hannu Nyman
Timezone information embedded in Luci is updated to 2014i. Afaik, the old data was from version 2011n. I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10 buildhost that contains 2014i version of the timezone data. 2014j has been released this week, but is not yet embedded in Ubuntu and Turks&Caicos is the only affected country/zone. 2014i: http://mm.icann.org/pipermail/tz-announce/2014-October/000026.html 2014j: http://mm.icann.org/pipermail/tz-announce/2014-November/000027.html This update should fix Openwrt bugs #11445 and #18323. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-11-11modules/admin-full: make wifi enabling/disabling more reliableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-11-09Add odhcpd to ucitrack of dhcpSteven Barth
2014-10-31modules/admin-full: add CDATA comments to wireless_modefreq.htm script tagJo-Philipp Wich
This should fix non-wellformed page errors with XHTML themes. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-26base: trigger page reload with cbi reset buttonJo-Philipp Wich
Many complex widgets do not reset properly with traditional form reset, therfore simply reload the page. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-26modules/admin-full: rework hwmode/htmode/channel selectionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>