Commit graph

28193 commits

Author SHA1 Message Date
Jake Barnby
46431118b2
Merge pull request #10096 from ArnabChatterjee20k/dat-556
Realtime support for bulk api
2025-08-05 20:26:43 +12:00
ArnabChatterjee20k
697ac3447b fix: Update getUser method call in RealtimeCustomClientTest for clarity 2025-08-05 13:37:24 +05:30
ArnabChatterjee20k
5baa2ad113 refactor: Rename triggerQueuesForBulkDocuments to triggerBulk for consistency across document actions 2025-08-05 13:29:38 +05:30
ArnabChatterjee20k
a144d41020 feat: Enhance RealtimeCustomClientTest with permission updates and timeout assertions for clients 2025-08-05 11:53:17 +05:30
ArnabChatterjee20k
7334efbf3a feat: Initialize event and payload properties in Event class and optimize bulk document queue triggering 2025-08-05 11:52:58 +05:30
ArnabChatterjee20k
59026a17dc feat: Enhance database operations with event queues and improve test coverage for bulk operations
- Added event queue injections in Bulk Update and Create classes for better event handling.
- Modified getUser method in Scope class to allow for user retrieval with an override option.
- Expanded RealtimeCustomClientTest to include comprehensive tests for bulk create, update, and delete operations, ensuring proper event emissions for multiple clients.
- Improved assertions in tests to validate event data and permissions for created, updated, and deleted documents.
2025-08-04 19:01:48 +05:30
Jake Barnby
e6f0804272
Merge pull request #10244 from appwrite/dat-588
Allow modifying createdAt and updatedAt with server side sdk and api key
2025-08-01 21:37:09 +12:00
ArnabChatterjee20k
f6c4457398 changed the error message for client side 2025-08-01 14:54:15 +05:30
ArnabChatterjee20k
67582b103c updated composer 2025-08-01 13:57:38 +05:30
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
983d102ff2 Restrict createdAt and updatedAt attributes for non-API key and non-privileged users in Create, Update, and Upsert actions 2025-08-01 12:31:29 +05:30
Jake Barnby
29973e4182
Update db + migrations 2025-08-01 03:09:36 +12:00
ArnabChatterjee20k
de69692ff2 added modify createdAt/updatedAt support 2025-07-31 20:32:14 +05:30
Jake Barnby
de6ee12daf
Update db 2025-08-01 01:42:57 +12:00
Jake Barnby
7f27589c96
Merge pull request #10226 from appwrite/skip-teams-query
Skip empty queries
2025-08-01 00:25:55 +12:00
fogelito
6ead087e91 fix nesting if 2025-07-31 14:26:36 +03:00
fogelito
ae34df3608 Merge branch '1.8.x' of https://github.com/appwrite/appwrite into skip-teams-query 2025-07-31 13:20:30 +03:00
fogelito
e76aba3fd4 Revert composer 2025-07-31 13:19:55 +03:00
Jake Barnby
d72aaf42bd
Merge pull request #10234 from appwrite/bump-composer
Bump deps
2025-07-30 21:08:58 +12:00
Darshan
0023d5afc2 update: sdk-gen. 2025-07-30 14:35:25 +05:30
Jake Barnby
c5b0d15340
Merge pull request #10232 from appwrite/1.8-docs
1.8.x docs, examples, specs.
2025-07-30 17:20:20 +12:00
Darshan
cd5844b8e3 update: regen examples, references. 2025-07-30 10:39:28 +05:30
Darshan
451e590c49 remove: tables examples. 2025-07-30 10:24:37 +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
Luke B. Silver
3eb5cd80f3
Merge pull request #10224 from appwrite/pla-692
fix: create email target when using email otp registration
2025-07-29 10:27:43 +01:00
fogelito
eddc782c6e formatting 2025-07-29 11:24:41 +03:00
Jake Barnby
bdf9dd5192
Update migrations 2025-07-29 20:12:27 +12:00
fogelito
19bd04e8c9 Skip empty queries 2025-07-29 11:10:25 +03:00
Chirag Aggarwal
7ad01fcada linebreak 2025-07-29 12:23:06 +05:30
Chirag Aggarwal
06e4920ee2 fix: create email target when using email otp registration 2025-07-29 11:57:57 +05:30
Jake Barnby
e57364c831
Merge pull request #10214 from appwrite/fix-nulls
Fix document nulls
2025-07-29 18:16:01 +12:00
Jake Barnby
f89e46817f
Merge pull request #10221 from appwrite/fix-sequence-type
Filter sequence to int because any models skip rule checks
2025-07-29 17:56:18 +12:00
fogelito
a520e9fcc9 Update 0.73.2 2025-07-29 08:34:44 +03:00
Jake Barnby
9b0a6bf33a
Merge pull request #10222 from appwrite/update-migration
updated migration release
2025-07-29 17:12:36 +12:00
ArnabChatterjee20k
b69ad22485 updated migration release 2025-07-29 10:25:31 +05:30
Jake Barnby
360e4ce992
Add test case 2025-07-29 16:54:39 +12:00
Jake Barnby
2529d64791
Filter sequence to int because any models skip rule checks 2025-07-29 16:53:13 +12:00
fogelito
ff171853b4 use 0.73.1 2025-07-28 17:14:41 +03:00
fogelito
bbf3164cac Run tests 2025-07-28 13:40:27 +03:00
fogelito
78887b9df6 fallbacks 2025-07-28 11:18:03 +03:00
fogelito
66fa7ad659 Use null default with fallback 2025-07-28 11:08:32 +03:00
fogelito
9a3687ae3b Run tests 2025-07-28 10:43:35 +03:00
Jake Barnby
767f575984
Merge pull request #10212 from appwrite/grids-api
Move to grids API
2025-07-28 19:15:44 +12:00
Jake Barnby
503d7e13f8
Update generator 2025-07-28 18:45:01 +12:00
Jake Barnby
cb8b13e27e
Merge remote-tracking branch 'origin/1.8.x' into grids-api
# Conflicts:
#	composer.lock
2025-07-28 18:40:58 +12:00
Jake Barnby
c359c34917
Downgrade db 2025-07-28 18:38:00 +12:00
Jake Barnby
e18c8942fd
Revert migrations, update db 2025-07-28 18:23:50 +12:00
Darshan
0f7d06b4d5 reset: docs for easier review. 2025-07-28 11:50:08 +05:30
Darshan
c9d9c4ab76 reset: docs for easier review. 2025-07-28 11:49:49 +05:30