Commit graph

3976 commits

Author SHA1 Message Date
Jake Barnby
3e96f9c2f1
Merge pull request #10990 from appwrite/project-queries
Allow queries on projects xlist
2025-12-19 14:39:47 +00:00
Jake Barnby
dc85d44647
Revert "Refactor auth single instance" 2025-12-20 02:54:50 +13:00
Darshan
3ddfd9c3b0 update: address comment. 2025-12-19 15:52:19 +05:30
Darshan
75d8110ad9
Merge branch '1.8.x' into project-queries 2025-12-19 14:23:25 +05:30
Darshan
c958f3f1cb update: allow queries on projects xlist. 2025-12-19 14:13:52 +05:30
Steven Nguyen
36519c13a8
Merge branch '1.8.x' into fix-smtp-auth-check 2025-12-18 17:21:03 -08:00
Torsten Dittmann
81b4065921 Fix identity connecting
- Add MockUnverified OAuth2 provider config
- Add /v1/mock/tests/general/oauth2/user-unverified endpoint
- Add MockUnverified class for unverified OAuth2 flow
- Update Mock::isEmailVerified to respect user['verified'] flag
- Add end-to-end tests for linking unverified and verified OAuth2 users
- Enable stopOnFailure in phpunit.xml
2025-12-18 16:44:04 +04:00
Jake Barnby
13f4aa9a80 Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init/resources.php
#	composer.lock
#	src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
#	src/Appwrite/Platform/Workers/Migrations.php
2025-12-18 18:17:41 +13:00
Hemachandar
990209b624 feedback 2025-12-16 16:17:15 +05:30
Hemachandar
49b1c3db79
Merge branch '1.8.x' into ser-721 2025-12-16 12:41:44 +05:30
Hemachandar
dfb53895eb tiny 2025-12-16 12:40:42 +05:30
Hemachandar
109967953e feedback + tests 2025-12-16 12:20:59 +05:30
Jake Barnby
80057383e1
Merge pull request #10952 from appwrite/issue-tableid
Tableid and Collectionid in increment and decrement routes
2025-12-16 06:05:11 +00:00
Chirag Aggarwal
ddb0d5db26
Merge branch '1.8.x' into fix-smtp-auth-check 2025-12-16 10:51:01 +05:30
Levi van Noort
3869269e0c
Merge branch '1.8.x' into CLO-3704-utopia-request-extend 2025-12-15 15:32:51 +01:00
Levi van Noort
cd90974e15 chore: changes to test to validate default behaviour instead 2025-12-15 13:22:29 +01:00
ArnabChatterjee20k
70395cfacc added tableid and collectionid in increment and decrement 2025-12-13 23:43:51 +05:30
Levi van Noort
90fb5b6321 feat: improved reference client ip through _APP_TRUSTED_HEADERS 2025-12-12 08:42:49 +01:00
Steven Nguyen
d4517384dc
fix: update project tests to reflect changes in project count and names 2025-12-12 07:16:49 +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
72ae883587
Merge branch 'main' into chore-sync-main 2025-12-11 22:40:23 +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
Darshan
062233cdbc
Merge branch '1.8.x' into database-errors 2025-12-11 16:10:00 +05:30
Darshan
ef5f0ed6b4 update: to use placeholders. 2025-12-11 15:26:45 +05:30
loks0n
f765eb92e7 feat: cors service 2025-12-11 09:01:31 +00:00
Ujjwaljain16
7fc8c6ae43 Simplify testMFARecoveryCodeChallenge to use existing session 2025-12-11 01:50:52 +05:30
Ujjwaljain16
fb3b3ae51e fix: add missing empty body array parameter to recovery codes API call 2025-12-10 15:40:40 +05:30
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
2fa95b52a0 Reverted some added changes 2025-12-09 22:40:51 +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
VijaykumarPujar-tech
a14d5c584e Fix: robust SMTP validation and added regression test 2025-12-08 20:22:18 +05:30
Jake Barnby
689e61c84f
Merge pull request #10917 from appwrite/fix-array-index
Block array indexes
2025-12-08 10:51:06 +00:00
Jake Barnby
aec7f27ce4 Fix tests 2025-12-08 23:20:40 +13:00
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
65bd9a41d5
Merge pull request #10894 from appwrite/feat-multi-create
Feat multi create
2025-12-08 05:55:52 +00:00
Jake Barnby
48038512b9 Fix index validation 2025-12-05 21:05:14 +13:00
Hemachandar
b62a1d8b5c fix test 2025-12-05 12:40:35 +05:30
Jake Barnby
121f94676d Fix test 2025-12-05 01:03:43 +13:00
Jake Barnby
df94765cf3 Update validation 2025-12-04 23:25:15 +13:00
Jake Barnby
e00dacf9a2 Fix test 2025-12-03 23:24:05 +13:00
Jake Barnby
252a4e12ff Validate format on non-strings 2025-12-03 22:38:37 +13:00
Jake Barnby
dce4c6e9f1 Add more tests 2025-12-03 22:15:44 +13:00
Jake Barnby
8b4657ff8a Cleanup on create failures 2025-12-03 21:17:38 +13:00
Jake Barnby
c09c2848af Merge remote-tracking branch 'origin/1.8.x' into feat-multi-create 2025-12-03 20:49:36 +13: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
shimon
c34649cb50 remove debug prints 2025-12-02 12:46:59 +02:00
shimon
250a7da1ee debug 2025-12-02 09:39:16 +02:00
Damodar Lohani
866bd5ebc8 Fix: update test IP 2025-12-02 05:25:25 +00:00