Comment 3 for bug 1483963

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5086
Committed: https://git.nzoss.org.nz/mahara/mahara/commit/19af23b2b1fdeeb068d8d1d7bfec3500ccc8930d
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 19af23b2b1fdeeb068d8d1d7bfec3500ccc8930d
Author: Robert Lyon <email address hidden>
Date: Mon Aug 10 16:01:18 2015 +1200

Bug 1483963 - Better reporting on login activity

Added a tab 'Logins' to site statistics page that contains
how many total logins for an institution and also how many unique
users have logged in during a certain time period - defaults to
previous calendar month

One can get different results by adjusting the url like so
admin/statistics.php?type=logins&start=2014-01-01&end=2015-01-01
if needing to get a different time period

On upgrade it populates the usr_login_data table with the current
lastlogin time for non-deleted users

Currently usr_login_data only records user id and ctime (for login
time) but one could also add more columns tothe table if needing to
record something that happens once per successful login.

Change-Id: If59b207356894eaced7b9977b80d539a28cb7e56
Signed-off-by: Robert Lyon <email address hidden>