Jake Barnby
2d3dea84e3
Add CI debug
2025-10-01 21:10:26 +13:00
Jake Barnby
daeb721995
Fix tests
2025-09-30 23:44:26 +13:00
shimon
f16eba2f9f
Update PHPUnit configuration to stop on failure set to false, and clean up whitespace in multiple files for consistency. Adjust comments and ensure proper formatting in test cases and API handling.
2025-09-16 19:13:38 +03:00
shimon
89d06d00c0
Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
...
# Conflicts:
# .github/workflows/tests.yml
# composer.lock
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-11 16:54:49 +03:00
Matej Bačo
2ce0f370dc
PR review changes
2025-08-26 15:44:15 +02:00
shimon
b98be4756c
Update composer.json and composer.lock to reflect changes in utopia-php/database versioning and dependencies. Adjusted MongoDB-related test conditions for improved compatibility and clarity. Removed unnecessary var_dump statements in account.php and enhanced logging in various test files for better debugging.
2025-08-26 13:48:01 +03:00
shimon
c4fb7ecbc1
Refactor and clean up debugging output across multiple files, including mock.php, account.php, and OAuth2 classes. Removed unnecessary var_dump statements for improved code clarity and consistency. Updated MongoDB condition checks in test cases to ensure case-insensitive comparisons.
2025-08-12 15:20:30 +03:00
shimon
870125ed84
Refactor MongoDB condition checks in DatabasesCustomClientTest and UsersBase. Improved formatting for consistency and clarity in test assertions, particularly for MongoDB-related tests.
2025-08-11 22:07:05 +03:00
shimon
e1475619ba
Refactor debugging output across various files, including http.php, mock.php, and OAuth2 classes. Adjusted var_dump statements for improved traceability and consistency. Updated test assertions in ProjectsConsoleClientTest and UsersBase to enhance clarity and functionality.
2025-08-11 22:05:18 +03:00
shimon
da706378ea
Enhance debugging output in OAuth2 mock endpoints and update MongoDB version in tests. Added var_dump statements for better traceability during OAuth2 flows and adjusted test assertions for user search functionality.
2025-08-11 11:27:45 +03:00
ArnabChatterjee20k
7a0ba95231
updated onPasswordChange to invalidate session
2025-06-16 23:05:52 +05:30
ArnabChatterjee20k
fde2f278e8
added invalidating sessions for the project users
2025-06-14 18:07:42 +05:30
Chirag Aggarwal
85edfc6af8
chore: added test for users.listmemberships
2025-03-28 05:47:18 +00:00
Steven Nguyen
f48c843bea
fix(users): ensure user can delete session
...
The session document created by users.createSession() was missing
delete permissions for the user so when the user tried to delete it,
they got a 401 error.
This PR ensure the permissions are added just like if the document was
created from the Account API so that the user has access to delete the
document.
2025-01-11 17:56:36 +00:00
Steven Nguyen
014c613c93
fix: update secret returned from users.createSession()
...
1. Include at least 1 factor because the minumum number of factors
required when mfa is disabled is 1.
2. Purge the cached user document to ensure the new session is included
in subsequent requests for the user.
3. Fix the encoding of the secret to match other parts of the codebase.
2024-11-22 21:52:27 +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
Christy Jacob
bfa253297b
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main
2024-08-13 15:36:13 +00:00
Matej Bačo
d4a5891c0d
Fix user JWTs without sessionID
2024-07-21 13:28:23 +00:00
Jake Barnby
b343158d19
Merge remote-tracking branch 'origin/main' into 1.6.x
...
# Conflicts:
# .gitmodules
# app/console
# composer.lock
# tests/e2e/Services/Health/HealthCustomServerTest.php
2024-07-10 19:11:04 +12:00
Christy Jacob
8dbf887ab1
Merge pull request #8324 from appwrite/refactor-usage-sn
...
Sync refactor-usage-sn into 1.5.x
2024-06-25 22:50:42 +04:00
Steven Nguyen
34b2e15243
fix(users): fix expire error when creating user session
...
Before this, the Create session API call would throw:
> Invalid document structure: Missing required attribute "expire"
This is because the `expire` attribute is required, but it was omitted
from the document. This PR ensures the `expire` attribute is set when
creating the session document.
2024-06-24 23:21:44 +00:00
Damodar Lohani
d19141fc6a
sleep after password change
2024-06-24 07:49:18 +00:00
Christy Jacob
a2f27ec15f
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-main
2024-06-21 13:11:35 +00:00
Damodar Lohani
349b78d5e5
fix assertion
2024-06-17 04:55:06 +00:00
Matej Bačo
11827216ff
Update tests/e2e/Services/Users/UsersBase.php
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-05-29 09:32:58 +02:00
Matej Bačo
b1ff989c3f
Implement tests, fix JWT maxAge
2024-05-28 09:25:54 +00:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
Matej Bačo
7beb9080fa
Merge remote-tracking branch 'origin/1.5.x' into fix-empty-user-updates
2024-02-05 10:38:48 +00:00
fogelito
a782e20315
Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
...
Conflicts:
app/controllers/api/account.php
composer.json
composer.lock
src/Appwrite/Platform/Tasks/CalcTierStats.php
tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00
Jake Barnby
8cfd194cc0
Fix user tests
2024-01-22 23:29:41 +13:00
Matej Bačo
311e9a75dd
Allow empty values in PATH user service
2024-01-20 09:43:31 +00:00
loks0n
bc1858c516
chore: do not auto create accounts in users endpoints
2024-01-17 11:03:04 +00:00
loks0n
6bf82c3dc5
test: fix user token test
2024-01-15 11:30:54 +00:00
Jake Barnby
5044c0cafa
Fix users tests
2024-01-09 16:43:39 +13:00
loks0n
5c803f6eff
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-08 11:41:55 +00:00
loks0n
8ea9706174
feat: Matej renaming plan
2023-11-30 11:35:52 +00:00
prateek banga
ee4c2d0e0d
adds target when creating user via server endpoint
2023-11-28 18:42:34 +05:30
prateek banga
88f228c106
review changes
2023-11-21 15:11:09 +05:30
prateek banga
7ae614fe13
adds provider type in target
2023-11-14 18:14:07 +05:30
loks0n
df0271c56a
chore: rename to 'custom' sessions
2023-11-02 13:22:10 +00:00
loks0n
c39426745c
test: fix create custom session params
2023-11-02 13:15:29 +00:00
prateek banga
f5aa226b57
fix test
2023-10-26 00:02:22 +05:30
loks0n
a67ca55af5
fix: use queueForEvents in users
2023-10-23 11:32:09 +01:00
loks0n
07286e5864
Merge branch 'main' of https://github.com/appwrite/appwrite into feat-ssr
2023-10-13 11:05:22 +01:00
loks0n
8ab429b92f
feat: replace session confirmation endpoints
2023-10-12 14:38:32 +01:00
loks0n
8379551510
test: fix warning
2023-10-11 16:59:44 +01:00
loks0n
0332d35d9e
test: e2e universal token
2023-10-11 14:21:20 +01:00
Prateek Banga
bb52647366
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mailgun-provider
2023-10-10 19:06:39 +05:30
Jake Barnby
aa1cf053f7
Add test ensuring no 500 on bad serach
2023-09-28 18:58:29 +13:00