1
0
Fork 0
mirror of synced 2024-09-20 19:42:42 +12:00
Commit graph

2520 commits

Author SHA1 Message Date
Steven Nguyen
3a3a0594dc
fix(messaging): disable validation for subquery to prevent error
If there are more than 100 targets, the validation throws an error. This
change skips the validation so no error is thrown.
2024-06-24 23:38:41 +00:00
Steven Nguyen
34b2e15243
fix(users): fix expire error when creating user session
Before this, the Create session API call would throw:

> Invalid document structure: Missing required attribute "expire"

This is because the `expire` attribute is required, but it was omitted
from the document. This PR ensures the `expire` attribute is set when
creating the session document.
2024-06-24 23:21:44 +00:00
Steven Nguyen
9ccf4991e3
fix(functions): fix flaky function test
The execution is async so give the function a bit more time to execute.
2024-06-24 19:15:41 +00:00
Steven Nguyen
01fc6a699a
fix(health): fix flaky certificate test
There seems to be a load balancer in front of www.google.com that has
either a certificate issuer of "Google Trust Services LLC" or
"Google Trust Services". This causes the test to fail intermittently.

This PR updates the test to check for the substring
"Google Trust Services" instead of the exact string
"Google Trust Services LLC".
2024-06-24 19:02:44 +00:00
loks0n
edf7af34f1 test: session alerts 2024-06-24 14:39:47 +01:00
Christy Jacob
bf8b2ea7ae Merge branch '1.6.x' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-21 16:18:19 +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
991a22f642
Merge pull request #8290 from appwrite/1.5.x
Sync 1.5.x into refactor-usage-sn
2024-06-21 00:38:21 +05:30
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
814b59a13a Merge branch 'main' of github.com:appwrite/appwrite into mock-numbers 2024-06-20 20:42:29 +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
Damodar Lohani
076f718203
Update tests/e2e/Services/Storage/StorageBase.php 2024-06-18 12:14:47 +05:45
Steven Nguyen
4b24848f22
Merge pull request #8236 from 2002Bishwajeet/fix-user-model
Fix: Don't set the target field if the existing target document is false
2024-06-17 17:11:27 -07:00
Binyamin Yawitz
74360abdb0
test: Test function creation type from CLI 2024-06-17 14:18:01 -04:00
loks0n
2f0f7bf9c7 fix: test 2024-06-17 13:44:12 +01:00
Damodar Lohani
349b78d5e5 fix assertion 2024-06-17 04:55:06 +00:00
Damodar Lohani
4c8d5d2c89 increase file size 2024-06-16 09:49:19 +00:00
Christy Jacob
9e1541d96a Merge branch 'main' of https://github.com/appwrite/appwrite into mock-numbers 2024-06-16 07:28:22 +00:00
Luke B. Silver
9341c9d76b
Merge branch '1.6.x' into feat-scheduled-executions 2024-06-14 14:07:41 +01:00
loks0n
10e37bb8ca test: fix 2024-06-14 14:01:04 +01:00
loks0n
6f38ef3a18 test: poll scheduled function 2024-06-13 14:22:38 +01:00
loks0n
dff9bed882 test: increase delay 2024-06-13 13:41:37 +01:00
loks0n
cfdd40dbeb test: execution is completed 2024-06-13 09:36:01 +01:00
loks0n
7559c9af68 chore: us spelling of canceled 2024-06-12 11:21:48 +01:00
loks0n
d6bfe084c1 fix: tests 2024-06-11 17:27:22 +01:00
loks0n
682b854aad test: fix functions test 2024-06-11 17:01:56 +01:00
loks0n
67b32ecb05 test: cancel deployment 2024-06-11 15:41:13 +01:00
loks0n
1e9ced2878 test: scheduled status 2024-06-11 13:57:03 +01:00
Jake Barnby
e58e849504
Fix function test 2024-06-06 21:29:34 +12:00
Jake Barnby
c87a6a863b
Increase sleep 2024-06-06 20:52:22 +12: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
Bishwajeet Parhi
485b8eeb8b chore: misc test assertions improvements 2024-06-05 23:53:31 +05:30
Eldad A. Fux
f91a68c8a0
Merge pull request #8207 from appwrite/feat-users-create-jwt
Feat: users.createJWT()
2024-06-04 07:00:32 -04:00
Jake Barnby
5b3a3d5bf9
Add flaky test retry 2024-06-04 20:10:45 +12:00
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
ItzNotABug
37da4a0cd3 review comments. 2024-06-03 14:19:59 +05:30
ItzNotABug
b54a599960 update test name for clarity. 2024-06-03 14:13:08 +05:30
ItzNotABug
52f5a5c40c update test. 2024-06-03 14:10:20 +05:30
ItzNotABug
1a42d118f6 add: test to validate user-id isn't overridden. 2024-06-01 19:18:35 +05:30
Matej Bačo
49b2bcf462 Implement JWT dynamic keys test 2024-05-29 09:33:39 +00:00
Matej Bačo
11827216ff
Update tests/e2e/Services/Users/UsersBase.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-05-29 09:32:58 +02:00
Matej Bačo
b1ff989c3f Implement tests, fix JWT maxAge 2024-05-28 09:25:54 +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
Jake Barnby
93f50e1e0e
Lint 2024-05-22 12:51:27 +12:00
Jake Barnby
c7106b9147
Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-setting-secrets 2024-05-22 12:50:58 +12:00
Khushboo Verma
1767d885c2
Merge branch '1.5.x' into feat-add-schedule-function-tests 2024-05-21 19:23:12 +05:30
Matej Bačo
a115f878b3 Merge remote-tracking branch 'origin/1.6.x' into feat-function-tokens 2024-05-21 10:28:21 +00:00
Khushboo Verma
ccae83c8a8 Add tests for scheduled functions 2024-05-20 17:44:48 +05:30
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
Matej Bačo
9846b573bd Merge remote-tracking branch 'origin/main' into feat-function-tokens 2024-05-14 11:59:43 +00:00
xue
4bb12a124d
Merge branch 'main' into feat-8003-missing-country-for-locale-endpoint-Palestine 2024-05-11 18:33:24 +03:00
Khushboo Verma
7bb5ce9cb6
Merge pull request #8099 from appwrite/feat-increase-chunk-size-to-10-MB
Increase chunk size to 10 MB
2024-05-10 17:53:44 +05:30
Damodar Lohani
729db1aa17 fix date format 2024-05-09 03:08:27 +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
Damodar Lohani
b27f70ee81 ignore few tests 2024-05-08 06:08:23 +00:00
Jake Barnby
f00133d199
Add tests for queued job status 2024-05-08 16:28:00 +12:00
Matej Bačo
4c6f01ad68 Update tests 2024-05-07 09:05:54 +00:00
Jake Barnby
5f9c192d72
Add assertion 2024-05-07 19:53:20 +12:00
Jake Barnby
7023cdfb9e
Revert "Fix google issuer change"
This reverts commit e69862bd6f.
2024-05-07 18:23:54 +12:00
Jake Barnby
82dfbbd614
Fix isolation user test 2024-05-07 18:11:30 +12:00
Jake Barnby
e69862bd6f
Fix google issuer change 2024-05-07 18:11:15 +12:00
Jake Barnby
e9bac08de0
Fix header test 2024-05-07 17:59:24 +12:00
Jake Barnby
74a147f3b2
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-shared-tables
# Conflicts:
#	tests/e2e/Services/Projects/ProjectsCustomServerTest.php
2024-05-07 15:53:58 +12:00
Jake Barnby
0e9838d290
Remove logging and test files 2024-05-07 15:48:20 +12:00
Matej Bačo
9252b66493 Add scope tests 2024-05-06 11:27:28 +00:00
Damodar Lohani
39db496e93 fix accertion order 2024-05-06 07:55:11 +00:00
Damodar Lohani
7b6e527b27 fix path 2024-05-06 06:29:15 +00:00
xue
ec14f31f9a
Merge branch 'main' into feat-8003-missing-country-for-locale-endpoint-Palestine 2024-05-05 15:44:19 +03:00
bhc
3fab87a1ca
Update total count of countries in LocaleBase tests for testGetCountriesPhones 2024-05-05 15:43:59 +03:00
Eldad A. Fux
b2c57e2d8b
Merge pull request #7934 from appwrite/fix-custom-domain
Prevent functions domain to be used as custom domain
2024-05-05 06:53:29 +01:00
Damodar Lohani
7ca9e6923f
add test 2024-05-05 10:47:54 +05:45
Damodar Lohani
d4d88fc43e remove mock test 2024-05-05 04:58:10 +00:00
Damodar Lohani
1094238820 add test 2024-05-05 04:56:49 +00:00
Khushboo Verma
e583f44147 Increase chunk size to 10 MB 2024-05-03 18:01:15 +05:30
Jake Barnby
a680b27e2b
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-shared-tables 2024-05-03 19:07:23 +12:00
Christy Jacob
95300d796b
Revert "Update chunk size to 7 MB" 2024-05-03 10:19:03 +04:00
Jake Barnby
99d05b3d8c
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-shared-tables 2024-05-03 14:24:57 +12:00
Khushboo Verma
87fb11914e Update chunk size to 7 MB 2024-05-02 19:38:45 +05:30
Khushboo Verma
89daa5e479 Update payload size to 11 MB to accomodate 10 MB chunk size 2024-05-02 14:30:18 +05:30
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
Jake Barnby
aeea5e8328
Merge pull request #7341 from appwrite/collection-not-found
databases.php collection not found
2024-04-29 21:04:31 +12:00
Jake Barnby
ab7a5f4575
Fix test 2024-04-29 19:07:16 +12:00
bhc
9cea7ea526
Update total count in assertions in ContentTypeTest 2024-04-27 01:22:03 +03:00
bhc
d6dbb02ffe
Update total count in assertions in BatchTest 2024-04-27 01:20:49 +03:00
bhc
37097b0914
Update total count of countries in LocaleBase tests for testGetCountriesPhones 2024-04-27 01:18:11 +03:00
bhc
36a1bd1d90
Update total count of countries and languages in LocaleBase tests 2024-04-27 01:16:10 +03:00
Matej Bačo
9616de7576 Merge branch 'main' into refactor-usage-sn-1.5.x 2024-04-26 13:11:21 +02:00
Christy Jacob
92c41954af Merge branch 'main' of https://github.com/appwrite/appwrite into refactor-usage-sn-1.5.x 2024-04-26 09:19:09 +00:00
Steven Nguyen
b75f5263a2
Merge branch 'main' into chore-sync-main-into-1.5.x 2024-04-23 23:43:53 +00:00