Commit graph

863 commits

Author SHA1 Message Date
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
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
Bradley Schofield
87de19b610 Address Comments 2025-01-10 02:07:56 +09:00
shimon
5c097df56a added operations debug header 2025-01-06 19:07:18 +02:00
shimon
c97b48f443 Merge remote-tracking branch 'origin/usage-db-read-writes-addition' into usage-db-read-writes-addition
# Conflicts:
#	app/controllers/api/databases.php
2025-01-06 19:03:32 +02:00
shimon
a481e958e3 added operations debug header 2025-01-06 18:57:35 +02:00
fogelito
40b407027e Count changes 2025-01-06 18:51:39 +02:00
shimon
b910d795f2 Merge remote-tracking branch 'origin/usage-db-read-writes-addition' into usage-db-read-writes-addition 2025-01-06 18:06:29 +02:00
shimon
d64ea97ee6 added operations debug header 2025-01-06 18:06:18 +02:00
fogelito
fc03075ef8 Update counts 2025-01-06 18:01:44 +02:00
shimon
f70222d41a added operations debug header 2025-01-06 17:19:39 +02:00
shimon
1cfcd53ae3 Merge branch 'usage-db-read-writes-addition' of https://github.com/appwrite/appwrite into usage-db-read-writes-addition 2025-01-06 16:50:54 +02:00
shimon
0814fe49e2 added operations debug header 2025-01-06 16:50:23 +02:00
fogelito
895e79e736 Operations 2025-01-06 12:25:56 +02:00
shimon
1a73847c47 added operations debug header 2025-01-06 11:28:26 +02:00
shimon
c5a49cc537 added operations debug header 2025-01-02 16:45:21 +02:00
shimon
504b7276cb composer 2025-01-02 11:02:53 +02:00
shimon
e7e095907c composer 2025-01-02 10:44:56 +02:00
shimon
c0d48efe18 composer 2025-01-02 10:29:55 +02:00
shimon
fbbc9312ea database crud usage addition 2025-01-02 10:09:44 +02:00
shimon
c7841bb36e database crud usage addition 2025-01-02 09:59:59 +02:00
shimon
42589de95e database crud usage addition 2025-01-02 09:56:14 +02:00
shimon
0f2985cec1 database crud usage addition 2025-01-02 09:19:09 +02:00
Bradley Schofield
6a782ce373 Implement SDKResponse class 2024-12-30 11:32:40 +00:00
shimon
dd13e8b3cf database crud usage addition 2024-12-29 18:02:19 +02:00
shimon
8e17fc69b3 database crud usage addition 2024-12-29 17:57:29 +02:00
shimon
c23af8168b database crud usage addition 2024-12-29 17:48:05 +02:00
Bradley Schofield
64a957859e Run Linter 2024-12-17 10:39:06 +09:00
Bradley Schofield
2997a11274 Add SDK Multiplexing 2024-12-17 10:27:00 +09:00
Bradley Schofield
b4c77fbd5f Get Initial Draft Working 2024-12-16 14:59:01 +09:00
Vincent (Wen Yu) Ge
46038c9fef update PR fix quote 2024-12-12 21:27:04 +00:00
Vincent (Wen Yu) Ge
bb3143128f Merge branch 'main' into docs-create-document 2024-12-12 21:26:23 +00:00
Bradley Schofield
e9c2ebbcf5 Implement SDK Multiplexing for Create Document/s 2024-12-10 12:31:26 +09:00
Bradley Schofield
879ddb3074 Implement SDK Method Multiplexing 2024-12-09 14:21:56 +09:00
Bradley Schofield
c0d4b58eea Merge branch 'feat-bulk-operations' into feat-bulk-create
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesCustomClientTest.php
2024-12-03 17:06:35 +09:00
Bradley Schofield
e2ab6a05ab Fix permissions and accompanying tests 2024-12-03 16:40:03 +09:00
Bradley Schofield
7f2d3beb31 Run Linter 2024-12-03 15:19:58 +09:00
Bradley Schofield
3d4917727b Address Comments 2024-12-03 15:14:07 +09:00
Bradley Schofield
41ead533b8
Linter 2024-12-03 05:03:51 +00:00
Bradley Schofield
c47f65d27c
Merge remote-tracking branch 'origin/feat-bulk-operations' into feat-bulk-updates 2024-12-03 05:03:02 +00:00
Bradley Schofield
116ba6bc7b
Fix Problems with tests and params 2024-12-03 04:38:59 +00:00
Jake Barnby
257733aec0
Update app/controllers/api/databases.php 2024-12-03 17:35:46 +13:00
Bradley Schofield
fbbf846eb9 Run Linter 2024-12-02 19:59:48 +09:00
Bradley Schofield
f061f724e0 Fix params 2024-12-02 19:06:34 +09:00
Bradley Schofield
3c418c1607 Address params and events 2024-12-02 18:08:10 +09:00
Bradley Schofield
8f8c008e8b Fix params and usage 2024-12-02 18:06:04 +09:00
Bradley Schofield
84ba7febe7 Run Linter 2024-12-02 16:45:03 +09:00
Bradley Schofield
32c4debffc Remove realtime/events from bulk operations and get usage events working 2024-12-02 16:40:19 +09:00
Bradley Schofield
2850879428 Remove Events for bulk updates 2024-12-02 16:07:32 +09:00
Bradley Schofield
00e3fe12f4 Revert "Fix wrong params on feedback, disable debugging in compose file"
This reverts commit 5c895579ed.
2024-11-28 17:25:38 +09:00
Bradley Schofield
5c895579ed Fix wrong params on feedback, disable debugging in compose file 2024-11-28 17:24:53 +09:00
Bradley Schofield
104a9b6074 Remove realtime support for bulk operations 2024-11-28 16:29:22 +09:00
fogelito
98864b04e1 fix $options 2024-11-27 18:02:37 +02:00
Bradley Schofield
2b08db9a38 Address Comments 2024-11-25 16:22:02 +09:00
Bradley Schofield
9d652d9e79 Remove double realtime 2024-11-25 16:08:50 +09:00
Bradley Schofield
2e60698ec1 Fix double event execution on document creation 2024-11-25 15:21:56 +09:00
Bradley Schofield
e1230f7465 Address Comments 2024-11-25 14:45:21 +09:00
Bradley Schofield
4e5ad33d73
Update app/controllers/api/databases.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2024-11-25 14:29:51 +09:00