Commit Graph

20 Commits

Author SHA1 Message Date
31bc9fe5be Fix node-weekly newsletter getting forwarded
* This error is caused by a previous rebase conflict and resolving the conflict caused an important line missing
* Revert the change to add CooperPressHandler to the array of newsletter handlers
* Updated the test to get the correct handler from email content to prevent such cases
2022-10-21 09:57:05 +08:00
57846a1c5e Fix tests 2022-10-18 15:14:38 +08:00
706607ea2b Rebase main 2022-10-18 14:54:33 +08:00
1fda6946bb Save newsletters hosted by cooper-press.com correctly 2022-10-18 14:53:02 +08:00
9757394a05 Merge pull request #1318 from omnivore-app/fix/newsletter-ghost-org
Save newsletters hosted by ghost.org correctly
2022-10-18 14:50:27 +08:00
59427fa896 Mock the substack domain also when testing redirects
We were making the actual call to the redirected URL here,
instead of mocking it. We need to mock both the embedded email
domain, and the domain we are redirected to.
2022-10-18 12:51:53 +08:00
d8c5c97960 Save newsletters hosted by ghost.org correctly 2022-10-17 19:27:02 +08:00
37439c6622 Save fs.blog newsletter correctly 2022-10-17 17:59:27 +08:00
5dcde8dac3 Fix not correctly identify milkroad newsletters due to the HTML format changes again by the author 2022-10-13 10:52:03 +08:00
c2a44f4991 Restore HTTP interceptor to the normal unmocked behaviour after testing 2022-10-05 11:29:23 +08:00
edd1b908ee Fix tests 2022-10-05 11:29:23 +08:00
61303419a0 Add timeout 2022-10-04 14:25:19 +08:00
767053e31b mock redirect request 2022-10-04 11:27:55 +08:00
4b01fccad8 Fix content-fetch dockerfile 2022-10-03 14:21:31 +08:00
25740465f2 Add timeout 2022-09-30 13:10:58 +08:00
b00a516737 Add other newsletter handlers 2022-09-30 12:51:23 +08:00
f7b20f3186 Add newsletter handlers 2022-09-30 12:51:22 +08:00
99956539a0 Handle newsletter in content-handlers 2022-09-30 12:51:22 +08:00
8fb398eae4 Add tests 2022-09-30 12:51:22 +08:00
91952e587b Replace newsletter-handler with content-handler 2022-09-30 12:51:22 +08:00