Commit Graph

29 Commits

Author SHA1 Message Date
ArnabChatterjee20k d33b91b25c Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api-for-cloud 2025-12-13 22:41:41 +05:30
Darshan ef5f0ed6b4 update: to use placeholders. 2025-12-11 15:26:45 +05:30
ArnabChatterjee20k 070ec03c0c Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api 2025-12-08 17:31:04 +05:30
Jake Barnby 48038512b9 Fix index validation 2025-12-05 21:05:14 +13:00
Jake Barnby 121f94676d Fix test 2025-12-05 01:03:43 +13:00
Jake Barnby df94765cf3 Update validation 2025-12-04 23:25:15 +13:00
Jake Barnby e00dacf9a2 Fix test 2025-12-03 23:24:05 +13:00
Jake Barnby 252a4e12ff Validate format on non-strings 2025-12-03 22:38:37 +13:00
Jake Barnby dce4c6e9f1 Add more tests 2025-12-03 22:15:44 +13:00
Jake Barnby 8b4657ff8a Cleanup on create failures 2025-12-03 21:17:38 +13:00
Jake Barnby cc50ba6b7d Add custom server test 2025-12-01 21:43:50 +13:00
ArnabChatterjee20k a5e56438c7 Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api 2025-10-30 12:35:57 +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 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
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 cc87de8934 Merge branch 'feat-mongodb-pulls' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
2025-09-16 17:43:47 +03:00
shimon 5f8dc9998c Refactor database document handling by replacing createOrUpdateDocuments with upsertDocuments in multiple classes. Clean up common.php by removing commented-out index definitions and ensuring proper indexing for MongoDB compatibility. Update UsageTest to correct API endpoint paths for database operations. 2025-09-16 17:39:41 +03:00
shimon f5fc099d87 Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-16 10:26:43 +03:00
ArnabChatterjee20k 289cf4db0a testing with symlink 2025-09-11 21:55:36 +05:30
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
ArnabChatterjee20k 8f7085ccfc pr followups 2025-09-02 23:00:31 +05:30
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
ArnabChatterjee20k afba5583bb added server and client test for create , update and delete 2025-08-22 12:47:35 +05:30
ArnabChatterjee20k 82fbc524f8 Add comprehensive tests for date and time operations in database rows
- Implemented `testDateTimeRow` to validate the behavior of datetime columns, including creation, retrieval, and modification of rows with custom createdAt and updatedAt timestamps.
- Added `testSingleRowDateOperations` to cover various scenarios for single row operations with custom date handling.
- Created `testBulkRowDateOperations` to test bulk creation and updates of rows with date fields.
- Introduced `testUpsertRowDateOperations` to verify upsert functionality with custom date fields.
- Cleaned up legacy test file by removing unnecessary blank lines.
2025-08-01 13:53:04 +05:30
ArnabChatterjee20k de69692ff2 added modify createdAt/updatedAt support 2025-07-31 20:32:14 +05:30
Darshan ee317b0b8d Merge branch '1.8.x' into 'lazy-load-relationships'. 2025-07-17 18:15:16 +05:30
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
Darshan c93d92abef rename: tests from collections to legacy. 2025-06-19 10:52:15 +05:30