Jake Barnby
3ecb4ee4e2
Sync 1.8.x
2026-02-26 18:50:29 +13:00
Jake Barnby
b41678d57a
Merge remote-tracking branch 'origin/feat-mongodb' into feat-installer
...
# Conflicts:
# .github/workflows/tests.yml
# Dockerfile
# app/views/install/compose.phtml
# composer.lock
# mongo-entrypoint.sh
# src/Appwrite/Platform/Tasks/Install.php
# src/Appwrite/Platform/Tasks/Upgrade.php
# tests/e2e/Client.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/Legacy/DatabasesCustomClientTest.php
# tests/e2e/Services/Databases/Legacy/DatabasesCustomServerTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomClientTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomServerTest.php
# tests/e2e/Services/Databases/Transactions/TransactionsBase.php
# tests/e2e/Services/GraphQL/Legacy/DatabaseServerTest.php
# tests/e2e/Services/GraphQL/TablesDB/DatabaseServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
# tests/e2e/Services/Teams/TeamsCustomClientTest.php
2026-02-13 17:09:42 +13:00
Jake Barnby
e3c58a8c05
fix: Correct test capability gates and GraphQL dependencies
...
- Change spatial test gates from getSupportForRelationships() to
getSupportForSpatials() in both Legacy and TablesDB DatabasesBase
- Add both relationship AND spatial gates for spatial relationship tests
- Add missing @depends for float, email, and datetime attributes/columns
in GraphQL Server tests to ensure schema is complete before document/row
creation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-13 05:06:48 +13:00
Jake Barnby
5590f0bcd0
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# .env
# .github/workflows/tests.yml
# app/controllers/api/projects.php
# app/controllers/api/teams.php
# app/init/registers.php
# app/views/install/compose.phtml
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php
# src/Appwrite/Platform/Tasks/Install.php
# src/Appwrite/Platform/Tasks/Upgrade.php
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2026-02-12 23:35:21 +13:00
Chirag Aggarwal
2d05d608f4
Upgrade utopia-php dependencies and fix namespace changes
...
- Upgrade utopia-php/cli from 0.15 to 0.22
- Upgrade utopia-php/analytics from 0.10 to 0.15
- Upgrade utopia-php/orchestration from 0.9 to 0.19
- Use dev branches for utopia-php/framework and utopia-php/platform
- Remove utopia-php/swoole dependency (merged into framework)
- Migrate Utopia\CLI\Console to Utopia\Console across all files
- Migrate Utopia\Http to Utopia\Http\Http namespace
- Migrate Utopia\Swoole\Files to Utopia\Http\Files (now instance-based)
- Convert static CLI::setResource() calls to instance-based Dependency API
- Fix StatsResources task named parameter mismatch
2026-02-10 10:34:24 +05:30
Jake Barnby
e70739a3c0
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# Dockerfile
# app/controllers/api/account.php
# app/controllers/api/avatars.php
# app/controllers/api/console.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/http.php
# app/init/database/filters.php
# app/init/registers.php
# app/init/resources.php
# app/views/install/compose.phtml
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php
# src/Appwrite/Platform/Tasks/Install.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2026-02-05 01:01:03 +13:00
fogelito
186ed5b61f
fix graphQL
2026-02-04 12:29:20 +02:00
Jake Barnby
8335e43eaa
Merge branch '1.8.x' into feat-db-tests
2026-01-19 18:34:35 +13:00
Jake Barnby
63b3365ce9
Fix PHPUnit 11 migration test issues
...
- Add missing @depends testCreateDatabase to testUpdateWithExistingRelationships in DatabasesBase.php
- Fix data provider keys in LegacyPermissionsMemberTest and TablesDBPermissionsMemberTest to match parameter names (any->anyCount, users->usersCount, doconly->docOnlyCount)
- Convert provideCustomExecutions data provider to positional arrays to avoid PHPUnit 11 named argument conflicts with @depends
- Restore @depends testUpdateAccountPhone for testCreatePhoneVerification in GraphQL AccountTest
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:59:53 +13:00
Jake Barnby
4adc4f65ad
Add missing PHPUnit #[Depends] to GraphQL Functions tests
...
Fixed missing #[Depends] attributes:
- FunctionsClientTest: 4 methods (testCreateDeployment, testCreateExecution,
testGetExecutions, testGetExecution)
- FunctionsServerTest: 11 methods (all test methods with parameters)
- Legacy/DatabaseServerTest: Fixed testCreateIndex dependency
(was depending on void-returning testUpdateURLAttribute)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:28:38 +13:00
Jake Barnby
1d03af22e4
Add missing PHPUnit #[Depends] attributes to GraphQL tests
...
PHPUnit 11 requires explicit #[Depends] attributes. The migration removed
@depends annotations but didn't add all corresponding #[Depends] attributes.
Fixed in:
- GraphQL/Legacy/DatabaseClientTest: 5 methods
- GraphQL/StorageClientTest: 7 methods
- GraphQL/StorageServerTest: 10 methods
- GraphQL/TeamsServerTest: 3 methods
- GraphQL/TeamsClientTest: 2 methods
- GraphQL/TablesDB/DatabaseServerTest: ~40 methods
- GraphQL/TablesDB/DatabaseClientTest: 5 methods
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 18:10:30 +13:00
Jake Barnby
7d6ac8f7a2
Add missing PHPUnit #[Depends] attributes
...
PHPUnit 11 requires explicit #[Depends] attributes instead of the old
@depends annotations. Several test methods were missing these attributes,
causing "Too few arguments" errors when PHPUnit tried to run the tests.
Fixed in:
- AccountCustomClientTest: testUpdateAccountPassword, testUpdateAccountRecovery, testCreateSession
- GraphQL/Legacy/DatabaseServerTest: Added 36 missing #[Depends] attributes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-15 17:51:31 +13:00
Jake Barnby
714b8d7ea6
Migrate to PHPUnit 11
2026-01-15 16:14:53 +13:00
Damodar Lohani
d68fc9a22e
Merge branch '1.8.x' into feat-health-module
2026-01-08 11:26:56 +05:45
Darshan
46072bb95e
fix: test.
2026-01-07 18:32:03 +05:30
Darshan
47ea8699d1
add: tests.
2026-01-07 18:05:33 +05:30
Darshan
228d095ee5
address comment and fix tests.
2026-01-07 13:57:41 +05:30
Darshan
f788fc8f8a
add: tests.
2026-01-03 15:42:55 +05:30
Damodar Lohani
3e403194e4
Fix tests
2026-01-01 09:37:10 +00: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
Jake Barnby
2776925540
Tests via console features
2025-11-25 21:11:01 +13:00
Jake Barnby
d8d970e03e
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/messaging.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# composer.lock
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Boolean/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Column/Decrement.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Column/Increment.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/XList.php
# src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php
# src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Create.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Update.php
2025-11-20 17:46:19 +13:00
Damodar Lohani
8f87b9cb5e
Merge branch '1.8.x' into feat-screenshots-endpoint
2025-10-29 09:19:47 +05:45
eldadfux
f13c029751
Refactor avatar screenshot API to replace 'viewport' parameter with separate 'viewportWidth' and 'viewportHeight' parameters; update related tests for validation of new dimensions and edge cases.
2025-10-24 22:53:10 +01:00
Chirag Aggarwal
9c0772f125
add tests
2025-10-24 14:19:59 +05:30
Jake Barnby
bae759957c
Fix graphql test
2025-10-23 23:57:11 +13:00
Eldad Fux
e00a73f442
Enhance avatar screenshot API by adding 'scale' parameter for browser scaling; update related tests to validate new functionality and edge cases.
2025-10-22 10:22:17 +01:00
Eldad Fux
dc7bb627d5
Enhance avatar screenshot API with new parameters and validations; add GraphQL support and extensive tests for various scenarios
2025-10-22 01:24:31 +01:00
ArnabChatterjee20k
ba0d334f80
Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes
2025-08-27 17:00:28 +05:30
ArnabChatterjee20k
0e343125b7
updated graphql queries
2025-08-27 16:35:55 +05:30
Jake Barnby
76db65583d
Fix GQL test
2025-08-27 15:21:23 +12:00
ArnabChatterjee20k
afba5583bb
added server and client test for create , update and delete
2025-08-22 12:47:35 +05:30
Jake Barnby
842dce2659
Update tablesDb -> tablesDB
2025-08-21 02:20:05 +12:00
Jake Barnby
b965d1077c
More fix namespace
2025-08-20 01:41:46 +12:00
Jake Barnby
14f8f9af4e
Fix namespace
2025-08-20 01:39:18 +12:00
Jake Barnby
a53be858a8
Fix email gql
2025-08-20 01:33:01 +12:00
Jake Barnby
f27ac986fa
Fix un-fixed ref
2025-08-19 23:14:36 +12:00
Jake Barnby
6f170fdb6d
Fix static user refs
2025-08-19 23:13:47 +12:00
Jake Barnby
64fd27ee06
Fix tablesDB GQL payloads for DB resource
2025-08-19 23:03:36 +12:00
Jake Barnby
6d2832831c
Remove weird static/const mix
2025-08-19 23:03:18 +12:00
Jake Barnby
670e869855
Migrate to TablesDB
2025-08-18 19:15:49 +12:00
Jake Barnby
afdd8cf58f
Merge branch '1.8.x' into cursor/update-docker-base-to-0-10-3-27d7
2025-08-09 17:50:31 +12:00
Cursor Agent
bb5e25ea4b
Update GraphQL avatars test to validate response headers and content
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 05:03:47 +00:00
Cursor Agent
f0e49bb2a3
Update avatar test to validate response headers and content type
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:58:11 +00:00
Cursor Agent
ff8ad93544
Update avatar test to validate response headers and content type
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-09 04:44:19 +00:00
Cursor Agent
6ca9cbf3d7
Update credit card icon size in AvatarsTest
...
Co-authored-by: jakeb994 <jakeb994@gmail.com >
2025-08-08 13:33:52 +00:00
Darshan
1ed45def9d
update: graphql tests.
2025-07-27 15:23:07 +05:30
Darshan
1f31b75582
fix: tests.
2025-07-27 14:48:19 +05:30