Commit Graph

4793 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 9c5c5343a4 Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-11 21:58:09 +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 Barnby 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 Barnby 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
Chirag Aggarwal f67edb2c48 update test 2025-09-08 09:49:58 +05:30
Jake Barnby 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
Matej Bačo 10cfc15904 Add set-cookie tests 2025-09-03 17:49:10 +02:00
ArnabChatterjee20k fdeb8c48c5 added permission upsert test 2025-09-03 19:53:20 +05:30
ArnabChatterjee20k b7a0f53994 updated tests 2025-09-03 19:43:33 +05:30
ArnabChatterjee20k a2e9ee73dc bulk upsert support 2025-09-03 19:36:24 +05:30
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 b01f146b1c Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-02 23:04:12 +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
Matej Bačo b1c1acf36b Finish refactor for internal select queries 2025-09-02 11:16:47 +02:00
Matej Bačo 31b8e3361d Merge branch '1.8.x' into feat-select-queries-on-deployments 2025-09-02 11:03:20 +02:00
Jake Barnby 6e5fe9c33f Check verison 2025-09-01 22:41:30 +12:00
Jake Barnby fb8270733e Allow running tests with specific response format 2025-09-01 22:09:30 +12:00
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
Chirag Aggarwal ee292d04a6 delete execution 2025-08-27 17:32:21 +05:30