1
0
Fork 0
mirror of synced 2024-07-15 19:36:08 +12:00
appwrite/app/controllers/api
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
..
account.php Track a user's last activity 2023-07-19 22:22:58 -07:00
avatars.php Merge pull request #5004 from appwrite/feat-remove-validators 2023-01-26 16:03:06 +05:30
console.php fix: steven review 2023-03-31 22:48:34 +02:00
databases.php Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
functions.php Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
graphql.php fix: graphql 2023-03-01 18:13:34 +05:30
health.php Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
locale.php fix spec 2023-04-18 02:11:08 +00:00
projects.php Merge pull request #5199 from appwrite/feat-custom-smtp 2023-07-20 07:09:11 +03:00
storage.php Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
teams.php Track a user's last activity 2023-07-19 22:22:58 -07:00
users.php Merge pull request #5587 from appwrite/feat-user-labels 2023-07-18 14:59:18 +02:00