Commit Graph
551 Commits
Author SHA1 Message Date
shimon 3edc055c9d Skip spatial column tests for MongoDB support in DatabasesBase trait 2025-09-21 16:02:36 +03:00
shimon ceda513083 Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsUsage.php
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-09-21 15:55:11 +03:00
Jake Barnby c1782f6f58 Don't remove required attributes 2025-09-19 15:28:41 +12:00
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
ArnabChatterjee20k 4815780476 Add spatial column validation during required mode and tests for existing data in databases 2025-09-17 18:01:29 +05:30
shimon b1e55702c8 Refactor MongoDB test cases for improved readability and consistency. Adjust whitespace in conditional statements and remove redundant test methods related to spatial columns. Add new tests for spatial distance queries and update existing tests to ensure proper functionality. 2025-09-16 19:14:09 +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 7c0bd1da88 uncomment inversion tests 2025-09-16 17:51:29 +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 addd140925 updated composer 2025-09-12 11:24:19 +05:30
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
Jake BarnbyandGitHub de1ecaa9c9 Merge pull request #10473 from appwrite/spatial-type-attributes
Spatial test tablesdb updates
2025-09-11 19:44:55 +12:00
ArnabChatterjee20k e212ec997a cloud test failing due to wrong spatial type for other adapters 2025-09-10 19:53:33 +05:30
Jake BarnbyandGitHub 7b9ead6a68 Merge pull request #10463 from appwrite/spatial-type-attributes
Spatial type attributes sdk updates
2025-09-10 18:48:49 +12:00
ArnabChatterjee20k 0dd7d45993 updated tests 2025-09-09 22:56:59 +05:30
Jake BarnbyandGitHub 2b1dd8be0e Merge pull request #10443 from appwrite/spatial-type-attributes
Spatial type attributes
2025-09-06 04:44:06 +12:00
Jake Barnby 489f8db376 Apply to TablesDB tests 2025-09-06 00:13:48 +12:00
Jake Barnby 3f7d05ca8f Remove invalid test for spatial order on MySQL 2025-09-06 00:10:28 +12:00
Jake Barnby 0ca53304b7 Fix boundary inclusive contains on mysql 2025-09-06 00:10:00 +12:00
ArnabChatterjee20k 97a28878ca Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-05 16:16:48 +05:30
ArnabChatterjee20k 4ed42d3304 updated request and response model 2025-09-05 16:15:17 +05:30
Jake Barnby aa51bb5052 Lint 2025-09-05 00:13:39 +12:00
Jake Barnby 307b458889 Add tests 2025-09-04 23:56:16 +12:00
ArnabChatterjee20k 0d77a33cf1 updated update endpoint to spatial appwrite validator 2025-09-03 00:40:04 +05:30
ArnabChatterjee20k 22b797165a Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-02 23:07:32 +05:30
ArnabChatterjee20k 8f7085ccfc pr followups 2025-09-02 23:00:31 +05:30
ArnabChatterjee20k 1112058689 pr followups 2025-09-02 18:07:34 +05:30
ArnabChatterjee20k cfe9b34cd5 updated pr followups 2025-09-02 17:33:30 +05:30
Jake Barnby 8834163c91 Fix tests 2025-08-29 21:01:09 +12:00
Jake Barnby 57071af3e8 Handle privileged 2025-08-29 20:38:55 +12:00
Jake Barnby f0c10acbb4 Fix readonly attr stripping on write 2025-08-29 19:30:59 +12:00
shimon bdb8204910 Refactor database attribute tests to streamline size validation and add support for additional integer index. Updated size constraints for 'description' and 'tagline' attributes, and introduced a new 'integers2' attribute to accommodate MongoDB limitations. Adjusted assertions to reflect these changes. 2025-08-27 16:32:13 +03:00
ArnabChatterjee20k 7360dd68e0 updated tests 2025-08-27 17:41:52 +05:30
ArnabChatterjee20k ba0d334f80 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-08-27 17:00:28 +05:30
ArnabChatterjee20k 7a4929a51f added update and default cases for the spatial attributes endpoints 2025-08-27 16:30:25 +05:30
shimon 1274614d18 Update composer.json and composer.lock to reflect new versioning for utopia-php/database and other dependencies. Adjusted Docker configuration to set the database adapter to MariaDB. 2025-08-27 13:55:48 +03:00
shimon 6910d669de Update composer.json to correct utopia-php/database version reference and modify test to use the correct endpoint for MongoDB operations. 2025-08-27 10:25:23 +03:00
copilot-swe-agent[bot]andstnguyen90 6763b8ecb6 Apply sequence integer casting fix to Row.php and add test assertion
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-08-26 20:06:26 +00:00
ArnabChatterjee20k 51b01ab803 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-08-26 21:46:43 +05:30
ArnabChatterjee20k 0aee34185a updated distance queries 2025-08-26 21:11:30 +05:30
ArnabChatterjee20k b28ec182d7 added spatial index tests 2025-08-26 20:54:55 +05:30
ArnabChatterjee20k 3755d58d62 added tests for bulk operation 2025-08-26 17:07:20 +05:30
shimon 4fb680350a Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
# Conflicts:
#	Dockerfile
#	composer.json
#	composer.lock
#	tests/e2e/Services/Databases/TablesDB/DatabasesCustomClientTest.php
#	tests/e2e/Services/Databases/TablesDB/DatabasesCustomServerTest.php
2025-08-26 14:20:47 +03: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
ArnabChatterjee20k a80c410d07 added relationship tests for the spatial type attributes 2025-08-26 16:15:26 +05:30