Commit graph

44 commits

Author SHA1 Message Date
Steven Nguyen
66362f0d3b
Update description for User and Key accesedAt
Add a note about how often the attributes are updated.
2023-07-20 11:47:26 -07:00
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
Steven Nguyen
85a40bf82d
Add a new labels attribute to the Users collection
This labels attribute can be used apply labels to users. These labels
can eventually be used:

* with permissions to grant access
* to filter users in the Users collection
2023-06-05 14:12:28 -07:00
Jake Barnby
58ba41a9c5
Make password, hash and hashOptions optional so that they are optional in SDKs, and nulled when returning from the account service 2023-04-11 19:36:14 +12:00
Christy Jacob
d5028e601e feat: update datetime description 2022-09-05 01:26:16 +04:00
Christy Jacob
7673fb44e5 feat: update default values 2022-08-19 10:03:54 +00:00
Jake Barnby
7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
fogelito
9b9f2fe428 global const for TYPE_DATETIME_EXAMPLE 2022-08-14 13:27:07 +03:00
fogelito
ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
fogelito
05f8352837 test fix 2022-07-07 11:07:42 +03:00
fogelito
203b3058a2 providerAccessTokenExpiry 2022-07-05 16:06:55 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
Matej Bačo
d9a88515bc Merge remote-tracking branch 'origin/0.15.x' into feat-password-hash-algos 2022-06-21 14:03:19 +00:00
Torsten Dittmann
d0ad879f4a Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 15:01:17 +02:00
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Matej Bačo
df36580657 Added hashOptions response models 2022-06-15 08:11:48 +00:00
Torsten Dittmann
286f174f34 fix: docs 2022-06-14 09:27:27 +02:00
Torsten Dittmann
68264a0fe0 fix: tests and adaption to review 2022-06-13 14:43:17 +02:00
Matej Bačo
0d94e4c9ce Merge branch 'master' into feat-password-hash-algos 2022-06-10 08:03:09 +00:00
Torsten Dittmann
8ce669da6f feat: initial phone authentication 2022-06-08 11:00:38 +02:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Matej Bačo
e2d21d7d6e PR review changes 2022-05-15 06:53:26 +00:00
Matej Bačo
ba620b28a3 qa fixes 2022-05-06 07:44:29 +00:00
Matej Bačo
55c8caf0cc Algo2 hash, adding pr review changes 2022-05-04 14:37:37 +00:00
Matej Baco
a32f341f31 Added hash to response model 2022-02-04 16:02:05 +01:00
Torsten Dittmann
4ef7c5c93c fix: stdclass import 2021-12-30 11:32:30 +01:00
Damodar Lohani
95afb6aa0b
Update src/Appwrite/Utopia/Response/Model/User.php 2021-12-30 15:49:17 +05:45
Damodar Lohani
297d03126e make empty prefs object instead of array 2021-12-30 11:55:17 +05:45
Matej Baco
e065470ffc Merge branch 'feat-database-indexing' into feat-health-api-response-models 2021-12-20 12:09:50 +01:00
Matej Baco
ea7b5970c3 Post-PR review fixes 2021-12-15 11:19:29 +01:00
Torsten Dittmann
1fd4e6c3c8 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing 2021-10-25 16:01:07 +02:00
Asmit2952
5a729e0932 Fixed PSR issues in Utopia Library
Signed-off-by: Asmit2952 <asmitbm2952002@gmail.com>
2021-10-06 19:52:38 +05:30
Torsten Dittmann
4633d74fc7 feat(db-refactor): user status now boolean 2021-07-14 13:02:12 +02:00
Christy Jacob
eaac52b9b7 feat: allow external users to update password without oldPassword 2021-05-05 00:22:46 +05:30
Torsten Dittmann
cc34719768 feat: preferences response model 2021-04-21 15:37:51 +02:00
Eldad Fux
764672e15e Updated default values 2021-01-13 17:06:36 +02:00
Christy Jacob
46114a5920 feat: added function to parse user object 2020-12-26 16:46:43 +05:30
Eldad Fux
374e504923 Added more tests 2020-11-23 17:04:02 +02:00
Eldad Fux
dcac44372f Updated old specs 2020-11-16 10:37:43 +02:00
Eldad Fux
4d3c5a39cc Updated constants 2020-11-08 00:14:48 +02:00
Eldad Fux
0450604d27 Added external swoole lib and extended response class 2020-10-29 15:07:56 +02:00
Eldad Fux
75026ffa8c unix is Unix 2020-06-24 14:18:33 +03:00
Eldad Fux
5298c16971 Updated session model 2020-06-24 09:53:13 +03:00
Eldad Fux
2f1e25fc09 Updated naming conventions 2020-06-23 18:01:20 +03:00
Renamed from src/Appwrite/Utopia/Response/Result/User.php (Browse further)