Ghost/ghost/webmentions/test
Fabien "egg" O'Carroll 72d7580461 Added source_is_ghost flag to outgoing Webmentions
This is a pretty simple way for us to track which webmentions are sent
by Ghost. Although it's easily spoofed, so are other approaches like
using a header (e.g. User-Agent). If we find that this data is being
spoofed we can look at different approach.

Becuase our receiving implementation stores the payload of the
Webmention, we'll be able to know inside Ghost which Mentions
originated from another Ghost installation, which is useful for stats
and gives us the possibility to display that information in the feed.

Longer term we might want to consider storing this data in a separate
column for Mentions, rather than the `payload` column - but that is
outside the scope of this change.
2023-02-01 13:44:55 +07:00
..
utils Added MentionSendingService (#16151) 2023-01-19 17:35:10 +01:00
.eslintrc.js Added webmentions package (#16133) 2023-01-17 13:18:16 +08:00
InMemoryMentionRepository.test.js Added initial basic Mentions implementation 2023-01-17 17:01:20 +07:00
Mention.test.js Updated Mention entity validation of properties 2023-01-19 19:24:07 +07:00
MentionDiscoveryService.test.js completely blocked external requests in Webmentions tests (#16186) 2023-01-25 10:43:57 -06:00
MentionsAPI.test.js Wired up the Webmention receive endpoint to the Mentions service 2023-01-19 18:41:49 +07:00
MentionSendingService.test.js Added source_is_ghost flag to outgoing Webmentions 2023-02-01 13:44:55 +07:00