1
0
Fork 0
mirror of synced 2024-08-04 04:52:03 +12:00
Commit graph

2265 commits

Author SHA1 Message Date
Torsten Dittmann
f388f3801a Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-migration-1.0.0 2022-09-14 09:28:25 +02:00
Jake Barnby
ce42915ce5
Fix messaging channels subscription count tests 2022-09-14 18:10:42 +12:00
Jake Barnby
696c4bfde3
Merge remote-tracking branch 'origin/0.16.x' into feat-grant-verified-dimension 2022-09-14 17:31:23 +12: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
cdb54bcc72
Merge pull request #3697 from appwrite/feat-response-filters-0.16.x
Feat response and request filters 0.16.x
2022-09-14 02:52:07 +04:00
Steven Nguyen
041066520f Fix some sdk methods for V15 request filter 2022-09-13 21:28:23 +00:00
Steven Nguyen
2da7da0558 Remove response parse of log $createdAt and $updatedAt 2022-09-13 21:18:13 +00:00
Christy Jacob
4260d01bb9 Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-migration-1.0.0 2022-09-14 02:38:14 +05:30
Steven Nguyen
717abccd10 Fix V15 response format for functions and executions 2022-09-13 20:43:46 +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
Jake Barnby
53e6a3e312
Add verified/unverified role tests 2022-09-14 00:45:57 +12: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
Steven Nguyen
9269fb0dfe Merge branch '0.16.x' into feat-response-filters-0.16.x 2022-09-13 03:54:11 +00:00
Steven Nguyen
c2dcd507b8 Rename req.env to req.variables in runtime container 2022-09-13 00:49:08 +00:00
Steven Nguyen
7f0d4e6c36 Merge branch '0.16.x' into feat-response-filters-0.16.x 2022-09-12 22:21:52 +00:00
Steven Nguyen
1d7c25354a Update response filters for usage 2022-09-12 22:15:13 +00:00
Steven Nguyen
79b57cf696 Update response filters for list models 2022-09-12 19:07:08 +00: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
Torsten Dittmann
22038daa0e chore: remove old broken migrations 2022-09-12 16:20:53 +02: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
Steven Nguyen
71206a9886 Update V15 response filter and add tests 2022-09-10 01:00:20 +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
668ebe4f41 Update V15 request filters for storage, teams, and users 2022-09-09 17:56:13 +00: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
Jake Barnby
7132e3a7f6
Assign member role for all of a users confirmed team memberships 2022-09-09 11:58:54 +12:00
Steven Nguyen
ddd15921a3 Update V15 request filters
Request filters are in place for the following services:
* account
* databases
* functions
* projects
2022-09-08 23:55:29 +00: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
Christy Jacob
687ba70f77
Merge pull request #3745 from appwrite/feat-release-preps
Feat: Release preparations
2022-09-01 14:00:11 +02:00
Matej Bačo
272c62e893 Format fix 2022-09-01 09:15:43 +00:00
Matej Bačo
0ce1e5fa51 Update realtime tests for new confirmation check 2022-09-01 09:15:09 +00:00
Matej Bačo
3bb836a101 Update tests to support new confirmation check 2022-09-01 09:09:38 +00:00
Matej Bačo
646bbdf489 Join tests to resolve race condition 2022-09-01 09:09:28 +00:00
Matej Bačo
ebdef8afa7 Linter fix 2022-09-01 05:26:49 +00:00
Matej Bačo
2386381d03 Fix tests 2022-09-01 05:26:16 +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
691b9ef417
Fix count name ref 2022-08-30 23:12:58 +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
b8f6393df6 PR review changes 2022-08-30 08:57:10 +00: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
Christy Jacob
8cacf91e09 feat: fix stats test namespace 2022-08-27 20:08:03 +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
55450a5ebc Add missing toString calls 2022-08-27 16:06:38 +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
Matej Bačo
11c8fccd88 PR review changes 2022-08-23 15:01:57 +00:00
Steven
66ff297103 Refactor Queries Validation 2022-08-22 19:16:20 +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
3890dea35b Add additional Validators for Queries 2022-08-19 23:20:22 +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
Eldad A. Fux
69a4f51d58
Merge pull request #3656 from appwrite/feat-functions-console-logs
Functions Console Logs Capture
2022-08-16 23:23:53 +03:00
Matej Bačo
4e7c976608 Fix node runtime test 2022-08-16 14:58:42 +00:00
Matej Bačo
7d9f973c62 Fix escaping, write tests for stdout/stderr, upgrade runtimes to V2 2022-08-16 14:49:08 +00:00
Matej Bačo
2814a6f680 Linter fix 2022-08-16 13:03:38 +00:00
Matej Bačo
3088535806 Added phone number to UsersAPI createUser + tests 2022-08-16 13:02:28 +00:00
Matej Bačo
1e96f8c3d9 Revert changes regarding AccountAPI createAccount 2022-08-16 12:05:46 +00:00
Jake Barnby
63977da7ee Lint 2022-08-16 23:39:57 +12:00
Jake Barnby
24af94c569 Fix tests 2022-08-16 23:29:11 +12:00
shimon
de42895096 fill gaps from merge 2022-08-16 14:27:50 +03:00
Jake Barnby
fb34ecfa7d Merge remote-tracking branch 'origin/0.16.x' into datetime-attributes-merge
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/databases.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/api/storage.php
#	app/controllers/api/teams.php
#	app/controllers/api/users.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
2022-08-16 19:20:26 +12:00
Christy Jacob
5b7b39a300
Revert "Fix Endpoint Order" 2022-08-16 12:29:03 +05:30
fogelito
f52d28e75f Auth tests 2022-08-15 22:18:37 +03:00
fogelito
9c82a842b6 tests for database + account 2022-08-15 19:08:17 +03:00
shimon
67d12d3120 some fixes 2022-08-15 15:16:32 +03:00
Jake Barnby
564f5dbf64 Find replace fix 2022-08-15 23:40:41 +12:00
Jake Barnby
77a28a2de7 Don't use ID helper with existing ID's 2022-08-15 23:24:31 +12:00
shimon
0dc485d8d7 some fixes 2022-08-15 12:05:41 +03:00
Jake Barnby
33970276b2 Self review 2022-08-15 19:20:10 +12:00
Christy Jacob
794f07c3b0 feat: accounts test 2022-08-15 12:13:09 +05:30
Damodar Lohani
5472898759 fix naming 2022-08-15 00:50:51 +00:00
shimon
cabe989555 some fixes 2022-08-14 22:42:20 +03:00
Eldad Fux
9b897629ba Fixed code generator 2022-08-14 21:57:23 +03:00
shimon
6fd01a6721 some fixes 2022-08-14 21:39:44 +03:00
Eldad Fux
fbd5835bd9 Fixed test 2022-08-14 21:33:52 +03:00
Eldad Fux
95181546b4 Adpated tests 2022-08-14 21:09:24 +03:00
Eldad Fux
bd77354926 Fixed test 2022-08-14 20:22:01 +03:00
Eldad Fux
be36b31c4e Added missing test for new codeGenerator 2022-08-14 19:53:55 +03:00
Eldad Fux
22c38a484f Merge branch 'feat-password-hash-algos' of https://github.com/appwrite/appwrite into feat-missing-phone-param 2022-08-14 19:43:53 +03:00
Eldad Fux
7d83f9d644 Removed import path 2022-08-14 19:29:07 +03:00
Eldad Fux
98fc8669e1 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-password-hash-algos 2022-08-14 19:23:30 +03:00
Jake Barnby
613a0f8006 ID and test fixes 2022-08-15 02:22:38 +12:00
Eldad Fux
b36c24c508 Decouple Auth code from SMS provider adapter 2022-08-14 17:19:58 +03:00
Eldad Fux
25f176875d Changed provider name from phone to sms 2022-08-14 16:43:41 +03:00
Jake Barnby
9c260164ef Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/api/storage.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2022-08-14 23:46:34 +12:00
Damodar Lohani
e75dace600 fix storage usage test to match response 2022-08-14 11:19:24 +00:00
Damodar Lohani
cf86481d31 fix test to use updated response model 2022-08-14 11:16:54 +00:00
Jake Barnby
6a5de3e0b6 Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
# Conflicts:
#	app/config/collections.php
#	app/controllers/api/databases.php
#	app/controllers/api/projects.php
#	app/controllers/api/teams.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Account/AccountBase.php
#	tests/e2e/Services/Databases/DatabasesBase.php
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
#	tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
#	tests/e2e/Services/Storage/StorageBase.php
#	tests/e2e/Services/Storage/StorageCustomClientTest.php
#	tests/e2e/Services/Storage/StorageCustomServerTest.php
#	tests/e2e/Services/Teams/TeamsBase.php
#	tests/e2e/Services/Webhooks/WebhooksBase.php
#	tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
#	tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
#	tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95 ID updates 2022-08-14 22:33:36 +12:00
Steven
610ec1a6a4 Update database query syntax 2022-08-14 05:44:55 +00:00
Jake Barnby
fe5d3a1892 Use permission helpers 2022-08-14 17:21:11 +12:00
Jake Barnby
2ca2f4e135 Update audits 2022-08-14 03:17:18 +12:00
Jake Barnby
70758927cd Test fixes 2022-08-14 02:55:15 +12:00
Jake Barnby
ed712fb196 Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
# Conflicts:
#	app/controllers/general.php
#	composer.lock
2022-08-14 02:31:06 +12:00
Jake Barnby
68cc919aaa Test fixes 2022-08-14 02:10:28 +12:00
Eldad A. Fux
a91584853c
Merge pull request #3558 from appwrite/fix-teams-roles-no-owner
Fix teams roles no owner
2022-08-13 12:37:11 +03:00
Eldad A. Fux
ba239de8be
Merge branch '0.16.x' into fix-unit-tests 2022-08-13 12:28:33 +03:00
Damodar Lohani
74a159ab99 fix key 2022-08-13 03:44:57 +00:00
Eldad Fux
3c7a7f0fa4 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-08-13 06:21:50 +03:00
Steven
1abe9d4c01 Merge branch '0.16.x' into fix-datetime-attributes 2022-08-12 22:54:33 +00:00
Christy Jacob
9693c6e941 Merge branch 'master' of github.com:appwrite/appwrite into 0.16.x 2022-08-12 21:44:36 +05:30
Jake Barnby
8d4191b1a0 Lint 2022-08-13 02:46:50 +12:00
Jake Barnby
09b001e891 PR fixes 2022-08-13 02:41:57 +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
5c6cb2a422 Test fixes 2022-08-13 00:49:57 +12:00
Jake Barnby
c104860448 Use roles validator for function execution 2022-08-13 00:23:58 +12:00
Jake Barnby
1d7c25b561 Single role per permissions entry 2022-08-12 22:36:59 +12:00
Damodar Lohani
b5f5aff626 fix response and project usage issues 2022-08-11 06:05:38 +00:00
Damodar Lohani
73f675aebe Merge branch 'feat-audits-label' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-11 01:15:29 +00:00
Bradley Schofield
c566f1e7c9 Fix Tests 2: Electric Boogaloo 2022-08-10 10:32:48 +01:00
shimon
d31c23d25a Merge branch '0.16.x' of github.com:appwrite/appwrite into feat-audits-label
 Conflicts:
	app/controllers/api/databases.php
