Commit Graph

8501 Commits

Author SHA1 Message Date
Matej Bačo 8bc933ab91 Fix template issues 2023-08-04 10:56:46 +02:00
prateek banga 91e434b3d6 optimize if condition in response output method 2023-08-04 14:01:08 +05:30
Matej Bačo 1db0c57518 PR review changes 2023-08-04 07:59:23 +02:00
Khushboo Verma 0b6fb471f6 Updated GitHub comment table 2023-08-04 01:04:04 +05:30
Steven Nguyen a32d9abd98 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-03 11:07:22 -07:00
prateek banga ea57a303d0 lint fixes 2023-08-03 17:39:13 +05:30
prateek banga f797c2574a resolve merge conflicts with 1.4.x 2023-08-03 17:38:22 +05:30
prateek banga 1d558fa5f5 Add select queries support to list indexes and list attributes endpoint 2023-08-03 17:34:28 +05:30
Khushboo Verma 44c36198a4 WIP: Update VCS comment table format 2023-08-03 15:04:08 +05:30
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 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
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
fogelito e620525460 Extra line 2023-08-01 13:24:28 +03:00
fogelito aaa2f18bf9 uid varchar 2023-08-01 13:23:39 +03: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
Matej Bačo ac2ca267d7 Address more PR reviews 2023-07-31 08:47:47 +02:00
Matej Bačo c7605b85e0 Remove vcs prefix 2023-07-30 21:10:25 +02:00
Matej Bačo 280b2fc994 Rename repositories and installation IDs 2023-07-30 11:51:13 +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 6fb72db7c4 Rename exception 2023-07-29 18:03:13 +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 1ed5d395be Add vcs prefix to variable names 2023-07-28 13:11:26 +05:30
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
Steven Nguyen 611524476b Merge branch 'master' into feat-master-to-1.4.x 2023-07-26 13:33:49 -07:00
prateek banga 0c758a282a adds error attribute in queries for indexes and attributes 2023-07-27 01:30:15 +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 a6abc7c4e8 add support of queries in list indexes 2023-07-27 01:19:48 +05:30
Prateek Banga ead77d6cad Add support for queries in List attributes endpoint 2023-07-27 01:16:34 +05:30
Matej Bačo 8ca1ed1605 Merge branch 'feat-git-integration' of https://github.com/appwrite/appwrite into feat-git-integration 2023-07-26 17:22:43 +02:00
Matej Bačo 74bafb9379 Fix RAM issues on runtime 2023-07-26 17:09:56 +02:00
Khushboo Verma c449aa0a68 Remove functions from installation response model 2023-07-26 15:15:45 +05:30
Matej Bačo 743c214a66 PR review changes 2023-07-24 15:12:36 +02:00
Khushboo Verma 97afa959a2 Update src/Appwrite/Utopia/Response/Model/Func.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-24 02:07:25 +05:30
shimon 2f7b0c9938 added bucketId to cache::deleteByResource 2023-07-22 17:31:33 +03:00
shimon ef12b75013 Merge branch 'master' of github.com:appwrite/appwrite into refactor-cache-poc
 Conflicts:
	app/init.php
2023-07-22 17:09:49 +03:00
shimon bed88baa6c added bucketId to cache::deleteByResource 2023-07-22 17:08:28 +03:00
Matej Bačo 7e386b885c Upgrade console, reword commands into 1 param 2023-07-21 13:52:14 +02: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
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
Christy Jacob c26194e189 Merge branch '1.4.x' of github.com:appwrite/appwrite into disallow-personal-data 2023-07-20 17:19:18 +04:00
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 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
Steven Nguyen 5c3f96289d Prevent Response from modifying the passed in doc 2023-07-19 22:21:21 -07:00