summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2015-04-17luci-mod-admin-full: handle missing size for block devicesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-12luci-mod-admin-full: simply fstab configurationJo-Philipp Wich
Simplify fstab setup by offering hints for uuid/label and device node options. Fix rootfs handling logic by removing obsolete references to the "is_rootfs" option and offering "/" and "/overlay" choices for the mountpoint instead. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-18luci-base: fix backslash escaping in luci.util.serialize_json()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-10Merge pull request #336 from legendtang/fixJo-Philipp Wich
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
2015-03-02/etc/config/dhcp江海客
config dhcp null
2015-03-01luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182Legend Tang
2015-02-14wifi.lua: add "Back to Overview" buttonChristian Schoenebeck
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-09Avoid setting duplicate cookiesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09luci-base: pass session timeout as integerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09luci-mod-freifunk: fix public status pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09luci-base: establish ubus connection before dropping privileges (#310)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-08admin_network: interface details, implement back to overviewChristian Schoenebeck
Implements "Back to Overview" on interface details page Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-04Timezone data: Update to 2015aHannu Nyman
Timezone information is updated to 2015a, released on 30 Jan 15. I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10. Changes are rather small: http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html The Mexican state of Quintana Roo, represented by America/Cancun, will shift from Central Time with DST to Eastern Time without DST. Chile will not change clocks in April or thereafter; its new standard time will be its old daylight saving time. This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer. Ps. I manually edited headers to have the shorter new copyright, instead of the long one generated buy the script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-01-29Move inline documentation into separate files.Jo-Philipp Wich
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-24luci-mod-admin-full: use sysupgrade -T to test imagesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
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-22luci-base: remove unused functions from luci.sys.netJo-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-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>