Commit graph

18 commits

Author SHA1 Message Date
Thomas Rogers
bda21730cd Remove reference to omnivore.app 2025-09-24 12:37:39 +02:00
Jackson Harper
8fe51a5f80 More on ios share extension improvements 2023-10-30 10:34:02 +08:00
Sixten Otto
f7168ff65a reformat some multi-line expressions
Honestly, some of this formatting seems a little weird, but it appears to thread the needle between the competing requirements of swiftformat's wrapMultilineStatementBraces rule and SwiftLint's opening_brace rule.
2023-02-20 12:15:29 -07:00
Jackson Harper
bf97194208 Create a highlight of the selected text when a user saves 2022-11-21 22:39:10 +08:00
Jackson Harper
8c6798a467 Remove the preview image from the share extension 2022-11-21 22:39:10 +08:00
Satindar Dhillon
5db9b8ee7e add a makeFromData function to PageScrapePayload 2022-07-12 22:31:00 -07:00
Satindar Dhillon
6d61c0f9e7 resolve warnings 2022-06-17 13:54:40 -07:00
Satindar Dhillon
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
Jackson Harper
5537766a45 WIP: PDF URLs 2022-06-09 13:53:24 -07:00
Jackson Harper
ea0b689b5c Remove unused var 2022-06-09 13:52:49 -07:00
Jackson Harper
92f8218960 Fetch icon URLs from pages 2022-06-02 11:37:04 -07:00
Jackson Harper
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -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
Jackson Harper
6869271d54 A little safer and/or more dangerous way of checking content type 2022-05-24 22:49:16 -07:00
Jackson Harper
a02bb2f5c9 Extract contentType from safari
This fixes issues where we'd incorrectly identify a PDF as HTML.
Safari will use our preprocess javascript file even if the
file is PDF, so we rely on JS to detect the content type here.
2022-05-24 21:01:04 -07:00
Satindar Dhillon
6af0452d14 remove ios14 specific code 2022-04-14 12:45:45 -07:00
Satindar Dhillon
2169413554 resolve lint/xcode warnings 2022-02-22 09:17:54 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00