Commit graph

6884 commits

Author SHA1 Message Date
Damodar Lohani
801219374c Fix queries 2025-12-15 02:50:21 +00:00
Damodar Lohani
2d3e34fd5a fix namespace 2025-12-15 02:20:10 +00:00
Damodar Lohani
69ad4ae930 Fix format 2025-12-15 02:15:45 +00:00
Damodar Lohani
0037305e16 Fix: failing tests 2025-12-15 02:12:35 +00:00
Damodar Lohani
2043470bd0 fix typo 2025-12-14 08:00:31 +00:00
Damodar Lohani
667285d536 fix tyupe 2025-12-14 07:58:16 +00:00
Damodar Lohani
f270e47b48 more fixes to audit queries 2025-12-14 07:50:21 +00:00
Damodar Lohani
b83125a41e Fix audits creation 2025-12-14 07:22:39 +00:00
Chirag Aggarwal
5daacb7161 Refactor Specs task for better code organization
- Extract platform, auth counts, and keys into separate methods
- Add getPlatforms(), getAuthCounts(), and getKeys() methods
- Extract SDK platform logic into getSDKPlatformsForRouteSecurity()
- Add PHPDoc comments with proper type hints
- Move constructor to top of class for better readability
2025-12-14 11:21:44 +05:30
Damodar Lohani
9441295510 Feat: Audits upgrade 2025-12-14 01:43:35 +00:00
Steven Nguyen
9518764cae
Merge branch '1.8.x' into fix-smtp-auth-check 2025-12-12 05:24:33 +00:00
Steven Nguyen
d174233cd6
fix: update SMTP configuration and enhance validation checks 2025-12-12 04:58:59 +00:00
Steven Nguyen
3d0aa74ffe
Merge pull request #10863 from VijaykumarPujar-tech/new_branch
Fix: Implement mandatory authentication check for Custom SMTP configuration
2025-12-11 13:51:27 -08:00
loks0n
c6ffa181a2 fix: imagine hostnames 2 2025-12-11 18:53:58 +00:00
loks0n
f765eb92e7 feat: cors service 2025-12-11 09:01:31 +00:00
loks0n
50c6a35079 feat: multiple app domains 2025-12-11 09:01:31 +00:00
Chirag Aggarwal
aa12ef6569 Add public visibility control for deprecated methods
- Add 'public' parameter to SDK Method class to control documentation visibility
- Mark deprecated methods as non-public (public: false) to hide them from docs
- Update OpenAPI and Swagger specs to reflect visibility changes
- Affected endpoints: account verification, messaging providers, and MFA authenticators
2025-12-11 13:53:34 +05:30
Damodar Lohani
61067bd8d3 Fix: remove temp queries 2025-12-10 10:32:51 +00:00
Ujjwaljain16
0215577bc7 fix: MFA recovery code validation and test status code
- Fixed HTTP status code: POST /v1/account/mfa/recovery-codes now returns 201 (CREATED) instead of 200
- Updated testMFARecoveryCodeChallenge to expect 201 status code
- Added array_merge with origin header to all API calls in test for proper CORS validation
- Removed trailing whitespace for PSR-12 compliance

Fixes #10740
2025-12-10 05:37:43 +05:30
Ujjwaljain16
768d293cf5 reuse session from testCreateAccountSession instead of creating new session
remove unnecessary 'origin' headers to match other tests
set status code to 201 for MFA challenge creation endpoint
2025-12-10 01:58:47 +05:30
VijaykumarPujar-tech
e0a937912c Added Validation check for username and password 2025-12-09 23:46:44 +05:30
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