Commit Graph

896 Commits

Author SHA1 Message Date
e5ffd3f5bd Stop inserting search history to the DB in the search API 2023-04-05 11:45:39 +08:00
819d275497 Add wordsCount if undefined when creating pages in elastic 2023-04-04 12:52:46 +08:00
32d31af847 Merge pull request #1970 from omnivore-app/double-quote-size-limit
Double max length of quote in highlights
2023-04-04 11:44:28 +08:00
c52d2f0f56 Fix pageType to be null in updatesSince api response 2023-04-04 11:00:13 +08:00
8d79f858c3 Double max length of quote in highlights 2023-04-03 18:46:59 +08:00
53a2df5dd2 Fix start_date or end_date is undefined in elasticsearch search query 2023-03-27 18:45:24 +08:00
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
f348ec7100 Add id to saving request and make both id and url optional 2023-03-17 17:56:38 +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
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
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
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
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
45b2fa6329 fix not setting zero 2023-03-10 12:46:41 +08:00
bba0f69f62 Add top percentage to the reading position in API 2023-03-10 12:38:25 +08:00
590a1cb8ad Only publish labels to add to the pubsub queue 2023-03-09 21:46:33 +08:00
104da191d2 Allow webhooks with same event types 2023-03-09 15:00:06 +08:00
58156b72ff Update yarn.lock 2023-03-09 10:44:42 +08:00