1
0
Fork 0
mirror of synced 2024-07-15 19:36:08 +12:00
Commit graph

1714 commits

Author SHA1 Message Date
Christy Jacob 0533339023 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into fix-team-get-membership-model 2022-09-23 06:27:35 +00:00
Matej Bačo 46c91899e7
Merge branch '0.16.x' into feat-improve-sms-e2e-tests 2022-09-23 08:23:29 +02:00
Jake Barnby 63a4853563
Fix list complexity calculations 2022-09-23 15:53:25 +12:00
Jake Barnby eb818d15e0
Fix custom entity update 2022-09-23 13:49:36 +12:00
Jake Barnby 6e4bad5969
Fix custom entity delete 2022-09-23 13:46:39 +12:00
Christy Jacob 9caeb62695
Merge pull request #3880 from appwrite/fix-improve-rehash-tests
Fix: Improve password hashing e2e tests
2022-09-23 00:35:03 +05:30
Jake Barnby 8cd36b2721
Fix custom entity list 2022-09-22 22:48:22 +12:00
Jake Barnby 5bd420a823
Remove redundant test class prefixes 2022-09-22 20:29:42 +12:00
Jake Barnby a5b31b1956
Fix auth test 2022-09-22 20:22:10 +12:00
Jake Barnby f7e5ccf296
Merge remote-tracking branch 'origin/fix-team-get-membership-model' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
2022-09-22 20:12:17 +12:00
Jake Barnby 7f236ed2bb
Add get membership tests 2022-09-22 20:06:30 +12:00
Jake Barnby 2d1cd7cb50
Add queries validators 2022-09-22 18:54:58 +12:00
Jake Barnby f2af301f16
Update functions vars -> variables 2022-09-22 14:16:13 +12:00
Jake Barnby 734561c6b6
Fix users queries phone -> number 2022-09-22 13:57:31 +12:00
Jake Barnby a2778e410f
Fix team get membership queries 2022-09-22 13:55:31 +12:00
Jake Barnby 76614d8659
Update ID usages 2022-09-22 13:53:41 +12:00
Jake Barnby 390453aa9b
Add datetime attribute test 2022-09-21 21:08:20 +12:00
Jake Barnby 4d21323001
Update permissions 2022-09-21 21:03:14 +12:00
Jake Barnby 7167ea2a5f
Update permissions 2022-09-21 20:17:17 +12:00
Jake Barnby b69217bb39
Update avatar size 2022-09-21 19:52:09 +12:00
Jake Barnby 6a1dcfa3c8
Update abuse test 2022-09-21 19:37:43 +12:00
Jake Barnby b217cf20d7
Update get team membership query 2022-09-21 19:22:15 +12:00
Jake Barnby 0389cc9ef2
Update permissions 2022-09-21 19:11:49 +12:00
Jake Barnby 9f008a18ea
Update number -> phone usages 2022-09-21 19:05:35 +12:00
Jake Barnby 378d02f269
Update get -> list usages 2022-09-21 19:03:28 +12:00
Damodar Lohani e8b63f8c9d fix test 2022-09-21 02:46:18 +00:00
Damodar Lohani 6d9f43be5d add missing region on list project test 2022-09-21 01:45:16 +00:00
Damodar Lohani fdc5fea887 update project tests 2022-09-21 01:02:58 +00:00
Damodar Lohani cde374b505 add region in test 2022-09-20 13:21:05 +00:00
Jake Barnby 544413dddf
More 1.0 migrations 2022-09-20 20:25:05 +12:00
Jake Barnby fbcaa1f60a
Update database test queries 2022-09-20 19:40:21 +12:00
Jake Barnby e9f75d32a1
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	Dockerfile
#	app/config/errors.php
#	app/config/roles.php
#	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/graphql.php
#	app/controllers/shared/api.php
#	app/init.php
#	composer.lock
#	docker-compose.yml
#	src/Appwrite/Extend/Exception.php
#	src/Appwrite/Migration/Migration.php
2022-09-20 15:43:09 +12:00
Matej Bačo 215c02ac47 e2e tests for password re-hashing 2022-09-19 08:43:59 +00:00
Matej Bačo 6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Steven Nguyen 00a4929301 Fix date format for usage APIs 2022-09-15 23:48:09 +00:00
Torsten Dittmann 0e2e7395a9 ci: increase test timeouts 2022-09-14 19:17:03 +02:00
Steven Nguyen 3da21ff2fc Update document model
1. Rename document.$collection to document.$collectionId
2. Add document.$databaseId
2022-09-14 00:53:37 +00:00
Christy Jacob 554be364d6
Merge pull request #3755 from appwrite/feat-audits-label-desc-decoupling
audit event decoupling
2022-09-13 22:56:02 +04:00
Christy Jacob efbe21d433 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into matej-qa-3 2022-09-13 18:21:44 +00:00
shimon 75c4662c0b small fix 2022-09-13 11:08:15 +03:00
shimon b86f7689ec Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling 2022-09-13 10:29:16 +03:00
Christy Jacob 022e992041
Merge pull request #3802 from appwrite/feat-improve-usage-retry
Make usage tests only retry the usage fetch part
2022-09-12 20:30:13 +04:00
Matej Bačo ec5a0b8cde Remove queries from listVariables; add enabled to createFunction 2022-09-12 09:02:14 +00:00
Matej Bačo 34dda74176 Update tests, fix bug 2022-09-11 08:31:40 +00:00
Christy Jacob 0ce6deedbe fix failing test 2022-09-09 21:47:24 +00:00
Christy Jacob 526705d440 feat: update failing tests 2022-09-10 00:19:09 +04:00
Steven Nguyen 0d016dea64 Make usage tests only retry the usage fetch part
Before this, usage tests retried creating usage AND fetching
the usage which caused some expected counts to be incorrect.
2022-09-09 17:19:25 +00:00
Christy Jacob cb50220b60 feat: rename time attribute to duration 2022-09-09 16:02:04 +04:00
shimon 834e4e03e3 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label-desc-decoupling
 Conflicts:
	app/controllers/api/storage.php
