Commit graph

1495 commits

Author SHA1 Message Date
shimon
5da1f791a5 sync with 1.8.x 2025-11-27 18:17:04 +02:00
shimon
f216ea5d65 Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/controllers/api/storage.php
#	app/controllers/api/teams.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/controllers/shared/api/auth.php
#	app/init/resources.php
#	app/realtime.php
#	app/worker.php
#	composer.lock
#	src/Appwrite/Auth/Auth.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php
#	src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Action.php
#	src/Appwrite/Utopia/Request.php
#	src/Appwrite/Utopia/Response.php
#	tests/unit/Auth/AuthTest.php
#	tests/unit/Messaging/MessagingChannelsTest.php
2025-11-27 15:50:37 +02:00
Damodar Lohani
d539186808 Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth 2025-11-26 10:42:55 +00:00
shimon
4ad249f918 Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
This reverts commit 8765d5650a.
2025-11-26 12:05:12 +02:00
Damodar Lohani
94ba8ee5f2 Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth 2025-11-23 06:43:52 +00:00
Harsh Mahajan
cceb108fd3
Merge branch '1.8.x' into feat-SER-448-improve-MFA-docs-endpoint-order 2025-11-21 11:59:26 +05:30
Jake Barnby
8765d5650a Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
This reverts commit 919b01a1b1, reversing
changes made to deb5039352.
2025-11-19 16:21:06 +13:00
Jake Barnby
37910a4c5c Fix space 2025-11-12 16:59:50 +13:00
Jake Barnby
0c7551b0c1 Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/teams.php
#	composer.lock
2025-11-12 16:51:21 +13:00
fogelito
8b4a56cd9b $emailCanonical 2025-11-11 15:25:10 +02:00
fogelito
da0a6b167f EmailValidator 2025-11-11 15:00:09 +02:00
fogelito
b28e536967 Add try catch 2025-11-11 10:35:39 +02:00
fogelito
6096c42ff9 More updates 2025-11-10 17:30:40 +02:00
fogelito
98255fe628 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into users-add-attributes
# Conflicts:
#	composer.lock
2025-11-10 14:52:25 +02:00
Harsh Mahajan
64b4ea9551 refactor(account): move MFA endpoints to module actions 2025-11-10 11:56:08 +00:00
Damodar Lohani
47b653fd64 Use correct hashing algorithm for oauth2 token 2025-11-10 11:38:47 +00:00
Damodar Lohani
b3df65cf33 remove unused var 2025-11-10 09:01:09 +00:00
Damodar Lohani
88cbc36a02 remove Appwrite\Auth\Auth 2025-11-05 07:09:18 +00:00
Damodar Lohani
3cfb5d695f Fix list identities 2025-11-05 03:33:02 +00:00
Damodar Lohani
5dfee10369 Fix logs endpoint 2025-11-05 02:16:37 +00:00
Damodar Lohani
2ae474971d use new session verify 2025-11-04 03:48:57 +00:00
Shimon Newman
4fca374fe9
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-02 18:15:26 +02:00
fogelito
6a41f8b2b9 Remove todos 2025-11-02 11:16:12 +02:00
fogelito
371cab0658 try catch EmailCanonical 2025-11-02 10:59:28 +02:00
fogelito
ca8cb6f260 Add utopia-php/emails 2025-11-02 09:13:55 +02:00
Matej Bačo
ea1099b112
Merge pull request #10746 from appwrite/ser-453
Update base template for session alert email
2025-10-31 13:47:22 +01:00
Hemachandar
f9542e2be2 Update base template for session alert email 2025-10-31 17:52:47 +05:30
fogelito
fea1630909 Remove redundant emailVerification 2025-10-30 18:18:09 +02:00
fogelito
e40e88c322 Update emails attributes 2025-10-30 18:09:36 +02:00
Shimon Newman
d38399dcc0
Merge branch '1.8.x' into refactor-auth-single-instance 2025-10-29 20:38:04 +02:00
shimon
5c2828bc78 Refactor authorization handling across multiple modules to use a single instance of the Authorization class. 2025-10-29 20:21:41 +02:00
shimon
a7dbb3daea Refactor API parameters to replace 'includeTotal' with 'total' across multiple endpoints for consistency in response handling. 2025-10-29 11:08:08 +02:00
shimon
a6d1f46133 addressing comments 2025-10-29 10:38:09 +02:00
shimon
33000134df addrising comments + composer.lock 2025-10-29 09:17:10 +02:00
shimon
8b3b07a710 linter 2025-10-22 16:40:00 +03:00
shimon
33f88fa5e0 Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock. 2025-10-22 16:35:48 +03:00
shimon
ab1e510348 Enhance API response handling by adding 'includeTotal' parameter to account endpoints, allowing control over total count calculation for sessions, logs, and identities. Updated tests to verify functionality. 2025-10-21 11:41:41 +03:00
Jake Barnby
ddde13a78f
Revert "Merge pull request #10468 from appwrite/feat-apps-module-dl"
This reverts commit 9dd1939d1f, reversing
changes made to 8dfdfcb522.

