Currently online users do not work correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Fix Released
|
High
|
Unassigned |
Bug Description
On the website the 'Currently Online' box on the right misbehaves. E.g. If you hit F5 more often to reload the page the shown usernames are switching.
My guess is that some sort of cache is involved here: Either nginx or the browsers cache.
The functionality to show online users are all in https:/
Former the update to Django 1.11 showing online users was implemented by an app called 'tracking'. This app was replaced with the online_
Related settings in settings.py:
# Time in seconds how long a user will be shown online
ONLINE_THRESHOLD = 60 * 30
# Number of stored users
ONLINE_MAX = 25
Related branches
- GunChleoc: Approve
-
Diff: 59 lines (+18/-3)3 files modifiedlocal_settings.py.sample (+13/-1)
online_users_middleware.py (+4/-1)
settings.py (+1/-1)
Changed in widelands-website: | |
assignee: | nobody → kaputtnik (franku) |
Changed in widelands-website: | |
status: | Confirmed → Fix Released |
assignee: | kaputtnik (franku) → nobody |