Commit Graph

101 Commits

Author SHA1 Message Date
de803ebbd5 fix auth error when deleting user in db 2022-07-08 11:59:55 +08:00
583fee7f73 fix tests 2022-07-07 14:19:28 +08:00
94d8891c06 add test 2022-07-07 12:20:29 +08:00
5db87db1c6 add api tests for deleting a user 2022-07-06 10:23:52 -07:00
59efc5fea7 Add test 2022-06-28 10:14:15 +08:00
eb34a40f1b Add test 2022-06-26 18:53:28 +08:00
aae9d7e382 Fix test 2022-06-24 10:13:14 -07:00
e96d5552fa Fix search by is:read or is:unread getting empty result by using the correct property name 2022-06-23 12:35:48 +08:00
de09a36c1c Add readAt to api response 2022-06-15 09:42:38 +08:00
5d4c8f00e5 Fix test 2022-06-09 12:38:25 -07:00
70d655f591 Add an uploadFileTest to verify GCS URLs are used for file:// objects 2022-06-09 12:25:58 -07:00
98bc1470b5 Add a test for upload file requests 2022-06-09 12:22:41 -07:00
cc2b492c16 Fix tests 2022-06-09 12:38:09 +08:00
520ce0077b Add refresh index method 2022-06-09 12:34:22 +08:00
309c581cf5 Merge pull request #729 from omnivore-app/labels-in-highlights
Support labels in highlights
2022-06-09 09:28:43 +08:00
a981e13c86 Add test case for deleteLabel 2022-06-08 17:01:38 +08:00
145867fe05 Add test for setLabelsForHighlight resolver 2022-06-08 15:25:11 +08:00
9655a87bab Add test for set Labels For Highlight data access method 2022-06-06 19:15:10 +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
278d56baef Add createdAt and updatedAt attributes to article tests GQL 2022-06-03 12:03:24 -07:00
89164a353f Merge pull request #723 from omnivore-app/fix/tweet-not-saved
Fix tweet not saved
2022-06-02 11:20:40 +08:00
304fe70113 Fix tests 2022-06-01 10:30:23 +08:00
d42b0c244c fixed merge conflicts 2022-05-30 12:29:49 +00:00
fa9c5b3efe Add test for list api keys 2022-05-27 18:36:18 +08:00
b7206457b4 Add test for revoke api key 2022-05-27 18:36:17 +08:00
333b0259ba Fix tests 2022-05-27 18:33:49 +08:00
a09588d3a7 Update generateApiKey resolver 2022-05-27 18:33:49 +08:00
9981e506e4 mock webhook request 2022-05-26 15:12:11 +08:00
49de17bea5 Fix tests 2022-05-26 14:52:01 +08:00
26681e5ecd Add get/list/delete webhook resolver tests 2022-05-26 14:52:01 +08:00
a75ce3c44d Add get/list/delete webhook resolver 2022-05-26 14:52:00 +08:00
cc07c00a83 Add get/list/delete webhook gql schema 2022-05-26 14:51:11 +08:00
c9c6f83e65 Add tests for trigger endpoint 2022-05-26 14:51:11 +08:00
c84668e6b0 Remove debug log 2022-05-26 14:51:11 +08:00
7157f38738 Add test 2022-05-26 14:51:11 +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
aad8539b43 Fix tests 2022-05-24 18:39:21 +08:00
75728cc144 fixing diff 2022-05-24 07:04:54 +00:00
dfd6d3b602 Fix save newsletter email test 2022-05-19 18:12:58 +08:00
444c21ad09 Fix labels test 2022-05-19 18:12:14 +08:00
34349e925c Add unit test 2022-05-19 16:36:35 +08:00
1b8850ed33 Fix tests 2022-05-12 17:41:11 +08:00
93ed1936f0 Remove jsdom in packages/api 2022-05-10 17:12:52 +08:00
21ff9a5ae7 Add test for state=failed or processing 2022-05-04 21:42:59 +08:00
afe8b6e948 make savedAt a required field in page 2022-05-04 17:54:59 +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
1117a0c575 Feature/subscription list resolver (#432)
* add subscriptions table

* add listSubscriptions schema

* add listSubscriptions resolver
2022-04-19 11:08:43 +08:00