Commit Graph

2171 Commits

Author SHA1 Message Date
004c766588 If parsing fails, attempt adding <html> wrappers to a document
LinkedDom seems less forgiving and expects the outerHTML of a
document, however older extension versions still send innerHTML.
2022-05-18 10:55:31 -07:00
d68549bcb7 Remove unused code 2022-05-18 15:52:31 +08:00
d9d4deb14c Update Money Stuff sign up url 2022-05-18 11:50:43 +08:00
5b36f9270e Update milk road query params 2022-05-17 22:43:00 +08:00
13453e7b7f Register subscribe resolver 2022-05-17 21:26:46 +08:00
568472cc3c Calling HTTP requests to subscribe to these newsletters 2022-05-17 21:15:25 +08:00
4699458457 Implement subscribe api 2022-05-17 18:46:57 +08:00
1da8b75c81 Add a subscribeHandler 2022-05-17 18:46:44 +08:00
51dd9a5733 Return a list of subscriptions 2022-05-17 18:45:52 +08:00
c30ef093b8 Update unsubscribe api 2022-05-17 16:47:34 +08:00
906b2d28a0 Add subscribe API schema 2022-05-17 16:23:36 +08:00
e76fb02f43 Fix window is not defined for parsing code blocks 2022-05-17 11:01:55 +08:00
7bfb8cfee4 Merge pull request #597 from omnivore-app/remove-chrome-aws-lambda
Optimize puppeteer and remove chrome-aws-lambda dependencies
2022-05-13 16:12:24 -07:00
8b37a475c8 Merge pull request #612 from omnivore-app/fix/reminder-id-type
Use pageId instead of articleSavingRequestId in reminders
2022-05-13 10:47:46 -07:00
d3b65c0ff8 Merge pull request #611 from omnivore-app/fix/elastic-exception
Stop throwing document not found exception to sentry
2022-05-13 09:05:01 -07:00
b306ca6e2e Fix UpdateLabelResult undefined 2022-05-13 17:38:51 +08:00
45213e7b54 Fix reminder trigger 2022-05-13 17:07:10 +08:00
a51eba67ba get reminder by page id 2022-05-13 16:17:25 +08:00
d821f26440 create reminder with page id 2022-05-13 16:12:08 +08:00
40cbfc9058 Use reminder by elasticPageId 2022-05-13 16:01:23 +08:00
f51dbafdfc Stop throwing document not found exception to sentry 2022-05-13 11:40:08 +08:00
eee116e71d Add an analytics event when links are removed 2022-05-12 10:55:12 -07:00
adfaf6b8ce Use newsletter's title and author as page's ones 2022-05-12 18:08:38 +08:00
1b8850ed33 Fix tests 2022-05-12 17:41:11 +08:00
e1e0ddf7fc Merge pull request #582 from omnivore-app/optimize-parsing
Optimize parsing
2022-05-12 11:07:52 +08:00
602d141dec Rename doc to dom 2022-05-12 11:00:32 +08:00
5dca02873d Revert originalArticleUrl change 2022-05-12 10:45:13 +08:00
8f75c43658 Add siteName in search result 2022-05-12 10:30:47 +08:00
76aef35423 Remove www. from the siteName in the search api response 2022-05-11 23:07:34 +08:00
a78a6c6ba4 Replace DomWindow with Document in handlers 2022-05-10 17:01:23 +08:00
6a57281e74 Remove DomWindow usage 2022-05-10 17:00:56 +08:00
acc7654a2f Replace jsdom with linkedom 2022-05-10 16:59:09 +08:00
5698790288 Pass url to readability 2022-05-10 16:53:45 +08:00
5007b11a3c Add url to readability option 2022-05-10 16:52:10 +08:00
59a2639b7d Reduce http call to get jsonld data if title or content or sitename or byline exists 2022-05-09 13:45:45 +08:00
a457c9d128 Update article content only when code blocks exist 2022-05-09 13:45:45 +08:00
eaad96acdd Return parsed dom back to backend 2022-05-06 12:29:08 +08:00
5f5076e864 Highlight code element without reinitialize jsdom 2022-05-06 12:20:54 +08:00
7c6b810522 Remove redundant JSDOM 2022-05-06 10:53:36 +08:00
93ab6bc87a Add includePending=true in search API 2022-05-04 21:28:06 +08:00
bc1ed3f054 Check state in articleSavingRequest 2022-05-04 19:33:13 +08:00
9e3db0e053 Fix a bug to have multiple pages with the same url in lib 2022-05-04 19:12:22 +08:00
afe8b6e948 make savedAt a required field in page 2022-05-04 17:54:59 +08:00
a42bb7ab38 Replace createdAt with savedAt 2022-05-04 12:59:07 +08:00
98ea1016d5 Remove <p> tag in description 2022-05-04 12:50:22 +08:00
9048ccbab3 Show failed pages in library 2022-05-04 12:46:57 +08:00
ca0f58ee22 Update page content and state if failed to parse 2022-05-04 12:21:41 +08:00
80d0146f72 Show unable to parse if page is failed to save within 30 seconds 2022-05-04 11:55:16 +08:00
c8c4377346 Merge pull request #531 from omnivore-app/fix/saving-analytics
Add more detailed analytics for saving. Remove intercom events
2022-05-02 21:14:18 -07:00
95b163a437 Prettier clean up 2022-05-02 20:58:05 -07:00