Commit Graph

347 Commits

Author SHA1 Message Date
11f1b78c45 Remove changes to upload.ts 2022-05-31 15:26:33 -07:00
0e10d5630d Rebase and merge 2022-05-31 15:11:10 -07:00
6f35740272 Linting fixes 2022-05-30 22:38:24 -07:00
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07: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
5bb720c54d Merge pull request #709 from omnivore-app/webhook
Webhook
2022-05-27 13:02:17 +08:00
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
93b095818d Linting fixes 2022-05-26 21:40:40 -07:00
cb98a9cf86 Make clients opt into creating a page when uploading a file 2022-05-26 21:40:40 -07:00
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
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
7b0ebb9dbf Add pubsub subscription to trigger webhook 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
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
f61f61312c Add webhook entity 2022-05-26 14:50:10 +08:00
a655275754 Add unique constraint on user_id and event_types 2022-05-26 14:50:10 +08:00
aaab02c9d8 Add createWebhook gql schema 2022-05-26 14:50:08 +08:00
7d4d1d7b67 Parse language in readability 2022-05-26 10:55:21 +08:00
0ef9bb3944 Allow search by language in elastic 2022-05-26 10:55:20 +08:00
87b0f683e1 Add language term in search body 2022-05-26 10:55:04 +08:00
6e06429636 Add language keyword in search query 2022-05-26 10:55:02 +08:00
1eeb5617a5 Search by language 2022-05-26 10:54:04 +08:00
dd394144cd Add language in schema 2022-05-26 10:52:19 +08:00
a702993485 Add search by language query 2022-05-26 10:52:18 +08:00
3e0e8b486f Add language in searchitem 2022-05-26 10:52:18 +08:00
be91562ca1 Add language in page 2022-05-26 10:52:18 +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
a20ba60053 Add popular reads for onboarding 2022-05-24 15:31:55 -07:00
ea50f51644 Update to use image proxy URLs in parsed content 2022-05-24 13:43:57 -07:00
ed5dfde1a8 Linting fixes, remove debug 2022-05-24 13:06:40 -07: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
a35b096d73 Support sort and filter by published in resolver 2022-05-24 18:25:32 +08:00
61065efd2b Add published sort param in elastic query 2022-05-24 18:24:30 +08: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
cf516bba54 Bump ts-loader from 8.3.0 to 9.3.0
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.3.0 to 9.3.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.3.0...v9.3.0)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 21:20:01 +00:00
2d2495a10e Merge pull request #685 from omnivore-app/fix/pdf-api-simplification
Simplify the API to create pages from PDFs
2022-05-21 21:19:30 -07:00
e5bc68ca9e Simplify the API to create pages from PDFs
This creates a stub page when an upload is initiated, so the
SaveFile (or create article from file) APIs do not need to be
called.

The PDF uploaded trigger fired by GCS will mark the upload
as completed and update the page status.
2022-05-21 12:05:45 -07:00
17e6f4091d Merge pull request #638 from omnivore-app/feature/subscription-api
Feature/subscription api
2022-05-20 15:34:48 -07:00
2ee95a1c14 Fix cannot convert null to object error message 2022-05-20 20:38:30 +08:00
dfd6d3b602 Fix save newsletter email test 2022-05-19 18:12:58 +08:00