Commit graph

375 commits

Author SHA1 Message Date
Hongbo Wu
d00becc269 Add readAt to search API response 2022-06-04 22:12:59 +08:00
Hongbo Wu
fc68d51320 Support sort/filter by readAt 2022-06-04 22:12:03 +08:00
Hongbo Wu
b1d968ff23 Update readAt when saving reading progress 2022-06-04 22:11:44 +08:00
Hongbo Wu
577c6e84fb Add readAt to page type 2022-06-04 22:11:14 +08:00
Jackson Harper
b61a8f6015
Merge pull request #747 from omnivore-app/fix/ios-sorting
Disable sorting options that need API improvements
2022-06-03 14:04:19 -07:00
Jackson Harper
791e31d60f
Merge pull request #750 from omnivore-app/OMN-633
Reopening OMN-633 to rebase
2022-06-03 13:36:36 -07:00
Jackson Harper
b56c6dafa9 Disable sorting options that need API improvements 2022-06-03 12:47:43 -07:00
Jackson Harper
278d56baef Add createdAt and updatedAt attributes to article tests GQL 2022-06-03 12:03:24 -07:00
Jackson Harper
bf929db559 Add the updatedAt attribute to page items 2022-06-03 10:24:11 -07:00
Jackson Harper
975411d429
Merge pull request #719 from omnivore-app/fix/pdf-uploading-improvements 2022-06-02 16:47:03 -07:00
Hongbo Wu
89164a353f
Merge pull request #723 from omnivore-app/fix/tweet-not-saved
Fix tweet not saved
2022-06-02 11:20:40 +08:00
Hongbo Wu
4f031a579c
Merge pull request #721 from omnivore-app/search-highlights-second-index
When searching for highlights we should include document title, descr…
2022-06-02 11:05:30 +08:00
Hongbo Wu
195074fa49 Update search query 2022-06-01 13:49:51 +08:00
Hongbo Wu
304fe70113 Fix tests 2022-06-01 10:30:23 +08:00
Jackson Harper
11f1b78c45 Remove changes to upload.ts 2022-05-31 15:26:33 -07:00
Jackson Harper
0e10d5630d Rebase and merge 2022-05-31 15:11:10 -07:00
Hongbo Wu
404805e0c0 Make async calls to parse() 2022-05-31 22:51:00 +08:00
Hongbo Wu
74054cbdbd
Merge pull request #716 from omnivore-app/api-token
Api tokens
2022-05-31 14:22:23 +08:00
Jackson Harper
6f35740272 Linting fixes 2022-05-30 22:38:24 -07:00
Jackson Harper
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
gitstart-omnivore
d42b0c244c fixed merge conflicts 2022-05-30 12:29:49 +00:00
Hongbo Wu
a04bfbb83e When searching for highlights we should include document title, description, content as secondary indexes 2022-05-29 22:43:21 +08:00
Hongbo Wu
c0bb67a6b5 Verify api key for routers too 2022-05-28 22:00:01 +08:00
Jackson Harper
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
Hongbo Wu
6e16631f3b Resolve conflicts 2022-05-27 18:37:10 +08:00
Hongbo Wu
fa9c5b3efe Add test for list api keys 2022-05-27 18:36:18 +08:00
Hongbo Wu
b7206457b4 Add test for revoke api key 2022-05-27 18:36:17 +08:00
Hongbo Wu
0f2a55d274 Add list/delete api key resolver 2022-05-27 18:35:38 +08:00
Hongbo Wu
fd4fc8a4e7 Add list/delete api key in schema 2022-05-27 18:34:36 +08:00
Hongbo Wu
333b0259ba Fix tests 2022-05-27 18:33:49 +08:00
Hongbo Wu
9051a3f43a Update api key validation 2022-05-27 18:33:49 +08:00
Hongbo Wu
a09588d3a7 Update generateApiKey resolver 2022-05-27 18:33:49 +08:00
Hongbo Wu
849adf84d4 Add entity class 2022-05-27 18:33:49 +08:00
Hongbo Wu
5bb720c54d
Merge pull request #709 from omnivore-app/webhook
Webhook
2022-05-27 13:02:17 +08:00
Jackson Harper
0cabd26344 Dont send the normalized URL to the content-fetch service
URLs need to be sent to contentFetch exactly as they
were received, this is because many apps will use signed URLs
for PDFs being served from GCP or AWS. A signed URL needs to
keep all its query params in the same order to validate.
2022-05-26 21:40:40 -07:00
Jackson Harper
93b095818d Linting fixes 2022-05-26 21:40:40 -07:00
Jackson Harper
cb98a9cf86 Make clients opt into creating a page when uploading a file 2022-05-26 21:40:40 -07:00
Jackson Harper
5fc977a585
Merge pull request #692 from omnivore-app/dependabot/npm_and_yarn/ts-loader-9.3.0
Bump ts-loader from 8.3.0 to 9.3.0
2022-05-26 12:31:04 -07:00
Hongbo Wu
9981e506e4 mock webhook request 2022-05-26 15:12:11 +08:00
Hongbo Wu
49de17bea5 Fix tests 2022-05-26 14:52:01 +08:00
Hongbo Wu
26681e5ecd Add get/list/delete webhook resolver tests 2022-05-26 14:52:01 +08:00
Hongbo Wu
a75ce3c44d Add get/list/delete webhook resolver 2022-05-26 14:52:00 +08:00
Hongbo Wu
cc07c00a83 Add get/list/delete webhook gql schema 2022-05-26 14:51:11 +08:00
Hongbo Wu
c9c6f83e65 Add tests for trigger endpoint 2022-05-26 14:51:11 +08:00
Hongbo Wu
7b0ebb9dbf Add pubsub subscription to trigger webhook 2022-05-26 14:51:11 +08:00
Hongbo Wu
c84668e6b0 Remove debug log 2022-05-26 14:51:11 +08:00
Hongbo Wu
7157f38738 Add test 2022-05-26 14:51:11 +08:00
Hongbo Wu
6d0ce30a44 Add setWebhook resolver 2022-05-26 14:51:10 +08:00
Hongbo Wu
5528d1d349 Replace createWebhook with setWebhook 2022-05-26 14:50:38 +08:00
Hongbo Wu
f61f61312c Add webhook entity 2022-05-26 14:50:10 +08:00