Commit Graph

17 Commits

Author SHA1 Message Date
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
7084f18932 Handle changing IDs when local PDFs are saved 2022-06-12 14:36:38 -07:00
5537766a45 WIP: PDF URLs 2022-06-09 13:53:24 -07:00
7b81ad253d Store PDF paths as filenames instead of full URLs
This fixes issues where the full URL of our directory path
changes, also it moves files into documents instead of
caches, and ensures PDFs are downloaded before opening.
2022-06-09 13:52:49 -07:00
b107a86ba9 Handle response ids when saving items
This will be used when handling pages that change their IDs
when saved.
2022-06-09 13:52:49 -07:00
24b0eebb1a Dont create a stub entry when creating a file save request on iOS
This isnt needed on the backend anymore because the client will
create its own entry.
2022-06-03 19:11:34 -07:00
71083dfe65 resolve merge conflict 2022-06-02 17:28:19 -07:00
b2cbcc23c3 Improvements to background syncing 2022-06-01 17:24:42 -07:00
ca49ce5106 Simplify the OfflineSync handler for LinkedItems 2022-05-31 17:04:43 -07:00
6faa831e15 Remove debug lines 2022-05-31 15:24:45 -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
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
974757c7da Improve background uploading of PDFs 2022-05-27 16:38:19 -07:00
4376124028 Regenerate GQL, set createPageEntry when uploading files 2022-05-26 21:51:22 -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
938576693a update swift gql schema 2022-05-02 10:56:52 -07:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00