Commit graph

819 commits

Author SHA1 Message Date
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
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
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
Jake Barnby
03f0e382f4
Fix dates 2025-02-25 21:03:37 +13:00
Jake Barnby
b272a8b1e7
Pass queries 2025-02-25 20:26:00 +13:00
Jake Barnby
2924f408b3
Reapply "Remove blocks"
This reverts commit f49346485a.
2025-02-25 19:21:35 +13:00
Jake Barnby
b0547015a9
Add temp log date skip 2025-02-25 18:51:11 +13:00
Jake Barnby
f49346485a
Revert "Remove blocks"
This reverts commit 6f854b5eb6.
2025-02-25 18:39:12 +13:00
Jake Barnby
6f854b5eb6
Remove blocks 2025-02-25 18:18:25 +13:00
shimon
6bd14d548f composer 2025-02-23 20:58:02 +02:00
shimon
06d22f910c disable logs display 2025-02-23 20:51:38 +02:00
Chirag Aggarwal
6235a1c729 chore: make min/max params optional for attribute update 2025-02-20 10:33:58 +00:00
Christy Jacob
d59d6f70a5
Merge pull request #9303 from appwrite/pla-2428
Add support endpoint url for S3
2025-02-18 16:28:44 +05:30
Jake Barnby
0d79ae33ba
Lint 2025-02-18 02:10:05 +13:00
Jake Barnby
77e83d5cfb
Remove unused injections 2025-02-18 01:49:51 +13:00
Chirag Aggarwal
9ebb4b9626
Merge branch '1.6.x' into pla-2428 2025-02-14 09:04:30 +05:30
Jake Barnby
6dbc8c5464
Allow disabling specific metrics in hooks via keys 2025-02-13 00:19:51 +13:00
Jake Barnby
d04a5cab0d
Merge remote-tracking branch 'origin/1.6.x' into feat-key-segmented-usage
# Conflicts:
#	composer.lock
2025-02-11 21:33:34 +13:00
Jake Barnby
0634a7eac3
Fix injections 2025-02-11 21:13:01 +13:00
Jake Barnby
1c91604c80
Only disable database reads/writes and network stats 2025-02-11 20:56:39 +13:00
Jake Barnby
2902b1bde8
Merge pull request #9329 from appwrite/catch-invalid-index
Catch invalid index
2025-02-11 20:34:10 +13:00
Bradley Schofield
d490879615
Update app/controllers/api/databases.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2025-02-11 09:24:35 +09:00
Bradley Schofield
709f616f7f
Update app/controllers/api/databases.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2025-02-11 09:24:26 +09:00
Bradley Schofield
a27ba015e9 Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2025-02-11 09:23:49 +09:00
fogelito
7caab2f9ff IndexException 2025-02-10 10:55:37 +02:00
fogelito
a032540b3c IndexException 2025-02-10 10:11:52 +02:00
fogelito
27709e7683 IndexException 2025-02-10 10:04:51 +02:00
fogelito
3092e765cc indexException 2025-02-09 18:34:41 +02:00
Jake Barnby
386c6076b2
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	composer.json
#	composer.lock
2025-02-05 01:52:35 +13:00
Chirag Aggarwal
fcfef4d474 Merge branch '1.6.x' into pla-2428 2025-02-04 08:12:42 +00:00
Damodar Lohani
cb31e7954e refactor rename 2025-01-30 04:53:53 +00:00
Darshan
784cddcf9b Merge branch '1.6.x' into databases-reads-writes 2025-01-23 18:54:28 +05:30
Darshan
08f2a59766 add: database read, write metrics. 2025-01-23 18:54:02 +05:30
Bradley Schofield
8fb7a2db32 Merge branch '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/api/functions.php
#	app/controllers/api/migrations.php
#	app/controllers/api/projects.php
#	app/controllers/api/proxy.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	app/controllers/api/vcs.php
#	composer.json
#	composer.lock
#	docs/references/account/create-push-target.md
#	docs/references/account/delete-push-target.md
#	docs/references/account/update-push-target.md
#	src/Appwrite/SDK/Method.php
#	src/Appwrite/Specification/Format/OpenAPI3.php
#	src/Appwrite/Specification/Format/Swagger2.php
2025-01-23 11:19:20 +09:00
Jake Barnby
cf8da3495c
Merge branch '1.6.x' into feat-1.6.x-new-sdk-class 2025-01-21 00:50:16 +13:00
Bradley Schofield
02e7f91e59 Address all missing descriptions apart from ones in projects.php 2025-01-17 16:44:25 +09:00
Bradley Schofield
20e87cb82f Run Linter 2025-01-17 13:39:16 +09:00
Bradley Schofield
95dcb67747 Implement new SDK Class on 1.6.x 2025-01-17 13:31:39 +09:00
fogelito
13687f7fc3 Use 1.6.x 2025-01-16 17:33:51 +02:00
fogelito
0afbfe2f84 INDEX_DEPENDENCY 2025-01-16 17:20:30 +02:00
Bradley Schofield
e0101def27 Fix tests 2025-01-16 17:47:36 +09:00
Bradley Schofield
1691910023 Run Linter 2025-01-15 12:56:46 +09:00
Bradley Schofield
d6474a85e2 Address Comments 2025-01-15 12:54:49 +09:00
Bradley Schofield
396602d887 Address Comments 2025-01-15 09:58:57 +09:00
Bradley Schofield
ec44b1f272 Make all delete routes return none 2025-01-14 18:09:37 +09:00
Bradley Schofield
efd8dc16b3 Address Comments 2025-01-14 17:52:31 +09:00
Bradley Schofield
a1c70a6956 Run Formatter, Fix GraphQL 2025-01-10 14:23:04 +09:00