Commit Graph
31434 Commits
Author SHA1 Message Date
Eldad A. FuxandGitHub 04b8030a27 Merge pull request #5875 from appwrite/fix-aac-file-issue
audio/aac mime type added
2023-08-07 17:33:50 +03:00
Eldad A. FuxandGitHub 4b7cd5c372 Merge pull request #5715 from appwrite/fix-phone-abuse-param
fix: abuse label for creating phone session
2023-08-07 15:16:40 +03:00
Bradley Schofield f27345fb92 Update SDK 2023-08-07 11:56:42 +01:00
prateek banga be1afc61b0 rename provider model to AuthProvider 2023-08-07 16:19:55 +05:30
prateek banga 9057a50a10 rename provider param in config 2023-08-07 15:54:00 +05:30
Damodar Lohani d4a1158f7e upgrade composer 2023-08-07 08:58:26 +00:00
prateek banga 5baa0d674a rename providers.php to authProviders.php in docs and test 2023-08-07 14:17:02 +05:30
Damodar Lohani a6109a0341 Merge remote-tracking branch 'origin/1.4.x' into feat-framework-router-v2 2023-08-07 08:42:04 +00:00
Damodar Lohani 72ebccfd7f update assistant 2023-08-07 07:55:24 +00:00
Matej Bačo 2bbdbaebd3 Upgrade SDKs 2023-08-06 21:14:25 +02:00
Matej Bačo d678d626fc Improve CI/CD logs 2023-08-06 15:55:41 +02:00
Matej Bačo 3b15dccc84 More QA fixes 2023-08-06 15:42:18 +02:00
Matej Bačo d5fd3a28f9 More QA fixes 2023-08-06 15:11:30 +02:00
Matej Bačo 345df3f2ca More QA fixes 2023-08-06 12:30:38 +02:00
Matej Bačo e60456cfda QA after merge with 1.4 2023-08-06 10:51:53 +02:00
Matej Bačo 906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Khushboo Verma 6cb5af2457 Update Comment Table 2023-08-06 02:10:53 +05:30
Matej Bačo 3ae86faf66 Revert "code cleanup"
This reverts commit c36d1ccdb7.
2023-08-05 20:54:40 +02:00
Matej Bačo c36d1ccdb7 code cleanup 2023-08-05 20:54:21 +02:00
Matej Bačo eb63ec9b10 Support failure url on vcs 2023-08-05 20:53:42 +02:00
Matej Bačo 75b8da6f1f Fix domain names 2023-08-05 17:16:25 +02:00
Matej Bačo e8270834c7 Code cleanup 2023-08-05 17:14:32 +02:00
Matej Bačo 8a9f3f1b54 Update build to use 1 logs attribute 2023-08-05 16:50:28 +02:00
Eldad A. FuxandGitHub a7094310d7 Merge pull request #5550 from Suven-p/feat-5542-validate-x-appwrite-id-header-for-CreateFile
Validate value of x-appwrite-id header
2023-08-05 13:23:52 +03:00
Eldad A. FuxandGitHub a56f91b054 Merge branch 'master' into feat-5542-validate-x-appwrite-id-header-for-CreateFile 2023-08-05 06:36:21 +03:00
Eldad A. FuxandGitHub 06570a081a Merge pull request #5928 from safwanyp/fix-5517-fix-stale-team-memberships-on-user
Fixed bug where memberships remained after a team is deleted
2023-08-05 06:34:48 +03:00
Eldad A. FuxandGitHub 702424ed31 Merge pull request #5694 from Miguelii/fix-5693-portuguese-email-template-missing-word
Added missing word to portuguese email template
2023-08-05 06:32:11 +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 57b031d7f5 Publicly allow filtering on identities.providerAccessTokenExpiry
This will allow developers to set up a job to find expired access tokens
so they can refresh them.
2023-08-04 15:07:36 -07:00
Steven Nguyen cb7abdb906 Remove identity status
Until we have a clearer picture of why we need it, it would be best to
remove it since it's easier to add it later than to remove it after it's
released.
2023-08-04 15:07:36 -07:00
Steven Nguyen bcd44432d1 Don't set password when oauth2 creates a user
Setting a password can cause problems with other APIs that expect the
password to be null. In addition, it doesn't match the implementation
for the other APIs that create a user without a password (Create Magic
URL Session, Create Phone Session, Create Anonymous Session, etc).
2023-08-04 15:07:36 -07:00
Steven Nguyen 9ac4c998ae Ensure a user's identities are deleted when user is deleted 2023-08-04 15:07:36 -07:00
Steven Nguyen 27e212553d Separate OAuth2 info from Sessions into Identities
This allows us to retain the OAuth2 info even if the session is
deleted. This also provides a foundation for allowing multiple emails,
phone numbers, etc, not from an OAuth2 provider.
2023-08-04 15:07:36 -07:00
Steven Nguyen d1c0bccb59 Merge tag '1.3.8' into cloud-1.3.x 2023-08-04 14:12:58 -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
Bradley Schofield 84b159938e Regenerate Specs 2023-08-04 17:23:42 +01:00
Bradley Schofield 8f5d79e668 Move to new branch 2023-08-04 17:21:41 +01:00
Bishwajeet Parhi dfc7ab97ab update spec files 2023-08-04 19:28:38 +05:30
Bishwajeet Parhi 5f1a515f00 Merge remote-tracking branch 'upstream/1.4.x' into feat-whitelist-enums 2023-08-04 19:20:44 +05:30
prateek banga 4ca798f4d7 fix lint issues 2023-08-04 19:01:55 +05:30
prateek banga 867f3e8c08 adds messaging providers rename providers.php to authProviders.php 2023-08-04 19:00:08 +05:30
Damodar Lohani 767a3caef8 remove unused injection 2023-08-04 13:17:23 +00:00
Damodar Lohani cd18853fed add abuse labels 2023-08-04 13:16:57 +00:00
Damodar Lohani 64321cfb0b remove authorization 2023-08-04 13:08:59 +00: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
prateek banga 19fd30d6d8 fix lint issues 2023-08-04 15:01:26 +05:30
prateek banga 13e73d8558 add scopes required for messaging service 2023-08-04 14:55:03 +05:30
prateek banga 4dc8976863 add queries type for sdk generation 2023-08-04 14:53:56 +05:30