# Conflicts:
#	app/config/collections/common.php
#	app/controllers/api/users.php
#	app/init/resources.php
#	composer.lock
2025-10-21 14:59:30 +13:00
Damodar Lohani
ced2270571 remove unused injection 2025-10-16 03:39:39 +00:00
Damodar Lohani
d3436077a1 remove unused hash 2025-10-16 03:39:18 +00:00
Damodar Lohani
08e559180d fix missing injection 2025-10-16 02:08:07 +00:00
Damodar Lohani
f062b39cfa Fix encoding 2025-10-16 02:06:01 +00:00
Damodar Lohani
5e5b22d649 fix jwt 2025-10-12 04:38:14 +00:00
Damodar Lohani
d56dff954f Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-10-12 00:34:07 +00:00
Matej Bačo
ca24ff808d
Merge pull request #10533 from appwrite/ser-378-fix-null-recipient-in-email
Throw error when email is not available for account verification
2025-10-07 14:49:01 +02:00
Hemachandar
7f62b19240 Merge branch '1.8.x' into ser-375-update-email-verification-with-branded-design 2025-10-07 16:11:54 +05:30
Hemachandar
6e0d376746 use filevalidator 2025-10-07 16:07:47 +05:30
Chirag Aggarwal
024d13c1b2 update naming 2025-10-07 09:58:39 +05:30
Hemachandar
caf18372ce feedback 2025-10-06 21:52:18 +05:30
Hemachandar
29dbe99840 simplify config & templates 2025-10-06 19:58:01 +05:30
Chirag Aggarwal
56076ad649 update path and add alias 2025-10-06 19:13:06 +05:30
Chirag Aggarwal
4348a176d5 Rename verification SDK methods to be more specific
This commit renames the verification SDK methods to better reflect their purpose:
- `createVerification` → `createEmailVerification`
- `updateVerification` → `updateEmailVerification`

