Commit graph

273 commits

Author SHA1 Message Date
Hongbo Wu
4a3537cdc2 Fix test 2022-11-24 13:38:13 +08:00
Hongbo Wu
85d319c3c7 Fix test 2022-11-24 10:38:45 +08:00
Hongbo Wu
e3f4a619c7 Fix merge conflicts 2022-11-24 08:59:23 +08:00
Hongbo Wu
05ecac7c52 Fix tests 2022-11-24 08:59:21 +08:00
Hongbo Wu
14ddb369a9 Fix tests 2022-11-24 08:59:12 +08:00
Hongbo Wu
3a39ec55cc Delete user with right permission 2022-11-24 08:59:10 +08:00
Hongbo Wu
a3d536fcf1 Separate migrations from test 2022-11-24 08:58:20 +08:00
Hongbo Wu
f473c18939 Add deleteRule api 2022-11-23 09:52:15 +08:00
Jackson Harper
6ca8b3610b Fix nock imports 2022-11-21 22:39:10 +08:00
Jackson Harper
4966af354a Add some nocks for failing URL tests 2022-11-21 22:39:10 +08:00
Jackson Harper
7b79af481f Add prefix and suffix text to make text matching work 2022-11-21 22:39:10 +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
88416bc178 Add get rules api 2022-11-21 15:03:15 +08:00
Hongbo Wu
7479222657 Fix test 2022-11-21 10:17:13 +08:00
Hongbo Wu
319d757f40 Fix test 2022-11-18 14:34:31 +08:00
Hongbo Wu
fbe4c471cd Add pubsub subscription to trigger rule actions 2022-11-18 14:00:10 +08:00
Hongbo Wu
66430a1e8b Fix test 2022-11-18 10:54:03 +08:00
Hongbo Wu
50fe92ac85 Add setRule resolver 2022-11-17 18:53:05 +08:00
Hongbo Wu
a78074b0da
Merge pull request #1406 from omnivore-app/set-voice-in-user-personalization
set voice in user personalization
2022-11-11 16:57:49 +08:00
Hongbo Wu
2cff9f049a Temporarily disable feature api tests 2022-11-11 16:54:18 +08:00
Hongbo Wu
588a14c6b9 Fix tests 2022-11-11 16:47:32 +08:00
Jackson Harper
eaaf1c052b Fix typo 2022-11-11 15:39:47 +08:00
Jackson Harper
c5c59c07c0 Fix test for search field 2022-11-11 15:19:53 +08:00
Jackson Harper
83dbb54896 Allow filtering by author 2022-11-11 15:01:14 +08:00
Hongbo Wu
c09074d901 Fix tests of optInFeatures API 2022-11-10 21:32:49 +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
Jackson Harper
54ad303ed7 Add a nock for stratechery test 2022-11-01 11:54:57 +08:00
Hongbo Wu
324e0191d6 Fix tests 2022-10-28 18:01:56 +08:00
Hongbo Wu
3446bc3555 Use the correct data format in the pub/sub queue 2022-10-27 14:01:32 +08:00
Hongbo Wu
5e68e30d5b Add highlightPositionPercent and highlightPositionAnchorIndex in highlight api 2022-10-25 10:24:30 +08:00
Hongbo Wu
e1de55bea0 Delete highlights, labels and other metadata when soft delete pages 2022-10-20 11:16:49 +08:00
Jackson Harper
69d50bcc6e Set the proper number of expected reads for iOS now that article is available 2022-10-19 17:48:22 +08:00
Hongbo Wu
14c87a1240
Merge pull request #1298 from omnivore-app/feature/add-popular-read-when-signup
feature/add popular read when signup
2022-10-13 13:13:13 +08:00
Hongbo Wu
19d0d314db Fix tests 2022-10-12 18:05:17 +08:00
Hongbo Wu
7a48cccac9 Save client in request context 2022-10-12 14:30:39 +08:00
Hongbo Wu
4b7950458c Remove Redis client in api 2022-10-12 13:40:16 +08:00
Hongbo Wu
d4f32f7bdd Save search term in search history and update timestamp 2022-10-12 13:27:19 +08:00
Hongbo Wu
1725f96d82 Add recentSearches API implementation and test 2022-10-12 12:20:48 +08:00
Hongbo Wu
d74eee131c Add Redis in test 2022-10-11 19:10:42 +08:00
Hongbo Wu
af9147d9d3 Add iOS popular reads to new iOS users 2022-10-11 16:07:49 +08:00
Hongbo Wu
606183829a Add popular reads to new users 2022-10-11 15:44:53 +08:00
Hongbo Wu
25740465f2 Add timeout 2022-09-30 13:10:58 +08:00
Hongbo Wu
b00a516737 Add other newsletter handlers 2022-09-30 12:51:23 +08:00
Hongbo Wu
0369eb7bea Set the "since" to be the exact time when the last page was added to ensure all the deletion happen after that 2022-09-29 15:36:18 +08:00
Hongbo Wu
7353c328d9 Remove unused text-to-speech code 2022-08-29 22:29:40 +08:00
Hongbo Wu
99a628f03f Fix tests 2022-08-25 16:09:35 +08:00
Hongbo Wu
530464f54d Fix tests 2022-08-18 21:29:35 +08:00
Hongbo Wu
4cf5b934eb Add validation to request params 2022-08-18 19:24:38 +08:00
Hongbo Wu
a4a8fa9241 Replace emphasis elements in HTML 2022-08-18 19:24:38 +08:00
Hongbo Wu
c79651202d Add synthesize SSML to speech and test 2022-08-18 19:24:38 +08:00
Hongbo Wu
c9d26acb25 Fix typo 2022-08-18 19:24:38 +08:00
Hongbo Wu
447e413605 Add function to parse HTML to SSML 2022-08-18 19:24:38 +08:00
Hongbo Wu
355e33b648 Test Mandarin 2022-08-18 19:24:38 +08:00
Hongbo Wu
e086a14ac2 Convert time to ms 2022-08-18 19:24:38 +08:00
Hongbo Wu
77570aa5ab Synthesize text to speech with azure API 2022-08-18 19:24:36 +08:00
Hongbo Wu
4b42d013ca Convert text to OGG file 2022-08-18 19:23:41 +08:00
Hongbo Wu
dd332f5ee6 Add tests 2022-08-18 19:23:41 +08:00
Hongbo Wu
5da6a5e036 Fix setLabelsForHighlights integration tests 2022-08-09 10:10:07 +08:00
Hongbo Wu
427cecf6b9 Update syncedAt after syncing 2022-08-09 09:51:31 +08:00
Hongbo Wu
134482a261 Add integration tests for integration router 2022-08-08 23:11:35 +08:00
Hongbo Wu
7ac45ca748 Add deleteIntegration API and integration tests 2022-08-08 18:34:13 +08:00
Hongbo Wu
4aa62d6031 Add list integrations API and integration tests 2022-08-08 18:12:44 +08:00
Hongbo Wu
0cf3f58258 Add integration tests for setIntegration API 2022-08-08 17:09:23 +08:00
Hongbo Wu
8070273dad Fix tests 2022-08-05 16:10:33 +08:00
Hongbo Wu
73bf695cf3 Add function to get highlight start location 2022-08-05 16:08:20 +08:00
Hongbo Wu
977bd1deda Fix tests 2022-08-05 11:44:02 +08:00
Hongbo Wu
f2319bd70d Fix conflicts after rebasing 2022-08-04 21:56:38 +08:00
Hongbo Wu
73ce9072f3 Add test for afterLabel not exists 2022-08-04 21:39:45 +08:00
Hongbo Wu
eee918c522 Fix test Con't 2022-08-04 21:39:45 +08:00
Hongbo Wu
4916bdf1f3 Fix tests 2022-08-04 21:39:45 +08:00
Hongbo Wu
7c73982fe3 Add test for moving to the top 2022-08-04 21:39:45 +08:00
Hongbo Wu
ace5628c11 Add integration test 2022-08-04 21:39:43 +08:00
Hongbo Wu
31d8f72840 Sort labels by position order 2022-08-04 21:37:32 +08:00
Hongbo Wu
446a9903e8 Fix tests 2022-07-29 21:22:55 +08:00
Hongbo Wu
a9a88a21d2 Add integration tests for updatesSince API resolver 2022-07-29 18:11:52 +08:00
Hongbo Wu
83f988bb35 Soft delete articles 2022-07-29 15:53:13 +08:00
Hongbo Wu
3a120b8f47 Return empty name if name not found in from header 2022-07-28 10:37:28 +08:00
Hongbo Wu
c99c1db57e Add support to the case when from address is in Name <address> format 2022-07-28 10:26:15 +08:00
Hongbo Wu
0bdab51bbd
Merge pull request #1021 from omnivore-app/feature/save-from-email
Save articles by sending emails to omnivore inbox
2022-07-27 20:10:31 +08:00
Hongbo Wu
87efb85a6e Fix tests, Cont 2022-07-27 13:11:04 +08:00
Hongbo Wu
f286a89a5f Fix tests 2022-07-27 12:32:49 +08:00
Hongbo Wu
dfa0a65d15 Add tests for email forward router 2022-07-27 12:15:28 +08:00
Hongbo Wu
6f11ccacb1 Save article from forwarding emails 2022-07-27 12:15:28 +08:00
Hongbo Wu
d184ca8d04 Add function isProbablyArticle to test if a forwarded email contains an article to save 2022-07-27 12:15:26 +08:00
Jackson Harper
c80270ae81 Update expected redirect URLs in tests 2022-07-26 15:58:38 -07:00
Jackson Harper
8b072ab094 Update expected URLs for tests
- after email is sent the user is redirected to an information page
- after login the user is redirected through the sso page
2022-07-26 15:18:56 -07:00
Jackson Harper
acd36fe9af Move auth routes into /auth folder 2022-07-26 10:31:45 -07:00
Hongbo Wu
560f95b57e fix test 2022-07-25 15:14:01 -07:00
Hongbo Wu
43d2216983 fix test 2022-07-25 15:14:01 -07:00
Hongbo Wu
024d4bd25c stop referring to user entity before migration 2022-07-25 15:14:01 -07:00
Hongbo Wu
bd77a7f8ee add test for reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
6699ec834d add router handler for reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
286d167769 add router handler for email reset password 2022-07-25 15:14:01 -07:00
Hongbo Wu
53fd7f52df delete user after testing 2022-07-25 15:14:01 -07:00
Hongbo Wu
bab96aaa1e remove membership from user 2022-07-25 15:14:01 -07:00
Hongbo Wu
ea9d98aa95 make confirm-email a post api 2022-07-25 15:14:01 -07:00