Commit graph

181 commits

Author SHA1 Message Date
Khushboo Verma
ce8fe76a96 Fix tests 2024-01-12 01:32:48 +05:30
loks0n
5112e14d5f fix: typo 2024-01-10 10:37:27 +00:00
loks0n
de977fc84c test: fix account tests 2024-01-10 10:27:38 +00:00
loks0n
154568d952 test: fix puts that should be posts 2024-01-09 18:05:21 +00:00
loks0n
0f77195f41 test: rename create session test 2024-01-09 12:44:50 +00:00
loks0n
5c803f6eff Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr 2024-01-08 11:41:55 +00:00
Jake Barnby
5135262b79
Merge remote-tracking branch 'origin/1.4.x' into 1.5.x
# Conflicts:
#	app/config/errors.php
#	composer.lock
2023-12-15 02:41:46 +13:00
loks0n
1349093b13 chore: fmt 2023-12-13 11:42:45 +00:00
loks0n
92ccdd5144 fix: account tests 2023-12-13 11:29:30 +00:00
loks0n
bdcb4c785e test: account already logged in 2023-12-13 11:01:08 +00:00
loks0n
fe695314a9 fix: tests 2023-12-11 19:41:58 +00:00
loks0n
7ee4ad5ba9 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-ssr 2023-12-11 16:52:14 +00:00
Christy Jacob
731e7b86a7 fix: failing tests 2023-12-09 00:17:13 +01:00
loks0n
4471b93a3a tests: fix 2023-12-05 12:00:26 +01:00
loks0n
8ea9706174 feat: Matej renaming plan 2023-11-30 11:35:52 +00:00
Jake Barnby
0b01f7140f
Merge remote-tracking branch 'origin/main' into 1.5.x
# Conflicts:
#	app/config/errors.php
#	composer.lock
#	src/Appwrite/Extend/Exception.php
2023-11-21 00:19:17 +13:00
prateek banga
c24664f5d9 removes internal provider 2023-11-16 01:30:47 +05:30
loks0n
830544e245 fix: logged in ssr cases 2023-11-15 11:57:27 +00:00
Steven Nguyen
0c264a107a
Merge branch '1.4.x' into fix-4797-verified-user-getting-email-verifications 2023-11-08 17:37:43 -08:00
loks0n
df0271c56a chore: rename to 'custom' sessions 2023-11-02 13:22:10 +00:00
loks0n
c39426745c test: fix create custom session params 2023-11-02 13:15:29 +00:00
Prateek Banga
270e6e7c15 review changes 2023-11-02 16:43:24 +05:30
prateek banga
a4c8d852a5 adds test skip condition if dsn not provided 2023-10-31 02:34:18 +05:30
prateek banga
0dafc59cc2 converted env vars to dsn format 2023-10-31 02:05:50 +05:30
prateek banga
06daa544e8 review changes 2023-10-30 23:37:57 +05:30
loks0n
49425fb8fc test: fix 2023-10-26 15:04:47 +01:00
loks0n
7109e85711 test: seperate client and server tests 2023-10-26 09:43:15 +01:00
loks0n
1343d4851a Merge branch 'main' of https://github.com/appwrite/appwrite into feat-ssr 2023-10-23 09:10:57 +01:00
Christy Jacob
011df60c0d feat: remove old worker class 2023-10-18 01:17:02 +04:00
Yatharth Verma
1489f77499 fix changes suggested by steven and also fixed some bugs came after merging with 1.4.x 2023-10-14 12:45:29 +05:30
loks0n
250e9ae9f7 chore: cleanup pr 2023-10-13 16:10:55 +01:00
loks0n
8ab429b92f feat: replace session confirmation endpoints 2023-10-12 14:38:32 +01:00
loks0n
8379551510 test: fix warning 2023-10-11 16:59:44 +01:00
loks0n
4f11cbacb4 chore: fmt 2023-10-11 14:21:59 +01:00
loks0n
0332d35d9e test: e2e universal token 2023-10-11 14:21:20 +01:00
loks0n
c30c024805 test: fix magic url assertions 2023-10-10 14:36:53 +01:00
loks0n
a88175fc46 fix: unhash session responses 2023-10-10 13:30:42 +01:00
Prateek Banga
48b91e39a8 review changes 2023-10-04 16:15:59 +05:30
Prateek Banga
234f7f003b updated test cases for msg91 provider, moves worker to use provider from settings 2023-09-27 18:58:00 +05:30
Yatharth Verma
5771ad35ed fix test cases 2023-09-22 22:56:58 +05:30
Yatharth Verma
56a3b3df99 Add test cases 2023-09-22 22:56:58 +05:30
Prateek Banga
df6466a1d3 lint fix 2023-09-21 22:20:56 +05:30
Prateek Banga
e2acb608fa fix tests with real sms providers 2023-09-21 22:16:02 +05:30
Prateek Banga
35d842171c review changes 2023-09-20 23:37:10 +05:30
prateek banga
38d81c058b lint fix 2023-09-05 23:10:33 +05:30
prateek banga
78a53aee37 adds messaging event and updates messaging worker 2023-09-05 22:40:48 +05:30
Jake Barnby
3d0ae4b9d9
Remove invites codes 2023-08-30 00:31:38 -04:00
Jake Barnby
a84e669a1f
Add missing accessedAt values when creating users 2023-08-22 21:34:23 -04:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -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
vaibhavagarwal220
48fc58d365 fixed linting errors 2023-07-11 09:33:02 +05:30
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
vaibhavagarwal220
4e24b7eb42 update e2e test for anonymous user verification 2023-07-07 00:20:13 +05:30
Steven Nguyen
9d13d72c71
Update the Update Account Status API to clear the cookie
After a user updates their status, their session no longer works
however, the cookie may still exist in their browser, preventing other
API calls from completing successfully.
2023-05-23 10:40:31 -07:00
Steven Nguyen
9961609d71
Update the Update Account Status API to clear the cookie
After a user updates their status, their session no longer works
however, the cookie may still exist in their browser, preventing other
API calls from completing successfully.
2023-05-19 11:58:17 -07:00
Damodar Lohani
41d22fb50b Merge remote-tracking branch 'origin' into feat-db-pools-master-sync-2 2023-03-30 08:02:31 +00:00
Torsten Dittmann
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Eldad A. Fux
6696373d28
Merge pull request #4974 from appwrite/lohanidamodar-patch-3
Oauth2 check if provider is enabled
2023-02-19 08:53:41 +02:00
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Damodar Lohani
3f171fbdb9 fix error code 2023-02-14 06:07:06 +00:00
Damodar Lohani
637e4098be provider disabled test 2023-02-14 05:56:14 +00:00
shimon
69bdb105be addressing comments 2023-02-06 17:20:14 +02:00
shimon
8d795ef483 addressing comments 2023-02-05 22:39:41 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
Damodar Lohani
d53456c6ed fix test 2023-01-17 01:17:37 +00:00
fogelito
c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
Christy Jacob
71150ced1a feat: add tests 2023-01-11 18:05:07 +05:30
Jake Barnby
e86994b597
Add retries for flaky tests 2022-12-22 16:12:45 +13:00
fogelito
b301a64dc4 clean up some use classes not in use 2022-12-21 10:02:22 +02:00
fogelito
91db596b42 remove static $dateValidator 2022-12-19 13:21:09 +02:00
fogelito
bdc3e9f935 $dateValidator 2022-12-15 10:51:27 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13:00
Jake Barnby
a247cc614f
Increase sleep 2022-10-10 11:28:26 +13:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13:00
Matej Bačo
6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Steven
c1cdad5566 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-19 14:50:50 +00:00
Jake Barnby
cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12: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
Steven
f0d66985f7 Consolidate List Users API params
Replace search, limit, offset, cursor, cursorDirection, and orderType
params with a single queries param since the Queries V2 change now
allows for different types of queries.
2022-08-18 19:30:39 +00:00
Eldad Fux
95181546b4 Adpated tests 2022-08-14 21:09:24 +03:00
Jake Barnby
613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Eldad Fux
b36c24c508 Decouple Auth code from SMS provider adapter 2022-08-14 17:19:58 +03:00
Eldad Fux
25f176875d Changed provider name from phone to sms 2022-08-14 16:43:41 +03:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito
f676a0bf9e change test validations from strings to datetime 2022-07-12 19:44:58 +03:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito
ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito
2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
Torsten Dittmann
6dd41b52c3 Merge branch '0.15.x' of https://github.com/appwrite/appwrite into feat-phone-authentication 2022-06-20 13:38:39 +02:00
Torsten Dittmann
8d465c67c2 feat: account sessions for emails 2022-06-14 10:17:50 +02:00
Jake Barnby
c0cf93494c Remove var dump 2022-06-09 11:23:06 +12:00
Jake Barnby
c368c5cae3 Fix ratelimit remaining header test casing 2022-06-09 11:17:15 +12:00
Torsten Dittmann
dc25883685 feat: add update and verification method for account and users 2022-06-08 14:50:31 +02:00