Ghost/ghost/members-api/lib
Simon Backx 31a4135fec
Added members.last_commented_at and last_seen_at update when commenting (#15088)
refs https://github.com/TryGhost/Team/issues/1717

- Updates last_commented_at and last_seen_at (only once a day)
- Used the LastSeenAtUpdater, so we can combine updating last_commented_at and last_seen_at in one query + used same pattern
- Updated comments service to await emails in order to make E2E tests more stable (as we don't have any method to await emails and test emails otherwise). This removed the email sending logic from the `onCreated` hook of the model.
2022-07-25 17:35:46 +02:00
..
controllers Passed request referrer to magic link service (#408) 2022-07-15 11:02:58 +01:00
repositories Added members.last_commented_at and last_seen_at update when commenting (#15088) 2022-07-25 17:35:46 +02:00
services Updated method signatures and added JSDocs 2022-07-15 03:12:35 +12:00
MembersAPI.js Passed request referrer to magic link service (#408) 2022-07-15 11:02:58 +01:00