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
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
Safwan Parkar
c5233d9ece
removed unnecessary code
2023-08-02 12:18:21 +04:00
Dakshi
16a2135d4a
updated based on review
2023-08-02 02:19:20 +05:30
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
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
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
Dakshi
12228ccef4
converted desc to sentence case
2023-08-01 20:56:48 +05:30
Khushboo Verma
5b9f71afe5
Add try-catch to listRepositories
2023-08-01 14:10:16 +05:30
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
prateek banga
409376ef16
refactors checkPermission to throw exception when a change is found in updateDocument
2023-07-31 14:03:11 +05:30
Matej Bačo
ac2ca267d7
Address more PR reviews
2023-07-31 08:47:47 +02:00
Damodar Lohani
18407ce6ff
remove failing alias and alias tests
2023-07-31 05:53:27 +00:00
Matej Bačo
c7605b85e0
Remove vcs prefix
2023-07-30 21:10:25 +02:00
Matej Bačo
57a4d5ad66
Upgrade console, formatting
2023-07-30 15:30:30 +02:00
Matej Bačo
6cea5a12bb
Improve performance of listRepositores
2023-07-30 15:24:10 +02:00
Matej Bačo
280b2fc994
Rename repositories and installation IDs
2023-07-30 11:51:13 +02:00
Damodar Lohani
fa8fab184b
fix remove duplicate endpoints
2023-07-30 09:23:12 +00:00
Matej Bačo
96338954d2
Better runtime detection
2023-07-30 10:30:47 +02:00
Matej Bačo
a718f09f74
Update execution model, add detection to repository
2023-07-30 09:17:23 +02:00
Matej Bačo
2e177873c0
Update execution response model
2023-07-29 18:20:20 +02:00
Matej Bačo
22f638e6aa
rename vcsRepos to vcsRepositories
2023-07-29 18:04:43 +02:00
Matej Bačo
e6d1a3424f
Fix github state
2023-07-29 18:03:18 +02: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
Jake Barnby
aa94310259
Fix missing admin mode checks for collections
2023-07-28 11:37:14 -04:00
Matej Bačo
f13d70d5be
Rename env vars
2023-07-28 10:53:07 +02:00
Matej Bačo
37c0cc122a
More PR review changes
2023-07-28 10:27:16 +02:00
Matej Bačo
1bd226ab81
Merge branch 'feat-git-integration' of https://github.com/appwrite/appwrite into feat-git-integration
2023-07-28 09:56:12 +02:00
Matej Bačo
ce98b04348
Address PR reviews
2023-07-28 09:56:07 +02:00
Khushboo Verma
460e07dab0
Moved detection endpoint near listRepos
2023-07-28 13:21:53 +05:30
Khushboo Verma
2c291d53b9
Renamed variables, addressed PR comments
2023-07-28 13:10:19 +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
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
prateek banga
27e0ec339a
fix more lint issues
2023-07-27 02:59:06 +05:30
prateek banga
6247e524b6
fix lint issues
2023-07-27 02:27:31 +05:30
prateek banga
e631f393fc
fix lint issues and remove sleep from test
2023-07-27 02:23:20 +05:30
Steven Nguyen
611524476b
Merge branch 'master' into feat-master-to-1.4.x
2023-07-26 13:33:49 -07:00
Prateek Banga
5c5a8a9115
format issues
2023-07-27 02:03:17 +05:30
Prateek Banga
54ea98afb5
updated logic to skip checking permission if no change in new document
2023-07-27 02:03:10 +05:30
Prateek Banga
0fc0255a38
Skipping checking permission of relations that are not being updated
2023-07-27 02:02:34 +05:30
prateek banga
301af0d3fe
fixes lint issues and adds status in list attributes query support
2023-07-27 01:24:47 +05:30
Prateek Banga
98a226dae9
adds collection and database calls for better error messages
2023-07-27 01:20:16 +05:30
Prateek Banga
a6abc7c4e8
add support of queries in list indexes
2023-07-27 01:19:48 +05:30
Prateek Banga
165268cb71
remove unnecessary db call
2023-07-27 01:17:19 +05:30
Prateek Banga
a842d7eeae
fix queries param description
2023-07-27 01:17:10 +05:30
Prateek Banga
ead77d6cad
Add support for queries in List attributes endpoint
2023-07-27 01:16:34 +05:30