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

15406 commits

Author SHA1 Message Date
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
Steven Nguyen ee6e65ffbc
Style appwrite error page 2023-08-01 11:23:27 -07: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
Steven Nguyen eb7526601d
Delete duplicate 'Update Email Verification' endpoint 2023-07-31 11:00:30 -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
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
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
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
Steven Nguyen 611524476b
Merge branch 'master' into feat-master-to-1.4.x 2023-07-26 13:33:49 -07:00
Steven Nguyen 25016b4cc0
Remove the OAuth2 Callback endpoints from api group
Prevent missing project ID error.
2023-07-26 11:32:28 -07:00
Eldad A. Fux 887abad190
Merge pull request #5707 from appwrite/docs-delete-session
Update delete session description to be actually correct
2023-07-26 02:10:00 +03:00
Eldad A. Fux f6d96237e7
Merge pull request #5755 from mendelgordon/doc-fix-magic-session-typo
Fix small typo in docs
2023-07-25 22:09:31 +03:00
Christy Jacob 6cb80c346a
Merge pull request #5846 from appwrite/change-use-find-instead-iterating-index-array
change to use find instead of iterating index array in Get Index route
2023-07-25 12:14:14 +04:00
Prateek Banga f7c02d9308 removes extra db call and uses document find method 2023-07-24 23:41:49 +05:30
Christy Jacob 3d62652e1e
Merge pull request #5873 from appwrite/fix-x-domain-cookie-env
fix: X domain console cookie ENV var
2023-07-24 16:35:33 +04:00
loks0n eb00aa3029 tests: trigger 2023-07-24 10:55:45 +01:00
loks0n 4cae59f47d fix: X domain cookie env 2023-07-24 10:50:19 +01:00
Prateek Banga 7d412b4741 adds get db call and get collection call 2023-07-24 12:02:28 +05:30
Eldad A. Fux f849b49478
Merge pull request #5866 from appwrite/feat-upgrade-dependencies
upgrade dependencies
2023-07-23 13:01:47 +03:00
Damodar Lohani eea593f677 upgrade dependencies 2023-07-23 06:46:23 +00:00
Eldad A. Fux c132766c63
Merge pull request #5859 from appwrite/feat-x-domain-cookie-2
feat: X domain console cookie
2023-07-22 16:33:00 +03:00
loks0n 80aa2374d1 chore: add var to docker 2023-07-21 11:23:08 +01:00
loks0n 611fbf6b32 feat: X domain console cookie 2023-07-21 11:08:34 +01:00
Eldad A. Fux ffa823e455
Merge pull request #5855 from appwrite/docs-accessed-at
Update description for User and Key accesedAt
2023-07-21 07:57:49 +03:00
Eldad A. Fux 0a5d53ec35
Merge pull request #5857 from appwrite/feat-oauth-provider-name
Update Project providers to also include the provider key
2023-07-21 07:56:25 +03:00
Steven Nguyen 5be6d8e90b
Update Project providers to also include the provider key
Pass the provider key and name back so that a nicely formatted name
can be shown in the Appwrite Console.
2023-07-20 16:53:33 -07:00
Prateek Banga d569c17764 Merge branch 'master' of https://github.com/appwrite/appwrite into change-use-find-instead-iterating-index-array 2023-07-21 00:49:15 +05:30
Steven Nguyen 66362f0d3b
Update description for User and Key accesedAt
Add a note about how often the attributes are updated.
2023-07-20 11:47:26 -07:00
Eldad A. Fux 7a02a1690a
Merge pull request #5449 from appwrite/feat-4299-oidc-oauth2-provider
Add a generic OIDC OAuth2 provider
2023-07-20 20:44:03 +03:00
Prateek Banga b700336d45 fix get index route to use find 2023-07-20 14:52:05 +05:30
Eldad A. Fux e12a5738aa
Merge pull request #5853 from appwrite/fix-audit-user-internal-id
Fix audit user internal
2023-07-20 10:31:26 +03:00
Eldad A. Fux 4e6e3a0551
Merge pull request #5781 from appwrite/feat-last-user-activity
Track a user's last activity
2023-07-20 10:10:32 +03:00
Eldad A. Fux 8633be26d4
Merge pull request #5854 from appwrite/feat-akamai-setup
Akamai setup in readme
2023-07-20 08:59:59 +03:00
Damodar Lohani 2c2c7d9028
Create akamai-logo.svg 2023-07-20 11:36:40 +05:45
Damodar Lohani 1e0158cdef
Update README.md 2023-07-20 11:35:59 +05:45
Steven 3f9cedcc44
Prepare 1.3.8 release 2023-07-19 22:49:51 -07:00
Steven Nguyen cd78706944
Update migration for audit collection
1. Remove the userInternalId attribute
2. Replace userId in audit documents with userInternalId and put
userId in data
2023-07-19 22:49:51 -07:00
Steven Nguyen 9908a9021f
Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-19 22:49:51 -07:00
Steven Nguyen 187f3dc6ff
Update get logs APIs to return userId from data
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-19 22:49:51 -07:00
Steven Nguyen 58fa7546c1
Update Appwrite to save internal id as audit user id
It's important to use userInternalId so that if a user is recreated
with the same ID, lookups for the user will not return the data
of the old deleted user.

We will still store userId in data so that it can be pulled out and
returned for the log API calls.
2023-07-19 22:49:51 -07:00
Steven Nguyen 35a25cc2a7
Bump audit version to get rid of userInternalId attribute 2023-07-19 22:49:50 -07:00
Steven Nguyen 2befa60350
Track a user's last activity
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.

To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
Eldad A. Fux 30fc5658e4
Merge pull request #5847 from appwrite/chore-upgrade-domains
Fix np TLD validation
2023-07-20 08:21:36 +03:00