omnivore/packages/api/src/utils
Hongbo Wu ae0d1dd2ee
Feature/search highlights backend (#395)
* add highlight mappings

* return highlight in resolvers

* temporarily skip highlight tests

* add test for getting highlights

* update merge highlight

* separate elastic methods

* roll back merge highlight test

* add highlight to elastic script

* update delete highlight in elastic

* migrate highlight data from postgres to elastic

* rescue not found exception when page is not found in the migration script

* exclude highlights in searching pages results

* search pages with highlights only with has:highlight query

* add search endpoint to search pages or highlights

* reduce code smell in search api

* fix rebase error

* fix tests

* add test for search highlight

* add test for new search endpoint

* add labels to search results

* update schema

* update search query

* fix update/share highlights

* fix rebase error

* fix tests

* add highlight model in elastic

* add savedAt and publishedAt date range in search query

* add sort by updated and recently read

* fix tests

* close db connection when tests are done

* test github action

* revert github action test

* fix rebase error

* add docker-compose for api-test

* remove unused env

* remove highlights with no page attached to

* allow get_articles resolver to search for query so we can merge it without web changes
2022-04-12 12:31:08 +08:00
..
twitter Open source omnivore 2022-02-11 09:24:33 -08:00
analytics.ts Open source omnivore 2022-02-11 09:24:33 -08:00
auth.ts add generate api key api and test (#392) 2022-04-12 12:11:45 +08:00
axios-handler.ts Fix warnings 2022-03-02 19:49:10 -08:00
blocked.ts Open source omnivore 2022-02-11 09:24:33 -08:00
bloomberg-handler.ts add parser 2022-02-17 20:17:02 +08:00
corsConfig.ts Open source omnivore 2022-02-11 09:24:33 -08:00
createTask.ts Use lower priority queue for large imports 2022-03-22 18:08:08 +08:00
dictionary.ts add labels and link_labels table name 2022-02-24 14:44:49 +08:00
errors.ts Open source omnivore 2022-02-11 09:24:33 -08:00
golang-handler.ts Fix warnings 2022-03-02 19:49:10 -08:00
helpers.ts Rebased version of the elastic PR (#225) 2022-03-16 12:08:59 +08:00
imageproxy.ts Open source omnivore 2022-02-11 09:24:33 -08:00
intercom.ts Update to latest intercom client 2022-03-01 11:20:31 -08:00
logger.ts Open source omnivore 2022-02-11 09:24:33 -08:00
parser.ts add site_name and site_icon to page model and return in resolver (#341) 2022-03-30 10:43:10 +08:00
search.ts Feature/search highlights backend (#395) 2022-04-12 12:31:08 +08:00
sendEmail.ts Open source omnivore 2022-02-11 09:24:33 -08:00
sendNotification.ts Open source omnivore 2022-02-11 09:24:33 -08:00
sso.ts Open source omnivore 2022-02-11 09:24:33 -08:00
substack-handler.ts Open source omnivore 2022-02-11 09:24:33 -08:00
uploads.ts Fix uploading endpoint returns 504 (#289) 2022-03-22 14:20:40 +08:00
usernamePolicy.ts Attempt to pull URLs for probable newsletter emails out of content 2022-03-02 23:09:10 -08:00
wikipedia-handler.ts Fix warnings 2022-03-02 19:49:10 -08:00