Commit graph

993 commits

Author SHA1 Message Date
Hongbo Wu
c4a5cbe4e2 Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:16:00 +08:00
Hongbo Wu
c647aabeaa Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:15:42 +08:00
Hongbo Wu
7bfd36e308 Fix readability not run in puppeteer-parse 2023-01-12 18:33:47 +08:00
Hongbo Wu
1837f31906 Add tests 2023-01-09 16:52:54 +08:00
Hongbo Wu
75974c772e Fix test 2023-01-09 15:32:00 +08:00
Hongbo Wu
43e813a73d Add unique constraint on user_id and name to subscription entity 2023-01-09 15:12:26 +08:00
Hongbo Wu
08e0423939 Add unique constraint on user_id and name to subscriptions table 2023-01-09 15:04:01 +08:00
Hongbo Wu
892a9ef30d Add subscriptionCount and createdAt in NewsletterEmail type 2023-01-09 12:24:45 +08:00
Hongbo Wu
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
Hongbo Wu
9762b14ebc Check if the env is local 2023-01-06 15:28:45 +08:00
Jackson Harper
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
Hongbo Wu
d86a6038ea Log email content if Sendgrid api key not set 2023-01-06 09:54:02 +08:00
Jackson Harper
88b6fcfb5d Use cookie auth instead of header as GCP uses the Authorization header 2023-01-05 20:17:43 +08:00
Hongbo Wu
24763669b3
Merge pull request #1616 from omnivore-app/html-to-markdown
html to markdown
2023-01-05 19:30:19 +08:00
Hongbo Wu
e28c9b10bb Fetch markdown content if specified in search API 2023-01-05 17:17:09 +08:00
Jackson Harper
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
Hongbo Wu
7b749f974d Convert HTML to markdown if specified 2023-01-05 12:12:48 +08:00
Jackson Harper
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
Jackson Harper
cfa3b5de89 Remove unneeded linting rules 2023-01-05 10:25:10 +08:00
Jackson Harper
7b2bc21b16 Add cors config, handle exception response 2023-01-04 21:45:41 +08:00
Jackson Harper
d89a307aca Send email to user after a bulk import completes 2023-01-04 18:15:26 +08:00
Jackson Harper
2390f2d716 Cast data to NewsletterMessage 2023-01-04 16:24:41 +08:00
Jackson Harper
686b08733a Comment out tests that cant run in CI 2023-01-04 14:50:14 +08:00
Jackson Harper
e3ed7d0250 More logging changes 2023-01-04 11:23:13 +08:00
Jackson Harper
b438d42f38 Remove some unneeded console.log calls 2023-01-04 11:18:37 +08:00
Jackson Harper
8edd94bdb5 Remove some places we are logging too much data causing sentry failures 2023-01-04 11:07:54 +08:00
Jackson Harper
f939786c2a Reserve some names for tools and landing pages 2023-01-03 20:55:30 +08:00
Jackson Harper
0edd91057e Update user interface for file import tool 2023-01-03 17:49:07 +08:00
Jackson Harper
1b357f8c21 Add a test (have a feeling we will need to disable on CI due to GCS dependency) 2023-01-03 11:07:21 +08:00
Jackson Harper
9314c3d8f1 Add uploadImportFile API method
Add uploadImportFile API method

Fix prefix, counting max files uploaded

Add resolver types

Basic web ui for the uploader interface

Allow selecting type when uploading import files
2023-01-03 10:01:59 +08:00
Hongbo Wu
2c39916441 Add wordsCount to article schema 2023-01-02 16:49:11 +08:00
Hongbo Wu
e0b9a6689a Not raise error when there is conflict of setting labels in highlights 2022-12-30 11:22:41 +08:00
Hongbo Wu
e0437008d7 Fix not updating/deleting the right label in the highlight 2022-12-29 22:40:31 +08:00
Hongbo Wu
264ebef46e Fix not setting labels to the correct highlight in a page 2022-12-29 21:34:45 +08:00
Hongbo Wu
7c39db207b Replace createArticle with savePage in puppeteer-parse service 2022-12-28 10:15:05 +08:00
Hongbo Wu
e22d209721 Fix test 2022-12-28 09:16:44 +08:00
Hongbo Wu
e9b31e375f Update savePage API to accept parsed content in the param 2022-12-27 21:59:31 +08:00
Hongbo Wu
302ea2023f Add obsidian to corsConfig 2022-12-23 10:29:43 +08:00
Jackson Harper
34029bee7e Update getting started guide, improve section on newsletter forwards, fix link to Logseq guide 2022-12-14 17:59:32 +08:00
Hongbo Wu
83aa2093eb Still return admins if not allowed to see members 2022-12-13 19:05:07 +08:00
Hongbo Wu
943b20f21e Only recommend page if the user is allowed to post 2022-12-13 19:00:49 +08:00
Hongbo Wu
5ef4e8479d Create one rule for all pages in the group to have the label and another rule for the recommended page to send a notification 2022-12-13 16:35:39 +08:00
Hongbo Wu
a340699240 add comment 2022-12-13 12:15:41 +08:00
Hongbo Wu
918ada2100 only recommend highlights created by the user 2022-12-13 12:12:20 +08:00
Hongbo Wu
25842270d7 Update the rule to only trigger on page created event 2022-12-13 12:04:17 +08:00
Hongbo Wu
4247835dc5
Merge pull request #1537 from omnivore-app/group-rules
group rules
2022-12-13 09:54:20 +08:00
Hongbo Wu
f5650acb69 Return canPost and canSeeMembers and topics and description in type group 2022-12-12 22:57:58 +08:00
Hongbo Wu
54ceeb326a Add canPost and canSeeMembers to type Group 2022-12-12 22:40:19 +08:00
Hongbo Wu
3e79b86179 Allow search recommendations with wildcard 2022-12-12 22:09:25 +08:00
Hongbo Wu
1338b1fc10 Remove subscription from shared page 2022-12-12 17:53:58 +08:00