Ghost/ghost/members-api
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
..
lib Added aggregated click events (#15713) 2022-10-27 17:23:45 +02:00
test Improved filter support in activity API to allow pagination (#15684) 2022-10-27 12:13:24 +02:00
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Fixed index.js require 2021-07-15 18:06:45 +01:00
package.json Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00