1
0
Fork 0
mirror of synced 2024-07-12 18:05:55 +12:00
Commit graph

16512 commits

Author SHA1 Message Date
Christy Jacob 6cdc8a97b7 chore: update tests 2023-07-20 17:12:41 +04:00
Christy Jacob 0feaf41fcb Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools 2023-07-20 11:53:36 +00: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
Christy Jacob b11fb72a52
Merge pull request #5842 from appwrite/fix-delete-schedules
Ensure deletes worker iterates over all schedules
2023-07-20 11:24:09 +04: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 5b2dab2b10
Merge pull request #5833 from appwrite/fix-deletes-worker-internal-ids
Ensure deletes worker deletes resources using internal id
2023-07-20 09:34:51 +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
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 6e54b79812 fix 2023-07-20 01:35:01 +00:00
Damodar Lohani cb8341fa5b fix test 2023-07-20 01:33:27 +00:00
Damodar Lohani 0c2848bece using maildev for smtp test 2023-07-20 01:32:19 +00:00
Steven cc42700299
Fix test after session expire format was updated 2023-07-19 23:52:33 +00:00
Christy Jacob 4c8608b49c chore: update naming conventions 2023-07-20 02:24:32 +04:00
Christy Jacob 43ee8e1ed4 fix: update tests 2023-07-20 02:17:16 +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
Christy Jacob 257776a54e fix: failing tests 2023-07-20 01:34:27 +04:00
Christy Jacob d7ee02f1d5 feat: revert changes 2023-07-20 01:13:46 +04:00
Steven 803d653e44 Upgrade utopia-php/domains
Version 1.1.0 was an incorrectly named git tag; it was equivalent to
0.2.0. This bump to 0.3.* is safe because it adds Registrar,
but it won't be used in Appwrite yet. Bumping to 0.3.* is necessary to
fix some bugs where valid domains were considered invalid.
2023-07-19 18:29:01 +00:00
Eldad A. Fux 122d6fd803
Merge pull request #5845 from appwrite/feat-1.4.x-with-1.3.x-master
Sync with Master and 1.3.x
2023-07-19 12:30:57 +03:00
Damodar Lohani 9289ec1959 fix date format in test 2023-07-19 08:49:20 +00: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 8044ab568c update specs 2023-07-19 07:32:32 +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
Steven c7492ee35e Fix a bug where the delete worker wasn't iterating over schedules 2023-07-19 01:32:11 +00:00
Steven e26062ca87 Prepare 1.3.8 release 2023-07-18 22:21:58 +00:00
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