Commit graph

5101 commits

Author SHA1 Message Date
Matej Bačo
eda189dbf1 AI review improvements 2025-12-29 13:24:26 +01:00
Matej Bačo
ee911e3df6 Finalize unit key tests 2025-12-29 11:21:49 +01:00
Matej Bačo
eb2c616089 Improve key unit tests 2025-12-29 10:47:27 +01:00
Matej Bačo
7c56a76feb self PR review fixes 2025-12-29 08:59:07 +01:00
Matej Bačo
04f660e44b Dedicate project test 2025-12-28 10:06:29 +01:00
Matej Bačo
44d8c66e95 Merge branch '1.8.x' into chore-php-types 2025-12-27 19:18:45 +01:00
Matej Bačo
6774de4eef add todo 2025-12-27 19:18:25 +01:00
Matej Bačo
cda843d8f6 Fix JWT test 2025-12-23 16:31:17 +01:00
Matej Bačo
c08acedf6a Fix key test 2025-12-23 15:12:41 +01:00
Torsten Dittmann
cd824faf64 Add test for JWT with custom duration 2025-12-22 21:19:50 +04:00
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
dd9f6ed820
Merge pull request #10996 from appwrite/revert-10872-refactor-auth-single-instance
Revert "Refactor auth single instance"
2025-12-19 14:37:41 +00:00
Darshan
1f7bfb3352
Merge branch '1.8.x' into project-queries 2025-12-19 19:33:22 +05:30
Jake Barnby
dc85d44647
Revert "Refactor auth single instance" 2025-12-20 02:54:50 +13:00
Darshan
33f90fcf6a re-add headers. 2025-12-19 17:02:55 +05:30
Darshan
2f1eee390b update: header name. 2025-12-19 16:23:22 +05:30
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
Darshan
b0c3ab71c4 add: header in tests. 2025-12-17 16:02:06 +05:30
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
loks0n
da0b2a7517 fix: cors wildcard 2025-12-14 22:41:15 +00:00
ArnabChatterjee20k
70395cfacc added tableid and collectionid in increment and decrement 2025-12-13 23:43:51 +05:30
Luke B. Silver
bbc76ffe37
Merge pull request #10943 from appwrite/fix-preflight-requests
fix preflight requests
2025-12-12 10:11:53 +00:00
loks0n
2cb86c57ef fix: preflight requests 2025-12-12 09:49:04 +00:00
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
a94ccdb4f5
fix: enhance SMTP authentication by using env vars 2025-12-12 06:02:17 +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