Commit graph

73 commits

Author SHA1 Message Date
Jake Barnby
6bacec52c5
Fix storage test 2025-10-01 17:11:02 +13:00
Jake Barnby
f3460db369
Fix fulltext error 2025-10-01 12:30:48 +13:00
Jake Barnby
766c3293d2
Fix index text checks 2025-10-01 00:47:07 +13:00
Jake Barnby
daeb721995
Fix tests 2025-09-30 23:44:26 +13:00
shimon
b828621feb Update composer dependencies and enhance index validation in database module 2025-09-21 19:14:40 +03:00
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
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
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 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
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
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
4ed42d3304 updated request and response model 2025-09-05 16:15:17 +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
7a4929a51f added update and default cases for the spatial attributes endpoints 2025-08-27 16:30:25 +05:30
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
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
ArnabChatterjee20k
b01fc7c38f added spatial query testing 2025-08-26 15:33:26 +05:30
Jake Barnby
04f7def624
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-08-25 16:05:57 +12:00
fogelito
ad96379623 Restrict array list 2025-08-24 18:09:38 +03:00
fogelito
959db2ea02 Restrict array list 2025-08-24 18:08:12 +03:00
fogelito
ba79dda788 Check no change 2025-08-24 17:39:29 +03:00
Jake Barnby
3286b1283d
Fix tests 2025-08-20 18:21:37 +12:00
Jake Barnby
c9641f72a8
Remove invalid test 2025-08-19 23:02:17 +12:00
Jake Barnby
42d6a7b00d
Fix hardcoded collectionId 2025-08-19 20:08:13 +12:00
Jake Barnby
c1e37b9130
Fix dangling tests 2025-08-19 01:24:51 +12:00