Ghost/ghost/webmentions/lib
Simon Backx 098f4353a7
Disabled network retries for webmentions in tests (#18269)
refs https://ghost.slack.com/archives/C02G9E68C/p1695296293667689

- We block all outgoing networking by default in tests. When editing a
post/page, Ghost tries to send a webmention. Because of my earlier
changes
(1e3232cf82)
it tries 3 times - all network requests fail instantly when networking
is disabled - but it adds a delay in between those retries. So my change
disables retries during tests.
- Adds a warning when afterEach hook tooks longer than 2s due to
awaiting jobs/events
- We reduce the amount of webmentions that are send, by only sending
webmentions for added or removed urls, no longer when a post html is
changed (unless post is published/removed).
2023-09-21 16:17:05 +02:00
..
InMemoryMentionRepository.js Added getMentionReport method to MentionsAPI 2023-03-15 21:22:13 +05:30
Mention.js Improved webmention stability in case of slow external servers (#18242) 2023-09-20 13:09:47 +02:00
MentionCreatedEvent.js Added mentions email notifications (#16170) 2023-01-25 21:10:29 +08:00
MentionDiscoveryService.js Improved webmention stability in case of slow external servers (#18242) 2023-09-20 13:09:47 +02:00
MentionsAPI.js Improved webmention stability in case of slow external servers (#18242) 2023-09-20 13:09:47 +02:00
MentionSendingService.js Disabled network retries for webmentions in tests (#18269) 2023-09-21 16:17:05 +02:00
webmentions.js Added mentions email notifications (#16170) 2023-01-25 21:10:29 +08:00