Commit graph

1044 commits

Author SHA1 Message Date
Jo-Philipp Wich
7a531b4add modules/admin-full: make mac addresses optional in static lease configuration 2013-01-02 15:31:59 +00:00
Jo-Philipp Wich
8cfa5cc7c5 don't use symlink to /lib/functions.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>
2012-12-20 15:01:04 +00:00
Jo-Philipp Wich
bf25765406 modules/admin-full: fix "unsupported protocol" vs. "no interface assigned" errors for protocols without ifname property, e.g. 6in4 2012-12-19 10:11:03 +00:00
Jo-Philipp Wich
fb9d3ce2b6 modules/admin-full: several white-space fixes for Bootstrap 2012-12-02 14:20:42 +00:00
Manuel Munz
cad7245af2 modules/freifunk: simplify colors in map, add a legend 2012-11-30 23:55:35 +00:00
Jo-Philipp Wich
e689fa8900 modules/admin-full: filter localhost<->localhost connections live connection graph 2012-11-27 14:16:42 +00:00
Jo-Philipp Wich
848e43a5b4 remove .i18n annotations from controller files 2012-11-26 12:53:43 +00:00
Jo-Philipp Wich
7399e07593 modules/admin-full: remove leftover setTimeout() call in load graph 2012-11-21 19:34:13 +00:00
Jo-Philipp Wich
69ac1031b7 applications/luci-commands, applications/luci-upnp, modules/admin-core, modules/admin-full, modules/freifunk: clean up argument handling of leaf nodes 2012-11-21 19:29:47 +00:00
Jo-Philipp Wich
9aad27f48e modules/admin-full: fix word wrapping in wifi overview page when using bootstrap theme 2012-11-21 17:04:12 +00:00
Jo-Philipp Wich
74a140e4b4 modules/admin-full: use luci.model.ipkg.find() to support searching packages by description 2012-11-15 20:59:09 +00:00
Jo-Philipp Wich
7933cad0fa modules/admin-full: fix broken XHTML on diagnostics page 2012-11-15 13:22:04 +00:00
Jo-Philipp Wich
71b595d4f3 modules/admin-full: fix wrong load number in realtime graph (#502) 2012-11-12 16:32:08 +00:00
Manuel Munz
69dbc27ce0 admin-full/diagnostics: Allow to use ping6 and traceroute6 when available, #487 2012-11-11 12:20:56 +00:00
Manuel Munz
7b7030629c Add some more datatype checks, patch by Eugene C., #499 2012-11-10 20:55:50 +00:00
Manuel Munz
4e04e353fe admin-full/network/hosts: Fix problem when arptable is empty, #482 2012-11-10 17:38:37 +00:00
Jo-Philipp Wich
36f88887c1 modules/admin-core, modules/admin-full: fix switch port status for devices with multiple switches 2012-11-01 20:03:36 +00:00
Daniel Golle
59af400346 wifi: add controls for noscan flag
OpenWrt contains a patch for hostapd which allows to override the channel-bandwidth decission
to always use 40MHz regardless of overlapping networks.
Though it does not conform with IEEE 802.11n-2009, this became the de-facto standard behaviour
of most off-the-shelf wifi routers.

Adding this option to LuCI makes it more accessible to users, which probably not everybody will
agree with to be a good idea. However, I didn't yet come across a single commercial product which
actually complies with 802.11n-2009 in that regard.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-10-31 15:58:15 +00:00
Jo-Philipp Wich
00f8f2fbb0 modules/admin-full: disambiguate NTP client/server settings 2012-09-28 19:08:47 +00:00
Jo-Philipp Wich
14facbd91d modules/admin-full: cope with undefined scan list in wifi_join 2012-09-26 17:38:14 +00:00
Jo-Philipp Wich
02ac6686fe modules/admin-full: cope with undefined frequency lists 2012-09-26 17:34:58 +00:00
Daniel Golle
1dbb1da4d9 modules: add failsafe module
The failsafe module adds a minimal web-interface which is intended to
run on a very compact initramfs-based image intended only for flashing
firmware onto a device. This can be used as part of an installation method
or reside in a small partition on the device flash which can be booted
in case the checksum-test of the main kernel or rootfs fails.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-09-20 02:16:51 +00:00
Manuel Munz
45d812dbb7 modules/freifunk: remove sorting function from widgets include in index view 2012-09-19 09:44:20 +00:00
Manuel Munz
613de9b48f modules/freifunk: include widgets in indexpage when available 2012-09-17 14:22:14 +00:00
Jo-Philipp Wich
4bd4002a3f modules/admin-full: small style fix in switch status 2012-09-11 15:52:01 +00:00
Jo-Philipp Wich
57e51eba60 modules/admin-full, modules/admin-core, themes/base: add port status indicators to switch config page 2012-09-11 14:18:28 +00:00
Manuel Munz
9e33e992c9 modules/freifunk: Add ipv6 options to community profile form 2012-08-20 11:14:13 +00:00
Jo-Philipp Wich
dce04bbcb2 modules/admin-core, modules/admin-full: implement display support for dnsmasq dhcpv6 leases 2012-08-17 15:06:46 +00:00
Jo-Philipp Wich
d88dc89f38 modules/admin-full: also require luci.tools.proto from parent cbi model 2012-08-17 08:24:24 +00:00
Daniel Golle
b70cdbdb7b support extant Antenna configuration 2012-08-15 16:31:41 +00:00
Jo-Philipp Wich
536d329503 modules/admin-full: fix typo in dhcp cbi model, patch by "BasicXP" <basicxp@ubuntu.com> 2012-08-14 15:09:11 +00:00
Jo-Philipp Wich
a1415d7430 modules: make most remaining hardcoded strings translatable, patch by "BasicXP" <basicxp@ubuntu.com> 2012-08-14 13:08:18 +00:00
Jo-Philipp Wich
6b128c0281 modules/admin-full: use format_wifi_encryption() in wifi_join.htm to make encryption translatable 2012-08-14 12:45:06 +00:00
Jo-Philipp Wich
396350aaf4 modules/admin-full: rework help text for network_netlist widget 2012-08-09 23:44:18 +00:00
Jo-Philipp Wich
92fc96f6fd modules/niu: remove usage of wifi.channels() 2012-08-08 20:25:00 +00:00
Jo-Philipp Wich
e183e134b8 modules/admin-full: remove usage of wifi.channels() 2012-08-08 20:22:15 +00:00
Jo-Philipp Wich
a521cddcf8 modules/freifunk: use getiwinfo() instead of getiwconfig() 2012-08-08 20:07:39 +00:00
Jo-Philipp Wich
30597efafb modules/admin-mini: use getiwinfo() instead of getiwconfig() 2012-08-08 20:07:36 +00:00
Jo-Philipp Wich
a7f05a3341 modules/admin-mini: use iwinfo to perform scans 2012-08-08 19:57:05 +00:00
Jo-Philipp Wich
adafc82819 modules/admin-full: remove an ancient cbi model that hasn't been used in years 2012-08-08 19:33:17 +00:00
Jo-Philipp Wich
f0a99dd6c7 modules/admin-full: use luci.sys.net.mac_hints() in wifi maclist config 2012-08-08 15:20:10 +00:00
Jo-Philipp Wich
bf7b19f33b modules/admin-full: remove session expiry workaround from setting 2012-08-08 10:11:00 +00:00
Jo-Philipp Wich
c8ffc897e3 modules/rpc: adapt rpc controller to sauth api changes 2012-08-08 09:48:53 +00:00
Jo-Philipp Wich
a58370ab74 Rework authentication system
The validity of authentication tokens was determined by the
mtime of respective authentication tokens on filesystem
stored in $sessionpath.
Talking about hardware without RTC or without a prior
connection to a time server, date/time usually around 1970 -
so is the mtime of the authentication token file in
$sessionpath.

When now configuring an internet connection via LuCI, the
system might fetch the current date/time (e.g. via ntp)
which invalidates the token, returns "403 Forbidden" and
kicks the user out of the interface.

This patch changes the authentication system to use time values
based on the uptime of the machine - rather than values based upon
gettimeofday() and {a|m}time values - and save them inside the token.
That way can always determine the difference between login
(last interaction respectively) and the current time, in-
dependant of the system clock jumping backwards/forwards.

Warning: This patch removes the clean() function and respective calls.
This means, invalid tokens will NOT be determined and removed from
filesystem automatically anymore.
Before, every HTTP-call caused a scan for invalid tokens,
which is quite expensive. Instead consider using a cron job
deleting all stalled files periodically.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-08-07 19:11:56 +00:00
Jo-Philipp Wich
69aa218335 return "403 Forbidden" if authentication token was given, however is invalid
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-08-07 19:11:52 +00:00
Jo-Philipp Wich
3c1c9d4400 modules/admin-full: copy bssid when joining a network as client (#455) 2012-07-24 11:37:38 +00:00
Jo-Philipp Wich
746a5be1a8 modules/admin-full: expose wmm option for mac80211 interfaces 2012-07-23 08:53:50 +00:00
Manuel Munz
d0a6fbf397 mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12 2012-07-09 05:48:37 +00:00
Jo-Philipp Wich
13c3471eb3 modules/admin-full: fix frequency display on index status page 2012-07-06 01:21:27 +00:00
Daniel Golle
5be59e6ae7 Cosmetic changes to the terminology in the UI:
Replace references to the device running LuCI as being a "router", as that is
not necessarily the case.
2012-07-01 20:05:05 +00:00