Commit graph

6913 commits

Author SHA1 Message Date
VijaykumarPujar-tech
8951a8465c Added the projects.php changes back 2025-12-09 23:30:34 +05:30
Ujjwaljain16
676d53b18e fix: resolve MFA recovery code validation in 1.8.0
Remove strtolower() from recovery code type comparison (line 4945)
Remove strtolower() from match statement (line 4967)
Add comprehensive test for recovery code challenge validation
Fixes issue where recovery codes fail with 'Invalid token' error

Fixes #10740
2025-12-09 02:18:40 +05:30
shimon
0a0cf26269 Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php
2025-12-08 09:26:38 +02:00
Jake Barnby
bc508353db
Merge pull request #10882 from appwrite/release-sdks-4
chore: release sdks for adding getScreenshot method to Avatars service
2025-12-05 04:46:30 +00:00
Torsten Dittmann
fad29ee3cd Use configured OAuth2 provider class from config 2025-12-04 20:37:16 +04:00
Chirag Aggarwal
7aceae05d5
Merge branch '1.8.x' into release-sdks-4 2025-12-03 12:01:03 +05:30
Chirag Aggarwal
0c114b8d66 fix: enum example 2025-12-03 09:30:43 +05:30
Damodar Lohani
97038c9d05
Merge branch '1.8.x' into fix-duplicate-document-error 2025-12-03 05:17:24 +05:45
shimon
7041cae48c Refactor health check logic to simplify database failure handling 2025-12-02 12:58:55 +02:00
shimon
7392f6aeff Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/vcs.php
2025-12-02 12:49:15 +02:00
Jake Barnby
5cc6845a44
Merge pull request #10888 from appwrite/fix-query-call
Fix invalid query
2025-12-02 06:48:28 +00:00
Damodar Lohani
d0b1f5f529 Fix: Catch duplicate exception while creating file document 2025-12-02 02:09:29 +00:00
Damodar Lohani
e114d49789 Fix: add test 2025-12-02 01:04:51 +00:00
Damodar Lohani
1df5b71e32 Simplify 2025-12-02 00:59:39 +00:00
Damodar Lohani
a166ae5a03 Fix: error setting user password
Fixes Update Password Bug
Fixes #10878
2025-12-02 00:59:19 +00:00
Darshan
4c62ecbc95 fix: query call. 2025-12-01 19:59:07 +05:30
Chirag Aggarwal
aaafdaae52 chore: better examples 2025-12-01 19:21:49 +05:30
shimon
beea3abfc7 remove debug prints 2025-12-01 15:50:15 +02:00
shimon
2dfa7d9542 Enhance health check logic to allow partial database failures without throwing an error, improving resilience in environments with multiple databases. 2025-12-01 13:40:34 +02:00
shimon
22c90ca7ad debug 2025-12-01 13:23:58 +02:00
shimon
2563a8f967 health api fix 2025-12-01 13:11:17 +02:00
shimon
27d88a421e debug 2025-12-01 11:59:21 +02:00
shimon
e4755c624f debug 2025-12-01 11:45:01 +02:00
shimon
21ef33ea45 debug 2025-12-01 11:34:09 +02:00
shimon
5b2fdf7e5b tmp debug health db api 2025-12-01 11:19:25 +02:00
shimon
013e961c37 Refactor: Remove unused authorization parameter from redeployVcsFunction calls and related methods 2025-11-28 18:13:03 +02:00
shimon
5b3659af7c Remove unused Auth import in storage controller and fix formatting in UserTest class 2025-11-28 16:11:48 +02:00
Shimon Newman
95e29d1046
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-28 16:10:26 +02:00
Hemachandar
e204419b8b handle invalid offset 2025-11-28 15:33:32 +05:30
Hemachandar
6f0c4d6c4e fix limit & offset computation 2025-11-28 12:41:04 +05:30
shimon
67311fe5d6 Refactor: Update role retrieval to use authorization object in multiple files 2025-11-27 18:56:33 +02:00
shimon
5da1f791a5 sync with 1.8.x 2025-11-27 18:17:04 +02:00
Hemachandar
d517ca8444 Merge branch '1.8.x' into ser-504 2025-11-27 20:12:58 +05:30
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
Hemachandar
fd466dfcea
Revert "Update deploymentId in sites rule for first deployment" 2025-11-27 16:31:14 +05:30
shimon
fb95a05599 teams update 2025-11-27 12:13:07 +02:00
shimon
b76f01b144 Merge remote-tracking branch 'origin/refactor-auth-single-instance' into refactor-auth-single-instance 2025-11-27 11:54:36 +02:00
shimon
35e3294dc4 teams update 2025-11-27 11:51:53 +02:00
shimon
81c2ff501b Refactor: Adjust parameter order in getUserGitHub function calls for consistency 2025-11-27 11:26:53 +02:00
Damodar Lohani
06c876906c AI suggested fixes 2025-11-27 00:58:32 +00:00
shimon
830eda7460 Refactor: Update functions to include Authorization parameter and enable stopOnFailure in PHPUnit configuration 2025-11-26 17:34:44 +02:00
Damodar Lohani
5dd3f9c574 Format 2025-11-26 11:08:13 +00:00
Damodar Lohani
cbc8b2ca0d Fix: validator not working 2025-11-26 11:02:00 +00: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
Hemachandar
1ed3cf0e59 Support query limit and offset in list repos API 2025-11-25 19:24:30 +05:30
Matej Bačo
3d8cee4676
Merge pull request #10820 from appwrite/ser-550
Update deploymentId in sites rule for first deployment
2025-11-25 09:50:16 +01:00
Hemachandar
c713357131
Merge branch '1.8.x' into ser-550 2025-11-25 13:23:09 +05:30
Harsh Mahajan
34ce5099e2
Merge branch '1.8.x' into feat-SER-448-improve-MFA-docs-endpoint-order 2025-11-25 11:30:25 +05:30
Jake Barnby
8fe7de7ff9 Custom disposition 2025-11-25 15:19:16 +13:00
Damodar Lohani
149fee503f Format 2025-11-23 07:01:11 +00: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
Matej Bačo
bfce804f79 Merge branch '1.8.x' into chore-config-for-env 2025-11-19 09:27:42 +01:00
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
Matej Bačo
e3ee724178 Fix during QA 2025-11-18 16:42:57 +01:00
Matej Bačo
ce2f2d0ebc Use config library for dotenv adapter 2025-11-18 16:35:02 +01:00
Hemachandar
9f7e3146a4 feedback 2025-11-18 20:08:43 +05:30
Chirag Aggarwal
3568af54b3 consistent naming 2025-11-18 09:51:20 +05:30
Chirag Aggarwal
71b6ac0364 Merge branch '1.8.x' into feat-per-bucket-image-transformations 2025-11-18 09:50:02 +05:30
Jake Barnby
919b01a1b1
Merge pull request #10682 from appwrite/refactor-auth-single-instance
Refactor authorization handling across multiple modules to use the ne…
2025-11-18 03:25:48 +00:00
Matej Bačo
4a86b2d5b1 Merge branch '1.8.x' into feat-suggested-env-vars 2025-11-14 18:05:21 +01:00
Matej Bačo
db1b87ecbb Add env var value detection 2025-11-14 15:49:19 +01:00
Jake Barnby
6274d5a3e4
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-14 05:21:40 +00:00
Jake Barnby
83b9815644 Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance 2025-11-14 16:45:57 +13:00
Jake Barnby
b9211d7141 Add delete old CSV job for maintenance 2025-11-14 15:55:41 +13:00
Jake Barnby
a11cf6b002 Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export 2025-11-14 15:34:36 +13:00
Jake Barnby
3df2efb7ae Fix file reads 2025-11-14 00:15:18 +13:00
Chirag Aggarwal
b695ddc7e3 Merge branch '1.8.x' into fix-nullable-validation 2025-11-13 16:06:33 +05:30
Jake Barnby
e8f2e78ac4 Use internal bucket 2025-11-12 22:18:25 +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
97454c0768 EmailValidator chnage to email 2025-11-11 15:33:16 +02:00
fogelito
8b4a56cd9b $emailCanonical 2025-11-11 15:25:10 +02:00
fogelito
da0a6b167f EmailValidator 2025-11-11 15:00:09 +02:00
fogelito
27d0c511ac patch users email 2025-11-11 12:09:40 +02:00
fogelito
cc97d78b5a Add try catch 2025-11-11 11:35:18 +02:00
fogelito
b28e536967 Add try catch 2025-11-11 10:35:39 +02:00
Chirag Aggarwal
653ac184e1
Merge branch '1.8.x' into feat-per-bucket-image-transformations 2025-11-11 13:53:29 +05:30
fogelito
6096c42ff9 More updates 2025-11-10 17:30:40 +02:00
Matej Bačo
c784cf950b Add variables suggestion 2025-11-10 16:20:48 +01: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
Chirag Aggarwal
eb17ffd5d2 wrap all optional values with default null with nullable 2025-11-10 10:15:49 +05:30
Shimon Newman
a96ba5499e
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-09 10:06:03 +02:00
Damodar Lohani
62e5f54fcb
Merge branch '1.8.x' into feat-appwrite-auth 2025-11-09 08:36:27 +05:45
shimon
3d471bae56 health db debug 2025-11-06 17:37:31 +02:00
shimon
d0f2293755 debug health db 2025-11-06 16:42:58 +02:00
Matej Bačo
ad6aff6af2 remove locale cache 2025-11-06 13:24:17 +01:00
Damodar Lohani
88cbc36a02 remove Appwrite\Auth\Auth 2025-11-05 07:09:18 +00:00
Damodar Lohani
0f9b13e251 use argon default 2025-11-05 05:09:36 +00:00
Damodar Lohani
965c4738e7 fix user's attributes 2025-11-05 05:06:40 +00:00
Damodar Lohani
4679eff4b8 use argon 2 default 2025-11-05 03:34:52 +00:00
Damodar Lohani
3cfb5d695f Fix list identities 2025-11-05 03:33:02 +00:00
Damodar Lohani
7ef5a7edaf Fix teams 2025-11-05 02:39:03 +00:00
Damodar Lohani
8adeb40c1d fix team get membership 2025-11-05 02:33:22 +00:00
Damodar Lohani
ae105165ab fix team logs endpoint 2025-11-05 02:28:56 +00:00
Damodar Lohani
5dfee10369 Fix logs endpoint 2025-11-05 02:16:37 +00:00
Chirag Aggarwal
decad9ff9d
Merge branch '1.8.x' into feat-per-bucket-image-transformations 2025-11-04 14:31:04 +05:30
Damodar Lohani
dff7aa6ce0 format 2025-11-04 07:12:42 +00:00
Damodar Lohani
5ef717d0fd More replacement for auth checks 2025-11-04 07:12:34 +00:00
Damodar Lohani
437d914e90 More refactor and fixes 2025-11-04 06:08:35 +00:00
Damodar Lohani
2ae474971d use new session verify 2025-11-04 03:48:57 +00:00
shimon
cd1b2b6c05 Refactor authorization handling by replacing method calls with direct class references, ensuring consistent usage of the Authorization class across various modules. Update method signatures to include Authorization as a parameter where necessary, and remove unnecessary injections. Additionally, correct the documentation in CHANGES.md for clarity. 2025-11-03 09:07:44 +02:00
shimon
c13aed651a Refactor storage file retrieval to use queries directly for counting, improving consistency in authorization handling. Update Action class to remove unnecessary authorization skip, and include authorization in Email/Create class constructor for better dependency management. 2025-11-02 21:24:11 +02:00
Shimon Newman
4fca374fe9
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-02 18:15:26 +02:00
shimon
0904881de8 Refactor authorization handling to ensure consistent usage of the Authorization class across various modules, enhancing code maintainability and clarity. Update method signatures to include authorization as a parameter where necessary. 2025-11-02 18:11:56 +02:00
fogelito
6a41f8b2b9 Remove todos 2025-11-02 11:16:12 +02:00
fogelito
503145734b Move user Document out of try block 2025-11-02 11:06:56 +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
Eldad A. Fux
745e9e2bea
Merge pull request #10675 from appwrite/feat-screenshots-endpoint
POC - website screenshots
2025-11-01 18:03:37 +01: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
Damodar Lohani
a39970c59a
Merge branch '1.8.x' into feat-screenshots-endpoint 2025-10-30 07:26:43 +05:45
Damodar Lohani
b30890c1d6 remove duplicate configs 2025-10-30 01:37:53 +00:00
Damodar Lohani
7156036120 remove viewport fullpage duplicate 2025-10-30 01:31:45 +00: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
b893599ba8 Merge branch '1.8.x', commit 'f18aa6b6486d52ef97674c1ac483c476b85a6f21' of github.com:appwrite/appwrite into feat-disable-count
# Conflicts:
#	composer.lock
2025-10-29 09:03:44 +02:00
Damodar Lohani
8f87b9cb5e
Merge branch '1.8.x' into feat-screenshots-endpoint 2025-10-29 09:19:47 +05:45
Damodar Lohani
637bf4f231 add abuse limit 2025-10-29 03:30:43 +00:00
shimon
0e22b06f0a linter 2025-10-28 15:01:08 +02:00
shimon
68524067cf migrations tests fix 2025-10-28 11:29:14 +02:00
Chirag Aggarwal
4aaaa460b2 feat: per bucket image transformations flag 2025-10-28 14:13:38 +05:30
Shimon Newman
dee3d375db
Merge branch '1.8.x' into refactor-auth-single-instance 2025-10-28 10:01:33 +02:00
shimon
462634d311 Update dependencies in composer.json and composer.lock; upgrade utopia-php/detector to version 0.2.*, and utopia-php/migration to version 1.3.3. Modify exception messages in storage API for better clarity on authorization failures. Adjust test assertions to reflect updated error messages. 2025-10-28 09:09:54 +02:00
Jake Barnby
9f2ff0e1f7 Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
# 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
2025-10-28 17:22:02 +13:00
shimon
e7b8e6c90d Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	composer.json
#	composer.lock
2025-10-27 19:26:53 +02:00
shimon
b760a88af7 Merge branch '1.8.x', commit 'ab1e51034826dde50034e6e73fc5d546e800dd6d' of github.com:appwrite/appwrite into feat-disable-count
# Conflicts:
#	composer.lock
2025-10-27 10:13:37 +02:00
Damodar Lohani
2afba50a8c Feat: usage stats for screenshot generated 2025-10-27 06:44:04 +00:00
eldadfux
61f4c7957a Add new configuration variable '_APP_BROWSER_HOST' for browser service communication; update avatar screenshot API to use System::getEnv for environment variable retrieval 2025-10-25 10:22:53 +01:00
eldadfux
f13c029751 Refactor avatar screenshot API to replace 'viewport' parameter with separate 'viewportWidth' and 'viewportHeight' parameters; update related tests for validation of new dimensions and edge cases. 2025-10-24 22:53:10 +01:00
Eldad Fux
d8bde641e9 Update appwrite-browser image to version 0.3.1; enhance avatar screenshot API by adding 'waitUntil' parameter and refactoring image processing logic for improved efficiency. 2025-10-24 21:42:10 +01:00
Matej Bačo
3dd1c3de13 Merge branch '1.8.x' into feat-tanstack-start-sites 2025-10-24 12:43:51 +02:00
Matej Bačo
4472437696 AI code review fix 2025-10-24 12:41:46 +02:00
Jake Barnby
24bfad100d
Merge pull request #10690 from appwrite/feat-resend
feat: resend adapter
2025-10-24 09:13:24 +00:00
Khushboo Verma
a6af0cc73a Skip auth check to delete vcs lock document 2025-10-23 20:27:45 +05:30
Chirag Aggarwal
f12481ce20 add update endpoint 2025-10-23 19:42:12 +05:30
Chirag Aggarwal
a280a565f6 feat: resend adapter 2025-10-23 19:06:11 +05:30
Matej Bačo
6f188a03d5 Manual QA bug fixing 2025-10-23 12:43:57 +02:00
Matej Bačo
3019551db5 remove leftover todo 2025-10-22 16:04:30 +02:00
shimon
815c75fa9a Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	composer.lock
2025-10-22 16:42:11 +03:00