2022-09-08 15:13:22 +03:00
Jake Barnby 15939bb155
Merge remote-tracking branch 'origin/0.16.x' into fix-storage-audit-resources 2022-09-08 17:24:00 +12:00
Jake Barnby 6ac2493445
Add retry for update account recovery 2022-09-08 10:37:58 +12:00
Matej Bačo e9c29a4812 Update createExecution param default value 2022-09-07 08:24:49 +00:00
Jake Barnby 477dbbb909
Update write helper usages 2022-09-06 21:13:42 +12:00
Jake Barnby 713ca7d55a
Retry sync execution twice 2022-09-06 16:42:46 +12:00
Jake Barnby e8a8069a67
Fix realtime test 2022-09-06 16:13:24 +12:00
Jake Barnby 02f54eca65
Fix tests 2022-09-06 13:02:32 +12:00
Jake Barnby 27af4e3b7c
Merge remote-tracking branch 'origin/0.16.x' into fix-write-permission-not-allowed
# Conflicts:
#	composer.lock
2022-09-06 12:28:57 +12:00
Christy Jacob 7105e6c3e8
Merge pull request #3762 from appwrite/feat-new-profile-img-theme
Feat new profile image theme
2022-09-05 16:26:10 +04:00
Bradley Schofield 9e0e2f8e77 Add Tests
+ Added Tests
+ Remove unneeded rand variable
2022-09-05 11:21:04 +01:00
Matej Bačo c7780c5fe6 Update allowed headers with new SDK headers 2022-09-05 08:08:24 +00:00
shimon 1362902082 audit event name reformation 2022-09-05 11:00:08 +03:00
Jake Barnby e55faff0a1
Fix tests 2022-09-05 19:51:33 +12:00
Jake Barnby a861b174a2
Add allowed permissions tests 2022-09-05 14:16:40 +12:00
shimon eabc90ec49 decouple audits log from events 2022-09-04 17:53:37 +03:00
Matej Bačo c3d04848f4 Mark permissions optional param 2022-09-01 13:14:15 +00:00
Matej Bačo 272c62e893 Format fix 2022-09-01 09:15:43 +00:00
Matej Bačo 646bbdf489 Join tests to resolve race condition 2022-09-01 09:09:28 +00:00
Bradley Schofield b16053bbdf Merge branch '0.16.x' into fix-unaccepted-invitation-access 2022-08-31 18:29:38 +01:00
Bradley Schofield efa4824db6 Add Tests 2022-08-31 18:27:32 +01:00
Matej Bačo a0c0a7439e Add tests for project queries 2022-08-31 16:00:14 +00:00
Damodar Lohani 8fe365d66e Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support 2022-08-31 13:21:45 +00:00
Christy Jacob 0438e830b0
Merge pull request #3634 from appwrite/feat-variables-api
Implement Function Variable API
2022-08-31 14:37:30 +02:00
Matej Bačo 0897cd0fe4
Merge branch '0.16.x' into feat-variables-api 2022-08-31 09:37:47 +02:00
Matej Bačo 3fc2e70007 updateVariable 'key' param marked as required 2022-08-31 07:33:43 +00:00
Jake Barnby 8fcb091f37
Add resource write abuse limit tests 2022-08-31 16:06:36 +12:00
Damodar Lohani b17f537a4c make id unique 2022-08-31 03:04:11 +00:00
Damodar Lohani 02b0ed118f preview test for zstd compression 2022-08-31 03:03:51 +00:00
Damodar Lohani bc7ec3854f linter fix 2022-08-31 02:56:44 +00:00
Damodar Lohani 63f95c0a5c Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-additional-compression-support 2022-08-31 02:55:26 +00:00
Damodar Lohani 77c72970e8 ZSTD compression test 2022-08-31 02:49:13 +00:00
Jake Barnby b1cb6ab9bc
Add single retry to all usage tests 2022-08-31 11:35:46 +12:00
Christy Jacob 3ee3954043 feat: linter 2022-08-30 18:26:02 +00:00
Christy Jacob fe8295c2ec Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-improve-keys 2022-08-30 17:35:46 +00:00
Christy Jacob 422cedf718 feat: fix tests 2022-08-30 17:33:54 +00:00
Christy Jacob dcdfcce3fe feat: added tests 2022-08-30 14:04:42 +00:00
Christy Jacob 7591f68970
Merge pull request #3702 from appwrite/feat-list-endpoints-queries
Feat: List endpoint queries
2022-08-30 14:56:09 +02:00
Christy Jacob 5785212d28
Merge pull request #3720 from appwrite/feat-allow-automatic-test-retries
Allow flaky tests to be automatically retried with an attribute
2022-08-30 14:00:38 +02:00
Christy Jacob 3da3e2100c
Merge pull request #3727 from appwrite/feat-allow-guest-writes
Allow guest write scope for document, file and execution
2022-08-30 13:28:51 +02:00
Jake Barnby 22f0468c8e
Merge remote-tracking branch 'origin/0.16.x' into feat-allow-automatic-test-retries
# Conflicts:
#	app/controllers/api/teams.php
#	package-lock.json
#	package.json
#	tests/e2e/Services/Teams/TeamsBase.php
2022-08-30 23:14:28 +12:00
Jake Barnby f4d916a4d2
Rename FlakyTest attribute to Retry 2022-08-30 23:10:15 +12:00
Matej Bačo e6ccfb6dd7 Improve variables CRUD tests 2022-08-30 09:31:32 +00:00
Christy Jacob 177354407a
Merge pull request #3689 from appwrite/feat-list-users-queries 2022-08-30 13:19:56 +04:00
Matej Bačo 087b7df52a Failure tests for variables 2022-08-30 07:53:16 +00:00
Matej Bačo 79eb351381 Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-29 10:08:44 +00:00
Matej Bačo 3ab275201a Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-29 09:33:18 +00:00
Matej Bačo 56282fb2fa Fix users logs test 2022-08-29 09:16:18 +00:00
Matej Bačo 951ed70fb0 Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-29 08:56:14 +00:00
Matej Bačo 889eaff418 Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-29 08:52:28 +00:00
Jake Barnby ccfd104545
Allow guest write scope for document, file and execution 2022-08-29 17:53:37 +12:00
Jake Barnby 3a5db3e45f Add flaky test to account update password 2022-08-28 12:45:37 +12:00
Jake Barnby 44970cc628 Sync master 2022-08-28 11:01:46 +12:00
Christy Jacob f6e7d00b1e Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-list-users-queries 2022-08-27 20:21:51 +00:00
Jake Barnby 0389be522e Only give current user create access in create collection test 2022-08-27 20:29:32 +12:00
Jake Barnby 790276fced Review test updates 2022-08-27 15:16:37 +12:00
Matej Bačo dca0b211f6 Implement queries into list variables 2022-08-26 13:38:39 +00:00
Jake Barnby bbeeb356ab Allow flaky tests to be automatically retried with an attribute 2022-08-26 21:21:08 +12:00
Matej Bačo 3b7ac045d7 Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-26 07:51:54 +00:00
Matej Bačo 7f0507473d Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries 2022-08-26 07:47:42 +00:00
Matej Bačo 281eb2fafe Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-26 07:40:35 +00:00
Steven 60a4563908 Fix usage tests 2022-08-25 22:15:11 +00:00
Matej Bačo 6dcfbe2e17 Fix tests 2022-08-25 11:33:34 +00:00
Jake Barnby a373297a6b Add storage tests for all roles and permission levels 2022-08-25 23:29:23 +12:00
Matej Bačo 9d440552bd Merge remote-tracking branch 'origin/feat-list-endpoints-queries' into feat-variables-api 2022-08-25 10:02:27 +00:00
Matej Bačo c85363f355 Fix bugs after merge 2022-08-25 09:59:28 +00:00
Matej Baco 8513bb2dbe Merge branch 'feat-list-endpoints-queries' into feat-variables-api 2022-08-25 11:14:42 +02:00
Matej Baco fd1068a600 Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries 2022-08-25 10:56:06 +02:00
Matej Baco c6e614d896 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-25 10:38:43 +02:00
Jake Barnby 625608804e Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# 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/storage.php
#	app/workers/builds.php
#	src/Appwrite/Stats/Usage.php
#	src/Appwrite/Usage/Calculators/Database.php
2022-08-25 18:21:15 +12:00
Steven fc38771d69 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-24 18:52:39 +00:00
Matej Bačo b765ad603d Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-24 14:12:41 +00:00
Jake Barnby e0a1f4b8fe Database test updates 2022-08-25 01:32:52 +12:00
Matej Bačo 25590cc210 Add list queries test for databases 2022-08-24 12:43:07 +00:00
Matej Bačo c3372e4a1f Fix linter 2022-08-24 11:57:00 +00:00
Matej Bačo 22f05b4cf8 Include new tests, fix existing 2022-08-24 11:55:43 +00:00
Matej Bačo 4645fcd0c8 Fix tests 2022-08-24 10:31:47 +00:00
Matej Bačo bd7395cb44 Bug fixing, upgrade tests to new syntax 2022-08-24 09:22:13 +00:00
Jake Barnby 8841f8fe76 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-22 21:13:29 +12:00
Steven 146cb6a0d8 Fix list user logs tests 2022-08-19 23:31:02 +00:00
Steven a5bc07c9e4 Merge branch 'feat-list-users-queries' into feat-list-user-logs-queries 2022-08-19 22:00:54 +00:00
Steven f03510ef6b Fix test after merge 2022-08-19 21:09:50 +00:00
Steven c1cdad5566 Merge branch 'refactor-permissions-inc-console-fix' into feat-list-users-queries 2022-08-19 14:50:50 +00:00
Bradley Schofield 0d81918685 Merge remote-tracking branch 'origin/refactor-permissions-inc-console-fix' into feat-variables-api 2022-08-19 11:25:39 +01:00
Matej Bačo 30c157c23e Linter fix, update tests 2022-08-19 09:43:03 +00:00
Jake Barnby cb6fc7f618 Merge branch 'origin/datetime-attributes' into refactor-permissions-inc-console-fix
# Conflicts:
#	.gitignore
#	app/config/collections.php
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/api/users.php
#	composer.lock
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-08-19 16:49:34 +12:00
Jake Barnby 7019be987c Merge remote-tracking branch 'origin/0.16.x' into origin/datetime-attributes
# 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/account.php
#	app/controllers/api/users.php
#	app/controllers/shared/api.php
#	app/workers/deletes.php
#	composer.lock
#	docker-compose.yml
#	phpunit.xml
#	src/Appwrite/Event/Delete.php
2022-08-19 16:20:19 +12:00
Jake Barnby 66539bbe3a Review updates for role helper usage 2022-08-19 16:04:33 +12:00
Steven 27f69e3c09 Consolidate List User Logs API params
Replace limit and offset params with a single queries param since the
Queries V2 change now allows for different types of queries.
2022-08-19 00:09:34 +00:00
Steven f0d66985f7 Consolidate List Users API params
Replace search, limit, offset, cursor, cursorDirection, and orderType
params with a single queries param since the Queries V2 change now
allows for different types of queries.
2022-08-18 19:30:39 +00:00
Damodar Lohani 7c2ecaec4b correct function status 2022-08-18 05:13:30 +00:00
Damodar Lohani e63e79d3f9 linter fix 2022-08-18 01:50:55 +00:00
Damodar Lohani acd5dfc23f update functions test 2022-08-18 01:49:41 +00:00
Damodar Lohani 3e43424129 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-18 00:49:31 +00:00
Damodar Lohani b28d3ce302 fix usage test 2022-08-18 00:36:25 +00:00
fogelito c21b563614 Merge branch 'refactor-permissions-inc-console-fix' of github.com:appwrite/appwrite into datetime-jake-tz
 Conflicts:
	app/controllers/general.php
	composer.json
	composer.lock
2022-08-17 21:04:23 +03:00
Damodar Lohani fca655a48d function usage test 2022-08-17 10:36:30 +00:00
Damodar Lohani a1e6f7bdf4 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 09:34:40 +00:00
shimon 9c68cff317 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-file-cache-cleanup
 Conflicts:
	composer.json
	composer.lock
2022-08-17 11:16:09 +03:00
shimon 1e404e379b sync with 0.16 2022-08-17 10:59:23 +03:00
shimon 2dc8fba40a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/account.php
	app/controllers/api/users.php
	composer.json
	composer.lock
2022-08-17 10:05:37 +03:00
Damodar Lohani 80dfa85c82 Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-17 00:45:07 +00:00