Commit Graph

1114 Commits

Author SHA1 Message Date
dd24cfbeec Remove async 2023-03-23 10:45:39 +08:00
abb8df26e5 Set HIGHLIGHT as default highlight type in every highlight 2023-03-23 10:44:30 +08:00
aae16d7a4d Set HIGHLIGHT as default highlight type 2023-03-22 22:02:03 +08:00
b3a965781c resolve conflicts 2023-03-22 10:40:03 +08:00
ee151637e3 Only send event if highlight updated 2023-03-22 10:37:07 +08:00
9df1546323 Fix tests 2023-03-22 10:37:07 +08:00
b0e91cbbbb Change GraphQL APIs 2023-03-22 10:36:38 +08:00
71826148fd Add type to the highlight in the elasticsearch and three types are HIGHLIGHTS, REDACTION and NOTE 2023-03-22 10:34:40 +08:00
013b460e39 Check the permission to access page in elasticsearch 2023-03-21 15:56:30 +08:00
e84b517493 Do not update createdAt for existing page 2023-03-21 13:57:57 +08:00
8148453503 When saving an existing page, update the content 2023-03-21 13:44:00 +08:00
bc9ba1d976 Reset state to processing when creating articles 2023-03-21 13:05:00 +08:00
5af9d9266c Do not fetch deleted article in saving request 2023-03-21 13:03:53 +08:00
f053b60cbe Allow array values in page filters 2023-03-21 13:03:23 +08:00
f93148fcdd Add BAD_DATA to the saving request error code 2023-03-21 13:02:38 +08:00
265c050f5c Return readerURL on save URL requests 2023-03-20 17:28:55 +08:00
c315e8be04 Return article's url in saveUrl api 2023-03-20 16:49:18 +08:00
fb945f2791 Return url in save API 2023-03-20 16:48:50 +08:00
3160e15605 Merge pull request #1857 from omnivore-app/dependabot/npm_and_yarn/firebase-admin-11.5.0
Bump firebase-admin from 10.0.2 to 11.5.0
2023-03-20 10:39:35 +08:00
f348ec7100 Add id to saving request and make both id and url optional 2023-03-17 17:56:38 +08:00
7727a29624 Revert a tsconfig change will cause the dist file structure not as expected 2023-03-17 16:01:07 +08:00
9e492f7dcb Add test case 2023-03-17 11:37:59 +08:00
f9396450a5 Get saving request by url 2023-03-17 11:37:59 +08:00
fc662dd2d5 Return existing slug if page exists 2023-03-17 11:37:59 +08:00
86ae533b66 Merge pull request #1915 from omnivore-app/allow-scoping-searches-to-site
Allow scoping searches to site:
2023-03-17 09:59:21 +08:00
e4b983f7e8 Update eslintignore 2023-03-16 12:47:16 +08:00
adae20e7e1 Use elasticsearch body builder 2023-03-15 19:15:40 +08:00
45eed5c40d Must match siteName 2023-03-15 13:32:04 +08:00
114f0405db update tsconfig 2023-03-15 13:14:40 +08:00
66481c7aa6 Add apollo config 2023-03-15 13:14:26 +08:00
7d2cb07af0 eslint 2023-03-14 22:24:17 +08:00
e5f1f25a4d Allow scoping searches to site: 2023-03-14 18:26:45 +08:00
a8682b8cf6 Save html along with highlight and return 2023-03-14 15:55:32 +08:00
bf6ae38fe1 Add html to the highlight document in elasticsearch 2023-03-14 15:20:09 +08:00
c3f2262b6b Update test 2023-03-14 14:52:42 +08:00
490ae58499 Update test 2023-03-14 14:46:00 +08:00
ee2487ff01 Case insensitive 2023-03-14 14:42:56 +08:00
461b348dc0 Use lower function in the query 2023-03-14 14:42:00 +08:00
7dd32c3e87 Trim whitespace text from user email address 2023-03-14 12:57:23 +08:00
a0ec7bc89d Reset readingProgressAnchorIndex to zero if the input is zero 2023-03-11 10:16:47 +08:00
83cd93bce4 Fix the tests due to the change of readwise integration 2023-03-10 18:03:39 +08:00
98d5f92ad4 Call youtube data api to fetch published date 2023-03-10 17:38:03 +08:00
a0aab94e8b Add site_name and published date to saved twitter 2023-03-10 16:42:40 +08:00
5c3dd904a5 do not use highlightPositionAnchorIndex as the location 2023-03-10 15:54:51 +08:00
12160cc9dc filter out highlights with no quote 2023-03-10 15:43:06 +08:00
45a857152b Add minLength = 1 for quote in highlight 2023-03-10 15:40:31 +08:00
2e197644d4 Add debug logs 2023-03-10 15:17:04 +08:00
8a9a464e84 Add a test case for top position greater than bottom position 2023-03-10 12:56:00 +08:00
45b2fa6329 fix not setting zero 2023-03-10 12:46:41 +08:00
451ed1c70e Add test case for 0 2023-03-10 12:42:57 +08:00