summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2012-08-08modules/admin-full: use luci.sys.net.mac_hints() in wifi maclist configJo-Philipp Wich
2012-08-08modules/admin-full: remove session expiry workaround from settingJo-Philipp Wich
2012-08-08modules/rpc: adapt rpc controller to sauth api changesJo-Philipp Wich
2012-08-07Rework authentication systemJo-Philipp Wich
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-07return "403 Forbidden" if authentication token was given, however is invalidJo-Philipp Wich
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-07-24modules/admin-full: copy bssid when joining a network as client (#455)Jo-Philipp Wich
2012-07-23modules/admin-full: expose wmm option for mac80211 interfacesJo-Philipp Wich
2012-07-09mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() ↵Manuel Munz
was removed in OpenLayers 2.12
2012-07-06modules/admin-full: fix frequency display on index status pageJo-Philipp Wich
2012-07-01Cosmetic changes to the terminology in the UI:Daniel Golle
Replace references to the device running LuCI as being a "router", as that is not necessarily the case.
2012-06-27modules/admin-full: sort networks by zone and name in overviewJo-Philipp Wich
2012-06-26modules/admin-full: use get_wannet() and get_wan6net() to find wan networks ↵Jo-Philipp Wich
on status page
2012-06-26modules/admin-full: remove support for configuring alias interfaces, they're ↵Jo-Philipp Wich
useless now that ifaces can be part of multiple networks
2012-06-26modules/admin-full: when deleting wifi-ifaces, remove all empty leftover ↵Jo-Philipp Wich
networks, not only the first one
2012-06-26modules/admin-full: remove notice about iface exclusiveness when adding new ↵Jo-Philipp Wich
networks
2012-06-26modules/admin-full: extend wifi model to allow assigning multiple networksJo-Philipp Wich
2012-06-25modules/freifunk: Add minlength datatype to location, #444Manuel Munz
2012-06-18Only show the TX-power selector if the hardware supports more than one option.Daniel Golle
Some mac80211 drivers (rt2x00) probably won't support limiting TX-power to a user-defined value in the near future under certain conditions, so it makes sense to not expose that option in order not to confuse the user. See http://patchwork.openwrt.org/patch/2187/ to understand the situation. Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-06-05modules/admin-full: allow to specify the DHCP pool start as IPv4 address (#420)Jo-Philipp Wich
2012-05-23modules/admin-full: check /etc/ethers and /var/dhcp.leases for existence ↵Jo-Philipp Wich
before trying to read them
2012-05-06move luci specific index.html from package 'sgi-cgi' to 'admin-core'Jo-Philipp Wich
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories Signed-off-by: Mirko Vogt <mirko.vogt@external.telekom.de>
2012-05-06modules/admin-full: add mac address suggestions to mac filter settingsJo-Philipp Wich
2012-05-06modules/admin-full: filter init scripts without START in startup modelJo-Philipp Wich
2012-04-22modules/admin-full: do not show protocol warning for empty interfaces, link ↵Jo-Philipp Wich
to physical settings instead
2012-04-04modules/freifunk: Fix model/system confusion in public_statusManuel Munz
2012-04-02admin-full: allow to use translations for 'Not connected' stateJo-Philipp Wich
This allows to use translated version of the 'Net connected' string in the Status/Overview/Network section. Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-03-19modules/admin-full: since switch port numbers depend on model and current ↵Jo-Philipp Wich
solar cycle, give up on making the human readable but just give the raw index
2012-03-13modules/admin-full: reorder compiler flags for luci-bwc, fixes build on ↵Jo-Philipp Wich
Ubuntu 11.x
2012-03-04modules/admin-full: add DNS resolution to connections status page, order ↵Jo-Philipp Wich
connections descending by traffic
2012-03-04modules/admin-full: scan three times to catch more networks in wifi join setupJo-Philipp Wich
2012-03-04modules/admin-full: revert r8324Jo-Philipp Wich
2012-03-04modules/admin-core: autofocus password field in login formJo-Philipp Wich
2012-03-04modules/admin-full: reverse time labels in realtime stats (#386)Jo-Philipp Wich
2012-03-03modules/admin-full: remove per connection transfer stats, not exposed ↵Jo-Philipp Wich
anymore in recent kernels
2012-02-23modules/admin-full: display wifi rates in assoclist tablesJo-Philipp Wich
2012-02-15modules/admin-full: filter IPv6 linklocal IPs in iface overviewJo-Philipp Wich
2012-02-15modules/admin-full: remove inline style for inface boxesJo-Philipp Wich
2012-02-15modules/admin-full: use new button classes in iface overview templateJo-Philipp Wich
2012-01-24modules/admin-full: add client_cert option in wifi configurationJo-Philipp Wich
2012-01-12modules/admin-full: redirect init script output in startup model actionsJo-Philipp Wich
2012-01-06modules/admin-full: set password of logged in user instead of ↵Jo-Philipp Wich
unconditionally using root, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
2012-01-06modules/admin-full: fix wireless interface removal if not network was ↵Jo-Philipp Wich
assigned to the iface, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
2012-01-01modules/admin-full: make luci-bwc dlopen() libiwinfo.so instead of lua/iwinfo.soJo-Philipp Wich
2012-01-01modules/admin-full: allow space separated lists of macs in static lease form ↵Jo-Philipp Wich
(#319)
2011-12-21modules/admin-full: fix crypto depends for ad-hoc and static wds modes (#271)Jo-Philipp Wich
2011-12-20modules/admin-core: use luci.model.uci.apply() in service control to restart ↵Jo-Philipp Wich
dependencies of the current config as well
2011-12-20modules/admin-core: fix apply actions for configs with hyphens or underscore ↵Jo-Philipp Wich
in the name
2011-12-20modules/admin-full: reuse sysupgrade facilities to create backup archiveJo-Philipp Wich
2011-12-13modules/admin-full: probe for EAP support in wpad/hostapd/wpa_supplicant and ↵Jo-Philipp Wich
offer wpa/wpa2 only if it is present
2011-12-08modules/admin-full: fix System -> Administration menu if dropbear is not ↵Jo-Philipp Wich
installed