Commit graph

863 commits

Author SHA1 Message Date
ArnabChatterjee20k
e586afceb7 updates 2025-05-23 14:11:57 +05:30
ArnabChatterjee20k
6ea3593921 updated collection filter 2025-05-23 13:40:56 +05:30
ArnabChatterjee20k
73764941b6 updated tests and collection method 2025-05-23 13:23:33 +05:30
ArnabChatterjee20k
1d0577b07d added encrypt to the get and list atttributes 2025-05-23 12:51:59 +05:30
ArnabChatterjee20k
0cccb75273 added encrypt property in the attribute string response model 2025-05-23 12:05:42 +05:30
Jake Barnby
71e3446498
Change internal ID to sequence 2025-05-23 02:55:29 +12:00
Jake Barnby
86b64fdee8
Merge pull request #9845 from appwrite/feat-sync-1.6.x
Sync 1.6.x
2025-05-21 09:59:56 +00:00
Jake Barnby
3ec0f08db1
Merge remote-tracking branch 'origin/1.6.x' into feat-sync-1.6.x
# Conflicts:
#	composer.lock
#	src/Appwrite/Messaging/Adapter/Realtime.php
#	src/Appwrite/Platform/Workers/Deletes.php
2025-05-21 20:15:08 +12:00
ArnabChatterjee20k
c4df1c8c4b updated exception type 2025-05-21 13:34:08 +05:30
ArnabChatterjee20k
82fd8553bf updated the condition 2025-05-21 13:29:24 +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
f534b9e460 added checking for encrypt and plan allowing encryption of string attribute 2025-05-21 11:00:01 +05:30
Jake Barnby
9f14f1152a
Update app/controllers/api/databases.php 2025-05-21 02:22:51 +12:00
Jake Barnby
bc34f95646
Update lock 2025-05-21 01:13:08 +12:00
Jake Barnby
fe763093df
Catch query exception on get document for selects 2025-05-21 00:58:32 +12:00
ArnabChatterjee20k
c5a08b69b0 changed custom id to uid 2025-05-20 18:14:51 +05:30
Jake Barnby
bc5343b559
Apply suggestions from code review 2025-05-20 23:27:31 +12:00
ArnabChatterjee20k
53e790d886 changed uid to custom id to allow unique values as well 2025-05-20 10:54:09 +05:30
ArnabChatterjee20k
256aa684a2 updated tests 2025-05-19 15:59:38 +05:30
ArnabChatterjee20k
1de778443f resolved comments for the api 2025-05-19 14:30:29 +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
ArnabChatterjee20k
330c298c58 add upsert route for a single document 2025-05-19 12:10:42 +05:30
Jake Barnby
d577fd1294
Sync 1.6.x 2025-05-17 20:23:46 +12:00
Jake Barnby
5a0e94ae18
Format 2025-05-17 03:44:26 +12:00
Jake Barnby
ea0a7ce485
Fix specs 2025-05-17 03:40:51 +12:00
Jake Barnby
6e40070b98
Lint 2025-05-16 00:35:21 +12:00
Jake Barnby
738e256692
Remove redundant catches 2025-05-16 00:25:23 +12:00
Jake Barnby
4f2142a470
Lint 2025-05-16 00:22:52 +12:00
Jake Barnby
11e4e9432e
Fix tests 2025-05-16 00:14:09 +12:00
Jake Barnby
b1829bacfe
Only rethrow auth and timeout in general handler 2025-05-15 23:33:00 +12:00
Steven Nguyen
fdbc01aa3d
Merge pull request #9733 from appwrite/pla-1849
chore: improve route not found error message
2025-05-14 07:06:22 -07:00
Shimon Newman
e08133976b
fix metrics name in databases usage api (#9760) 2025-05-14 14:57:41 +02:00
Chirag Aggarwal
52fdeccd11
Merge branch '1.6.x' into pla-1849 2025-05-14 18:02:05 +05:30
ArnabChatterjee20k
4208c52c7f reverted overriding index size for index attribute 2025-05-13 18:21:58 +05:30
ArnabChatterjee20k
f8fdecaa2d made the code a bit simpler 2025-05-13 17:40:04 +05:30
ArnabChatterjee20k
41d7114e97 updated composer and index api 2025-05-13 17:37:15 +05:30
arnab
cd806e80d7 updated tests and validations 2025-05-13 15:39:13 +05:30
arnab
a970512e3c added length param, response model, e2e test 2025-05-13 10:35:04 +05:30
Chirag Aggarwal
b0e95171f8 chore: update react native and generate sdk 2025-05-10 14:29:11 +00:00
Jake Barnby
6f39c9d147
Update database 2025-05-09 00:11:54 +12:00
Jake Barnby
9c50d60350
Handle upsert usage 2025-05-08 21:08:23 +12:00
Jake Barnby
540102ff97
Explicitly catch exceptions 2025-05-08 18:10:26 +12:00
Jake Barnby
c3f0bec1ff
Validate nested internals 2025-05-08 18:09:37 +12:00
Jake Barnby
1e19e7d0b4
Remove permissions + relationships logic from bulk update/delete 2025-05-08 02:59:04 +12:00
Jake Barnby
be7ea1f798
Add bulk upsert route 2025-05-08 02:49:02 +12:00
Jake Barnby
b44682b6ff
Doc updates 2025-05-07 21:23:16 +12:00
Jake Barnby
fdc98389b1
Return total as modified count 2025-05-07 16:22:15 +12:00
Jake Barnby
05821c2993
Fix conditional 2025-05-07 15:46:17 +12:00
Jake Barnby
5f19398a9b
Accumulate up to limit 2025-05-07 15:45:58 +12:00
Jake Barnby
41ecccda1e
Revert "Fix tests for model changes"
This reverts commit f5d243e229.

# Conflicts:
#	app/controllers/api/databases.php
2025-05-07 15:45:46 +12:00
Jake Barnby
572c49cc90
Revert "Don't accumulate docs on update/delete"
This reverts commit 8c1b9044b3.

# Conflicts:
#	app/controllers/api/databases.php
2025-05-07 15:44:58 +12:00
Jake Barnby
f5d243e229
Fix tests for model changes 2025-05-07 15:14:05 +12:00
Jake Barnby
8c1b9044b3
Don't accumulate docs on update/delete 2025-05-07 03:10:13 +12:00
Jake Barnby
af09f17e02
Max 1 operation 2025-05-06 22:05:59 +12:00
Jake Barnby
af51e31197
Remove debug headers 2025-05-06 13:45:18 +12:00
Jake Barnby
66a40eb175
AI review fixes 2025-05-06 02:21:45 +12:00
Jake Barnby
4b1dba692c
Min 1 operation 2025-05-06 01:02:07 +12:00
Jake Barnby
f52f864085
Get limit directly from plan 2025-05-05 15:04:32 +12:00
Darshan
0a12b561c8 update: remove unneeded change. 2025-05-02 19:51:38 +05:30
Darshan
22174bec0e attempt: conditional doc fetch. 2025-05-02 12:38:48 +05:30
Darshan
50448126a9 Merge branch '1.7.x' into 'lazy-load-relationships'. 2025-05-01 20:00:32 +05:30
Darshan
e7e38c57f7 revert: changes to original. 2025-05-01 19:51:11 +05:30
Jake Barnby
7b88792b6a
Accumulate documents 2025-04-30 17:40:54 +12:00
Jake Barnby
27ac5cbb2a
Remove redundant withTimestamp 2025-04-30 17:40:47 +12:00
Jake Barnby
f2270b9ef8
Add read/write counts for bulk operations 2025-04-30 14:22:48 +12:00
Jake Barnby
38f5d88b03
Remove unused param 2025-04-30 12:44:15 +12:00
Jake Barnby
f82726c2b4
Remove redundant batch size passing 2025-04-30 12:08:38 +12:00
Jake Barnby
0ab1ebd8c4
Validate create batch size inline 2025-04-30 12:07:56 +12:00
Jake Barnby
2238f6d822
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.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.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.lock
#	src/Appwrite/Specification/Format/Swagger2.php
2025-04-30 10:45:18 +12:00
Darshan
6ffe620c57 attempt: fixes, changes. 2025-04-28 15:36:30 +05:30
Christy Jacob
f4e8d72593
Merge branch '1.6.x' into feat-group 2025-04-17 18:25:47 +04:00
Jake Barnby
cd72d70432
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations 2025-04-17 17:09:51 +12:00
ArnabChatterjee20k
b2f7ed48dd Simplify constructor usage by inlining message; limit try/catch to DB operations 2025-04-17 10:16:26 +05:30
arnab
8e4bd363d2 added catching of order exception in database controllers 2025-04-16 17:03:14 +05:30
Chirag Aggarwal
c1f62ce0bd Merge branch '1.6.x' into feat-group 2025-04-16 04:49:07 +00:00
Chirag Aggarwal
04733e25c8 chore: make group nullable and remove it from endpoints where its not required 2025-04-12 06:41:57 +00:00
Chirag Aggarwal
2c434924de chore: update openapi specs 2025-03-31 09:32:47 +00:00
Chirag Aggarwal
abcaf6cd73 feat: sdk group attribute 2025-03-31 05:48:17 +00:00
Damodar Lohani
d36a09eec6 remove database storage triggers 2025-03-30 05:54:48 +00:00
Jake Barnby
10c6315589
Add doc comments 2025-03-27 23:00:28 +13:00
Jake Barnby
6608023b9f
Regen specs 2025-03-27 21:30:10 +13:00
Jake Barnby
04c3182f7c
Use parameter class instead of inline array 2025-03-27 21:03:56 +13:00
Jake Barnby
ee9efe530d
Add max batch size resource for plan override 2025-03-27 18:28:55 +13:00
Jake Barnby
985476ac50
Bulk operations for server/console only 2025-03-27 18:16:25 +13:00
Jake Barnby
7e6799d6dd
Block bulk operations on collections with relationships 2025-03-27 18:13:10 +13:00
Jake Barnby
2e12ae4390
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	composer.lock
2025-03-27 18:11:03 +13:00
Chirag Aggarwal
aab8bca91e fix: logic 2025-03-18 14:20:25 +00:00
Chirag Aggarwal
70e27748be chore: set min operations to 1 for reads and writes 2025-03-18 12:52:41 +00:00
Jake Barnby
bc866dc717
Sync with 1.6.x 2025-03-17 21:10:30 +13:00
Jake Barnby
94f9d0140b
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/init.php
#	composer.json
#	composer.lock
2025-03-17 20:44:08 +13:00
Jake Barnby
2f43a3566d
Remove bulk update permissions param 2025-03-05 16:42:09 +13:00
Jake Barnby
8c1a1604a8
Merge pull request #9387 from appwrite/pla-2526
chore: make min/max params optional for attribute update
2025-03-05 16:13:59 +13:00
Jake Barnby
99377e26ee
Reset fixes 2025-03-05 15:09:06 +13:00
Jake Barnby
d809ab1ff3
Merge branch 'feat-bulk-operations' of github.com:appwrite/appwrite into feat-bulk-operations
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2025-03-05 12:47:47 +13:00
Jake Barnby
a5c4fe0a2d
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# 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
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
#	docs/references/databases/create-document.md
2025-03-05 12:44:39 +13:00
Chirag Aggarwal
c79ed286b1 chore: update tests 2025-02-26 17:35:06 +00:00
Chirag Aggarwal
7687784515 chore: added fallback to old values in update 2025-02-26 16:41:26 +00:00
Jake Barnby
6e82bfe8e7
Update date 2025-02-26 14:00:16 +13:00
Jake Barnby
3a2babc906
Update date 2025-02-25 21:34:46 +13:00