Commit graph

1896 commits

Author SHA1 Message Date
Hongbo Wu
cc5bdf96f5 Update electrek test case 2022-05-31 12:52:33 +08:00
Hongbo Wu
bce50c2a92 Update electrek test case 2022-05-31 11:11:06 +08:00
Hongbo Wu
9dc7fd4c4c Add test case for electrek 2022-05-30 22:47:47 +08:00
Satindar Dhillon
ac3a83ffb5
Merge pull request #718 from omnivore-app/propagate-pdf-save-errors
Propagate pdf save errors
2022-05-28 07:53:47 -07:00
Satindar Dhillon
b312b6f00b bump ios to 1.8.0 2022-05-28 07:53:12 -07:00
Satindar Dhillon
2918cbcdf5 fetch pdf data only if it's missing from LinkedItem 2022-05-27 10:44:08 -07:00
Satindar Dhillon
c08c710601 set pdf state to success even if download has not completed 2022-05-27 10:26:37 -07:00
Satindar Dhillon
26a5b5dae1 handle pdf fetch errors properly 2022-05-27 10:26:37 -07:00
Satindar Dhillon
9b9191b6b1 clear core data when switch env 2022-05-27 10:26:37 -07: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
c61b46b905
Merge pull request #717 from omnivore-app/fix/webhook-table-permission
Grant permissions of webhooks table to omnivore_user
2022-05-27 22:05:11 +08:00
Hongbo Wu
5c1c9fb6de Grant permissions of webhooks table to omnivore_user 2022-05-27 17:32:18 +08:00
Hongbo Wu
5bb720c54d
Merge pull request #709 from omnivore-app/webhook
Webhook
2022-05-27 13:02:17 +08:00
Jackson Harper
4376124028 Regenerate GQL, set createPageEntry when uploading files 2022-05-26 21:51:22 -07: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
c3096e5dfe Better PDF upload handling on iOS
Three main changes here:
- If a PDF isn't a local file, dont try to download and then
  upload it to the backend. Just treat it as a URL.

- If we are passed PDF data by an app like Files, upload it.

- Wrap the whole operation in a Background task so its not
  killed if the user taps dismiss during the upload of larger
  documents.
2022-05-26 21:40:40 -07:00
Satindar Dhillon
a9b70e12e3
Merge pull request #714 from omnivore-app/subscriptions-modal
Subscriptions Screen [iOS]
2022-05-26 15:12:19 -07:00
Satindar Dhillon
a854ba88bc show snackbar message after unsubscibing 2022-05-26 14:54:47 -07:00
Satindar Dhillon
313b7c2ff0 update subscription cell UI 2022-05-26 12:33:43 -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
Satindar Dhillon
6e6f1f9c71
Merge pull request #711 from omnivore-app/ios-cell-updates
iOS cell updates
2022-05-26 09:17:15 -07:00
Satindar Dhillon
b65b104ce9 send delete subscription call to server 2022-05-26 09:11:24 -07:00
Satindar Dhillon
0daf97f312 create subscription cell 2022-05-26 08:48:15 -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
Hongbo Wu
a655275754 Add unique constraint on user_id and event_types 2022-05-26 14:50:10 +08:00
Hongbo Wu
aaab02c9d8 Add createWebhook gql schema 2022-05-26 14:50:08 +08:00
Hongbo Wu
fe09487a6a Add webhooks model 2022-05-26 14:49:27 +08:00
Satindar Dhillon
e1aa68858f show subscriptions in list view 2022-05-25 22:51:41 -07:00
Satindar Dhillon
4969968c53 update swift gql gen. add a subscriptions view 2022-05-25 21:08:46 -07:00
Hongbo Wu
9a9fb94cf4
Merge pull request #689 from omnivore-app/save-language
Save and filter by language
2022-05-26 11:05:34 +08:00
Hongbo Wu
a34806a782 Fix tests 2022-05-26 10:55:21 +08:00
Hongbo Wu
7d4d1d7b67 Parse language in readability 2022-05-26 10:55:21 +08:00
Hongbo Wu
0ef9bb3944 Allow search by language in elastic 2022-05-26 10:55:20 +08:00
Hongbo Wu
87b0f683e1 Add language term in search body 2022-05-26 10:55:04 +08:00
Hongbo Wu
6e06429636 Add language keyword in search query 2022-05-26 10:55:02 +08:00
Hongbo Wu
1eeb5617a5 Search by language 2022-05-26 10:54:04 +08:00
Hongbo Wu
dd394144cd Add language in schema 2022-05-26 10:52:19 +08:00