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

2363 commits

Author SHA1 Message Date
fogelito
48e2bf1c3e Helpers GraphQL 2023-01-16 11:25:40 +02:00
fogelito
c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
Damodar Lohani
4f35353289 Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary 2023-01-16 05:09:55 +00:00
Damodar Lohani
fe472e5b36 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-password-history 2023-01-16 05:04:13 +00:00
Bradley Schofield
7910149053 Remove tests and update other references to old validators 2023-01-13 15:42:29 +00:00
Bradley Schofield
31b718d829 Replace Appwrite Validators with backported Utopia ones
+ Updated Utopia Framework to 0.26.0
+ Replaced Appwrite Validators with Utopia ones
2023-01-13 15:28:04 +00:00
Steven Nguyen
be77b10549
Add flutter-web as a platform type
Having a dedicated type for flutter-web will allow us to differentiate
between Flutter Web and Web in the Appwrite Console.
2023-01-11 15:47:49 -08:00
Damodar Lohani
34b2280207 fix format 2023-01-09 09:18:13 +00:00
Damodar Lohani
5088c9ea99 simple test 2023-01-09 09:17:45 +00:00
Matej Bačo
d722bf01ea Code review changes 2022-12-27 11:40:24 +01:00
Matej Bačo
02d86cee84 Fix bug and update test 2022-12-27 11:33:38 +01:00
Matej Bačo
39cb846ae0 Fix failing test 2022-12-27 09:09:47 +01:00
Matej Bačo
ccc9432219 Merge branch 'master' into fix-1.2.x-conflicts 2022-12-27 08:29:10 +01:00
Damodar Lohani
96cf2e6330 password dictionary test 2022-12-26 10:27:04 +00:00
Damodar Lohani
f03035451f fix test 2022-12-26 10:22:25 +00:00
Damodar Lohani
e9710bdb76 formatting fix 2022-12-26 05:47:20 +00:00
Damodar Lohani
124403b804 test for password discionary 2022-12-26 05:46:35 +00:00
Jake Barnby
e86994b597
Add retries for flaky tests 2022-12-22 16:12:45 +13:00
Jake Barnby
6adbeb8b0d
Revert test change 2022-12-22 15:32:14 +13:00
Jake Barnby
dc49e1dcf3
Update user test type 2022-12-22 12:52:54 +13:00
fogelito
b301a64dc4 clean up some use classes not in use 2022-12-21 10:02:22 +02:00
Damodar Lohani
772481451c test to set password history limit above 20 2022-12-21 06:42:27 +00:00
Christy Jacob
37ce513b87
Merge pull request #4341 from megatank58/patch-1
fix: correctly handle `=` in .env
2022-12-20 16:32:29 +05:30
Christy Jacob
cb0a927e34
Merge pull request #4050 from geisterfurz007/fix-3916-empty-payload-returned-as-object
fix: empty payload returned as list
2022-12-20 13:37:24 +05:30
Christy Jacob
6b31edfdef
Merge pull request #4506 from karniv00l/user-not-found-exception
Fix User not found exception
2022-12-20 13:25:35 +05:30
fogelito
dfd122efaa Change Client data hint 2022-12-19 13:25:01 +02:00
fogelito
91e17e4e94 remove static $dateValidator 2022-12-19 13:21:32 +02:00
fogelito
91db596b42 remove static $dateValidator 2022-12-19 13:21:09 +02:00
Damodar Lohani
b35e5a04be fix users endpoint test 2022-12-19 08:28:02 +00:00
Damodar Lohani
5b1c54c440 fix suggestions 2022-12-19 05:07:41 +00:00
Damodar Lohani
7a9b9f2710 remove test 2022-12-18 08:53:01 +00:00
Damodar Lohani
4abc30eed1 refactor: fix formatting issues 2022-12-18 06:31:14 +00:00
Damodar Lohani
0eae73e7b8 fix: password comparison 2022-12-18 06:27:41 +00:00
fogelito
bdc3e9f935 $dateValidator 2022-12-15 10:51:27 +02:00
fogelito
d7a833faef Changing Role + Permissions namespace 2022-12-14 18:07:45 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
Jake Barnby
ff33068906
Merge remote-tracking branch 'origin/1.2.x' into feat-graphql-support 2022-12-13 21:37:21 +13:00
Jake Barnby
cf9d67e9cc
Fix assoc input for account prefs 2022-12-13 20:04:05 +13:00
Jake Barnby
aa7e326ce9
Allow file uploads from explorer 2022-12-13 15:43:29 +13:00
Damodar Lohani
ca39ed37d8 reset limit on test 2022-12-12 05:02:48 +00:00
Damodar Lohani
3885e0452c fix: session limit test 2022-12-11 08:26:31 +00:00
Damodar Lohani
a6afc41c99 fix: update test 2022-12-11 07:15:47 +00:00
Damodar Lohani
cda8e53386 feat: add test for max sessions 2022-12-09 11:54:23 +00:00
Jake Barnby
fd52cdc45f
Revert prefix to _ 2022-12-08 16:08:57 +13:00
Jake Barnby
b6723b7c83
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/init.php
2022-12-06 20:38:09 +13:00
Jake Barnby
cefd5660b9
Merge remote-tracking branch 'origin/master' into fix-region-parameter
# Conflicts:
#	CHANGES.md
2022-11-25 10:42:27 +13:00
Jake Barnby
6070e1de54
Add defaulted region test 2022-11-25 10:37:11 +13:00
Matej Bačo
0cb2ed14f4
Improve tests 2022-11-24 12:40:17 +01:00
Matej Bačo
e7fc427291
Remove failing test 2022-11-21 15:10:55 +01:00
Jake Barnby
163cbc5052
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	composer.json
#	composer.lock
2022-11-17 21:41:56 +13:00
Jake Barnby
f9d2976c1d
Merge remote-tracking branch 'origin/1.1.x' into feat-graphql-support
# Conflicts:
#	CHANGES.md
#	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
#	app/tasks/sdks.php
#	composer.lock
#	docker-compose.yml
2022-11-16 19:37:35 +13:00
Jake Barnby
dd6c5c056f
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	CHANGES.md
2022-11-16 19:31:40 +13:00
Torsten Dittmann
912636b54c Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 18:22:49 +01:00
Torsten Dittmann
841c5479ed Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 16:39:52 +01:00
Torsten Dittmann
68e1a0b114 fix: remove unused import 2022-11-15 16:31:38 +01:00
Torsten Dittmann
1b533daeaa fix: remove manifest endpoint 2022-11-15 16:30:53 +01:00
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
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
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
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
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
Bradley Schofield
94676a6c16 Alter sessionVerify to remove expire 2022-11-04 09:50:59 +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
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
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
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
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
Damodar Lohani
b1f3fdce7a fix stats test 2022-10-18 02:26:28 +00:00
megatank58
819ba45836
chore(tests): add test case for value ending in = 2022-10-17 16:02:24 +05:30
megatank58
d1e9e7b396
chore(tests): update .env 2022-10-17 16:01:28 +05:30
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
Damodar Lohani
c635846dba fix missing import 2022-10-16 01:47:38 +00:00
Piotr Rogowski
b65a8c86c5
Add tests 2022-10-15 22:09:10 +02:00
Damodar Lohani
185b206076 fix moved constant 2022-10-14 11:23:20 +00: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
Christy Jacob
98bdcfe04e
Merge pull request #4292 from Akshay-Rana-Gujjar/fix-3810-incorrect-error-when-updating-phone-to-existing-number
fixed: wrong error message show on adding duplicate number to a user
2022-10-14 12:02:39 +04:00
Jake Barnby
a1718e8a44
Remove database dependency from mapper 2022-10-14 18:01:39 +13: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
4bc44183b6
Restructure type related helpers 2022-10-12 13:57:37 +13:00
Torsten Dittmann
e9ef7c0ecd
Merge pull request #4424 from appwrite/master
sync: 1.1.x <- master
2022-10-11 16:03:43 +02:00
Jake Barnby
20bee94175
Fix unit test 2022-10-11 14:20:19 +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
sooraj
49c0c2d996 change test case 2022-10-07 07:39:22 +05:30
Sooraj S
81fc5ee6b3
Merge pull request #1 from appwrite/master
new
2022-10-06 09:01:55 +05:30
Akshay Rana
57bbf346aa added: test case - failure case to add same number to different user 2022-10-05 23:40:11 +05:30
sooraj
62f63923c1 new test case 2022-10-05 19:40:05 +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
sooraj
91f16121d1 adding a test 2022-09-30 18:10:02 +05:30
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
Jake Barnby
6ac4d4f490
Handle response model union type rules 2022-09-30 19:59:20 +13: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
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
Christy Jacob
426f50c69c
Merge pull request #3852 from appwrite/fix-response-filters
Fix response filters
2022-09-23 11:28:34 +05:30
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
Steven Nguyen
2f08ec0926 Convert Document $collectionId in 0.15 response
Document $collection was renamed to $collectionId to match the naming
convention of referring to other resource IDs. This ensures backwards
compatibility.
2022-09-20 02:48:40 +00:00
Steven Nguyen
01f77fa993 Ensure empty datetimes are 0 in 0.15 response
Because empty datetimes are invalid, strtotime returned false so the
response was false rather than 0.
2022-09-20 02:48:40 +00: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
Torsten Dittmann
bb2b46cdc1 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-migration-1.0.0 2022-09-14 10:26:08 +02:00
Torsten Dittmann
3df89e65ca
Merge pull request #3816 from appwrite/feat-consistent-parent-id
Update document model
2022-09-14 10:25:36 +02:00
Torsten Dittmann
d0c3f52ab6 Merge branch '0.16.x' of https://github.com/appwrite/appwrite into feat-migration-1.0.0 2022-09-14 10:20:42 +02:00
Torsten Dittmann
f97280d071 tests: remove unnecessary import 2022-09-14 10:17:50 +02:00
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