Ghost/ghost/members-api/lib
Simon Backx b916300ceb
Added aggregated click events (#15713)
fixes https://github.com/TryGhost/Team/issues/2175

- New event type `aggregated_click_event` that is disabled by default in all the existing activity feeds
- This returns click events, but only the first click events for each member/post combination.
- It includes the total count of unique link clicks for that member on that post combination
- Had to resort to some custom knex queries to make this work easily
- Requires `@tryghost/bookshelf-pagination@0.1.31`, included in `@tryghost/bookshelf-plugins@0.6.1` (this fixes an issue with custom selects breaking the total count query of pages)
- Went a bit overboard with the pagination tests to cover as much unknown edge cases as possible
2022-10-27 17:23:45 +02:00
..
controllers Fixed Stripe Checkout not having the email prefilled from Portal (#15703) 2022-10-27 11:00:21 +07:00
repositories Added aggregated click events (#15713) 2022-10-27 17:23:45 +02:00
services Added referrer attribution from request context (#15499) 2022-09-29 22:31:48 +05:30
MembersAPI.js Wired up the payment service to create stripe checkout sessions 2022-10-25 09:03:04 +07:00