Commit graph

172 commits

Author SHA1 Message Date
Hongbo Wu
f01ab3805a Left join active subscriptions of a newsletter email to get the right count 2023-01-18 14:37:54 +08:00
Hongbo Wu
e94f6de466 Delete subscription if unsub 2023-01-18 14:36:23 +08:00
Jackson Harper
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
Hongbo Wu
c647aabeaa Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:15:42 +08:00
Jackson Harper
337b723d24 Fix creation of content display report 2023-01-11 10:51:46 +08:00
Hongbo Wu
892a9ef30d Add subscriptionCount and createdAt in NewsletterEmail type 2023-01-09 12:24:45 +08:00
Jackson Harper
2390f2d716 Cast data to NewsletterMessage 2023-01-04 16:24:41 +08:00
Hongbo Wu
2c39916441 Add wordsCount to article schema 2023-01-02 16:49:11 +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
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
25842270d7 Update the rule to only trigger on page created event 2022-12-13 12:04:17 +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
181b401030 Update new recommendation notification message 2022-12-09 10:56:08 +08:00
Hongbo Wu
b8e7b15805 Fix generating colors with less than 6 digits 2022-12-08 19:01:54 +08:00
Hongbo Wu
04cb360c2f Fix some issue 2022-12-08 18:50:36 +08:00
Hongbo Wu
b942303b18 Create a rule after creating or joining a group 2022-12-08 18:35:22 +08:00
Hongbo Wu
9f260c1442 Create a label for new group if not exists 2022-12-08 18:20:58 +08:00
Hongbo Wu
84d8a9bb67 lint 2022-12-08 16:36:17 +08:00
Hongbo Wu
ff3e8aa29e Add delete permission to group and membership tables 2022-12-08 16:29:46 +08:00
Hongbo Wu
6830da995f Add leaveGroup API 2022-12-08 15:36:28 +08:00
Hongbo Wu
e6b56e6fba Rename groups service 2022-12-05 14:12:04 +08:00
Hongbo Wu
714f0f1f63 Add joinGroup API 2022-12-05 12:47:38 +08:00
Hongbo Wu
93c6c4202a Max number of group per user is 3 2022-12-02 12:36:18 +08:00
Hongbo Wu
da3d9cf76b Add groups api 2022-12-02 12:32:26 +08:00
Hongbo Wu
7285ebb940 Add createGroup API 2022-12-01 18:41:00 +08:00
Hongbo Wu
bb839960f1 Fix site_name not saved when a page is saved by extensions 2022-11-30 17:46:59 +08:00
Hongbo Wu
9344fae1b9 Add title and image url in notification 2022-11-22 10:50:38 +08:00
Jackson Harper
9741f6b12d Add highlights to newly saved pages if they contain highlight markers 2022-11-21 22:39:10 +08:00
Hongbo Wu
f358094bbf Add get device tokens api 2022-11-21 17:03:12 +08:00
Hongbo Wu
dc92fe9c52 Create rule handler cloud run 2022-11-19 11:15:26 +08:00
Hongbo Wu
075c1b4d14 Fix send notification failure 2022-11-18 17:43:21 +08:00
Hongbo Wu
06c30e4f40 Add notification cloud run 2022-11-18 16:13:49 +08:00
Hongbo Wu
e53d5036dc Add notification endpoint 2022-11-18 14:33:27 +08:00
Hongbo Wu
fbe4c471cd Add pubsub subscription to trigger rule actions 2022-11-18 14:00:10 +08:00
Hongbo Wu
477b5d7d24 Fix typeorm issue 2022-11-11 14:53:46 +08:00
Hongbo Wu
d58fb63c87 Pre-fetch realistic voice only if user is opted in 2022-11-10 18:49:52 +08:00
Hongbo Wu
b0938ee96c Pre-fetch realistic voice only if user is opted in 2022-11-10 18:48:00 +08:00
Hongbo Wu
69d6b60adc Extend expiration of the jwt token to 1 year 2022-11-10 17:42:25 +08:00
Hongbo Wu
399e31534d Update jwt token 2022-11-09 22:48:33 +08:00
Hongbo Wu
c89ffdeaf9 Fix some tests 2022-11-09 18:14:15 +08:00
Hongbo Wu
63de1c3359 Add optInFeature API 2022-11-09 17:35:54 +08:00
Hongbo Wu
028b212ecb Fix readwise api error when image_url is empty by removing image_url from api payload 2022-10-31 12:45:49 +08:00
Hongbo Wu
e87b81c5c8 Use order instead of page to indicate highlight location in Readwise 2022-10-28 17:44:14 +08:00
Hongbo Wu
1c31e5fc15 Skip sync with Readwise if no highlights 2022-10-28 15:05:16 +08:00