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

2008 commits

Author SHA1 Message Date
Torsten Dittmann
5db924627a fix: tests 2022-11-15 16:28:33 +01:00
Torsten Dittmann
29edecf05d fix: tests 2022-11-15 16:19:13 +01:00
shimon
ee0950449a Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-15 17:17:58 +02:00
Torsten Dittmann
006cb4665e
Merge pull request #4674 from appwrite/fix-usage-executions
Fix: usage executions
2022-11-15 15:39:12 +01:00
Torsten Dittmann
344669db46
Merge pull request #4677 from appwrite/fix-realtime-console-project
chore: prepare release
2022-11-15 15:35:52 +01:00
Torsten Dittmann
10695a021a fix: usage tests timeout 2022-11-15 15:35:42 +01:00
Bradley Schofield
f5a4701944 Run Linter 2022-11-15 10:38:02 +00:00
Bradley Schofield
f0052cbd8e Update Tests 2022-11-15 10:31:32 +00:00
Bradley Schofield
64b725a6f7 Update Defaults 2022-11-15 10:19:35 +00:00
Matej Bačo
e1ecf9aad7 Fix failing test 2022-11-15 09:41:55 +00:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +00:00
Christy Jacob
318ee64b93 fix: failing tests 2022-11-15 14:02:32 +05:30
Bradley Schofield
3c71164741 Merge branch '1.1.x' into feat-implement-session-length-api 2022-11-14 15:30:38 +00:00
Bradley Schofield
6260a1a156 change authDuration to duration and update tests 2022-11-14 13:00:50 +00:00
Bradley Schofield
60a63d9eb9 Update ProjectsConsoleClientTest.php 2022-11-14 11:43:28 +00:00
Bradley Schofield
43d4d6fec3 Address Eldad's Comments 2022-11-14 09:57:37 +00:00
Bradley Schofield
0b883df5ec Fix Tests 2022-11-14 09:42:18 +00:00
Matej Bačo
23258c6e43 Comment out Dart test 2022-11-12 13:56:23 +00:00
shimon
180262d166 Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-11 13:18:33 +02:00
shimon
df791068d6 enabling cached file permissions validation
via  storage::preview
2022-11-10 16:43:17 +02:00
Matej Bačo
192cf2e20d PR review changes + fix test 2022-11-10 12:04:49 +00:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
Torsten Dittmann
e315f5d2ac fix: database usage tests 2022-11-09 10:29:13 +01:00
Torsten Dittmann
4041c4964c tests: fix remaining tests for usage 2022-11-08 15:16:10 +01:00
Torsten Dittmann
1615121b3e tests: adapt to new response model 2022-11-08 14:38:43 +01:00
Torsten Dittmann
4befb19c35 feat: add databases and buckets to projects usage 2022-11-08 13:09:18 +01:00
Bradley Schofield
85cb520dd6 Fix testUpdateProjectAuthDuration 2022-11-07 11:14:01 +00:00
Christy Jacob
b7a24da288 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-11-05 18:06:44 +05:30
Bradley Schofield
4dfafd1169 Merge branch 'master' into feat-implement-session-length-api 2022-11-04 16:11:38 +00:00
Bradley Schofield
e1f9a8e0ce Clean up a couple things and fix tests 2022-11-04 14:48:29 +00:00
Jake Barnby
a47bfe71bf
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	composer.json
#	composer.lock
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-04 21:32:57 +13:00
Damodar Lohani
b66f932b3b Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-11-02 08:43:12 +00:00
Jake Barnby
0827d59f21
Merge remote-tracking branch 'origin/1.1.x' into fix-missing-deployment-attributes
# Conflicts:
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-02 13:33:10 +13:00
Bradley Schofield
cddacfbb78 Handle Eldad's Comments 2022-11-01 14:43:18 +00:00
Bradley Schofield
1eea8c6d8b Add Extra Tests 2022-11-01 11:34:56 +00:00
Bradley Schofield
5dc8a2dee0 Add Tests and fix bugs 2022-11-01 11:15:45 +00:00
Damodar Lohani
4d3ca5a064
revert back function test 2022-11-01 11:41:52 +05:45
Damodar Lohani
a97a476296
assert buildTime is greater than 0
(cherry picked from commit 24a140c3af)
2022-11-01 11:04:42 +13:00
geisterfurz007
e891424c17 fix: empty payload deleting single user session 2022-10-31 21:01:49 +01:00
Bradley Schofield
d34359fd49 Implement Variable Session Duration 2022-10-31 14:54:15 +00:00
Damodar Lohani
24a140c3af assert buildTime is greater than 0 2022-10-31 10:17:08 +00:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Damodar Lohani
4086ba93ad Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-10-31 06:36:26 +00:00
Jake Barnby
2bfbf4acaf
Add check to tests 2022-10-31 18:17:13 +13:00
Damodar Lohani
1e5c94c2c6
Merge branch 'master' into feat-usage-refactor 2022-10-28 13:17:52 +05:45
Jake Barnby
6234ff20f4
Add test for rate limit enforced when using graphql 2022-10-28 20:13:48 +13:00
Jake Barnby
db49e962f4
Use abuse status instead of dev/prod for graphql abuse check 2022-10-28 20:12:11 +13:00
Jake Barnby
e632731c4e
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support 2022-10-27 12:24:57 +13:00
Torsten Dittmann
eb31bfb78e
Merge pull request #4418 from appwrite/feat-deployment-buildtime
Add build time to deployments
2022-10-26 18:42:53 +02:00
Christy Jacob
c2be54ca7f
Revert "Fix usage on DB Pools" 2022-10-26 21:32:40 +05:30
Christy Jacob
3a857bb16e Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-usage-fix 2022-10-26 15:42:55 +00:00
Jake Barnby
9fbf8d6aee
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	tests/e2e/General/HTTPTest.php
2022-10-26 13:54:52 +13:00
Steven Nguyen
ab2bb8176c
Fix create deployment realtime not triggering
Because the deployment event was missing the project ID, the realtime
event never fired.
2022-10-25 13:38:04 -07:00
Christy Jacob
2d6a00e56f Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-db-pools 2022-10-25 19:26:23 +05:30
Jake Barnby
1f49985d26
Remove var dumps 2022-10-25 19:38:31 +13:00
Jake Barnby
e2a63c10a1
Fix spec tests 2022-10-25 12:37:19 +13:00
Jake Barnby
889db82ad4
Fix spec tests 2022-10-25 12:34:57 +13:00
Torsten Dittmann
461c12c7fe
Merge pull request #3701 from appwrite/feat-oauth-improvements
Feat: OAuth improvements
2022-10-24 17:57:40 +02:00
Damodar Lohani
be003bb5e6 fix openapi spec test 2022-10-24 02:23:26 +00:00
Damodar Lohani
8c3cfa877b open api schema validator changes 2022-10-23 07:18:52 +00:00
Damodar Lohani
5fe2102e26 remove redundant project 2022-10-21 07:25:42 +00:00
Jake Barnby
f9a32f6011
Fix reserved attribute selections 2022-10-21 13:53:54 +13:00
Jake Barnby
5a2dc60420
Fix options test 2022-10-19 22:23:08 +13:00
Bradley Schofield
fe4028f588 Add tests and add buildTime to worker 2022-10-19 02:43:40 +01:00
Jake Barnby
a2b1941a47
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CONTRIBUTING.md
#	composer.json
#	composer.lock
#	docs/references/teams/list-teams.md
2022-10-19 13:17:56 +13:00
Eldad Fux
9fd2cf35eb Enabled commented test 2022-10-18 14:53:29 +03:00
Damodar Lohani
1fdaaeef71 reduce waiting time 2022-10-18 06:19:57 +00:00
Damodar Lohani
d7f87051d6 fix test 2022-10-18 06:10:33 +00:00
Eldad Fux
65e004f145 Fixed health API and add new test endpoints 2022-10-17 14:43:57 +03:00
Jake Barnby
cecc6dada2
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# 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/init.php
#	composer.json
#	composer.lock
2022-10-17 12:04:13 +13:00
Piotr Rogowski
b65a8c86c5
Add tests 2022-10-15 22:09:10 +02:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Torsten Dittmann
d0aedf33ba
Merge pull request #4058 from appwrite/fix-deprecate-team-deletion-with-project
Deprecate team deletion with project
2022-10-14 11:19:27 +02:00
Jake Barnby
3f98cef633
Fix spec test 2022-10-14 14:40:34 +13:00
Jake Barnby
a99ade13c0
Don't flatten batch results 2022-10-14 14:33:42 +13:00
Jake Barnby
44e4f1e05b
Make param errors consistent 2022-10-14 13:18:08 +13:00
Jake Barnby
9ae9213a97
Disable custom entity tests 2022-10-12 21:49:58 +13:00
Jake Barnby
d5dd83ea91
Fix tests for union and none types 2022-10-11 12:34:43 +13:00
Jake Barnby
575b882b30
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	.github/workflows/tests.yml
#	composer.lock
2022-10-10 18:41:40 +13:00
Jake Barnby
f93099cbb6
Merge remote-tracking branch 'origin/1.1.x' into feat-integrate-messaging 2022-10-10 14:04:01 +13:00
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13:00
Jake Barnby
a247cc614f
Increase sleep 2022-10-10 11:28:26 +13:00
Akshay Rana
57bbf346aa added: test case - failure case to add same number to different user 2022-10-05 23:40:11 +05:30
Akshay Rana
737a0ab6d7 added: test case - update user phone number & user search by new phone number 2022-10-05 17:30:53 +05:30
Torsten Dittmann
0c99ceda92 Merge branch 'master' of https://github.com/appwrite/appwrite into 1.0.x 2022-10-04 12:18:43 +02:00
Matej Bačo
3da4b01f4e Deprecate team deletion with project 2022-10-03 08:06:48 +00:00
Matej Bačo
a55b149d6f Fix test 2022-10-03 07:54:55 +00:00
Matej Bačo
a883d3728f Allow teamId queries on listProjects 2022-10-03 07:16:49 +00:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13:00
Torsten Dittmann
fbbb150e86 Revert "Merge pull request #4041 from appwrite/revert-3789-feat-app-region"
This reverts commit 2117fa53f0, reversing
changes made to c634d12ef4.
2022-09-30 14:22:11 +02:00
Torsten Dittmann
e0b9f57d85
Revert "Feat app region" 2022-09-30 12:32:58 +02:00
Torsten Dittmann
d45464c6c8 fix: boolean attribute default value 2022-09-30 11:27:19 +02:00
Christy Jacob
258ba6e7b4
Merge pull request #3900 from appwrite/fix-team-get-membership-model
Add get team membership tests
2022-09-29 12:44:04 +05:30
Christy Jacob
a847064093 fix: failing tests 2022-09-28 00:59:51 +05:30
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
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
Christy Jacob
5b7b39a300
Revert "Fix Endpoint Order" 2022-08-16 12:29:03 +05:30
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
shimon
6fd01a6721 some fixes 2022-08-14 21:39:44 +03:00
Eldad Fux
95181546b4 Adpated tests 2022-08-14 21:09:24 +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
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
Jake Barnby
3611f9df94 Parameter order fix 2022-08-09 18:58:08 +12: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
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
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
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
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