2022-08-10 12:18:05 +03:00
Jake Barnby
25e893f712 Revert sdk-generator to master 2022-08-10 18:02:23 +12:00
Bradley Schofield
42e0895dad Fix Tests 2022-08-09 16:29:24 +01:00
Bradley Schofield
6882ffaa00 Merge branch '0.16.x' into feat-variables-api 2022-08-09 13:37:24 +01:00
fogelito
db5d737235 Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
 Conflicts:
	tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Jake Barnby
a61fd030ff Fix storage tests 2022-08-09 19:11:30 +12:00
Damodar Lohani
cf369a9f12 rename test 2022-08-09 07:04:59 +00:00
Jake Barnby
3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12:00
Damodar Lohani
bce998cb53 update imports and fix database usage 2022-08-09 06:28:38 +00:00
Jake Barnby
216486a4c6 Fix DB tests 2022-08-09 18:03:41 +12:00
Jake Barnby
fa61dada55 Fix erroneous whitespace 2022-08-09 14:48:56 +12:00
Jake Barnby
cb7bafbdc0 Storage test fixes 2022-08-08 23:00:15 +12:00
Jake Barnby
8317b167ce Databases test fixes 2022-08-08 23:00:03 +12:00
Damodar Lohani
ff794dc215 commenting out functions stat test as it seems to be inconsistent 2022-08-08 02:20:18 +00: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
Damodar Lohani
34794d2554 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-08-04 06:03:39 +00:00
Jake Barnby
d9f0ece812 Remove new properties from DB level 2022-08-04 12:08:16 +12:00
Bradley Schofield
2650706be1 Run Linter 2022-08-03 13:35:11 +00:00
Bradley Schofield
f62ad19ecd Fix old function tests 2022-08-03 13:32:50 +00:00
Jake Barnby
1f0b55bfed Update execute permission refs 2022-08-03 22:11:39 +12:00
Jake Barnby
7b9fb32fae Update role references 2022-08-03 21:52:34 +12:00
Bradley Schofield
67fa3f728c Run Linter 2022-08-03 10:13:34 +01:00
Jake Barnby
1ab86c9331 Role reference updates 2022-08-03 16:17:49 +12:00
Bradley Schofield
452a8512c4 Add Tests 2022-08-02 16:11:15 +00:00
Jake Barnby
ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Jake Barnby
4520114780 Refactor storage to use new permissions 2022-08-02 21:19:15 +12:00
Jake Barnby
9a182d615a Refactor databases to use new permissions 2022-08-02 21:18:49 +12:00
fogelito
3df0ba27fd testPersistantCreatedAt 2022-08-01 17:00:57 +03:00
Torsten Dittmann
6db2ce2a40 fix: datetime structure validator 2022-08-01 13:43:30 +02:00
Torsten Dittmann
bf9533007b tests: fix unit tests 2022-08-01 12:22:04 +02:00
fogelito
13474985dc tests need to fix error 500 on line 2096 2022-07-31 16:06:50 +03:00
fogelito
468692f5e4 some more tests 2022-07-31 15:32:41 +03:00
fogelito
d6760bfbee fix tests $created and datetime queries 2022-07-31 13:07:15 +03:00
fogelito
a587547e2c queries tests for datetime and more 2022-07-28 18:24:17 +03:00
fogelito
ba40ac4e90 Change models Class name 2022-07-28 13:26:22 +03:00
Damodar Lohani
e922c9bc72 make tests dependent 2022-07-28 09:01:03 +00:00
Damodar Lohani
a0df8e7989 make test dependent 2022-07-28 07:28:00 +00:00
Damodar Lohani
62e1f8e96d fix missing semi-colon 2022-07-27 08:31:59 +00:00
Damodar Lohani
04eeb28c62 refactor to back 2022-07-27 08:28:23 +00:00
Damodar Lohani
85256f545c remove teardown 2022-07-27 08:14:31 +00:00
Damodar Lohani
e9bbcc9135 create project only once 2022-07-27 08:14:16 +00:00
Damodar Lohani
c823ca7ac6 make dependent to create only one project 2022-07-27 08:13:20 +00:00
Damodar Lohani
f85497a421 function test 2022-07-27 08:05:50 +00:00
Jake Barnby
1e95279fc0 Fix role checks 2022-07-27 20:01:37 +12:00
Matej Bačo
4bc645074a Fix linter 2022-07-25 12:43:17 +00:00
Matej Bačo
dbccf39a9f Merge branch 'master' into feat-password-hash-algos 2022-07-25 12:37:07 +00:00
fogelito
3cc23c8e5b Add attribute datetime 2022-07-25 12:18:08 +03:00
fogelito
95fc47048a Add attribute datetime 2022-07-25 12:09:51 +03:00
fogelito
b58c04c28b Add attribute datetime 2022-07-25 11:53:41 +03:00
Jake Barnby
d69e77d572 Add additional batch tests 2022-07-25 11:20:04 +12:00
Fawzi E. Abdulfattah
9f45bce55f Fixing #3583 - create team membership to return added person name and email
Signed-off-by: Fawzi E. Abdulfattah <iifawzie@gmail.com>
2022-07-23 01:51:58 +02: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
4d729b9d39 Update Tests for Functions 2022-07-20 13:01:18 +01:00
Damodar Lohani
dea9aef965 convert execution/compute time to integer in test 2022-07-20 10:25:48 +00:00
fogelito
169fb4d6f4 audit + abuse datetime changes 2022-07-19 17:52:06 +03:00
Jake Barnby
11ff88e44f Add account benchmarks 2022-07-20 01:30:01 +12:00
Jake Barnby
b4b76b72ff Update framework branch 2022-07-20 01:29:15 +12:00
Jake Barnby
2d0bc9c193 Add get tests 2022-07-19 14:11:58 +12:00
Damodar Lohani
3d5c8b0053 fix naming of keys 2022-07-19 01:55:35 +00:00
Jake Barnby
37c832134b Encode get query params for test 2022-07-19 13:41:31 +12:00
Jake Barnby
d3565b673e Add get route test 2022-07-19 13:31:14 +12:00
Bradley Schofield
74a53af316 Fix Tests 2022-07-18 14:22:23 +01:00
Jake Barnby
404ed4cb1f Update benchmarks 2022-07-19 00:44:02 +12:00
Jake Barnby
604396a029 Increase function deployment sleep time to reduce test flakiness 2022-07-18 22:35:34 +12:00
Jake Barnby
e3bed0c636 Test fixes 2022-07-18 21:38:13 +12:00
Jake Barnby
2b8e992646 Add roles to create team test 2022-07-18 21:26:58 +12:00
Jake Barnby
adbb1a1d79 Account for limit param when calculating query complexity 2022-07-18 19:30:54 +12:00
Jake Barnby
410d9b0f0c Use statics for anonymous functions 2022-07-18 14:53:49 +12:00
Damodar Lohani
ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Damodar Lohani
9fe6c0a3c0 functions test 2022-07-17 09:33:24 +00:00
Damodar Lohani
e405e35736 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-usage-updates 2022-07-17 08:48:19 +00:00
fogelito
bded3da5df Fix comments 2022-07-14 17:56:50 +03:00
fogelito
1b74473421 remove comments 2022-07-14 16:51:47 +03:00
fogelito
97250d8193 Merge remote-tracking branch 'origin/origin/datetime-attributes' into origin/datetime-attributes 2022-07-14 16:35:25 +03:00
fogelito
0816dd15f9 remove comments 2022-07-14 16:12:44 +03:00
Torsten Dittmann
5604a6837f Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-07-14 14:14:05 +02:00
Jake Barnby
221e7b59c4 Add abuse test 2022-07-14 20:11:39 +12:00
Jake Barnby
13ff5ca45e Add malformed request body tests 2022-07-14 15:58:17 +12:00
Jake Barnby
c154ea3fc6 Add benchmark scripts 2022-07-14 13:47:32 +12:00
fogelito
30054d177b web hook test for joined 2022-07-13 19:28:03 +03:00
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
fogelito
76b65c5dea change test validations from strings to datetime 2022-07-13 16:55:57 +03:00
Jake Barnby
814298c549 Remove redundant injections 2022-07-14 01:38:16 +12:00
fogelito
7ab26e5b0d change test validations from strings to datetime 2022-07-13 15:51:27 +03:00
Jake Barnby
4ca6750309 Cleanup controller 2022-07-13 23:21:02 +12:00
Jake Barnby
a656699fa7 Code cleanup 2022-07-13 21:34:56 +12:00
Jake Barnby
92c8e2c3a1 Fix flaky function deployment timing 2022-07-13 19:48:01 +12:00
Jake Barnby
306f89ff94 Fix database client test 2022-07-13 19:45:54 +12:00
Jake Barnby
83dfbf377d Fix database delete query 2022-07-13 19:38:44 +12:00
Jake Barnby
0f2cb5ed0d Add scope specific tests 2022-07-13 19:38:23 +12:00
Jake Barnby
d7a1b7b3fc Add auth specific tests 2022-07-13 19:38:11 +12:00
Jake Barnby
ac8e47ac2d Lint 2022-07-13 17:21:41 +12:00
Jake Barnby
4732127777 Fix parameters 2022-07-13 17:06:48 +12:00
Jake Barnby
bf284f4fde Add content-type tests 2022-07-13 15:50:25 +12:00
fogelito
fc39281bdb change test validations from strings to datetime 2022-07-12 21:12:35 +03:00
fogelito
2a9983032d change test validations from strings to datetime 2022-07-12 20:51:00 +03:00
fogelito
f676a0bf9e change test validations from strings to datetime 2022-07-12 19:44:58 +03:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
Jake Barnby
10a5c24a63 Format and lint 2022-07-12 09:52:00 +12:00
Jake Barnby
7259f21cf1 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.lock
2022-07-12 09:18:58 +12:00
Torsten Dittmann
648b6f2038
Merge pull request #3532 from appwrite/fix-permission-array-lengths
Fix: Permissions validator max-length
2022-07-11 13:16:55 +02:00
Torsten Dittmann
f53b5121af
Merge pull request #3519 from appwrite/feat-improve-dates-tests
Implemented updateDocument date tests
2022-07-11 12:12:12 +02:00
Matej Bačo
aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
Damodar Lohani
1c5e84324b functions test 2022-07-10 02:12:49 +00:00
Matej Bačo
8fa227f3da New date test 2022-07-08 09:38:49 +00:00
Matej Bačo
76921ced71 Implemented updateDocument date tests 2022-07-08 09:36:19 +00:00
Jake Barnby
da71aec774 Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
2022-07-08 17:50:16 +12:00
Steven
3666d0ab73 Add alias for POST /v1/account/sessions/email
Add /v1/account/sessions as an alias for POST /v1/account/sessions/email
for backwards compatibility.
2022-07-07 22:23:52 +00:00
fogelito
e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
fogelito
05f8352837 test fix 2022-07-07 11:07:42 +03:00
Jake Barnby
ae32d89a0f Formatting 2022-07-07 19:55:07 +12:00
fogelito
29436c1e5f Datetime change for joined and invited 2022-07-07 10:44:28 +03:00
Jake Barnby
b5e8273839 Fix custom entity id properties 2022-07-07 19:39:42 +12:00
Jake Barnby
5e02355215 Storage test fixes 2022-07-07 17:51:20 +12:00
Jake Barnby
a193f96b8d Functions tests fixes 2022-07-07 17:50:49 +12:00
Jake Barnby
d0f81c9621 Client database test fixes 2022-07-07 12:53:58 +12:00
fogelito
b01f4ed802 Unit Tests 2022-07-06 18:07:50 +03:00
fogelito
d7244bd9ba Tests 2022-07-06 17:47:34 +03:00
Torsten Dittmann
a02800695a
Merge pull request #3506 from appwrite/fix-realtime-manual-authentication
fix: realtime authentication on console
2022-07-06 13:50:22 +02:00
Torsten Dittmann
806a67b1b0 fix: realtime authentication on console 2022-07-06 12:53:30 +02:00
Jake Barnby
67807f8c6f WIP input file handling 2022-07-06 20:56:58 +12:00
Damodar Lohani
5d3c5a151f error checking and increase wait time 2022-07-06 05:16:25 +00:00
Jake Barnby
81265ab458 Fix custom entity tests 2022-07-06 17:12:12 +12:00
Steven Nguyen
ee4aff0ca4 Fix get collection usage alias 2022-07-06 04:07:53 +00:00
Jake Barnby
39233cfe1c Handle event validator parsing 2022-07-06 15:57:14 +12:00
Jake Barnby
99262e28fe Call server create bucket for client storage tests 2022-07-06 15:52:33 +12:00
Jake Barnby
ce3180433d Database query fixes 2022-07-06 15:52:06 +12:00
Jake Barnby
5ac634b68d Enable users update phone test 2022-07-06 15:51:49 +12:00
Jake Barnby
61035a98a6 Format 2022-07-06 15:51:37 +12:00
Damodar Lohani
4422613248 update tests with less waiting time 2022-07-06 01:56:47 +00:00
fogelito
ae4cb685c0 expire 2022-07-05 21:55:20 +03:00
fogelito
e034b4a331 unit auth 2022-07-05 19:57:19 +03:00
fogelito
2630d0b56c certificate getRenewDate 2022-07-05 19:29:12 +03:00
Damodar Lohani
c5b0a40279 fix linter errors 2022-07-05 07:11:27 +00:00
Damodar Lohani
e4144f2c64 remove dump 2022-07-05 07:05:06 +00:00
Damodar Lohani
ee6abd45db databases tests 2022-07-05 06:53:57 +00:00
fogelito
903ca342cb Model changes 2022-07-04 13:11:38 +03:00
fogelito
8628105eef Model changes 2022-07-04 12:55:11 +03:00
Damodar Lohani
f4d74c4935 namespace 2022-07-04 09:31:14 +00:00
Damodar Lohani
9486a6b2a3 storage usage tests 2022-07-04 09:00:07 +00:00
Jake Barnby
608ad18bb9 Add health service tests 2022-07-04 18:38:04 +12:00
Jake Barnby
cf1fe63a61 Revert status code checks for teams 2022-07-04 18:17:11 +12:00
Jake Barnby
4a0042f3d6 Add avatars service tests 2022-07-04 18:16:32 +12:00
Jake Barnby
c22ffc1dfe Add locale service tests 2022-07-04 18:16:16 +12:00