1
0
Fork 0
mirror of synced 2024-07-06 15:11:21 +12:00
Commit graph

16697 commits

Author SHA1 Message Date
Damodar Lohani 2a7ec490af setup appwrite assistant for test 2023-08-03 10:29:36 +00:00
prateek banga f8ae04f3b9 resolve merge conflicts with 1.4.x branch 2023-08-03 15:25:48 +05:30
prateek banga 838991d68b update db, audit and abuse version 2023-08-03 15:24:08 +05:30
Eldad A. Fux 8ed4029169
Merge pull request #5867 from appwrite/feat-base-image-upgrade
test updated docker-base version
2023-08-03 10:30:04 +03:00
Steven Nguyen b8e22151f6
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-02 15:37:22 -07:00
Steven Nguyen b9c2b9322f
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-02 15:36:06 -07:00
Steven Nguyen 43d5c96f7d
Ensure a user's identities are deleted when user is deleted 2023-08-02 15:36:06 -07:00
Steven Nguyen a235024268
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-02 15:36:06 -07:00
Safwan Parkar 2bc2061f09 fix showing of stale team memberships 2023-08-02 18:44:43 +04:00
Damodar Lohani 078f7e58d6 Merge remote-tracking branch 'origin/master' into feat-sync-1.4-with-master 2023-08-02 09:43:09 +00:00
Safwan Parkar c5233d9ece removed unnecessary code 2023-08-02 12:18:21 +04:00
Eldad A. Fux 75894987f9
Merge pull request #5917 from appwrite/doc-dsn-url-encode
Update the docs for the _APP_SMS_PROVIDER env var
2023-08-02 08:43:58 +03:00
Eldad A. Fux be67fe96f6
Merge pull request #5922 from appwrite/feat-error-page
Style Appwrite Error Page
2023-08-02 08:43:03 +03:00
Eldad A. Fux 05a316bf48
Merge pull request #5895 from appwrite/feat-2591-improve-oauth2-error-handling
Improve OAuth2 error handling
2023-08-01 22:55:58 +03:00
Eldad A. Fux b86a62bb3b
Merge pull request #5918 from appwrite/fix-5717-duplicate-users-endpoint
Delete duplicate users endpoint
2023-08-01 22:46:19 +03:00
Safwan Parkar a45c62ab24 run composer scripts 2023-08-01 23:24:46 +04:00
Safwan Parkar 0fe59d457b fixed stale team memberships on user 2023-08-01 22:57:59 +04:00
Steven Nguyen ee6e65ffbc
Style appwrite error page 2023-08-01 11:23:27 -07:00
prateek banga fb3bab7e2e fix lint issues 2023-08-01 23:32:15 +05:30
prateek banga 40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
Christy Jacob fcd4a69ad1
Merge pull request #5924 from appwrite/christyjacob4-patch-1
fix: error in initialising the Exception constructor in api.php
2023-08-01 20:51:49 +04:00
Vincent (Wen Yu) Ge f6d2df8115
Update app/controllers/shared/api.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-08-01 12:21:34 -04:00
Christy Jacob 3b4255c457
fix: error in initialising the Exception constructor in api.php 2023-08-01 18:18:27 +05:30
fogelito e620525460 Extra line 2023-08-01 13:24:28 +03:00
fogelito aaa2f18bf9 uid varchar 2023-08-01 13:23:39 +03:00
fogelito 53a3f94c4a Merge branch '1.4.x' of github.com:appwrite/appwrite into v19-migration 2023-08-01 12:46:37 +03:00
fogelito c821282228 composer.lock 2023-08-01 12:46:09 +03:00
Eldad A. Fux 264c7bf9a9
Merge pull request #5916 from appwrite/fix-5913-dsn-with-special-chars
Update DSN to support special chars for user and password
2023-08-01 09:32:11 +03:00
Jake Barnby ff83751450
Allow privileged user/app user/admin mode access to all resources when disabled 2023-07-31 14:24:21 -04:00
Steven Nguyen eb7526601d
Delete duplicate 'Update Email Verification' endpoint 2023-07-31 11:00:30 -07:00
Steven Nguyen 5b36a820a4
Update the docs for the _APP_SMS_PROVIDER env var
To handle special characters like '@' or '/', the user
and secret values must be URL encoded.
2023-07-31 10:53:42 -07:00
Steven Nguyen b960634088
Update DSN to support special chars for user and password
Previously, DSN would not be able to parse special characters like "@"
or "/". This adds support by requiring the input to be url encoded and
then DSN would decode it after parsing.
2023-07-31 09:36:49 -07:00
Jake Barnby eac52463c2
Merge remote-tracking branch 'origin/1.4.x' into fix-collection-disabled-mode-checks 2023-07-31 11:18:16 -04:00
prateek banga 409376ef16 refactors checkPermission to throw exception when a change is found in updateDocument 2023-07-31 14:03:11 +05:30
Damodar Lohani 42e6400660 update base image 2023-07-30 01:29:18 +00:00
prateek banga f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
Eldad A. Fux a22685fd07
Merge pull request #5898 from appwrite/fix-5588-delete-org-and-project
Delete project when deleting org
2023-07-29 06:50:47 +03:00
Jake Barnby b615065fd2
Add tests for collection disabled 2023-07-28 11:51:11 -04:00
Jake Barnby aa94310259
Fix missing admin mode checks for collections 2023-07-28 11:37:14 -04:00
prateek banga 6b2d246fba better naming for on callback function 2023-07-28 17:49:34 +05:30
Eldad A. Fux be4660a4a0
Merge pull request #5884 from appwrite/fix-oauth-endpoint
Remove the OAuth2 Callback endpoints from api group
2023-07-28 10:09:29 +03:00
Steven Nguyen 1319fd1f81
Delete project from console when org is deleted 2023-07-27 18:29:23 -07:00
Steven Nguyen 2621c08c4a
Update OAuth2 params
1. Make code optional so we can show the error via redirect
2. Capture error and error_description params from the OAuth2 provider
2023-07-27 17:19:49 -07:00
Steven Nguyen a7c9e4bb7e
Improve OAuth2 Error Handling
Update the OAuth2 class to throw an exception if an API call to the
OAuth2 provider fails and update the endpoint to redirect to the
failure url with the information from the OAuth2 provider.
2023-07-27 17:19:49 -07:00
Steven Nguyen 3499a7028c
Create OAuth2 exception class 2023-07-27 17:19:49 -07:00
Steven Nguyen 7de29e2991
Fix typing issues in OAuth2 2023-07-27 15:29:48 -07:00
Prateek Banga e909503cb6
Merge pull request #5890 from appwrite/chore-make-compatible-with-db-0.39.0
Make 1.4.x compatible with latest db release 0.39.0
2023-07-27 20:30:22 +05:30
Eldad A. Fux 0b30c7def8
Merge pull request #5886 from appwrite/feat-master-to-1.4.x
Merge master into 1.4.x
2023-07-27 13:56:42 +03:00
prateek banga d743eb2336 updates deps 2023-07-27 16:13:10 +05:30
prateek banga 0d8eeb5807 adds name for database events in on function 2023-07-27 15:48:19 +05:30