Dan Stillman
075457be45
Use REPLACE instead of INSERT for ebook schema changes
...
Follow-up to bdea760
(#3360 ), which I changed incorrectly
2023-08-24 05:13:42 -04:00
Dan Stillman
e3a6508134
Merge new English strings
2023-08-24 04:16:43 -04:00
Abe Jellinek
bdea76024b
Add EPUB to Attachment File Type in Advanced Search ( #3360 )
2023-08-24 03:06:33 -04:00
Dan Stillman
1aa25964ba
Update reader submodule
2023-08-24 02:58:17 -04:00
Abe Jellinek
8f4cb5002a
Fix progress queue segfault ( #3359 )
2023-08-23 04:56:21 -04:00
Dan Stillman
8125b62108
Update reader submodule
2023-08-23 04:31:00 -04:00
Abe Jellinek
fe10897bda
Update reader submodule
2023-08-22 09:57:22 -04:00
Abe Jellinek
17aedbc5af
Update reader submodule
2023-08-21 12:21:04 -04:00
Abe Jellinek
30c70a6ecd
Defer removing tab content
...
Improves EPUB close performance.
By wrapping with requestIdleCallback(), we ensure:
1. remove() won't be called right away, so the DOM elements being removed
won't be visible and won't trigger a relayout.
2. remove() won't be called while there are pending UI events, so it
shouldn't cause the UI to hang/lag/stutter.
Combined, these two improvements make the UI hang when closing a large EPUB
mostly imperceptible on my machine.
Addresses #3321 ; doesn't completely fix it because there's likely more to be
done on the reader side to optimize the DOM.
2023-08-21 12:20:57 -04:00
Dan Stillman
38d0750dd3
Don't include parent title in tab title for secondary attachments
...
As suggested in https://github.com/zotero/zotero/issues/2731#issuecomment-1201382522
2023-08-20 02:26:58 -04:00
Tom Najdek
4f19b1d13e
Improve file renaming preview in preferences ( #3343 )
2023-08-19 05:06:08 -04:00
Dan Stillman
4dbd52782c
Better fixing of tab-title logic
...
Follow-up to 3eef4284d1
, which wasn't totally correct, and adds the
attachment title before the parent metadata for secondary attachments.
https://forums.zotero.org/discussion/comment/441362/#Comment_441362
2023-08-19 04:51:04 -04:00
Dan Stillman
3eef4284d1
Fix "Filename" tab title option
...
https://forums.zotero.org/discussion/comment/441259/#Comment_441259
2023-08-19 04:00:49 -04:00
Martynas Bagdonas
b05ef8ed04
Properly focus reader iframe when opening a new reader instance
2023-08-18 18:33:52 +02:00
Dan Stillman
3ef1f09927
Update reader submodule
2023-08-17 01:47:38 -04:00
Dan Stillman
fb96cd595d
Add startHTTPServer() support function
...
Centralize httpd creation and add automatic retry to try to deal with
NS_ERROR_SOCKET_ADDRESS_IN_USE errors in CI.
2023-08-16 01:16:49 -04:00
Abe Jellinek
17daf9fe8d
Fix EPUB attachments with wrong MIME type on view
...
Fixes #3320
2023-08-15 17:54:37 -04:00
Abe Jellinek
7b26dab2f2
Show spread mode menu items in EPUB reader
...
Fixes #3318 (only odd spreads supported right now because of CSS grid
limitations)
2023-08-15 17:54:36 -04:00
Abe Jellinek
edcacfa92b
Update reader submodule
2023-08-15 17:50:21 -04:00
Dan Stillman
367ecb66c3
Update reader submodule
2023-08-15 04:30:57 -04:00
Dan Stillman
437e2bd920
Update reader submodule
2023-08-11 07:23:19 -04:00
Northword
dcca56d6c3
preferenceOptions.helpurl should be string instead string[] ( #3310 )
2023-08-11 07:13:58 -04:00
Dan Stillman
9dd182e9ca
Collection tree selection fixes
...
Fixes various logic around what gets selected when collections and
searches are moved to or restored from the trash (which has never been
exposed) or when they're erased
2023-08-11 04:16:42 -04:00
Dan Stillman
c4eb9df716
Update utilities submodule
2023-08-09 18:09:03 -04:00
Dan Stillman
69ba2310a2
Actually fix NS_ERROR_SOCKET_ADDRESS_IN_USE during tests
2023-08-09 08:05:30 -04:00
Dan Stillman
5e27a75010
Switch to better sentence-caser from zotero/utilities#26
...
Closes #293
2023-08-09 07:51:16 -04:00
Dan Stillman
3b04c012b3
Fix --openssl-legacy-provider
issue when tests need to build reader
2023-08-09 07:27:22 -04:00
Dan Stillman
8f6af79280
Update reader submodule
2023-08-09 07:27:22 -04:00
Dan Stillman
e83a8dba0e
Update reader submodule
2023-08-09 05:39:33 -04:00
Martynas Bagdonas
879109336a
Rename pdf-reader paths to reader
2023-08-08 11:28:00 +03:00
Dan Stillman
838a3090fd
Move pdf-reader submodule to reader
2023-08-08 01:40:24 -04:00
Dan Stillman
4ac3128b17
Use more ports for attachment tests
...
To try to avoid this stupid NS_ERROR_SOCKET_ADDRESS_IN_USE error
2023-08-07 17:36:19 -04:00
Dan Stillman
f0e1da23bc
Update pdf-reader submodule
2023-08-07 17:29:26 -04:00
Dan Stillman
ae8ed58383
Disable PDF reader tests
2023-08-07 16:27:23 -04:00
Dan Stillman
1af3d702d3
Update pdf-reader submodule
2023-08-07 16:13:28 -04:00
Dan Stillman
5d2514b09f
Update pdf-reader submodule URL
2023-08-07 16:12:04 -04:00
Dan Stillman
ed52c7d7ef
Merge new English strings
2023-08-07 16:07:56 -04:00
Abe Jellinek
278f2de7bd
Fix iframe load stopping if attachment resource channel aborts ( #67 )
2023-08-07 16:07:56 -04:00
Dan Stillman
827edccfbd
Update pdf-reader submodule
2023-08-07 16:07:56 -04:00
Martynas Bagdonas
07e4d68760
Suppress noisy "dead object" error after each click inside reader tab
2023-08-07 16:07:56 -04:00
Martynas Bagdonas
a167b6932b
Update reader, pdf-worker and note-editor submodules
2023-08-07 16:07:56 -04:00
Dan Stillman
7e481e3e5f
Move Language to the bottom of the General prefpane
2023-08-07 16:07:55 -04:00
Dan Stillman
38b9457ea9
Move new string to Fluent
2023-08-07 16:07:55 -04:00
Dan Stillman
caee5f29ca
Update reader prefs
...
- Move open-in prefs into reader prefs
- Move reader prefs up below File Handling
- Move new strings to Fluent
- Fix clicking on labels to focus open-in drop-downs
- Tweak text
2023-08-07 16:07:55 -04:00
Abe Jellinek
deb6acaab1
Add preferences for ebook & snapshot file handling
2023-08-07 16:07:55 -04:00
Abe Jellinek
2ef560f7d8
Extract ISBNs and DOIs from EPUB content ( #64 )
...
And move EPUB functionality to class.
2023-08-07 16:07:55 -04:00
Abe Jellinek
cab0fa93e7
Extend Retrieve Metadata to support EPUBs ( #57 )
2023-08-07 16:07:55 -04:00
Martynas Bagdonas
2869d5869b
Update reader submodule
2023-08-07 16:07:55 -04:00
Martynas Bagdonas
80da0fbb56
Remove the unnecessary buf to Uint8Array conversion
2023-08-07 16:07:55 -04:00
Abe Jellinek
b0b11cfcf5
Use data
option to initialize reader
2023-08-07 16:07:55 -04:00