Commit Graph

1021 Commits

Author SHA1 Message Date
506568e0c2 Merge pull request #1667 from omnivore-app/recent-emails
recent emails
2023-01-25 14:22:00 +08:00
59aa2561eb Merge pull request #1636 from omnivore-app/dependabot/npm_and_yarn/luxon-3.2.1
Bump luxon from 3.0.4 to 3.2.1
2023-01-19 17:00:12 +08:00
a682d87aa6 Add tests for recent emails resolver 2023-01-19 12:11:34 +08:00
83c62c65a3 Add test for saving received email 2023-01-19 10:44:08 +08:00
318a6557a5 Email us if a recent email marked as library item 2023-01-19 09:55:49 +08:00
7dbf8662fc Fix test 2023-01-19 09:38:21 +08:00
8f9c317dd1 Save received email before publishing data 2023-01-18 22:35:07 +08:00
08048405a1 Correct typo in doc about labels 2023-01-18 22:07:39 +08:00
36d2ac041a Fix error of getting subscriptions without newsletter email by inner join them 2023-01-18 18:42:10 +08:00
064ea5a782 Add text in the payload in the test 2023-01-18 18:25:32 +08:00
d60890d154 Add pubsub to save received email 2023-01-18 17:13:11 +08:00
d5e3a29fd6 Fix test 2023-01-18 15:08:28 +08:00
60e107964f Fix typo 2023-01-18 15:00:34 +08:00
96f727a165 Add mark a recent email as library item api 2023-01-18 15:00:34 +08:00
62a3b48e00 Add list recent emails api 2023-01-18 15:00:34 +08:00
3f373ab3b6 Save received email 2023-01-18 15:00:34 +08:00
2da4ca5da8 Add saveReceivedEmail service 2023-01-18 15:00:34 +08:00
b7d732df7c Add received_email entity 2023-01-18 15:00:34 +08:00
f01ab3805a Left join active subscriptions of a newsletter email to get the right count 2023-01-18 14:37:54 +08:00
e94f6de466 Delete subscription if unsub 2023-01-18 14:36:23 +08:00
43018ea94d Bump luxon from 3.0.4 to 3.2.1
Bumps [luxon](https://github.com/moment/luxon) from 3.0.4 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/3.0.4...3.2.1)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 06:22:56 +00:00
786ad35da9 Merge pull request #1635 from omnivore-app/fix/content-display-reports
Fix creation of content display report
2023-01-13 11:37:22 +08:00
6572f718c9 Merge pull request #1648 from omnivore-app/fix/puppeteer-parse
fix/puppeteer parse
2023-01-13 10:59:09 +08:00
c4a5cbe4e2 Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:16:00 +08:00
c647aabeaa Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:15:42 +08:00
7bfd36e308 Fix readability not run in puppeteer-parse 2023-01-12 18:33:47 +08:00
824899760a Update some style, add Matter archive importer tool 2023-01-12 14:00:46 +08:00
397233054b Dont clear content display reports before running test (this was just there for debug) 2023-01-11 11:15:37 +08:00
706c4dea18 Dont try to clean up content display reports when running tests 2023-01-11 10:51:46 +08:00
3bff5fe7f8 Add a test for the content display report service 2023-01-11 10:51:46 +08:00
337b723d24 Fix creation of content display report 2023-01-11 10:51:46 +08:00
1837f31906 Add tests 2023-01-09 16:52:54 +08:00
75974c772e Fix test 2023-01-09 15:32:00 +08:00
43e813a73d Add unique constraint on user_id and name to subscription entity 2023-01-09 15:12:26 +08:00
08e0423939 Add unique constraint on user_id and name to subscriptions table 2023-01-09 15:04:01 +08:00
892a9ef30d Add subscriptionCount and createdAt in NewsletterEmail type 2023-01-09 12:24:45 +08:00
3c8416ca1b Merge pull request #1620 from omnivore-app/fix/sign-up
Log email content if Sendgrid api key not set
2023-01-06 15:39:33 +08:00
9762b14ebc Check if the env is local 2023-01-06 15:28:45 +08:00
3520428ff0 Get the auth token from cookie in the user_router
This is called through Cloud Task so .authorization is actually
Cloud Task's auth token.
2023-01-06 10:29:36 +08:00
d86a6038ea Log email content if Sendgrid api key not set 2023-01-06 09:54:02 +08:00
88b6fcfb5d Use cookie auth instead of header as GCP uses the Authorization header 2023-01-05 20:17:43 +08:00
24763669b3 Merge pull request #1616 from omnivore-app/html-to-markdown
html to markdown
2023-01-05 19:30:19 +08:00
e28c9b10bb Fetch markdown content if specified in search API 2023-01-05 17:17:09 +08:00
b0938ea8e2 Merge pull request #1612 from omnivore-app/feat/email-after-import
Send email to user after a bulk import completes
2023-01-05 13:39:49 +08:00
7b749f974d Convert HTML to markdown if specified 2023-01-05 12:12:48 +08:00
89454d8b59 Merge pull request #1610 from omnivore-app/fix/reduce-logging
Remove some places we are logging too much data causing sentry failures
2023-01-05 11:19:30 +08:00
cfa3b5de89 Remove unneeded linting rules 2023-01-05 10:25:10 +08:00
7b2bc21b16 Add cors config, handle exception response 2023-01-04 21:45:41 +08:00
d89a307aca Send email to user after a bulk import completes 2023-01-04 18:15:26 +08:00
2390f2d716 Cast data to NewsletterMessage 2023-01-04 16:24:41 +08:00