Commit Graph

58 Commits

Author SHA1 Message Date
9ea9bd9ea1 send confirmation email to pending user when login 2022-07-25 15:14:01 -07:00
068684d16b add test for failing to send confirmation email when signup 2022-07-25 15:12:56 -07:00
cb1d64cd82 add siteName in api response 2022-07-13 10:57:54 +08:00
970609c3b8 change size to first in query param 2022-07-13 10:46:03 +08:00
b68282fe97 rename typeahead to typeaheadSearch 2022-07-12 09:36:00 -07:00
3a1f38a6f7 add typeahead api implementation 2022-07-12 09:36:00 -07:00
31ac511121 add typeahead gql schema 2022-07-12 09:36:00 -07:00
02411347a7 regenerate graphql files 2022-07-06 09:38:24 -07:00
6cae3dc9b5 Add highlights in search item 2022-06-28 09:53:48 +08:00
2bcf97d2e8 Make updatedAt optional 2022-06-17 17:07:13 +08:00
e408143ea9 Add savedAt to searchItem and make readingProgress required 2022-06-17 16:02:46 +08:00
6189e85b2c Add readAt to article 2022-06-15 09:32:10 +08:00
ea4e4d6828 Use the Article type instead of Page in updatePage API
Despite the name we are still using Article in many
places.
2022-06-09 15:29:01 -07:00
fa2b58eac0 When creating a page during an uploadfile request return its ID 2022-06-08 20:17:47 -07:00
309c581cf5 Merge pull request #729 from omnivore-app/labels-in-highlights
Support labels in highlights
2022-06-09 09:28:43 +08:00
93c0e53d1d Generate setLabelsForHighlight graphql code 2022-06-08 14:59:11 +08:00
427b58eedd Add set labels for highlight gql schema 2022-06-06 19:15:51 +08:00
d00becc269 Add readAt to search API response 2022-06-04 22:12:59 +08:00
791e31d60f Merge pull request #750 from omnivore-app/OMN-633
Reopening OMN-633 to rebase
2022-06-03 13:36:36 -07:00
bf929db559 Add the updatedAt attribute to page items 2022-06-03 10:24:11 -07:00
74054cbdbd Merge pull request #716 from omnivore-app/api-token
Api tokens
2022-05-31 14:22:23 +08:00
d42b0c244c fixed merge conflicts 2022-05-30 12:29:49 +00:00
987336f438 Merge pull request #712 from omnivore-app/fix/ios-pdf-handling
Better PDF upload handling on iOS
2022-05-27 08:43:07 -07:00
b7206457b4 Add test for revoke api key 2022-05-27 18:36:17 +08:00
fd4fc8a4e7 Add list/delete api key in schema 2022-05-27 18:34:36 +08:00
a09588d3a7 Update generateApiKey resolver 2022-05-27 18:33:49 +08:00
cb98a9cf86 Make clients opt into creating a page when uploading a file 2022-05-26 21:40:40 -07:00
cc07c00a83 Add get/list/delete webhook gql schema 2022-05-26 14:51:11 +08:00
6d0ce30a44 Add setWebhook resolver 2022-05-26 14:51:10 +08:00
5528d1d349 Replace createWebhook with setWebhook 2022-05-26 14:50:38 +08:00
aaab02c9d8 Add createWebhook gql schema 2022-05-26 14:50:08 +08:00
dd394144cd Add language in schema 2022-05-26 10:52:19 +08:00
d704fad2ff Merge pull request #701 from omnivore-app/feature/add-popular-reads
API to add recommended (popular) reads to a users library
2022-05-24 21:09:24 -07:00
f4c65d7fe1 Merge pull request #698 from omnivore-app/sort-by-publish-time
Support sort or filter by publish time
2022-05-25 10:41:49 +08:00
2b14d51ec6 API to add recommended (popular) reads to a users library
This API is used in onboarding
2022-05-24 12:05:39 -07:00
641f191fcd Add published sort param in schema 2022-05-24 18:23:30 +08:00
75728cc144 fixing diff 2022-05-24 07:04:54 +00:00
51dd9a5733 Return a list of subscriptions 2022-05-17 18:45:52 +08:00
906b2d28a0 Add subscribe API schema 2022-05-17 16:23:36 +08:00
8f75c43658 Add siteName in search result 2022-05-12 10:30:47 +08: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
d1c2721b95 Add expiration date to api key generation (#495)
* Add exp to jwt token

* Add expiredAt in generate api key input

* Check exp in claim

* Add tests
2022-04-28 09:09:40 +08:00
dca6461b62 Add unsubscribe resolver (#453)
* add unsubscribe resolver

* add subscription to articles api response

* revert yarn.lock changes
2022-04-21 13:18:15 +08:00
1117a0c575 Feature/subscription list resolver (#432)
* add subscriptions table

* add listSubscriptions schema

* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00
928ddd69a9 validate color input in label as rgb hex value 2022-04-13 12:17:12 +08:00
73ef8fef09 Rename linkId to pageId in SetLabelsInput 2022-04-12 12:46:32 -07:00
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
2ebdaba780 add generate api key api and test (#392)
* add generate api key api and test

* test if user can make api call with the api key
2022-04-12 12:11:45 +08:00
11db7be473 [Omn-190] - [Settings View] - Labels 2022-03-30 12:24:29 +00:00
6d405432af add site_name and site_icon to page model and return in resolver (#341)
* add site_name and site_icon to page model and return in resolver

* fix tests
2022-03-30 10:43:10 +08:00