Matej Bačo
cda843d8f6
Fix JWT test
2025-12-23 16:31:17 +01:00
Torsten Dittmann
cd824faf64
Add test for JWT with custom duration
2025-12-22 21:19:50 +04: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
Steven Nguyen
72ae883587
Merge branch 'main' into chore-sync-main
2025-12-11 22:40:23 +00:00
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
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
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
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
ab1e510348
Enhance API response handling by adding 'includeTotal' parameter to account endpoints, allowing control over total count calculation for sessions, logs, and identities. Updated tests to verify functionality.
2025-10-21 11:41:41 +03:00
shimon
232f1b1c05
account sync
2025-10-21 11:24:09 +03:00
shimon
5f3316ff18
fix assertion order
2025-10-20 18:38:14 +03:00
shimon
fb4e3e1b9d
Implement 'includeTotal' parameter across multiple API endpoints to control total count in responses, ensuring consistent behavior in session, log, and membership retrievals.
2025-10-20 18:18:17 +03: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
cb70a6e2c8
Add project name in email subject
2025-10-06 22:14:29 +05:30
Hemachandar
b145c609bd
change error codes
2025-10-03 16:29:39 +05:30
Hemachandar
ca1c069e65
Handle OIDC well-known endpoint errors
2025-10-02 14:58:55 +05:30
Hemachandar
0228c74f71
Throw error when email is not available for account verification
2025-09-22 14:26:23 +05:30
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# 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
# app/controllers/api/databases.php
# composer.lock
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
hmacr
ee5a644771
tests
2025-07-24 19:39:23 +05:30
Jake Barnby
51c95347a0
Merge remote-tracking branch 'origin/main' into 1.8.x
...
# Conflicts:
# 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-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/databases.php
2025-07-21 20:42:16 +12:00
Jake Barnby
891db255bc
Fix tests
2025-07-21 19:59:38 +12:00
Jake Barnby
f082cfacfa
Fix tests
2025-07-21 19:43:33 +12:00
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# .github/workflows/benchmark.yml
# composer.lock
# src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Matej Bačo
df902d2624
Fix account tests using old token
2025-06-26 20:47:59 +02:00
Matej Bačo
918ad8979d
Fix flakyness of account tests
2025-06-26 18:07:59 +02:00
Matej Bačo
c85cfe132e
Improve flaky tests logging
2025-06-25 15:53:59 +02:00
ArnabChatterjee20k
d053282bcb
linting
2025-06-19 02:29:21 +05:30
ArnabChatterjee20k
225b6e8413
updated tests and project invaldate session
2025-06-19 02:26:58 +05:30
ArnabChatterjee20k
56494ca427
updated invalidation session during the change password in the account endpoint
2025-06-18 13:30:24 +05:30
Darshan
e6d143c806
Merge branch '1.7.x' into fix-templates
2025-06-10 14:20:28 +05:30
loks0n
854304dd16
tests: fix flaky account tests
...
commit-id:3865765d
2025-06-02 17:09:13 +01:00
Darshan
f13a28cf6d
Merge branch '1.7.x' into fix-templates
2025-05-04 19:08:06 +05:30
Darshan
736078203a
update: change method name.
2025-03-29 18:22:59 +05:30
Darshan
b1c67e6f74
fix: other remaining tests.
2025-03-29 18:21:25 +05:30
Chirag Aggarwal
afabd5b87a
Merge branch '1.6.x' into feat-development-keys
2025-03-14 17:20:47 +05:30
Chirag Aggarwal
36b0475298
chore: update tests
2025-03-05 18:40:41 +00:00
Chirag Aggarwal
c05ef9121f
Merge branch '1.6.x' into feat-development-keys
2025-02-28 12:56:26 +00:00
Jake Barnby
03f0e382f4
Fix dates
2025-02-25 21:03:37 +13:00
Chirag Aggarwal
351afffdfe
Merge branch '1.6.x' into feat-development-keys
2025-02-13 17:55:37 +00:00
Chirag Aggarwal
70c119b9cc
chore: added test cases for forwarded user agent
2025-01-27 13:58:46 +00:00
Damodar Lohani
cd54ba1b83
fix account test
2024-12-15 10:49:35 +00:00
Jake Barnby
1ed3dee135
Fix tests
2024-10-22 14:54:34 +13:00
Jake Barnby
0a22292d1b
Update tests
2024-10-22 14:35:11 +13:00
Binyamin Yawitz
4ca3ef020f
Merge branch 'refs/heads/1.6.x' into refactor-session-alerts
...
# Conflicts:
# app/controllers/api/account.php
2024-08-05 16:19:41 -04:00
Binyamin Yawitz
be1753a198
refactor: no session alerts for otp and magic-url logins
2024-08-01 14:36:21 -04:00