Abe Jellinek
78534ff2d2
FileHandlers: Infer PDF pageIndex from annotation key
...
And:
- Update createAnnotation() test support function to create valid EPUB
and snapshot annotations
- Add more FileHandlers tests
2025-07-30 11:37:52 -04:00
Martynas Bagdonas
97c37de7f7
Update reader and pdf-worker submodules and partially disable one test
2024-05-28 17:18:56 +03:00
Abe Jellinek
63f54d3184
FileHandlers: Fall back when _getSystemHandler() fails
...
Continue to Zotero.launchFile() as intended.
https://forums.zotero.org/discussion/113179/pdfs-will-not-open-in-system-reader-when-double-clicked
2024-03-27 13:23:54 -04:00
Abe Jellinek
ea63780600
FileHandlers tests: Wait for notifier instead of _setState() call
...
_setState() doesn't await setAttachmentLastPageIndex(), so the setting
sometimes won't be updated in the cache by the time we call
getAttachmentLastPageIndex() below. Notifier event should work every
time (and is a lot simpler).
2024-02-29 11:05:12 -08:00
Abe Jellinek
352f71e32e
Fix zotero://open/ and FileHandlers regressions ( #3761 )
2024-02-29 05:08:33 -05:00
Abe Jellinek
a7d59a90d3
Unify attachment opening code and support EPUB/snapshot note links ( #3705 )
2024-02-23 06:38:11 -05:00