prateek banga
d7c8562260
removes target controllers from account service
2023-08-25 16:02:46 +05:30
prateek banga
9567bf3943
Merge branch 'feat-mailgun-provider' into feat-topics-controller
2023-08-25 15:55:54 +05:30
prateek banga
c59887e8fb
fixes issue in sub queries
2023-08-25 15:55:04 +05:30
prateek banga
de6bcc1861
fixes test
2023-08-25 14:40:48 +05:30
prateek banga
24853004f9
Merge branch 'feat-mailgun-provider' into feat-topics-controller
2023-08-25 04:49:02 +05:30
prateek banga
9be0592dab
lint fix
2023-08-25 04:46:15 +05:30
prateek banga
a266682951
Merge branch 'feat-mailgun-provider' into feat-topics-controller
2023-08-25 04:44:13 +05:30
prateek banga
94b7f67e44
changes id to providerId for provider create controllers
2023-08-25 04:43:40 +05:30
prateek banga
d0c50403c8
adds test cases for topic controller
2023-08-25 04:36:41 +05:30
prateek banga
5960666068
added messaging base test
2023-08-25 03:09:12 +05:30
prateek banga
048e8e81ba
removes permission from provider controllers
2023-08-25 02:59:06 +05:30
prateek banga
33f4bd6ac4
adds custom id for provider controlers, fixes subquery
2023-08-25 02:32:51 +05:30
Matej Bačo
293e44e91e
Introduce SMTP ping timeout
2023-08-24 13:04:49 +02:00
prateek banga
a87745f685
fix tests
2023-08-24 15:37:59 +05:30
prateek banga
5ca8dc0a73
merge cl-1.4.x
2023-08-24 14:10:26 +05:30
Jake Barnby
0f36245f78
Fix message checks
2023-08-23 16:42:16 -04:00
prateek banga
a95c29d546
lint fix
2023-08-24 01:55:08 +05:30
prateek banga
ec54000263
adds test for target controllers
2023-08-24 01:54:25 +05:30
prateek banga
ac33d7828f
Revert "Pint linter ran"
...
This reverts commit bf5f0a8419
.
2023-08-24 01:53:52 +05:30
wess
bf5f0a8419
Pint linter ran
2023-08-23 13:12:43 -04:00
wess
eba91ae55a
Stubbing in tests and message builder
2023-08-23 12:22:04 -04:00
prateek banga
55d00d9afa
lint fix
2023-08-23 15:36:12 +05:30
prateek banga
c225563d77
adds test for provider controllers
2023-08-23 15:31:29 +05:30
Jake Barnby
e8ae7fb49a
Fix test wrong depends
2023-08-23 01:17:14 -04:00
Jake Barnby
c30b5b1a77
Fix missing var
2023-08-22 23:39:38 -04:00
Jake Barnby
08cc7e8c56
Fix status code check
2023-08-22 23:22:06 -04:00
Jake Barnby
20de675bae
Poll for deployments instead of sleeping
2023-08-22 23:12:04 -04:00
Jake Barnby
a1d62d8d42
Fix project test
2023-08-22 22:12:15 -04:00
Jake Barnby
43ba14fb75
Fix console tests
2023-08-22 21:35:00 -04:00
Jake Barnby
a84e669a1f
Add missing accessedAt values when creating users
2023-08-22 21:34:23 -04:00
Jake Barnby
24fcc360e2
GraphQL test fixes
2023-08-22 21:33:33 -04:00
Jake Barnby
efd25d6a70
Merge remote-tracking branch 'origin/feat-git-integration' into feat-framework-router-v2
...
# Conflicts:
# app/controllers/api/users.php
# composer.json
# composer.lock
# tests/e2e/Services/Storage/StorageBase.php
2023-08-22 17:58:42 -04:00
Jake Barnby
2edbb1269f
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
2023-08-22 16:02:29 -04:00
Jake Barnby
c929fe113e
Fix colliding ID overrides
2023-08-22 13:11:32 -04:00
Jake Barnby
b48a64d1ad
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
...
# Conflicts:
# app/controllers/api/functions.php
# composer.json
# composer.lock
# tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-22 00:59:36 -04:00
Jake Barnby
942705b5f3
Fix database upgrade
2023-08-21 23:25:55 -04:00
prateek banga
5e3065c30a
merge resolve conflicts
2023-08-21 14:07:18 +05:30
shimon
2b62149dda
Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-usage-rollback
2023-08-21 10:37:44 +03:00
Jake Barnby
a1b10ef7a8
Fix graphql tests
2023-08-20 13:40:44 -04:00
Jake Barnby
4c9c34d929
Fix console test
2023-08-20 13:21:14 -04:00
Jake Barnby
1e4a3cd020
Fix graphql test
2023-08-20 13:20:37 -04:00
shimon
8147f3ee7d
rolling back usage flow
2023-08-20 15:29:43 +03:00
Matej Bačo
5de7c24ee8
Fix more function tests
2023-08-19 13:37:45 +02:00
Matej Bačo
69cf0161ff
Fix more tests
2023-08-19 10:05:49 +02:00
Jake Barnby
2404352f3c
Fix more graphql tests
2023-08-19 01:59:36 -04:00
Jake Barnby
0f98199c85
Fix webhook test
2023-08-18 14:21:54 -04:00
Jake Barnby
4f59570738
Fix storage tests
2023-08-18 14:20:29 -04:00
Jake Barnby
e388f1f8e2
Remove redundant tests
2023-08-18 14:14:52 -04:00
Jake Barnby
f18fb13afd
Fix graphql tests
2023-08-18 13:52:03 -04:00
Jake Barnby
1e3fd5291e
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks
2023-08-18 13:25:21 -04:00
Jake Barnby
a848322687
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
...
# 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
# composer.json
# composer.lock
2023-08-18 13:23:35 -04:00
Jake Barnby
a77ff0a9b0
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
...
# 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
2023-08-17 19:54:25 -04:00
Jake Barnby
a88f90dd90
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
...
# 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
# composer.lock
2023-08-17 19:51:36 -04:00
Jake Barnby
92c39470be
Merge pull request #5800 from appwrite/fix-team-update-membership
...
Update method name for `updateMembershipRoles`
2023-08-17 19:43:56 -04:00
Jake Barnby
6ef5e8bd7e
Fix test
2023-08-17 19:08:30 -04:00
Jake Barnby
49b9003b7f
FIx test
2023-08-17 17:58:04 -04:00
Jake Barnby
3c3326260a
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
...
# Conflicts:
# composer.lock
2023-08-17 17:39:26 -04:00
Jake Barnby
8de0eefbaa
Lint
2023-08-17 17:38:05 -04:00
prateek banga
27df545fb7
Merge branch '1.4.x' of https://github.com/appwrite/appwrite into fix-5404-update-document-without-relation-permission
2023-08-17 19:15:33 +05:30
Jake Barnby
b6ffb385a7
Merge remote-tracking branch 'origin/cl-1.4.x' into fix-collection-disabled-mode-checks
...
# Conflicts:
# tests/e2e/Services/Databases/DatabasesConsoleClientTest.php
2023-08-16 15:55:19 -04:00
prateek banga
92e587769a
resolve merge conflicts
2023-08-16 15:16:45 +05:30
prateek banga
d6f4d76807
adds another scenario in test case
2023-08-16 14:57:50 +05:30
Matej Bačo
3a6f10fa62
Fix failing tests
2023-08-16 08:19:42 +02:00
Bishwajeet Parhi
42f1be0f6c
Update tests/e2e/Services/Teams/TeamsBaseServer.php
...
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-08-15 09:04:05 +05:30
Jake Barnby
ff6d3f39b1
Remove invalid test
2023-08-14 20:47:47 -04:00
Jake Barnby
c00c5119b2
Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums
2023-08-14 19:33:56 -04:00
Jake Barnby
0ca90cee6c
Fix test
2023-08-14 19:30:11 -04:00
prateek banga
cb6760a957
removes unnecessary use statement
2023-08-14 22:02:54 +05:30
prateek banga
8e1ef812d3
resolve merge conflicts
2023-08-14 21:59:24 +05:30
Damodar Lohani
9d15f70db5
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-framework-router-v2
2023-08-13 00:45:11 +00:00
Jake Barnby
7cd995ac3c
Apply suggestions from code review
2023-08-11 12:29:55 -04:00
Matej Bačo
897d299ae6
PR review changes, fixes from QA
2023-08-11 15:34:57 +02:00
prateek banga
29e1757364
lint fix
2023-08-11 17:28:32 +05:30
prateek banga
68736a53f9
Adds more complex test scenario
2023-08-11 17:25:34 +05:30
prateek banga
971ebbc686
fix test cases
2023-08-11 16:17:31 +05:30
Jake Barnby
6cd0e328d9
Review fixes
2023-08-10 16:44:38 -04:00
Bishwajeet Parhi
d0755a587f
Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums
2023-08-10 22:31:53 +05:30
prateek banga
40047a2ed3
fix test cases
2023-08-10 20:03:02 +05:30
prateek banga
8cefc54ca3
merge resolve conflicts
2023-08-10 17:22:15 +05:30
prateek banga
983c810a45
adds assertion in test case
2023-08-10 17:18:45 +05:30
prateek banga
02d4b6b612
fix test case by adding internal attributes
2023-08-10 15:14:23 +05:30
prateek banga
185d09d764
adds more queries in tests, upgrade db library
2023-08-10 00:11:18 +05:30
Matej Bačo
93735ac4a7
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
2023-08-09 12:30:45 +02:00
Jake Barnby
d2ef51551d
Merge branch 'cl-1.4.x' into feat-add-encrypt-param
2023-08-08 23:06:14 -04:00
prateek banga
4d03610755
resolve merge conflicts
2023-08-09 03:23:45 +05:30
Christy Jacob
82a206d808
Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data
2023-08-08 16:48:59 +00:00
prateek banga
ebcb43bbad
use getUser to fetch userId in test
2023-08-08 21:20:19 +05:30
Bishwajeet Parhi
b3e962ba05
Merge branch 'master' into feat-whitelist-enums
2023-08-08 11:35:36 +05:30
Bishwajeet Parhi
c3ebdc46e2
Merge branch 'master' into feat-add-encrypt-param
2023-08-08 11:04:28 +05:30
prateek banga
5baa0d674a
rename providers.php to authProviders.php in docs and test
2023-08-07 14:17:02 +05:30
Matej Bačo
906f86fbb8
Merge branch 'cloud-1.4.x' into feat-git-integration
2023-08-06 09:31:32 +02:00
Eldad A. Fux
a56f91b054
Merge branch 'master' into feat-5542-validate-x-appwrite-id-header-for-CreateFile
2023-08-05 06:36:21 +03:00
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x
2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2
2023-08-04 13:55:07 -07:00
Safwan Parkar
4a9af13f16
run formatter and linter
...
Run the composer format and lint commands, which I forgot to run before.
2023-08-04 23:41:29 +04:00
Safwan Parkar
0295c6ec1b
improve test by removing user creation loop
...
The CREATE TEAM MEMBERSHIP endpoint requires the email of the user to be added to the team. If the user does not exist in the project, a new user is created with the specified email and added to the team.
The first version of the test creates 5 users, and then adds them to the newly created team. This process is more streamlined now, by using the CREATE TEAM MEMBERSHIPS behaviour to create a user on the go and create a membership for them immediately after.
I also change the way I add user IDs to the array, by using the shorthand notation instead of the `array_push` function.
2023-08-04 23:17:41 +04:00
Safwan Parkar
451f4bee19
Fixed an incorrect test for team deletion
...
This commit contains changes in 3 places.
- First I changed the placement of an informative comment in the DELETE TEAM controller, and moved it outside of the loop. I did this when Steven pointed out that the behaviour I describe in the comment is for the whole loop.
- The second change is the removal of my first test. I was facing quite a few issues with creating users in the test, and ended up using the CREATE TEAM MEMBERSHIP to perform 2 actions at once -> create a new user if one doesn't exist with the provided email, and create a membership for the user. Before this approach, I had quite a bit of code that didn't work, and it seems like I removed some things that weren't supposed to be removed, and didn't change variable names where necessary. Anyway, I figured that the problem has something to do with the user being created on the client side, so I moved the test to the server side.
- The new test I implemented does the same thing as my previous failed test, but in more detailed and distinct steps. The test first creates 5 new users inside of a loop, and pushes each new user's ID to an array called 'new_users' if the response is as expected. Then a new team is created. The next step is to create memberships for all 5 users. If all these steps pass, the new team that was just created, is deleted, and we check to make sure the new users have 0 team memberships each.
Formatter and linter showed no errors. Tests were successful on localhost.
2023-08-04 15:40:42 +04:00
Safwan Parkar
06e1191063
added test
2023-08-04 00:34:01 +04:00
prateek banga
f797c2574a
resolve merge conflicts with 1.4.x
2023-08-03 17:38:22 +05:30
prateek banga
f8ae04f3b9
resolve merge conflicts with 1.4.x branch
2023-08-03 15:25:48 +05:30