Commit Graph

54 Commits

Author SHA1 Message Date
4f86f05aac Remove JSONLD test 2023-10-16 11:39:03 +08:00
3f4be32df8 Merge library item imports 2023-10-13 18:26:02 +08:00
4ff5484d8e change item_type to text 2023-10-05 14:31:06 +08:00
669cddeec8 fix some rls issue 2023-10-05 14:30:10 +08:00
50bfc1fa74 fix tests 2023-10-05 14:29:23 +08:00
6fd550fa6c delete chai/required-should from import statements 2023-07-24 21:15:31 +08:00
bab3983383 Fix typo in test description 2023-06-05 16:00:50 +08:00
51186a195f Add test for content type func 2023-06-05 14:59:27 +08:00
42dc3f7330 Fix some external requests not being mocked 2023-04-12 17:04:59 +08:00
39b79f5cd2 Mock sending emails while testing 2023-04-12 17:04:59 +08:00
14ddb369a9 Fix tests 2022-11-24 08:59:12 +08:00
3a39ec55cc Delete user with right permission 2022-11-24 08:59:10 +08:00
7b79af481f Add prefix and suffix text to make text matching work 2022-11-21 22:39:10 +08:00
9741f6b12d Add highlights to newly saved pages if they contain highlight markers 2022-11-21 22:39:10 +08:00
eaaf1c052b Fix typo 2022-11-11 15:39:47 +08:00
c5c59c07c0 Fix test for search field 2022-11-11 15:19:53 +08:00
83dbb54896 Allow filtering by author 2022-11-11 15:01:14 +08:00
54ad303ed7 Add a nock for stratechery test 2022-11-01 11:54:57 +08:00
19d0d314db Fix tests 2022-10-12 18:05:17 +08:00
b00a516737 Add other newsletter handlers 2022-09-30 12:51:23 +08:00
7353c328d9 Remove unused text-to-speech code 2022-08-29 22:29:40 +08:00
99a628f03f Fix tests 2022-08-25 16:09:35 +08:00
530464f54d Fix tests 2022-08-18 21:29:35 +08:00
4cf5b934eb Add validation to request params 2022-08-18 19:24:38 +08:00
a4a8fa9241 Replace emphasis elements in HTML 2022-08-18 19:24:38 +08:00
c79651202d Add synthesize SSML to speech and test 2022-08-18 19:24:38 +08:00
c9d26acb25 Fix typo 2022-08-18 19:24:38 +08:00
447e413605 Add function to parse HTML to SSML 2022-08-18 19:24:38 +08:00
355e33b648 Test Mandarin 2022-08-18 19:24:38 +08:00
e086a14ac2 Convert time to ms 2022-08-18 19:24:38 +08:00
77570aa5ab Synthesize text to speech with azure API 2022-08-18 19:24:36 +08:00
4b42d013ca Convert text to OGG file 2022-08-18 19:23:41 +08:00
dd332f5ee6 Add tests 2022-08-18 19:23:41 +08:00
3a120b8f47 Return empty name if name not found in from header 2022-07-28 10:37:28 +08:00
c99c1db57e Add support to the case when from address is in Name <address> format 2022-07-28 10:26:15 +08:00
6f11ccacb1 Save article from forwarding emails 2022-07-27 12:15:28 +08:00
d184ca8d04 Add function isProbablyArticle to test if a forwarded email contains an article to save 2022-07-27 12:15:26 +08:00
6d28d31e6b fix getNewsletterUrl test 2022-07-14 18:43:35 +08:00
304fe70113 Fix tests 2022-06-01 10:30:23 +08:00
91d0d0604e Fix tests 2022-05-12 18:08:44 +08:00
93ed1936f0 Remove jsdom in packages/api 2022-05-10 17:12:52 +08:00
da28998130 Pull ul list out of newsletter blurb
next/react doesnt want child elements of the paragraphs

Improve formatting

Improve wording

Use buttons in the subscribe directly blocks

Simplify docs on setting up forwarding rules

Add extra padding on bottom of help docs

Remove unused style

Add emails help page

Improve formatting

Prefetch page content on iOS

Reduce the reader overly length now that items are precached

Add invalidation when highlights are added to items

fix missing index_settings.json file in api dockerfile for creating elastic index (#363)

Handle full email address objects in the to param from sendgrid

These come in a format like:

"jacksonh-dfdf@inbox.omnivore.app" <jacksonh-dfdf@inbox-demo.omnivore.app>

New IDs for short highlights because they dont cascade delete now

Testing CI issues

Simplify test

CI test

Use promises for async tests

Temporarily remove test to debug CI

Re-enable

re-enable test, return error

Specify a userId when looking up saved email pages

create a unique url for newsletters without a URL

Use 500ms on page test timeouts

Increase timeout

Dont use deep equal to match newsletter label

Run just the labels API

Run against just the newsletter emails

Run without the page tests

Fix

Set the allow uncaught flag

Remove highlight tests

Remove newsletters tests

more resolver tests

Remove newsetter tests

Comment out resolver tests

Use nock for external requests in tests

Specify puppeteer url for tests

Comment out more tests

uncomment tests

re-enable

re-enable email test

Re-disable

Re-enable one pdf attachment test

Re-disable pdf attachment test

Use promises on setTimeout tests

rm label tests

mv label tests into a context

Comment out pdf tests

Comment out pdf tests

Async test

Async wrappers

Delay when creating test pages

More debugging

Unique short ids

Remove potentially problematic test

Fetch page before returning for test

handler in before block

more debugging

More debugging

Move errors checks into contexts

Use a context when saving newsletters to force index refresh

Prettier fix

Fix newsletter label check, remove setTimeout

Re-enable test

timeout on pdf router handler

Fix method call

comment out PDF test

Unique fake username

Comment out PDF test

Debugging signed urls

Re-enable

New email

pdf test

PDF tests

Comment out pdf test

Add nock stubs for email URLs

Use full address for PDF test

Remove debug

Use full email addresses
2022-04-02 16:56:24 -07:00
ff1200f3a1 Use html decoding when getting values from fetched oembed
If we fetch oembed data from an external source, instead of
handling it in readabilityjs we need to html decode it.
2022-03-16 15:29:42 -07:00
a4533dc016 Merge pull request #201 from omnivore-app/feature/beehiiv-newsletter-support
Support newsletters hosted on beehiiv
2022-03-15 14:03:55 -07:00
5983cfe2a6 Attempt to set publishedDate if readability fails to parse it
This can happen if JSONLD fails to load. The test page here has
an encoding issue that causes the oembed jsonld to fail to load
and then readability fails to parse the date.
2022-03-13 21:23:51 -07:00
2184c2a8d3 Parse online URLs for beehiiv newsletters 2022-03-07 15:49:44 -08:00
bba094fbcd Add tests for beehiiv.com hosted newsletters 2022-03-07 15:05:38 -08:00
ae329d2651 Add test data file 2022-03-03 19:47:37 -08:00
b6fd3e786e Fix parsing authors from page metadata 2022-03-03 19:40:02 -08:00
b326a5f8e7 Add more matches on substack icons 2022-03-03 13:42:30 -08:00