Commit graph

512 commits

Author SHA1 Message Date
ArnabChatterjee20k
4ed511f31c Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-06 10:57:20 +05:30
Jake Barnby
bd4fb03b74
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-06 17:24:00 +12:00
ArnabChatterjee20k
28cf4e1d94 updated the validator of type of database to validator 2025-08-05 18:07:11 +05:30
ArnabChatterjee20k
f06af411ba Add 'type' attribute to database creation and update tests 2025-08-05 16:48:05 +05:30
Jake Barnby
43f0849979
Fix atomic num ops with limit 0 2025-08-05 20:38:26 +12:00
ArnabChatterjee20k
27684ef38c Merge remote-tracking branch 'upstream/1.8.x' into dat-588 2025-08-01 13:54:13 +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
Jake Barnby
6347d7da3f
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Jake Barnby
360e4ce992
Add test case 2025-07-29 16:54:39 +12:00
Darshan
d7136e77ea fix: tests. 2025-07-27 13:50:34 +05:30
Jake Barnby
6637cc0ed7
Fix merge 2025-07-27 17:09:50 +12:00
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
ArnabChatterjee20k
c398e08f90 Add user injection and permission handling in Upsert actions 2025-07-22 14:10:58 +05:30
ArnabChatterjee20k
7bb760b4a1 added test for relation related upsert , fixed formatting 2025-07-22 13:10:05 +05:30
Jake Barnby
7355711f24
Fix index tests 2025-07-22 16:35:35 +12:00
Jake Barnby
724ee41eff
Fix index tests 2025-07-22 14:48:48 +12:00
Jake Barnby
f33ed64f6a
Fix index tests 2025-07-22 14:14:08 +12:00
ArnabChatterjee20k
8b88a09374 added the cases of null permissions in the upsert route and update the e2e test 2025-07-21 19:32:27 +05:30
Jake Barnby
75bd0dc55b
Update tables test 2025-07-21 21:26:08 +12:00
Jake Barnby
f0f7381b97
Update libs 2025-07-21 19:13:34 +12:00
Darshan
d6ec18bda7 update: maintain tests consistency. 2025-07-18 12:14:02 +05:30
Jake Barnby
9ceeb76ad0
Merge branch '1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Darshan
944f5ed7c1 update: mirror tests to Tables api. 2025-07-17 18:58:56 +05:30
Darshan
ee317b0b8d Merge branch '1.8.x' into 'lazy-load-relationships'. 2025-07-17 18:15:16 +05:30
ArnabChatterjee20k
1d9aac5a49 updated upsert document test with api key 2025-07-09 23:57:39 +05:30
ArnabChatterjee20k
ca61b528b9 reverted the api signature and started handling it internally 2025-07-09 23:49:56 +05:30
ArnabChatterjee20k
50109b833a removed tests for the upsert without permissions for passing the tests 2025-07-09 21:49:07 +05:30
ArnabChatterjee20k
c36720e3b0 updated param of permissiosns in upsert and updated tests for upsert without permissions 2025-07-09 16:37:41 +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
4d0bd1d74f add: delay, retries. 2025-07-01 18:10:19 +05:30
Darshan
385e4e14b8 add: delay, retries. 2025-07-01 17:33:11 +05:30
Darshan
c93d92abef rename: tests from collections to legacy. 2025-06-19 10:52:15 +05:30
Jake Barnby
e704e96290
Revert "Feat: Lazy-load relationships" 2025-06-16 11:48:27 -04:00
Darshan
44a5a3eca1
Merge branch '1.8.x' into lazy-load-relationships 2025-06-13 20:01:01 +05:30
Darshan
a13a6a6913 update: naming convention for table tests. 2025-06-13 11:06:51 +05:30
Darshan
6f16895e8b Merge branch '1.8.x' into 'database-aliases'. 2025-06-13 10:44:44 +05:30
Darshan
44870b9810 fix: pending tests. 2025-06-13 10:26:05 +05:30
Jake Barnby
cf830affc9
Check not development for plan error 2025-06-12 12:20:21 -04:00
Darshan
b248c9b640 fix: a bunch of tests 🚧 2025-06-12 19:58:28 +05:30
Darshan
30eb206dc8 Merge branch '1.8.x' into database-aliases 2025-06-12 11:41:11 +05:30
Darshan
9f30b0263a simplify: queries. 2025-06-12 09:15:36 +05:30
Darshan
5aa88be49c simplify: queries. 2025-06-12 09:14:02 +05:30
Darshan
f6fa1aea99 revert: unnecessary changes. 2025-06-12 09:10:59 +05:30
Darshan
d5bbb95f3b
Merge branch '1.8.x' into lazy-load-relationships 2025-06-12 09:05:56 +05:30
Darshan
87c9f93fa7 address comment. 2025-06-12 09:05:37 +05:30
Jake Barnby
517870dd45
Test timing 2025-06-11 20:41:02 -04:00
Darshan
1ac22c0ae0 Merge branch '1.8.x' into 'database-aliases'. 2025-06-11 12:36:33 +05:30
Darshan
d6829dfb34 Merge branch '1.8.x' into 'lazy-load-relationships'. 2025-06-11 10:08:51 +05:30
Jake Barnby
fd7d4db4c4
Fix path param 2025-06-10 00:22:38 -04:00
Jake Barnby
9fc2c5db69
Add increment + decrement routes 2025-06-09 23:56:30 -04:00
Darshan
fa67144f32 fix: add a small timer again for 1.6.x response format. 2025-06-09 19:59:01 +05:30
Darshan
2202b11a26 fix: cases for backwards compatibility to add database and collection ids when using a wildcard. 2025-06-09 19:45:48 +05:30
Darshan
387e8eaa2f fix: tests 2025-06-09 14:47:13 +05:30
Darshan
17f0f51c46 fix: tests 2025-06-09 14:47:13 +05:30
Darshan
0ee4f3c4ce bump: dependencies; fix: tests and logic. 2025-06-09 14:23:04 +05:30
Jake Barnby
6159e9caa7
Merge remote-tracking branch 'origin/1.8.x' into feat-expose-sequence 2025-05-27 13:40:01 +12:00
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/api/project.php
#	app/controllers/api/proxy.php
#	app/controllers/api/storage.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init/database/filters.php
#	composer.json
#	composer.lock
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Migration/Version/V15.php
#	src/Appwrite/Migration/Version/V16.php
#	src/Appwrite/Migration/Version/V17.php
#	src/Appwrite/Migration/Version/V18.php
#	src/Appwrite/Migration/Version/V19.php
#	src/Appwrite/Migration/Version/V20.php
#	src/Appwrite/Migration/Version/V21.php
#	src/Appwrite/Platform/Tasks/Migrate.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Functions.php
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Jake Barnby
ab97b7cc54
Merge pull request #9877 from appwrite/revert-9871-feat-sync
Revert "Feat sync encrypt updates"
2025-05-26 21:37:41 +12:00
Jake Barnby
b7d0c127a3
Revert "Merge pull request #9878 from ArnabChatterjee20k/dat-532"
This reverts commit a366feba80, reversing
changes made to 484988fcd7.
2025-05-26 21:37:21 +12:00
Jake Barnby
554d8365a6
Format 2025-05-26 18:10:08 +12:00
Jake Barnby
d5999fde53
Ignore plan blocked test for cl 2025-05-26 18:03:03 +12:00
Jake Barnby
86f7489640
Internal ID -> sequence 2025-05-26 17:42:11 +12:00
Jake Barnby
c51cf2f3e4
Merge pull request #9878 from ArnabChatterjee20k/dat-532
updated errro for the string encryption
2025-05-26 17:37:57 +12:00
Jake Barnby
a616aa0e93
Revert "Merge pull request #9877 from appwrite/revert-9871-feat-sync"
This reverts commit 1a0e82b4e4, reversing
changes made to 8bc5117259.
2025-05-26 17:36:55 +12:00
Christy Jacob
28d2ed1baa
Revert "Feat sequence" 2025-05-23 21:39:56 +04:00
Jake Barnby
a366feba80
Merge pull request #9878 from ArnabChatterjee20k/dat-532
updated errro for the string encryption
2025-05-23 15:27:35 +00:00
ArnabChatterjee20k
49f8369fdd updated the message 2025-05-23 20:45:36 +05:30
ArnabChatterjee20k
14fe7a3293 updated errro for the string encryption 2025-05-23 20:35:59 +05:30
Jake Barnby
70feb72de0
Revert "Feat sync encrypt updates" 2025-05-24 03:04:46 +12:00
Jake Barnby
d27dba05d2
Merge pull request #9841 from ArnabChatterjee20k/dat-532
added checking for encrypt and plan allowing encryption of string att…
2025-05-23 23:54:18 +12:00
Jake Barnby
1a2a725cb0
Merge pull request #9868 from ArnabChatterjee20k/dat-532
added encrypt property in the attribute string response model
2025-05-23 23:53:23 +12:00
Jake Barnby
a8fb467df7
Update test 2025-05-23 22:53:08 +12:00
Jake Barnby
bc778f507d
Update to sequence 2025-05-23 22:51:20 +12:00
Jake Barnby
7861cb7c49
Merge branch 'feat-expose-sequence' into feat/auto-increment 2025-05-23 10:45:47 +00:00
Darshan
a413a613f5
Merge branch 'main' into feat-sequence 2025-05-23 15:35:39 +05:30
ArnabChatterjee20k
e586afceb7 updates 2025-05-23 14:11:57 +05:30
ArnabChatterjee20k
73764941b6 updated tests and collection method 2025-05-23 13:23:33 +05:30
ArnabChatterjee20k
02426df1ca linting 2025-05-23 12:53:10 +05:30
ArnabChatterjee20k
1d0577b07d added encrypt to the get and list atttributes 2025-05-23 12:51:59 +05:30
ArnabChatterjee20k
1a4a10400b added test for the encrypted string in the server 2025-05-23 12:12:23 +05:30
ArnabChatterjee20k
0cccb75273 added encrypt property in the attribute string response model 2025-05-23 12:05:42 +05:30
ArnabChatterjee20k
70f7f71a95 Merge branch 'main' into feat/auto-increment 2025-05-22 23:56:40 +05:30
Jake Barnby
71e3446498
Change internal ID to sequence 2025-05-23 02:55:29 +12:00
ArnabChatterjee20k
8796670c66 reverted test 2025-05-21 13:19:07 +05:30
ArnabChatterjee20k
9fa6deae61 reverted the tests and updated the plan checking condition 2025-05-21 13:14:22 +05:30
Jake Barnby
20f2cbffda
Merge pull request #9811 from ArnabChatterjee20k/upsert-single-document-route
Upsert single document route
2025-05-21 19:29:31 +12:00
ArnabChatterjee20k
43aae24132 updated tests for the custom server test 2025-05-21 11:38:34 +05:30
ArnabChatterjee20k
f534b9e460 added checking for encrypt and plan allowing encryption of string attribute 2025-05-21 11:00:01 +05:30
ArnabChatterjee20k
80e842444b updated test for upsertion 2025-05-20 14:28:16 +05:30
ArnabChatterjee20k
b5d31d1b76 updated the upsert test for the relationship 2025-05-20 12:11:41 +05:30
ArnabChatterjee20k
559b6024bc linting 2025-05-19 16:00:38 +05:30
ArnabChatterjee20k
256aa684a2 updated tests 2025-05-19 15:59:38 +05:30
ArnabChatterjee20k
08478b8d39 removed document existence check for the document id
updated labels
added tests for upserts
2025-05-19 13:56:11 +05:30
Matej Bačo
ac6450c726 Merge branch '1.6.x' into 1.7.x 2025-05-15 18:03:15 +02:00
ArnabChatterjee20k
9055645d06 updated test for the array attribute index overriding 2025-05-13 18:21:34 +05:30
arnab
cd806e80d7 updated tests and validations 2025-05-13 15:39:13 +05:30
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
arnab
a970512e3c added length param, response model, e2e test 2025-05-13 10:35:04 +05:30
Darshan
6bdfe3b895 address naming comments. 2025-05-10 11:34:20 +05:30