Commit Graph

3328 Commits

Author SHA1 Message Date
Bradley Schofield 4a6cbaf770 Continue work on OAuth Service Account generation 2023-08-04 15:37:37 +01:00
Bradley Schofield 845381ddf8 Merge remote-tracking branch 'origin/1.4.x' into feat-implement-transfers 2023-08-04 11:38:37 +01:00
Bradley Schofield 9bf6ed6829 Handle Jake's Suggestions 2023-08-04 11:32:47 +01:00
Bradley Schofield 009a41080a Update Route to fix it and remove secrets 2023-08-02 13:25:46 +01: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
Bradley Schofield 8eebb55ccd Add firebase Deauth 2023-08-01 15:27:46 +01:00
Steven Nguyen eb7526601d Delete duplicate 'Update Email Verification' endpoint 2023-07-31 11:00:30 -07: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 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
Bradley Schofield 2da76cdb59 Revert "Merge remote-tracking branch 'origin/1.4.x' into feat-implement-transfers"
This reverts commit c1c3f056b1, reversing
changes made to 43170855a2.
2023-07-27 16:29:45 +01:00
Bradley Schofield c1c3f056b1 Merge remote-tracking branch 'origin/1.4.x' into feat-implement-transfers 2023-07-27 15:06:14 +01:00
Bradley Schofield 43170855a2 Continue work on Firebase OAuth 2023-07-27 14:22:31 +01:00
Bradley Schofield 3fa99736a8 Start work on Firebase OAuth 2023-07-27 13:55:09 +01: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
Bradley Schofield 41d3ab1723 Update teams.php 2023-07-26 09:37:26 +01:00
Bradley Schofield 8fdcf5716a Implement Suggestions 2023-07-25 10:50:19 +01:00
Bradley Schofield 1392d97da3 Update app/controllers/api/teams.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-07-25 10:47:53 +01:00
Prateek Banga f7c02d9308 removes extra db call and uses document find method 2023-07-24 23:41:49 +05:30
Bradley Schofield 50bae853e6 Update Database 2023-07-24 11:59:23 +01:00
Prateek Banga 7d412b4741 adds get db call and get collection call 2023-07-24 12:02:28 +05:30
Bradley Schofield a1e4df666a Update migrations.php 2023-07-21 11:48:03 +01:00
Bradley Schofield badbc649a0 Update migrations.php 2023-07-21 11:47:12 +01:00
Bradley Schofield 7eb286ccd4 Update constants 2023-07-21 11:37:40 +01:00
Bradley Schofield cff7ba2bff Update status codes and docs 2023-07-21 11:32:30 +01:00
Bradley Schofield 463210f8db Add migration documentation and update service account param 2023-07-21 02:27:32 +01:00
Bradley Schofield dfb1b455e6 Update migrations.php 2023-07-21 01:06:54 +01:00
Bradley Schofield f693a43420 Implement Suggestions 2023-07-21 01:04:08 +01: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
Prateek Banga b700336d45 fix get index route to use find 2023-07-20 14:52:05 +05:30
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 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 66fee90af9 Merge pull request #5199 from appwrite/feat-custom-smtp
[FEAT] Custom SMTP and Template support
2023-07-20 07:09:11 +03:00
Prateek Banga 8328dac86b lint issues 2023-07-19 14:08:02 +05:30
Prateek Banga 131e9658a5 change to use findOne instead of iterating index array 2023-07-19 14:04:35 +05:30
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
Damodar Lohani 14f8cc57af Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:37 +05:45
Damodar Lohani ff6dd0990d Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:29 +05:45
Eldad A. Fux 9fafd39fef Merge pull request #5211 from Pranav2612000/fix-5095-trigger-email-subscription-on-email-verification
fix: trigger account subscription event on email verification
2023-07-19 00:24:33 +03:00
Eldad A. Fux 7a2c789c6b Merge pull request #5745 from vaibhavagarwal220/fix-5220-handle-null-name
fixed null $name error for anonymous user
2023-07-19 00:21:09 +03:00
Eldad A. Fux b2b1b6e2e4 Merge pull request #5562 from fanatic75/fix-4846-added-expiry-value-to-account-sessions
fix expire field in list account sessions api
2023-07-19 00:17:53 +03:00
Eldad A. Fux 50f258b6db Merge pull request #5740 from appwrite/fix-create-phone-verification
Fix phone verification secret in events & payload
2023-07-18 23:18:16 +03: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 bee246956c Merge pull request #5808 from jaivix/fix-5768-pull-request-to-return-team-id-conflict-error
fixed team creation response if teamId already exists
2023-07-18 23:00:31 +03:00
Eldad A. Fux 6f499cfa26 Merge pull request #5567 from fanatic75/fix-4982-expire-sessions-format-for-multiple-api
fixed expire format for phone session, anonymous session, oauth session
2023-07-18 22:57:10 +03:00
Eldad A. Fux d4ed77b5e8 Merge pull request #5568 from fanatic75/fix-5429-expire-format-fix-for-get-session
fix: expire format for get session api
2023-07-18 22:56:47 +03:00
Eldad A. Fux 3a17f30374 Merge pull request #5566 from fanatic75/fix-5428-fixed-expire-format-for-magic-url-sessions
fix: expire format in magic url sessions
2023-07-18 22:56:35 +03:00