Commit graph

639 commits

Author SHA1 Message Date
shimon
a6d1f46133 addressing comments 2025-10-29 10:38:09 +02:00
shimon
9e79d883a0 Refactor authorization retrieval in realtime and update imports in migration files; clean up whitespace in tests 2025-10-28 14:16:26 +02:00
shimon
cc6319a2c7 singletone fix 2025-10-28 11:09:20 +02:00
shimon
8b3b07a710 linter 2025-10-22 16:40:00 +03:00
shimon
33f88fa5e0 Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock. 2025-10-22 16:35:48 +03:00
shimon
5f3316ff18 fix assertion order 2025-10-20 18:38:14 +03:00
shimon
9be7f4d72c Merge remote-tracking branch 'origin/feat-disable-count' into feat-disable-count 2025-10-20 18:28: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
Jake Barnby
94d02aff4f
Fix DB tests 2025-10-21 01:24:50 +13:00
Jake Barnby
bfe639fb70
Fix key 2025-10-21 00:13:32 +13:00
Jake Barnby
7512a0db6b
Fix cross-API compat 2025-10-10 17:27:09 +13:00
Jake Barnby
bf589f7485
Fix client side 2025-10-10 02:16:58 +13:00
Jake Barnby
8193f0fcac
Ensure create/upsert stores in state by generated ID not unique string 2025-10-09 16:24:25 +13:00
Jake Barnby
3d3f50064d
Force set state on increment 2025-10-09 15:50:18 +13:00
Jake Barnby
eb7306a4fa
Add missing state handlers 2025-10-07 22:17:59 +13:00
Jake Barnby
9e3c439c51
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-10-07 18:57:46 +13:00
Jake Barnby
2566f4d98e
Add tostring 2025-10-06 14:16:01 +13:00
Jake Barnby
24f6da5610
Add assertions on tables DB 2025-10-06 13:47:21 +13:00
Jake Barnby
5be2489e55
Check query result 2025-10-05 00:06:56 +13:00
Jake Barnby
6881df6ae5
Fix expectations 2025-10-04 22:55:07 +13:00
Jake Barnby
57e3e8f5f4
Fix test scope 2025-10-04 21:10:50 +13:00
Jake Barnby
3e77810e13
Fix existence check for tracked + staged ops 2025-10-04 19:26:22 +13:00
Jake Barnby
2c7cf7826b
Fix operation perm checks 2025-10-04 16:43:39 +13:00
Jake Barnby
59ae403391
Add more validation tests 2025-10-03 17:34:34 +13:00
Jake Barnby
9fde875904
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-09-22 16:12:45 +12: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
fogelito
614285f1ae Add Scope for tests 2025-09-16 11:29:13 +03:00
Jake Barnby
fb65d7a965
Add scoped tests 2025-09-16 13:25:15 +12:00
Jake Barnby
5c09e8ae00
Lint 2025-09-13 00:35:03 +12:00
Jake Barnby
edc637b762
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-13 00:29:19 +12:00
Jake Barnby
304ebf12b9
Add more tests 2025-09-13 00:04:49 +12:00
Jake Barnby
7120bce761
Handle structure exception 2025-09-12 21:47:40 +12: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
Jake Barnby
65ad2c9ff5
Handle usage + realtime 2025-09-12 01:45:16 +12:00
Jake Barnby
ef685c5bc1
Fix tests 2025-09-12 00:19:39 +12:00
Jake Barnby
e6c83f364c
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-11 21:17:50 +12:00
Jake Barnby
8706828c22
Fix tests 2025-09-11 21:13:41 +12: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
Jake Barnby
498484ca4e
Legacy DB support 2025-09-11 17:54:55 +12:00
Jake Barnby
f9b92ddead
Fix namespace 2025-09-11 16:37:43 +12:00
Jake Barnby
461c8681af
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/StatsResources.php
2025-09-11 16:36:49 +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
Jake Barnby
78ffab5116
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php
2025-09-09 00:52:39 +12:00
Jake Barnby
495eeeb929
Support legacy 2025-09-09 00:50:48 +12:00
Jake Barnby
abf6c0a0b8
Add more bulk tests 2025-09-08 19:20:26 +12:00
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
812a09f556
Add read-your-write support 2025-09-06 04:26:49 +12:00
Jake Barnby
391942ba72
Fix bulk logged queries 2025-09-06 02:37:17 +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
3d5caaa0bb
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-09-05 01:05:44 +12:00
Jake Barnby
d28643bd2b
Update DB 2025-09-05 01:02:30 +12:00
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
Jake Barnby
5702def9d2
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-09-04 04:00:57 +12:00
Jake Barnby
de5df4b72e
Add extra tests 2025-09-04 03:57:03 +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
Jake Barnby
00f91c444c
Fix tests 2025-09-03 04:55:31 +12:00
Jake Barnby
2202dc9747
Handle intra-transactional ops with state tracking 2025-09-03 04:29:42 +12:00
Jake Barnby
5528e9964b
Updates tests 2025-09-03 03:53:08 +12:00
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
f836fbeba5
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	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/Utopia/Response.php
2025-09-02 23:31:47 +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
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
copilot-swe-agent[bot]
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
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
fogelito
d2dedf97bb Run tests 2025-08-24 11:48:15 +03:00
fogelito
c7a769274e Fix nothing was updated 2025-08-24 11:33:10 +03:00
ArnabChatterjee20k
afba5583bb added server and client test for create , update and delete 2025-08-22 12:47:35 +05:30
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
c323435dad
Remove filter 2025-08-19 22:09:30 +12:00
Jake Barnby
42d6a7b00d
Fix hardcoded collectionId 2025-08-19 20:08:13 +12:00
Jake Barnby
e58091d86b
Fix tests 2025-08-19 03:16:55 +12:00