Commit Graph

21 Commits

Author SHA1 Message Date
cea5f790d8 fix some tests 2023-10-05 14:30:09 +08:00
b1899e340d replace library item 2023-10-05 14:25:10 +08:00
c655f78f8c replace highlight 2023-10-05 14:24:28 +08:00
9370951893 create a repository directory 2023-10-05 14:22:56 +08:00
425864ce01 remove knex 2023-10-05 14:21:56 +08:00
07d43812a7 use winston logger instead of console log so the log will be truncated if it exceeds the max entry size 2023-07-26 16:27:18 +08:00
7c0c4eaa40 fix: type error 2023-06-27 21:05:00 +08:00
ed8287df19 remove tracking params from tweet url 2023-06-27 17:49:31 +08:00
cf7c50468e Use normalized URLs when querying article saving requests
When we save pages we save the normalized URL, so if a user saves
a URL like https://foo.com/ in elastic it will be saved as
https://foo.com but the browser will redirect to this url:

https://omnivore.app/article?url=https://foo.com/ and the URL
lookup will fail.
2023-06-16 15:15:24 +08:00
c07ada0218 resolve conflicts 2023-04-12 17:04:59 +08:00
abd42f7064 Add labels and state to saveUrl API 2023-04-12 16:50:11 +08:00
5af9d9266c Do not fetch deleted article in saving request 2023-03-21 13:03:53 +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
e555cc733a More descriptive error messages 2022-12-05 18:40:33 +08:00
bc1ed3f054 Check state in articleSavingRequest 2022-05-04 19:33:13 +08:00
95b163a437 Prettier clean up 2022-05-02 20:58:05 -07:00
ab96bb09ab Add more detailed analytics for saving. Remove intercom events 2022-05-02 20:41:10 -07:00
2b70d480d2 Remove article saving request (#493)
* Add state and taskName in elastic page mappings

* Add state and taskName in elastic page interface

* Create page with PROCESSING state before scrapping

* Update createArticleRequest API

* Fix tests

* Add default state for pages

* Update createArticle API

* Update save page

* Update save file

* Update saving item description

* Show unable to parse content for failed page

* Fix date parsing

* Search for not failed pages

* Fix tests

* Add test for saveUrl

* Update get article saving request api

* Update get article test

* Add test for articleSavingRequest API

* Add test for failure

* Return new page id if clientRequestId empty

* Update clientRequestId in savePage

* Update clientRequestId in saveFile

* Replace article with slug in articleSavingRequest

* Add slug in articleSavingRequest response

* Depreciate article

* Use slug in web

* Remove article and highlight fragments

* Query article.slug on Prod

* Show unable to parse description for failed page

* Fix a bug having duplicate pages when saving the same url multiple times

* Add state in response

* Rename variables in removeArticle API

* Rename state

* Add state in response in web

* Make state an enum

* Open temporary page by link id

* Use an empty reader view as the background for loading pages

* Progressively load the article page as content is loaded

* Add includePending flag in getArticles API

* Set includePending = true in web

* Add elastic update mappings in migration script

* Add elastic mappings in docker image

* Move index_settings.json to migrate package

* Remove elastic index creation in api

* Move elastic migrations to a separate directory

* Remove index_settings from api docker image

Co-authored-by: Jackson Harper <jacksonh@gmail.com>
2022-04-29 13:41:06 +08:00
505f888e37 Update to latest intercom client 2022-03-01 11:20:31 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00