The old method names are maintained for backwards compatibility and marked as deprecated (since 1.8.0) with references to the new method names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 16:44:31 +05:30
Hemachandar
752368327f feedback 2025-09-24 13:06:20 +05:30
Hemachandar
0228c74f71 Throw error when email is not available for account verification 2025-09-22 14:26:23 +05:30
Hemachandar
2021396f39 email otp branded 2025-09-18 12:36:00 +05:30
Damodar Lohani
4540362f42 Fix: token hash magic url session 2025-09-18 01:37:19 +00:00
Damodar Lohani
3065f53d83 Fix token hash 2025-09-18 01:14:14 +00:00
Damodar Lohani
74f181d7a8 fix token length 2025-09-17 10:18:49 +00:00
Hemachandar
f8ab95b3e1 tests & lint 2025-09-16 11:54:01 +05:30
Damodar Lohani
33f7056e7a reest callback 2025-09-16 04:38:52 +00:00
Damodar Lohani
73e7c98131 Fix token length update 2025-09-16 04:36:30 +00:00
Damodar Lohani
1157d6fd10 Fix re-hashing 2025-09-16 04:27:00 +00:00
Hemachandar
0b9e43c9f8 Branded email for Console auth flows 2025-09-16 00:58:23 +05:30
Damodar Lohani
19cf94bd7e Fix oauth2 changes 2025-09-15 10:22:45 +00:00
Damodar Lohani
518389d32c fix length 2025-09-14 05:37:06 +00:00
Damodar Lohani
800db0b99d Fix magic URL token length 2025-09-14 05:23:30 +00:00
Damodar Lohani
365aaca56d fix: remove legacy token generator use 2025-09-14 04:58:34 +00:00
Damodar Lohani
c903caabcc remove dump 2025-09-14 04:50:13 +00:00
Damodar Lohani
72f5793928 revert date format 2025-09-11 09:18:23 +00:00
Damodar Lohani
e36de6b72b revert date format 2025-09-11 08:59:27 +00:00
Damodar Lohani
bcec5c0922 revert date format 2025-09-11 08:57:27 +00:00
Damodar Lohani
72186f1882 reset det change 2025-09-11 08:46:38 +00:00
Damodar Lohani
55bebd92f3 Fix date format 2025-09-11 06:27:58 +00:00
Damodar Lohani
356fbed325 fix password update 2025-09-10 09:09:12 +00:00
Damodar Lohani
6099313cb4 Fxi teams tests 2025-09-10 07:57:45 +00:00
Damodar Lohani
41dbe1a384 Fix internal ID refactor 2025-09-10 07:03:11 +00:00
Damodar Lohani
2be8895dfd Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-09-10 03:56:34 +00:00
Matej Bačo
c31a189340 Linter fix 2025-09-08 11:34:46 +02:00
Matej Bačo
176c2441a4 Fix oauth identity check 2025-09-08 10:32:13 +02:00
Chirag Aggarwal
8a734293f0 feat: add requestBody param examples in specs 2025-09-04 10:22:51 +05:30
Chirag Aggarwal
5a35f1313b fix: version, remove boolean 2025-08-26 17:33:49 +05:30
Chirag Aggarwal
26228e96d9 chore: add replacewith and deprecated since to updatePhoneSession and updateMagicURLSession 2025-08-26 17:21:47 +05:30
Jake Barnby
3fbda66e6c
Fix deprecation messages 2025-08-23 21:36:02 +12:00
Jake Barnby
557bffb350
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-08-22 00:35:12 +12:00
Steven Nguyen
6dc02756fd
Merge pull request #10347 from appwrite/main
Sync main into 1.7.x
2025-08-20 17:16:47 -07:00
Jake Barnby
1b4f2f2275
Fix acronym methods, deprecate old versions 2025-08-21 02:08:27 +12:00
Ebenezer Don
3f55b46165 clarify userId behavior for magic-url and phone tokens 2025-08-18 17:18:12 +01:00
Ebenezer Don
0553a36d1f
Merge branch 'main' into clarify-userid-param 2025-08-18 16:33:24 +01:00
Jake Barnby
6347d7da3f
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Chirag Aggarwal
7ad01fcada linebreak 2025-07-29 12:23:06 +05:30
Chirag Aggarwal
06e4920ee2 fix: create email target when using email otp registration 2025-07-29 11:57:57 +05:30
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	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-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-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/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
Darshan
e67e6303b2 fix: templates on 1.7.x. 2025-07-25 14:30:03 +05:30
hmacr
c5f8bdfd36 Preview texts for emails 2025-07-23 22:04:25 +05:30
Steven Nguyen
898365a922
Merge pull request #10170 from appwrite/fix-templates
Fix default email templates
2025-07-22 18:25:57 -07:00
hmacr
bf3efea98d framework support + content for OTP & add-member email 2025-07-22 16:43:17 +05:30
Jake Barnby
51c95347a0
Merge remote-tracking branch 'origin/main' into 1.8.x
# 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/databases.php
2025-07-21 20:42:16 +12:00
Jake Barnby
d32da05f92
Merge remote-tracking branch 'origin/main' into 1.7.x
# Conflicts:
#	app/config/specs/open-api3-1.7.x-console.json
#	app/config/specs/open-api3-1.7.x-server.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.7.x-console.json
#	app/config/specs/swagger2-1.7.x-server.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/init/constants.php
#	composer.lock
#	docs/references/databases/upsert-documents.md
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2025-07-21 19:22:15 +12:00
Darshan
e7315e23c7 fix: address comment. 2025-07-20 17:28:44 +05:30
Darshan
373ceecebb fix: add a default client name for session alerts 2025-07-20 16:40:29 +05:30