Commit graph

4847 commits

Author SHA1 Message Date
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
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
de7dd6079e
Merge pull request #10618 from appwrite/ser-417
Throw duplicate error when function id already exists
2025-10-13 14:56:43 +13:00
Hemachandar
1f322a2700 add test 2025-10-10 15:30:56 +05:30
Jake Barnby
7512a0db6b
Fix cross-API compat 2025-10-10 17:27:09 +13:00
Jake Barnby
bf589f7485
Fix client side 2025-10-10 02:16:58 +13:00
Jake Barnby
8193f0fcac
Ensure create/upsert stores in state by generated ID not unique string 2025-10-09 16:24:25 +13:00
Jake Barnby
3d3f50064d
Force set state on increment 2025-10-09 15:50:18 +13:00
Jake Barnby
10b1f1f145
Merge remote-tracking branch 'origin/1.8.x' into feat-txn 2025-10-09 13:45:29 +13: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
Jake Barnby
eb7306a4fa
Add missing state handlers 2025-10-07 22:17:59 +13:00
Matej Bačo
f653348f93
Merge pull request #10609 from appwrite/ser-439
Add project name in email subject
2025-10-07 09:53:04 +02:00
Jake Barnby
9e3c439c51
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-10-07 18:57:46 +13:00
Hemachandar
a60ae0a9ed
Merge branch '1.8.x' into ser-439 2025-10-06 23:51:06 +05:30
Hemachandar
cb70a6e2c8 Add project name in email subject 2025-10-06 22:14:29 +05:30
ArnabChatterjee20k
eeebea1dbb added both collection and table id in the realtime 2025-10-06 20:13:36 +05:30
Hemachandar
29dbe99840 simplify config & templates 2025-10-06 19:58:01 +05:30
Jake Barnby
2566f4d98e
Add tostring 2025-10-06 14:16:01 +13:00
Jake Barnby
24f6da5610
Add assertions on tables DB 2025-10-06 13:47:21 +13:00
Jake Barnby
5be2489e55
Check query result 2025-10-05 00:06:56 +13:00
Jake Barnby
6881df6ae5
Fix expectations 2025-10-04 22:55:07 +13:00
Jake Barnby
57e3e8f5f4
Fix test scope 2025-10-04 21:10:50 +13:00
Jake Barnby
3e77810e13
Fix existence check for tracked + staged ops 2025-10-04 19:26:22 +13:00
Jake Barnby
01ef058adb
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	tests/e2e/Services/Realtime/RealtimeCustomClientTest.php
2025-10-04 17:03:52 +13:00
Jake Barnby
9edc0c16d8
Realtime txn tests 2025-10-04 16:48:44 +13:00
Jake Barnby
2c7cf7826b
Fix operation perm checks 2025-10-04 16:43:39 +13:00
Hemachandar
b145c609bd change error codes 2025-10-03 16:29:39 +05:30
Matej Bačo
59d5c49818
Merge pull request #10589 from appwrite/ser-377
Handle OIDC well-known endpoint errors
2025-10-03 10:44:38 +02:00
Jake Barnby
59ae403391
Add more validation tests 2025-10-03 17:34:34 +13:00
ArnabChatterjee20k
76d3dc3d5a * added senstive var copying in from method
* added tests
2025-10-02 18:27:20 +05:30
Hemachandar
3d287207d2
Merge branch '1.8.x' into ser-377 2025-10-02 14:59:50 +05:30
Hemachandar
ca1c069e65 Handle OIDC well-known endpoint errors 2025-10-02 14:58:55 +05:30
Jake Barnby
070d5f59d1
Merge remote-tracking branch 'origin/1.8.x' into feat-txn 2025-10-02 19:25:46 +13:00
Chirag Aggarwal
11bbe3c6dd fix: test file 2025-10-01 18:17:35 +05:30
Jake Barnby
4a3cbdafca
Move to row-level scope for txn 2025-09-25 17:59:39 +12:00
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
Jake Barnby
9fde875904
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-09-22 16:12:45 +12:00
Jake Barnby
c1782f6f58
Don't remove required attributes 2025-09-19 15:28:41 +12:00
Hemachandar
0812ac97a9 tests 2025-09-18 14:09:42 +05:30
ArnabChatterjee20k
52ceddcd5a linting 2025-09-17 20:02:36 +05:30
ArnabChatterjee20k
c5e9ec3969 added cases for checking default added or not 2025-09-17 20:00:10 +05:30
ArnabChatterjee20k
5b09ebe54b added cases for with default values 2025-09-17 19:46:06 +05:30