Commit graph

162 commits

Author SHA1 Message Date
Jake Barnby
2776925540 Tests via console features 2025-11-25 21:11:01 +13:00
ArnabChatterjee20k
bd6f62dd68 updated realtime, create endpoint , resources, registers 2025-11-06 17:48:39 +05:30
Jake Barnby
1e1df1ce2d
Fix skips 2025-10-24 00:06:58 +13:00
ArnabChatterjee20k
0754c6263e merged changes from 1.8.x 2025-10-10 10:55:48 +05:30
ArnabChatterjee20k
48410d0cf6 * added getDatabaseDB in stats worker, migration worker
* added prefixed events for multitype db support with backward compat
* added realtime tests, migration tests
2025-10-09 18:26:05 +05:30
ArnabChatterjee20k
f7f965a812 * added prefixed channels for realtime channels along with backward compatibility
* added documentsdb tests
2025-10-09 00:35:38 +05:30
Jake Barnby
9e3c439c51
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	composer.lock
2025-10-07 18:57:46 +13:00
ArnabChatterjee20k
eeebea1dbb added both collection and table id in the realtime 2025-10-06 20:13:36 +05:30
Jake Barnby
3e77810e13
Fix existence check for tracked + staged ops 2025-10-04 19:26:22 +13:00
Jake Barnby
01ef058adb
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	tests/e2e/Services/Realtime/RealtimeCustomClientTest.php
2025-10-04 17:03:52 +13:00
Jake Barnby
9edc0c16d8
Realtime txn tests 2025-10-04 16:48:44 +13:00
ArnabChatterjee20k
76d3dc3d5a * added senstive var copying in from method
* added tests
2025-10-02 18:27:20 +05:30
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
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
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
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
b302b5416d
Merge branch '1.7.x' into fix-templates 2025-05-13 17:52:57 +05:30
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
f94ecc885a fix: tests as per new events system. 2025-04-27 10:36:21 +05:30
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
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
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
333682c4dc tests: add projects channel assertions 2024-09-30 16:53:25 +02:00
loks0n
f24863349e fixes 2024-09-20 09:41:34 +01:00
loks0n
e4ad2ed566 fix: realtime tests 2024-09-20 09:33:26 +01:00
Binyamin Yawitz
b5a241db8d
merge: Main into Coroutines 2024-06-05 18:38:39 -04:00
Jake Barnby
c7106b9147
Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-setting-secrets 2024-05-22 12:50:58 +12:00
Damodar Lohani
39db496e93 fix accertion order 2024-05-06 07:55:11 +00:00
Eldad Fux
6a67a1d48a Fixed execute to match new signature 2024-04-22 14:41:46 +02:00
Jake Barnby
6f18303fcc
Test that secret is not included in realtime payload 2024-04-03 16:37:58 +13:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Matej Bačo
e9de0332cc
Remove passwordAgain (#7441) 2024-01-12 14:33:10 +01:00
Christy Jacob
731e7b86a7 fix: failing tests 2023-12-09 00:17:13 +01:00
Jake Barnby
37831f8295
Fix sleep wait 2023-08-29 10:50:59 -04:00
Matej Bačo
897d299ae6 PR review changes, fixes from QA 2023-08-11 15:34:57 +02:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Torsten Dittmann
7020c85f78 tests: fix teams tests 2023-03-23 13:06:48 +01:00
Torsten Dittmann
10cd97e978 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs 2023-03-23 13:03:50 +01:00
Torsten Dittmann
496da61cd9 feat: team preferences 2023-03-06 19:54:02 +05:30
Torsten Dittmann
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
fogelito
c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
shimon
5ab955c2ba usage test 2023-01-15 14:02:53 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
geisterfurz007
e891424c17 fix: empty payload deleting single user session 2022-10-31 21:01:49 +01:00
Matej Bačo
e9c29a4812 Update createExecution param default value 2022-09-07 08:24:49 +00:00
Jake Barnby
e8a8069a67
Fix realtime test 2022-09-06 16:13:24 +12:00
Jake Barnby
790276fced Review test updates 2022-08-27 15:16:37 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Jake Barnby
68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
Jake Barnby
d2b9102f84 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby
e8af744c97 More write ref updates 2022-08-05 18:00:56 +12:00
Jake Barnby
62b1eba836 Replace write refs 2022-08-05 17:23:18 +12:00
Jake Barnby
1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Bradley Schofield
3623d41fd3 Update RealtimeCustomClientTest.php 2022-07-20 14:25:05 +01:00
Bradley Schofield
ac184a6fe3 Fix realtime and webhook tests 2022-07-20 13:43:18 +01:00
Bradley Schofield
74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Torsten Dittmann
8d465c67c2 feat: account sessions for emails 2022-06-14 10:17:50 +02:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Torsten Dittmann
7790d72c0c fix: realtime, tests and webhooks 2022-04-18 18:21:45 +02:00
Torsten Dittmann
87b8fc3c41 feat: event classes for different cases 2022-04-13 14:39:31 +02:00
Christy Jacob
500a0e496b feat: add timeout 2022-03-01 23:52:29 +04:00
Torsten Dittmann
f63bfc7026 tests: fix realtime #2 2022-02-28 16:42:52 +01:00
Torsten Dittmann
6c7caa2061 tests: fix realtime tests 2022-02-28 16:17:37 +01:00
Damodar Lohani
0990448dda Merge branch 'feat-functions-refactor' into feat-functions-refactor-merge 2022-02-22 05:48:03 +00:00
Christy Jacob
1683ebb17b fix: review comments 2022-02-21 16:31:39 +04:00
Christy Jacob
3c65d40234 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor-merge 2022-02-18 15:16:10 +04:00
Christy Jacob
4ad47061dd Merge branch 'master' of github.com:appwrite/appwrite into feat-functions-refactor 2022-02-18 13:38:54 +04:00
Damodar Lohani
d0c46fdada remove folderId 2022-02-16 02:08:16 +00:00
Damodar Lohani
63c8e44062 fix expected channels 2022-02-15 09:28:17 +00:00
Matej Baco
07f0eb46b2 Improved deployment and build path structure 2022-02-15 10:16:32 +01:00
Damodar Lohani
f3c358f24a fix storage test 2022-02-15 08:49:04 +00:00
Damodar Lohani
625201a1c2 update test 2022-02-13 07:15:07 +00:00
Christy Jacob
f18f96e816 feat: fix tests 2022-02-10 00:20:28 +04:00
Matej Baco
80adbf8d1d Migrated event channel 2022-02-09 19:47:46 +01:00
Christy Jacob
ddbda8bea6 feat: update RealtimeCustomClientTest 2022-01-25 03:46:43 +04:00