Commit Graph

1922 Commits

Author SHA1 Message Date
ef72e09006 Start implementing the new share extension, mostly so we can show the sync status 2022-06-02 15:29:57 -07:00
92f8218960 Fetch icon URLs from pages 2022-06-02 11:37:04 -07:00
2ed1ea29b9 Move NormalizeURL into its own function 2022-06-02 10:58:12 -07:00
7a645489be Normalize URLs and match on URL rather than id when saving items locally 2022-06-02 10:48:33 -07:00
27ba663273 bump apple version numbers and check build number changes to reset coredata 2022-06-02 08:13:31 -07:00
e0e7a7a131 Remove debug 2022-06-01 21:05:10 -07:00
fc990fb2ab Return recursive call 2022-06-01 21:04:38 -07:00
207a06ed74 Retry loading content if it fails
This happens when syncing content, as there is a slight
delay between content being synced and content being available

Refetching handles this case and any other fetch errors.
2022-06-01 20:47:52 -07:00
1386cc250a When opening library items that were created locally, make sure they are synced 2022-06-01 20:22:45 -07:00
e773ea7e2b Remove debug 2022-06-01 20:10:33 -07:00
ee4dc0aaae Correct error message typo 2022-06-01 20:10:16 -07:00
b2cbcc23c3 Improvements to background syncing 2022-06-01 17:24:42 -07:00
3ab3fd6f77 Remove unused file 2022-06-01 09:46:12 -07:00
04195665a7 Make services a member var so they arent dealloced during async operations 2022-06-01 09:45:31 -07:00
ca49ce5106 Simplify the OfflineSync handler for LinkedItems 2022-05-31 17:04:43 -07:00
6f27b31cb4 resolve merge conflict 2022-05-31 16:17:26 -07:00
2eb0d94399 make sure end background task is callled on failed saves 2022-05-31 16:15:19 -07:00
11f1b78c45 Remove changes to upload.ts 2022-05-31 15:26:33 -07:00
6faa831e15 Remove debug lines 2022-05-31 15:24:45 -07:00
632d794af5 Remove some debug lines 2022-05-31 15:19:21 -07:00
38fed646f5 Remove debug code 2022-05-31 15:18:37 -07:00
f8dcab74ec Nil out background task after we have ended it 2022-05-31 15:14:44 -07:00
cbf0215936 Call uploadFileRequest before uploading files
App Engine cant handle larger request sizes, so using a redirect
here doesn't work.
2022-05-31 15:11:53 -07:00
0e10d5630d Rebase and merge 2022-05-31 15:11:10 -07:00
def0fc7678 convert saveURL to async 2022-05-31 12:46:16 -07:00
822a38a863 convert save page publisher to async 2022-05-31 12:34:11 -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
bb86447451 Fix params list on SavePage call 2022-05-30 09:34:40 -07:00
a17cb72527 Use the request ID as the background task ID 2022-05-30 09:16:33 -07:00
974757c7da Improve background uploading of PDFs 2022-05-27 16:38:19 -07:00
2918cbcdf5 fetch pdf data only if it's missing from LinkedItem 2022-05-27 10:44:08 -07:00
c08c710601 set pdf state to success even if download has not completed 2022-05-27 10:26:37 -07:00
26a5b5dae1 handle pdf fetch errors properly 2022-05-27 10:26:37 -07:00
9b9191b6b1 clear core data when switch env 2022-05-27 10:26:37 -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
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
5c1c9fb6de Grant permissions of webhooks table to omnivore_user 2022-05-27 17:32:18 +08:00
5bb720c54d Merge pull request #709 from omnivore-app/webhook
Webhook
2022-05-27 13:02:17 +08:00
4376124028 Regenerate GQL, set createPageEntry when uploading files 2022-05-26 21:51:22 -07: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
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
a9b70e12e3 Merge pull request #714 from omnivore-app/subscriptions-modal
Subscriptions Screen [iOS]
2022-05-26 15:12:19 -07:00
a854ba88bc show snackbar message after unsubscibing 2022-05-26 14:54:47 -07:00
313b7c2ff0 update subscription cell UI 2022-05-26 12:33:43 -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
6e6f1f9c71 Merge pull request #711 from omnivore-app/ios-cell-updates
iOS cell updates
2022-05-26 09:17:15 -07:00
b65b104ce9 send delete subscription call to server 2022-05-26 09:11:24 -07:00