summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
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>
2014-10-21modules/base: work around wireless status changesJo-Philipp Wich
The latest netifd updates changed the ubus wireless status reporting in a way that breaks the current LuCI integration. Work around the changed format by translating the extended UCI section syntax back to the plain one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-20modules/base: attempt to work around Firefox autocomplete bugsJo-Philipp Wich
Ref: https://dev.openwrt.org/ticket/18176 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-11Merge pull request #220 from Wedmer/openvpnfix_dtfix_watchcatfixJo-Philipp Wich
applications/luci-openvpn: fixes for current openWRT openvpn packages.
2014-10-10modules/admin-full: fix support for broadcom-wl modesÁlvaro Fernández Rojas
This adds N modes support for proprietary Broadcom WiFi driver and adds a/b/g modes detection. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-10-10Added device tree model supportVladimir Ulrich
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2014-10-10modules/admin-full: add support for configuring mirror portJo-Philipp Wich
This adds the LuCI support for setting a mirror port on AR8327 switches. Patch provided by Colin Leitner <colin.leitner@gmail.com> Ref: https://dev.openwrt.org/attachment/ticket/10202 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-10wifi.lua: Add support for toggling WPS button.Hannu Nyman
The patch checks the existence of the needed files for the WPS support and if they are present, shows the option to toggle WPS pushbutton settings. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-10-10modules/admin-full: fix wifi channel selection on multiple STA networksStephan Günther
Besides several AP networks, I have configured two STA networks on my openwrt box - both on the same radio and thus on the same channel. This was done via LuCI. However after both STA networks were set up, I am unable to edit the channel on neither network. When editing the one STA network, LuCI tells me that the channel is locked by the other STA network. Same for the other STA network. Looks like a bug to me, so I made a patch. Signed-off-by: Stephan Günther <steph.guenther@googlemail.com>