Ghost/ghost/core/test/unit/server/models
Simon Backx 68bdc1afea
Added post sentiment (#15592)
fixes https://github.com/TryGhost/Team/issues/2054

This change adds the sentiment and positive_feedback counts to the posts models. This change isn't really ideal because there are some problems here:
- sentiment isn't really a count
- we don't need to include the sentiment and positive_feedback as a default for posts (but the same is true for attribution)

It would make sense to move this to separate endpoints that only fetch the analytics for a given post when the analytics page is opened. But for our initial skateboard version of audience feedback this should be a good start to already see the data.
2022-10-11 17:52:14 +02:00
..
base Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
api-key.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
comment.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
custom-theme-setting.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
integration.test.js Added core type integrations to API serializer 2022-08-12 14:18:44 +01:00
invite.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
member-created-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
member-feedback.test.js Added members_feedback table (#15581) 2022-10-11 13:21:31 +02:00
member-subscribe-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
member.test.js Handled storing complimentary subscription expiry 2022-08-19 18:20:52 +05:30
newsletter.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
permission.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
post.test.js Added post sentiment (#15592) 2022-10-11 17:52:14 +02:00
session.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
settings.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
single-use-token.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
stripe-customer-subscription.test.js Enabled free trials via tiers and offers 2022-08-24 19:24:31 +05:30
subscription-created-event.test.js Added ENUM validation for member/subscription created events (#15312) 2022-08-25 15:39:37 +02:00
tag.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
user.test.js Handled fetching staff users for email alerts 2022-08-25 18:01:52 +05:30