Commit graph

474 commits

Author SHA1 Message Date
ArnabChatterjee20k
f580dc9145 Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api 2026-01-13 14:32:46 +05:30
Matej Bačo
3d4b29e0f1 Merge branch '1.8.x' into chore-php-types 2026-01-10 16:42:38 +01:00
Matej Bačo
b29f70a0af Add new tests 2026-01-05 22:51:03 +01:00
Matej Bačo
1db12e78ef AI code review 2026-01-05 14:42:03 +01:00
Matej Bačo
8d1acef95d Implement project labels 2025-12-31 15:44:18 +01:00
Darshan
2a38eedc98 fix: flaky test!
fix: get resource report what we want.
2025-12-31 15:00:23 +05:30
Matej Bačo
00b5236dea simplify diff 2025-12-29 18:41:35 +01:00
Matej Bačo
7c56a76feb self PR review fixes 2025-12-29 08:59:07 +01:00
Matej Bačo
04f660e44b Dedicate project test 2025-12-28 10:06:29 +01:00
ArnabChatterjee20k
f36dd2748c fixed tests 2025-12-24 16:22:02 +05:30
ArnabChatterjee20k
2baa33351d fix tests 2025-12-24 14:38:43 +05:30
ArnabChatterjee20k
f7668e0411 * added concurrent traffic load tests for realtime
* added assert eventual case for project console
* linting
2025-12-24 13:41:31 +05:30
Darshan
3ddfd9c3b0 update: address comment. 2025-12-19 15:52:19 +05:30
Darshan
75d8110ad9
Merge branch '1.8.x' into project-queries 2025-12-19 14:23:25 +05:30
Darshan
c958f3f1cb update: allow queries on projects xlist. 2025-12-19 14:13:52 +05:30
Steven Nguyen
d4517384dc
fix: update project tests to reflect changes in project count and names 2025-12-12 07:16:49 +00:00
Steven Nguyen
9518764cae
Merge branch '1.8.x' into fix-smtp-auth-check 2025-12-12 05:24:33 +00:00
Steven Nguyen
d174233cd6
fix: update SMTP configuration and enhance validation checks 2025-12-12 04:58:59 +00:00
loks0n
f765eb92e7 feat: cors service 2025-12-11 09:01:31 +00:00
Jake Barnby
a8cf0a6176 Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
# Conflicts:
#	app/controllers/api/teams.php
#	app/init/resources.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-12-10 20:12:27 +13:00
VijaykumarPujar-tech
2fa95b52a0 Reverted some added changes 2025-12-09 22:40:51 +05:30
ArnabChatterjee20k
991b2b1c3b updated delete worker for vectordb and updated tests 2025-12-09 18:44:26 +05:30
ArnabChatterjee20k
a2039c0b76 added deletion test for multidb 2025-12-09 18:34:25 +05:30
VijaykumarPujar-tech
a14d5c584e Fix: robust SMTP validation and added regression test 2025-12-08 20:22:18 +05:30
ArnabChatterjee20k
7ad6bb048c merged 1.8.x 2025-12-02 16:35:40 +05:30
Damodar Lohani
4b15fec1d7 Remove further auth static methods 2025-11-04 07:51:03 +00:00
ArnabChatterjee20k
3e612ec88d flask test fixing via retry 2025-10-27 18:08:44 +05:30
ArnabChatterjee20k
445b657207 Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api 2025-10-27 16:15:10 +05:30
Jake Barnby
b12e006014
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
# Conflicts:
#	app/init/resources.php
#	composer.lock
2025-10-21 18:43:41 +13:00
Jake Barnby
f1c7af0426
Fix wrong db for UID max length check 2025-10-21 15:04:08 +13:00
Jake Barnby
ddde13a78f
Revert "Merge pull request #10468 from appwrite/feat-apps-module-dl"
This reverts commit 9dd1939d1f, reversing
changes made to 8dfdfcb522.

