Commit graph

163 commits

Author SHA1 Message Date
ArnabChatterjee20k
fdeb8c48c5 added permission upsert test 2025-09-03 19:53:20 +05:30
ArnabChatterjee20k
b7a0f53994 updated tests 2025-09-03 19:43:33 +05:30
ArnabChatterjee20k
a2e9ee73dc bulk upsert support 2025-09-03 19:36:24 +05:30
Jake Barnby
ca03be5e41
Test fixes 2025-08-18 21:16:01 +12:00
ArnabChatterjee20k
697ac3447b fix: Update getUser method call in RealtimeCustomClientTest for clarity 2025-08-05 13:37:24 +05:30
ArnabChatterjee20k
a144d41020 feat: Enhance RealtimeCustomClientTest with permission updates and timeout assertions for clients 2025-08-05 11:53:17 +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
Darshan
7a5a3706b6 fix: tests. 2025-07-27 18:13:30 +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
Matej Bačo
5ace34790d Migrate many tests to JS 2025-07-09 16:58:55 +02:00
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
Chirag Aggarwal
06ce606ac7 Merge branch '1.7.x' into feat-exp-scheme 2025-06-26 18:38:10 +05:30
Matej Bačo
b6d4baf4dc Fix tests 2025-06-25 13:14:08 +02:00
Chirag Aggarwal
dbc58655b2 Merge branch '1.7.x' into feat-exp-scheme 2025-06-25 07:53:28 +05:30
Darshan
8cbd06173d update: realtime channels checks for tables api. 2025-06-13 15:11:18 +05:30
Darshan
1ac22c0ae0 Merge branch '1.8.x' into 'database-aliases'. 2025-06-11 12:36:33 +05:30
Darshan
e6d143c806
Merge branch '1.7.x' into fix-templates 2025-06-10 14:20:28 +05:30
Matej Bačo
2bee98afcf Fix remaining tests 2025-05-18 12:51:07 +02:00
Darshan
b302b5416d
Merge branch '1.7.x' into fix-templates 2025-05-13 17:52:57 +05:30
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
Matej Bačo
3b38b6bb57 Migration review fixes 2025-05-12 16:52:13 +02:00
Darshan
1756acd89c fix: realtime channel count. 2025-05-09 15:16:10 +05:30
Darshan
94fbf19e54 fix|add: tables api tests to realtime. 2025-05-09 15:11:14 +05:30
Darshan
d70d001f5a add: backported channels. 2025-05-06 12:52:05 +05:30
Darshan
9e1105b61f update: tests. 2025-05-06 11:29:56 +05:30
Jake Barnby
66a40eb175
AI review fixes 2025-05-06 02:21:45 +12:00
Darshan
f13a28cf6d
Merge branch '1.7.x' into fix-templates 2025-05-04 19:08:06 +05:30
Darshan
f94ecc885a fix: tests as per new events system. 2025-04-27 10:36:21 +05:30
loks0n
2427f950b5 fix: realtime 2025-04-14 14:34:22 +01:00
Darshan
f2c43c14bf fix: realtime test. 2025-03-29 19:20:27 +05:30
Darshan
c4852836ef fix: realtime test. 2025-03-29 18:59:36 +05:30
Matej Bačo
3c8e4da34d Update tests 2025-03-26 17:04:38 +01:00
Matej Bačo
828b9349c3 Improve build worker realtime, new tests 2025-03-17 13:21:36 +01: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
Chirag Aggarwal
fc05a4f1e3 chore: updated to use assertEventually 2025-03-03 16:07:33 +00:00
Chirag Aggarwal
c6b8e649fe chore: added maxtimeout to testChannelExecutions 2025-03-03 14:34:10 +00:00
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
Bradley Schofield
125585831b Remove bulk deletes realtime test 2024-12-02 18:16:04 +09:00
Bradley Schofield
791f0dda79 Update to use new DB Lib and get realtime working 2024-11-22 10:43:45 +09:00
Bradley Schofield
96e69b55e1 Add tests that are currently failing because of realtime and attempt to fix them 2024-11-15 12:00:11 +09:00
Torsten Dittmann
cddd16b753 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-realtime-ping-pong 2024-11-07 13:10:23 +01:00
Torsten Dittmann
4ee9e9730f feat: realtime ping pong 2024-11-07 12:05:37 +01:00
loks0n
e0bd500aa2 fix: realtime event 2024-10-07 15:58:34 +01:00
loks0n
6dab42e59a chore: use project injectable 2024-10-07 14:00:19 +01:00
Torsten Dittmann
04bc24f42b tests: fix merge conflict 2024-10-03 11:20:47 +02:00
Torsten Dittmann
ec77ab1007 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups 2024-10-03 11:13:44 +02:00
Torsten Dittmann
e6d8221c89 tests(realtime): fix argument types 2024-09-30 17:08:17 +02:00
Torsten Dittmann
333682c4dc tests: add projects channel assertions 2024-09-30 16:53:25 +02:00
Torsten Dittmann
bb20b3f52c feat(realtime): projects channels 2024-09-30 16:32:50 +02:00
loks0n
f24863349e fixes 2024-09-20 09:41:34 +01:00