Commit graph

53 commits

Author SHA1 Message Date
Jackson Harper
03766734e5 Pull out popup view and replace with Transmission snackbars
PopupView and Transimission can interfere with each other and
cause an issue with the root screen becoming black and the app
getting stuck.
2024-02-06 11:43:43 +08:00
Jackson Harper
c6bcac4070 Improve app intents, always set readAt when an article is opened 2024-01-10 21:11:07 +08:00
Jackson Harper
e49f9d6d6a Use sheet instead of fullCover, add labels on PDF, add Discord button 2024-01-10 17:00:38 +08:00
Jackson Harper
afe926e45d Improve markdown export 2023-12-20 14:36:00 +08:00
Jackson Harper
8b7a59dc3c Query for new highlights when calling findHighlight for PDFs
This fixes an issue where you could not create a note on a
new PDF highlight.
2023-12-07 17:15:53 +08:00
Jackson Harper
bfd3365f28 Handle PDFs with new Transimission presentation controllers 2023-12-07 17:15:53 +08:00
Jackson Harper
5c00c0cf68 Add notes to PDFs 2023-11-06 11:22:18 +08:00
Jackson Harper
76c094b1ba Force reading position to update on iOS in PDFs 2023-10-24 19:27:09 +08:00
Jackson Harper
9a1ccd46bc Bump version, attempt to refetch PDFs if download signed URL has expired 2023-10-24 12:43:41 +08:00
Jackson Harper
d7bd5c54a3 iOS: fix for PDF downloads, always use the download signed URL, not the original URL 2023-10-24 12:43:41 +08:00
Jackson Harper
2d7fe30d6d Fix snackbar issues 2023-07-27 14:06:29 +08:00
Jackson Harper
43905a47ba PDF notebooks, more metadata for PDF items in the list view 2023-07-17 12:56:49 +08:00
Sixten Otto
8156328cf6 fix some linter warnings on deliberate code 2023-02-20 12:15:29 -07:00
Jackson Harper
395ea3335e PDF highlight position info on iOS 2023-02-02 16:10:18 +08:00
Jackson Harper
d8aa36f148 Start passing in position info when creating highlights on PDFs 2023-02-02 15:19:58 +08:00
Jackson Harper
08405dbcc2 Add highlight positional info to iOS highlights 2023-02-02 15:13:51 +08:00
Satindar Dhillon
dcf40c1daa apply generic local text values 2023-01-25 13:09:19 -08:00
Jackson Harper
d2ad0d63ae Fix comment replacement, remove debug 2022-11-28 15:06:02 +08:00
Jackson Harper
ef8e78380b Save PDF configuration changes
These get reloaded after change, so if we don't save them, they
wont be applied to the document. The appearance setting doesn't
get reloaded so that one does not need to be saved (and we don't
have access to it).
2022-11-28 12:58:47 +08:00
Satindar Dhillon
8144cf8d37 disable pspdfkit feature that asks for author name for annotations 2022-09-29 20:45:19 -07:00
Jackson Harper
1ada0f02cf Add the Lookup (define) menu item to PDF
We removed this to get extra menu space, but users find it useful.
Especially ESL readers.
2022-09-12 11:43:19 +08:00
Satindar Dhillon
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
Satindar Dhillon
726c11afd2 delete a few unused functions and lint fixes 2022-06-17 13:54:40 -07:00
Satindar Dhillon
e399a5e185 rename loadContentWithRtries function. move pdfFetch to own file 2022-06-17 13:54:40 -07:00
Jackson Harper
2a7a87de09 Remove debug lines 2022-06-13 09:42:59 -07:00
Jackson Harper
5a251bfe88 WIP: local PDF saving 2022-06-12 09:12:07 -07:00
Jackson Harper
ce040b8983 Use cached PDFs if available 2022-06-09 13:53:24 -07:00
Jackson Harper
5537766a45 WIP: PDF URLs 2022-06-09 13:53:24 -07:00
Jackson Harper
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
Satindar Dhillon
2eb0d94399 make sure end background task is callled on failed saves 2022-05-31 16:15:19 -07:00
Jackson Harper
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
Satindar Dhillon
1a12e545f5 use progressview for pdf loading view 2022-05-23 09:20:52 -07:00
Satindar Dhillon
b46576e937 run controller config once 2022-05-23 08:55:32 -07:00
Satindar Dhillon
11b5dc3172 use stateobject to keep track of pdf document 2022-05-22 23:24:37 -07:00
Satindar Dhillon
3f68a179c8 remove pdfproviders 2022-05-22 10:15:14 -07:00
Satindar Dhillon
14b146291f create a PDFItem struct that can be used by PDFViewer 2022-05-21 10:17:54 -07:00
Satindar Dhillon
29c6193bda set pdf data in local document and pass that url to pspdfkit 2022-04-28 14:58:46 -07:00
Satindar Dhillon
c9052f5f81 use coredata to track highlight merge and updates 2022-04-25 17:50:01 -07:00
Satindar Dhillon
aca38f2077 use coredata for create highlight function 2022-04-25 14:00:50 -07:00
Satindar Dhillon
9828846222 use core data to track reading progress 2022-04-25 12:17:27 -07:00
Satindar Dhillon
26a52819d8 remove linkedItemId from coredata highlight entity 2022-04-24 21:49:02 -07:00
Satindar Dhillon
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -07:00
Satindar Dhillon
25e237255c remove HighlightDep and pdf specific highlight functions 2022-04-21 22:03:39 -07:00
Satindar Dhillon
43dbcfe27c create NSSet extension 2022-04-21 10:07:46 -07:00
Satindar Dhillon
dd55cd86ae update highlight publishers to make coredata changes 2022-04-21 09:09:26 -07:00
Satindar Dhillon
0fc7ff0a43 rename FeedItem to FeedItemDep 2022-04-21 09:09:26 -07:00
Satindar Dhillon
a60a5e3991 mark some models as deprecated 2022-04-21 09:09:26 -07:00
Satindar Dhillon
905e628e5a create helper function to get unwrapped viewer properties 2022-04-21 09:09:26 -07:00
Satindar Dhillon
1d92e64801 define viewer as a nsmanagedobject 2022-04-21 09:09:26 -07:00
Satindar Dhillon
8ea404a8d8 use coredata to track pdf highlights 2022-04-21 09:09:26 -07:00