# Conflicts:
#	app/config/collections/common.php
#	app/controllers/api/users.php
#	app/init/resources.php
#	composer.lock
2025-10-21 14:59:30 +13:00
Jake Barnby
3a8e2b080d
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
# Conflicts:
#	app/init/resources.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-10-21 03:16:21 +13:00
Chirag Aggarwal
5d1d937fde remove changes 2025-10-16 15:29:59 +05:30
Chirag Aggarwal
83ec855f4b skip harder ones 2025-10-16 15:18:21 +05:30
Chirag Aggarwal
c6f144313d more tests 2025-10-16 14:29:57 +05:30
Chirag Aggarwal
ae8ec1c736 formatting 2025-10-16 14:26:39 +05:30
ArnabChatterjee20k
e0c293c5b4 Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api 2025-10-16 14:25:14 +05:30
Chirag Aggarwal
19d7f02371 more tests 2025-10-16 14:25:12 +05:30
Chirag Aggarwal
9ded176cf2 Refactor ProjectsConsoleClientTest to remove test dependencies
- Remove @depends annotations to make tests independent
- Each test now creates its own team and project instead of relying on shared state
- Replace sleep() calls with assertEventually() for more reliable async testing
- Change test methods to return void instead of passing data between tests
- Remove unnecessary sleep() call that was causing test flakiness
2025-10-16 14:21:30 +05:30
Jake Barnby
daeb721995
Fix tests 2025-09-30 23:44:26 +13:00
shimon
f16eba2f9f Update PHPUnit configuration to stop on failure set to false, and clean up whitespace in multiple files for consistency. Adjust comments and ensure proper formatting in test cases and API handling. 2025-09-16 19:13:38 +03:00
Damodar Lohani
2be8895dfd Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-09-10 03:56:34 +00:00
shimon
38433b9ac1 Remove unnecessary var_dump statement from ProjectsConsoleClientTest for improved code clarity and consistency. 2025-08-26 13:52:05 +03:00
shimon
b98be4756c Update composer.json and composer.lock to reflect changes in utopia-php/database versioning and dependencies. Adjusted MongoDB-related test conditions for improved compatibility and clarity. Removed unnecessary var_dump statements in account.php and enhanced logging in various test files for better debugging. 2025-08-26 13:48:01 +03:00
shimon
c4fb7ecbc1 Refactor and clean up debugging output across multiple files, including mock.php, account.php, and OAuth2 classes. Removed unnecessary var_dump statements for improved code clarity and consistency. Updated MongoDB condition checks in test cases to ensure case-insensitive comparisons. 2025-08-12 15:20:30 +03:00
shimon
e1475619ba Refactor debugging output across various files, including http.php, mock.php, and OAuth2 classes. Adjusted var_dump statements for improved traceability and consistency. Updated test assertions in ProjectsConsoleClientTest and UsersBase to enhance clarity and functionality. 2025-08-11 22:05:18 +03: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
bce666e81b add: scopes on migrations and update tests. 2025-06-25 17:02:21 +05:30
Chirag Aggarwal
65b5af1b00 chore: fix tests 2025-06-25 11:27:23 +05:30
Christy Jacob
b5c5f76acc Merge branch '1.7.x' of github.com:appwrite/appwrite into feat-apps-module 2025-06-20 17:39:28 +04:00
Darshan
c08db975d6
Merge branch '1.8.x' into database-aliases 2025-06-19 14:52:13 +05:30
ArnabChatterjee20k
28fbd64864 updated session invalidation tests , models and descriptions 2025-06-17 00:40:32 +05:30
ArnabChatterjee20k
7a0ba95231 updated onPasswordChange to invalidate session 2025-06-16 23:05:52 +05:30
ArnabChatterjee20k
fde2f278e8 added invalidating sessions for the project users 2025-06-14 18:07:42 +05:30
Darshan
1ac22c0ae0 Merge branch '1.8.x' into 'database-aliases'. 2025-06-11 12:36:33 +05:30
Darshan
9d4a7fadb9 fix: tests due to no search attribute. 2025-05-13 18:59:16 +05:30
Darshan
67a8f522e5 fix: project and general usage tests. 2025-05-05 14:45:55 +05:30
Eldad Fux
fb29fe7b3c Merge remote-tracking branch 'origin/1.7.x' into feat-apps-module 2025-04-29 20:12:31 +02:00
Matej Bačo
d8103cb57e Merge branch '1.7.x' into 1.6.x 2025-04-25 12:18:04 +02:00
Matej Bačo
1a33b75d42 Fix html error page test 2025-04-22 10:48:25 +02:00
Matej Bačo
9993cca484 Merge branch '1.7.x' into feat-development-keys 2025-04-17 15:51:31 +02:00
Jake Barnby
53660f3100
Add more cases 2025-04-16 12:30:22 +12:00
Jake Barnby
bea723ff2e
Add test 2025-04-16 12:04:19 +12:00
Chirag Aggarwal
40c15077e2 chore: update devkey init and make tests use mock oauth 2025-04-15 10:47:04 +00:00
Chirag Aggarwal
6596569259 chore: make devkeys test dependence free 2025-04-14 18:01:40 +00:00
Eldad Fux
1bf1766822 Merge remote-tracking branch 'origin/feat-sites' into feat-apps-module 2025-03-28 08:20:24 +01:00
Darshan
b358dad817 update: merge '1.7.x' on feat-development-keys. 2025-03-22 18:35:10 +05:30
Matej Bačo
cb85cfc5d9 Merge branch '1.7.x' into feat-sites 2025-03-20 16:42:36 +01:00
Matej Bačo
4aaa07d57b Merge branch '1.6.x' into 1.7.x 2025-03-20 16:41:18 +01:00
shimon
faed019d92 revert 2025-03-19 09:32:48 +02:00
shimon
e9841e53b9 revert 2025-03-18 21:40:46 +02:00
Eldad Fux
477add3022 Formatting 2025-03-17 21:49:10 +01:00
Eldad Fux
8aa5714173 cleanups 2025-03-17 21:44:31 +01:00
shimon
7149deeacb _app_region 2025-03-17 18:11:49 +02:00
Chirag Aggarwal
026dd56f55
Merge branch '1.7.x' into feat-development-keys 2025-03-15 19:18:44 +05:30
Khushboo Verma
187f4c841e Remove error message validation 2025-02-11 18:46:31 +05:30
Khushboo Verma
11477d67c9 Address PR comments 2025-02-11 18:20:54 +05:30
Khushboo Verma
f1989d0aba Fix project tests 2025-02-10 22:07:07 +05:30
Khushboo Verma
75219b800a Fix failing tests 2025-02-10 19:59:28 +05:30
Chirag Aggarwal
c8afd2c613 Merge branch '1.6.x' into feat-development-keys 2025-02-04 11:21:07 +00:00
Matej Bačo
f9430d4d20 Merge branch '1.6.x' into fix-site-tests 2025-02-03 10:05:30 +01:00
Matej Bačo
1946df83a7 Merge remote-tracking branch 'origin/1.6.x' into 1.7.x 2025-02-03 09:03:04 +00:00
Bradley Schofield
bbc527d4a4 Use defaults in assert eventually 2025-02-03 10:19:42 +09:00
Bradley Schofield
50cc28647d Make sessions limit tests assert eventually 2025-02-03 09:53:00 +09:00
Chirag Aggarwal
f867fddaae Merge branch '1.6.x' into feat-development-keys 2025-01-27 10:33:58 +00:00
loks0n
651a3d1d62 test: fix 2025-01-09 16:37:26 +00:00
Damodar Lohani
d07f39c0d2
Merge branch '1.6.x' into feat-development-keys 2024-11-22 15:45:17 +05:45
Damodar Lohani
cc3edd7b2b Refactor naming to Dev keys 2024-11-22 04:21:03 +00:00
Jake Barnby
f9e518b2b0
Fix shared tables v2 deletes 2024-11-21 16:49:49 +13:00
Christy Jacob
6e6899c1e9
Merge pull request #8988 from appwrite/fix-deletes
Fix project type delete checks
2024-11-21 14:09:02 +13:00
Damodar Lohani
8a244708fa Merge remote-tracking branch 'origin/1.6.x' into feat-development-keys 2024-10-29 01:23:32 +00:00
Khushboo Verma
a503803725 Add secret attribute to variables 2024-10-21 16:33:57 +02:00
Khushboo Verma
73918b137e Replace sizeof with assertCount 2024-10-18 15:48:59 +05:30
Khushboo Verma
5a74f351dc Add tests to update non-existent var 2024-10-18 00:07:44 +05:30
Khushboo Verma
4cd951ae41 Add tests for project variables 2024-10-17 19:35:17 +05:30
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
2703ca1106
chore: merge 2024-10-01 11:44:01 -04:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
Binyamin Yawitz
1861ae3f68
fix: mock phone tests 2024-09-09 17:48:26 +02:00
Damodar Lohani
b2359786e6 fix test 2024-09-05 03:22:10 +00:00
Damodar Lohani
72d720f83e remove projects.write from user scope 2024-09-05 03:20:19 +00:00
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Damodar Lohani
1771b3fed3 Merge remote-tracking branch 'origin/1.6.x' into feat-development-keys 2024-08-12 08:48:43 +00:00
Damodar Lohani
55fc9d7fbd tests and fixes 2024-07-29 10:12:57 +00:00
Christy Jacob
98b8e13add feat: address review comments 2024-07-21 23:45:39 +04:00
Christy Jacob
711ca8801a feat: address review comments 2024-07-21 23:30:06 +04:00
Matej Bačo
3a570b1f73 PR review changes 2024-07-03 08:27:54 +00:00
Christy Jacob
7cec278d27 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into mock-numbers 2024-06-25 15:17:22 +00:00
Christy Jacob
a2f27ec15f Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-21 13:11:35 +00:00
Christy Jacob
fdf44c7bab Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-20 15:26:17 +00:00
Christy Jacob
c5fa7eb7dc Merge branch '1.6.x' of github.com:appwrite/appwrite into mock-numbers 2024-06-20 20:53:06 +05:30
Christy Jacob
3b791f0b6f chore: linter 2024-06-20 20:44:02 +05:30
Christy Jacob
1b1cfc38c8 fix: undefined variable 2024-06-20 20:31:20 +05:30
Christy Jacob
392aaca681 chore: fix tests 2024-06-20 20:19:56 +05:30
Christy Jacob
e32e7063bb chore: linter 2024-06-20 20:01:33 +05:30
Christy Jacob
9e1541d96a Merge branch 'main' of https://github.com/appwrite/appwrite into mock-numbers 2024-06-16 07:28:22 +00:00
Bradley Schofield
98ca5faef1 Add Tests 2024-06-11 14:36:32 +09:00
Jake Barnby
9e487b8ccf
Revert "Merge pull request #8237 from appwrite/revert-8193-feat-remove-random-shared-tables"
This reverts commit 930ae6ded0, reversing
changes made to 1f6417b156.
2024-06-06 20:11:19 +12:00
Christy Jacob
ff6efc2855
Revert "Feat remove random shared tables" 2024-06-06 00:11:56 +05:30
Jake Barnby
f459a5c458
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-remove-random-shared-tables
# Conflicts:
#	docker-compose.yml
2024-06-04 17:43:14 +12:00
Matej Bačo
49b2bcf462 Implement JWT dynamic keys test 2024-05-29 09:33:39 +00:00
Jake Barnby
00c047d804
Run full tests on shared tables 2024-05-24 20:29:06 +12:00
Jake Barnby
9bb9f1eee7
Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-setting-secrets
# Conflicts:
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-05-23 15:37:13 +12:00
Torsten Dittmann
a9c701cdc1 tests: fix new status codes 2024-05-22 23:19:21 +02:00
Christy Jacob
aa76862692 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-1.5.x 2024-05-22 19:43:31 +00:00
Jake Barnby
f03281a474
Fix project tests 2024-05-22 13:42:34 +12:00
Ketan Baitule
7dfee36144 test:Add test case for adding user via team membership in console 2024-05-20 17:18:53 +05:30
Matej Bačo
2e1f67245d Fix bugs, add old api key test 2024-05-16 08:39:15 +00:00
Damodar Lohani
5105d07bbf Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-tests-for-cl-1 2024-05-08 06:09:46 +00:00
Jake Barnby
f00133d199
Add tests for queued job status 2024-05-08 16:28:00 +12:00
Jake Barnby
5f9c192d72
Add assertion 2024-05-07 19:53:20 +12:00
Jake Barnby
82dfbbd614
Fix isolation user test 2024-05-07 18:11:30 +12:00
Jake Barnby
e9bac08de0
Fix header test 2024-05-07 17:59:24 +12:00
Damodar Lohani
7b6e527b27 fix path 2024-05-06 06:29:15 +00:00
Jake Barnby
0112fd9b84
Add unique email test 2024-05-01 16:17:02 +12:00
Jake Barnby
b2e956a14d
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-isolation-modes
# Conflicts:
#	.gitignore
#	app/cli.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/DeleteOrphanedProjects.php
#	src/Appwrite/Platform/Tasks/GetMigrationStats.php
#	src/Appwrite/Platform/Workers/Databases.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Hamster.php
#	tests/e2e/General/HTTPTest.php
#	tests/e2e/Services/Databases/DatabasesCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-04-30 19:40:47 +12:00
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Torsten Dittmann
a53e630536 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2 2024-03-05 10:31:51 +01:00
Jake Barnby
74a3d6531f
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-isolation-modes
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/CalcTierStats.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-03-04 19:50:10 +01:00
Damodar Lohani
57d7995e36 fix file path 2024-03-04 12:58:28 +00:00
Khushboo Verma
260928942b Update tests 2024-02-26 17:58:57 +05:30
Matej Bačo
a08d5a5ef6 Fix tests 2024-02-25 10:25:51 +00:00
Matej Bačo
cb7da26d53 Fix empty pass with personal data check 2024-02-25 09:19:30 +00:00
loks0n
b76771a8b4 fix: tests 2024-02-20 12:41:49 +00:00
Christy Jacob
abad778a1e chore: linter 2024-02-14 17:22:43 +00:00
Christy Jacob
48e87cdc7c Merge branch 'main' of github.com:appwrite/appwrite into mock-numbers 2024-02-14 21:24:53 +05:30
Christy Jacob
28a16173ab feat: add tests 2024-02-14 12:10:19 +05:30
fogelito
a782e20315 Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
 Conflicts:
	app/controllers/api/account.php
	composer.json
	composer.lock
	src/Appwrite/Platform/Tasks/CalcTierStats.php
	tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00