Commit Graph

17 Commits

Author SHA1 Message Date
c4a5cbe4e2 Save newsletter_email_id in subscription instead of the whole entity 2023-01-12 22:16:00 +08:00
08e0423939 Add unique constraint on user_id and name to subscriptions table 2023-01-09 15:04:01 +08:00
4a3537cdc2 Fix test 2022-11-24 13:38:13 +08:00
e3f4a619c7 Fix merge conflicts 2022-11-24 08:59:23 +08:00
05ecac7c52 Fix tests 2022-11-24 08:59:21 +08:00
3a39ec55cc Delete user with right permission 2022-11-24 08:59:10 +08:00
a3d536fcf1 Separate migrations from test 2022-11-24 08:58:20 +08:00
c99c1db57e Add support to the case when from address is in Name <address> format 2022-07-28 10:26:15 +08:00
b52043bd95 add a test to check if use has a pending status after creation 2022-07-25 15:12:55 -07:00
520ce0077b Add refresh index method 2022-06-09 12:34:22 +08:00
1117a0c575 Feature/subscription list resolver (#432)
* add subscriptions table

* add listSubscriptions schema

* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00
3befff61af fix tests 2022-04-14 13:22:21 +08:00
7569e988bf upgrade typeorm to 3.0 (#359)
* upgrade typeorm to 3.0

* use new datasource object in typeorm 3

* fix tests

* fix tests

* migrate before creating connection

* fail the test if migration failed
2022-04-06 10:32:41 +08:00
d33b213092 add setLabels api and tests 2022-02-24 14:44:48 +08:00
d53e94aeb2 add tests for create article 2022-02-16 16:14:14 +08:00
a04e91472d fix a bug of using article as table name in the reminders query (#34)
* fix a bug of using article as table name in the reminders query

* fix test

* increase timeout value

* increase timeout value to 50000

* add import mocha

* add import mocha for label test

* add import mocha for every test

* fix test in deleting labels

* add timeout for each label test

* one more test

* fix reminders router by allowing sendrid template id to be null

* do not retry if reminders not found
2022-02-14 13:59:04 +08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00