1
0
Fork 0
mirror of synced 2024-07-16 03:46:02 +12:00
appwrite/app/controllers
Steven Nguyen 2befa60350
Track a user's last activity
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.

To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
..
api Track a user's last activity 2023-07-19 22:22:58 -07:00
shared Track a user's last activity 2023-07-19 22:22:58 -07:00
web Merge branch 'master' of https://github.com/appwrite/appwrite into add-console-headers 2023-07-11 18:37:12 +00:00
general.php Merge pull request #5199 from appwrite/feat-custom-smtp 2023-07-20 07:09:11 +03:00
mock.php fix mock for upload changes 2023-04-19 06:15:24 +00:00