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

2718 commits

Author SHA1 Message Date
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
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
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
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
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
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
Eldad A. Fux 66fee90af9
Merge pull request #5199 from appwrite/feat-custom-smtp
[FEAT] Custom SMTP and Template support
2023-07-20 07:09:11 +03:00
Damodar Lohani 4fd5c72f34 Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
Damodar Lohani 8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Eldad A. Fux 9cdf124a81
Merge pull request #5739 from appwrite/fix-anonymous-user
Fix anonymous user
2023-07-18 23:07:52 +03:00
Eldad A. Fux 6bf6bc7dc3
Merge pull request #5743 from appwrite/feature-restrict-project-id-chars
Restrict characters for project ID
2023-07-18 18:06:01 +03:00
Torsten Dittmann 74308b445e
Merge pull request #5587 from appwrite/feat-user-labels
Add a new labels attribute to the Users collection
2023-07-18 14:59:18 +02:00
jaivix 4db919b42d linting and wording updates based on stnguyen90 feedback 2023-07-13 00:33:38 +05:30
jaivix a6671a5caa fixed team creation response if teamId already exists 2023-07-09 16:50:09 +05:30
Steven Nguyen 33f5cbeca6
Restrict characters for project ID
Only allow lowercase alphanumeric chars and hyphens
because the project ID is used as part of url
schemes to redirect users back to mobile apps
and certain characters are not allowed.
2023-06-23 16:22:42 -07:00
Steven Nguyen 18544428a0
Fix logic for isAnonymousUser() 2023-06-22 17:43:08 -07:00
Jake Barnby 6db141acc9
Merge pull request #5710 from appwrite/feat-db-upgrade
Feat database upgrade
2023-06-22 21:30:06 +12:00
Shmuel Fogel 2c15f0bc7b
Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-06-21 09:43:29 +03:00
Jake Barnby 0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Jake Barnby 4daa023663
Fix filter 2023-06-15 13:32:49 +12:00
Jake Barnby 35d065198f
Merge remote-tracking branch 'origin/add-error-attribute' into feat-db-upgrade 2023-06-15 13:32:31 +12:00
Jake Barnby 031f8270ff
Merge remote-tracking branch 'origin/1.4.x' into validator-mv
# Conflicts:
#	composer.lock
2023-06-15 12:28:32 +12:00
Jake Barnby 1604b339dd
Merge remote-tracking branch 'origin/1.4.x' into add-error-attribute
# Conflicts:
#	CHANGES.md
#	app/workers/databases.php
#	composer.json
#	composer.lock
2023-06-15 12:26:29 +12:00
fogelito 5ae534d291 Addressing comments 2023-06-11 10:59:44 +03:00
Steven Nguyen 09f3577256
Update Appwrite to add User labels to Auth roles 2023-06-09 10:18:51 -07:00
Steven Nguyen 078dab38c5
Fix the team membership model's roles example 2023-06-09 10:18:51 -07:00
fogelito 371f195f3a Iterator messages 2023-06-08 10:53:40 +03:00
fogelito 46d5159fd0 Small typo 2023-06-07 10:45:48 +03:00
fogelito f729aaec2b version overwrite 2023-06-07 10:40:15 +03:00
fogelito 214bc4af56 Add buckets 2023-06-07 10:32:46 +03:00
fogelito 9827d80f9c Add buckets 2023-06-07 10:30:35 +03:00
fogelito b7536d62e2 lint 2023-06-07 10:26:55 +03:00
fogelito 4c1fe6ce7c out comment document Migration 2023-06-07 10:15:21 +03:00
fogelito 8b9ab096b7 Add index 2023-06-07 10:01:00 +03:00
fogelito 1fea564735 Add index 2023-06-07 09:59:13 +03:00
fogelito 2a9b76b205 Separates for 2 queries 2023-06-07 09:46:24 +03:00
Jake Barnby b7f4f57521
Add new error message to differentiate between missing data and missing data + permissions for document updates 2023-06-07 13:51:24 +12:00