Commit Graph

3084 Commits

Author SHA1 Message Date
fogelito eed89b9fd3 Merge branch '1.4.x' of github.com:appwrite/appwrite into poc-timeout
 Conflicts:
	.env
	app/controllers/api/databases.php
	composer.json
	composer.lock
	docker-compose.yml
2023-08-09 12:36:23 +03:00
Christy Jacob c009a12a25 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into 1.4.x 2023-08-08 20:51:31 +00:00
Christy Jacob 82a206d808 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data 2023-08-08 16:48:59 +00:00
Steven Nguyen d960f85da6 Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen d1c0bccb59 Merge tag '1.3.8' into cloud-1.3.x 2023-08-04 14:12:58 -07:00
Steven Nguyen aa3c2faed9 Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -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 632d41ec6c Merge branch 'master' of github.com:appwrite/appwrite into poc-timeout
 Conflicts:
	app/controllers/api/databases.php
	composer.json
	composer.lock
	tests/e2e/Services/Databases/DatabasesBase.php
2023-08-01 11:25:21 +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
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
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
Christy Jacob 4c8608b49c chore: update naming conventions 2023-07-20 02:24:32 +04:00
Christy Jacob e493551f8a Merge branch '1.4.x' of github.com:appwrite/appwrite into disallow-personal-data 2023-07-20 01:44:25 +04:00
Christy Jacob cd57da8ead fix: update tests 2023-07-20 01:42:42 +04: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
Steven e26062ca87 Prepare 1.3.8 release 2023-07-18 22:21: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
Steven Nguyen 26334b79bf 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-12 14:37:26 -07:00
jaivix 4db919b42d linting and wording updates based on stnguyen90 feedback 2023-07-13 00:33:38 +05:30
Christy Jacob e0aa3db21e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into disallow-personal-data 2023-07-11 19:36:37 +00:00
Damodar Lohani f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
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
shimon e9f8a33515 users addition 2023-06-20 13:28:26 +03:00
shimon 48bf74b881 users addition 2023-06-20 13:24:26 +03:00
Christy Jacob 702c92fb5d Merge pull request #5728 from appwrite/fix-hamster-script
fix: missing collection error
2023-06-19 20:26:21 +05:30
shimon 38cf901579 fix 2023-06-19 17:30:21 +03:00
Christy Jacob b56603958a chore: linter 2023-06-19 13:41:37 +00:00
Christy Jacob 4d7611f569 fix: missing collection error 2023-06-19 13:28:43 +00:00
shimon 9ff6faa2d2 fix 2023-06-19 15:50:48 +03:00
shimon 5e836691e2 fix 2023-06-19 13:55:16 +03:00
shimon 0a92e3dc55 fix 2023-06-19 13:54:04 +03:00
shimon 9179a70992 fix 2023-06-19 13:37:16 +03:00