Commit Graph

48 Commits

Author SHA1 Message Date
bfd3365f28 Handle PDFs with new Transimission presentation controllers 2023-12-07 17:15:53 +08:00
5c00c0cf68 Add notes to PDFs 2023-11-06 11:22:18 +08:00
76c094b1ba Force reading position to update on iOS in PDFs 2023-10-24 19:27:09 +08:00
9a1ccd46bc Bump version, attempt to refetch PDFs if download signed URL has expired 2023-10-24 12:43:41 +08:00
d7bd5c54a3 iOS: fix for PDF downloads, always use the download signed URL, not the original URL 2023-10-24 12:43:41 +08:00
2d7fe30d6d Fix snackbar issues 2023-07-27 14:06:29 +08:00
43905a47ba PDF notebooks, more metadata for PDF items in the list view 2023-07-17 12:56:49 +08:00
8156328cf6 fix some linter warnings on deliberate code 2023-02-20 12:15:29 -07:00
395ea3335e PDF highlight position info on iOS 2023-02-02 16:10:18 +08:00
d8aa36f148 Start passing in position info when creating highlights on PDFs 2023-02-02 15:19:58 +08:00
08405dbcc2 Add highlight positional info to iOS highlights 2023-02-02 15:13:51 +08:00
dcf40c1daa apply generic local text values 2023-01-25 13:09:19 -08:00
d2ad0d63ae Fix comment replacement, remove debug 2022-11-28 15:06:02 +08:00
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
8144cf8d37 disable pspdfkit feature that asks for author name for annotations 2022-09-29 20:45:19 -07:00
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
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
726c11afd2 delete a few unused functions and lint fixes 2022-06-17 13:54:40 -07:00
e399a5e185 rename loadContentWithRtries function. move pdfFetch to own file 2022-06-17 13:54:40 -07:00
2a7a87de09 Remove debug lines 2022-06-13 09:42:59 -07:00
5a251bfe88 WIP: local PDF saving 2022-06-12 09:12:07 -07:00
ce040b8983 Use cached PDFs if available 2022-06-09 13:53:24 -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
2eb0d94399 make sure end background task is callled on failed saves 2022-05-31 16:15:19 -07:00
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
1a12e545f5 use progressview for pdf loading view 2022-05-23 09:20:52 -07:00
b46576e937 run controller config once 2022-05-23 08:55:32 -07:00
11b5dc3172 use stateobject to keep track of pdf document 2022-05-22 23:24:37 -07:00
3f68a179c8 remove pdfproviders 2022-05-22 10:15:14 -07:00
14b146291f create a PDFItem struct that can be used by PDFViewer 2022-05-21 10:17:54 -07:00
29c6193bda set pdf data in local document and pass that url to pspdfkit 2022-04-28 14:58:46 -07:00
c9052f5f81 use coredata to track highlight merge and updates 2022-04-25 17:50:01 -07:00
aca38f2077 use coredata for create highlight function 2022-04-25 14:00:50 -07:00
9828846222 use core data to track reading progress 2022-04-25 12:17:27 -07:00
26a52819d8 remove linkedItemId from coredata highlight entity 2022-04-24 21:49:02 -07:00
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -07:00
25e237255c remove HighlightDep and pdf specific highlight functions 2022-04-21 22:03:39 -07:00
43dbcfe27c create NSSet extension 2022-04-21 10:07:46 -07:00
dd55cd86ae update highlight publishers to make coredata changes 2022-04-21 09:09:26 -07:00
0fc7ff0a43 rename FeedItem to FeedItemDep 2022-04-21 09:09:26 -07:00
a60a5e3991 mark some models as deprecated 2022-04-21 09:09:26 -07:00
905e628e5a create helper function to get unwrapped viewer properties 2022-04-21 09:09:26 -07:00
1d92e64801 define viewer as a nsmanagedobject 2022-04-21 09:09:26 -07:00
8ea404a8d8 use coredata to track pdf highlights 2022-04-21 09:09:26 -07:00
6bb8f76f40 add createdByMe field to Highlight model 2022-03-22 11:51:45 -07:00
2e01e910bd fetch pdf highlights when pdf is loaded rather than in library query 2022-03-15 10:28:06 -07:00
e7e710feaa rename Binders package to App 2022-02-24 15:07:32 -08:00