Martynas Bagdonas
17deb16779
Add partial underline annotation support for note-editor
...
(changes to note-editor have to be merged to have full support)
2023-08-07 16:07:54 -04:00
Abe Jellinek
e199f35006
Fix _getColorIcon(), update stroke color, use for selected menuitems
...
- Need to set width/height for macOS native menu
- CSS named grays are too light to show well on the background, so use #555
- type="checkbox" menuitems don't show their icons, so use the icon stroke
instead
2023-08-07 16:07:54 -04:00
Abe Jellinek
3443d065a3
Use native context menus on macOS
2023-08-07 16:07:53 -04:00
Abe Jellinek
1740e5f1aa
Call uninit() in close()
...
This properly unregisters pref observers and flushes the reader's state.
2023-08-07 16:07:53 -04:00
Abe Jellinek
0ee54b4a7e
Use IOUtils instead of OS.File
2023-08-07 16:07:53 -04:00
Abe Jellinek
bdb444371f
Debounce writing EPUB/snapshot state to disk
2023-08-07 16:07:53 -04:00
Abe Jellinek
6a4715c324
Enable "Add Note from Annotations" for EPUBs and snapshots
2023-08-07 16:07:53 -04:00
Abe Jellinek
db6ff88ad1
Add full-text indexer for EPUBs
2023-08-07 16:07:53 -04:00
Martynas Bagdonas
e8c5c22d05
Fix pdf-worker CMaps and standard fonts paths
2023-08-07 16:07:53 -04:00
Martynas Bagdonas
7fa05bc463
Properly handle reader window closing
2023-08-07 16:07:53 -04:00
Martynas Bagdonas
9d2d655039
Avoid memory leaks caused by never removed event listeners
2023-08-07 16:07:53 -04:00
Abe Jellinek
7791779289
Fix unloaded tab context menu actions
...
Show in Library and Move to New Window.
Will fix zotero/zotero#2685
2023-08-07 16:07:53 -04:00
Abe Jellinek
98fceea06d
Update reader submodule
2023-08-07 16:07:53 -04:00
Abe Jellinek
52cbffbd79
Localize pdfReader.location
2023-08-07 16:07:53 -04:00
Martynas Bagdonas
674f91389a
Update reader and pdf-worker submodules
2023-08-07 16:07:52 -04:00
Abe Jellinek
24ff98b88a
Update reader submodule
2023-08-07 16:07:52 -04:00
Abe Jellinek
a729297f6b
Add menu items to switch EPUB flow modes (paginated/scrolled)
2023-08-07 16:07:52 -04:00
Abe Jellinek
61f21f48e8
Fix browser-custom-element.js event handler error
...
Send real mouse/pointer events so that the CE can call, e.g.,
preventClickEvent().
2023-08-07 16:07:52 -04:00
Abe Jellinek
a7f1235fd1
Fix middle-mouse autoscroll in reader
2023-08-07 16:07:52 -04:00
Abe Jellinek
ba1b1b0639
Add EPUB format to Zotero.MIME
2023-08-07 16:07:52 -04:00
Abe Jellinek
d6547bab34
Update reader submodule
2023-08-07 16:07:52 -04:00
Abe Jellinek
1d89360765
Persist snapshot scroll position
2023-08-07 16:07:52 -04:00
Abe Jellinek
60f8d11c2d
Persist EPUB CFI with setAttachmentLastPageIndex()
2023-08-07 16:07:52 -04:00
Martynas Bagdonas
d975450ae1
Update reader submodule
2023-08-07 16:07:52 -04:00
Martynas Bagdonas
52e698fdbc
Add missing reader strings
2023-08-07 16:07:52 -04:00
Martynas Bagdonas
3105bb9ff3
Fix add to note
2023-08-07 16:07:52 -04:00
Martynas Bagdonas
110f29b766
Save reader state into .zotero-reader-state file
2023-08-07 16:07:52 -04:00
Martynas Bagdonas
572cd3655e
Fix reader context menu positioning in RTL mode
2023-08-07 16:07:51 -04:00
Martynas Bagdonas
0134ebefc2
Update reader submodule
2023-08-07 16:07:51 -04:00
Abe Jellinek
f5381403c0
Add ebook font to preferences
...
Choose from a list of preset font stacks, or any font on your system.
2023-08-07 16:07:51 -04:00
Abe Jellinek
378277206a
Add Reset Zoom to EPUB/snapshot reader View menu
2023-08-07 16:07:51 -04:00
Abe Jellinek
3be3d8ebef
Zotero.Items: Support EPUB and snapshot annotations
2023-08-07 16:07:51 -04:00
Martynas Bagdonas
681cdd809f
Reader 2.0
2023-08-07 16:07:51 -04:00
Tom Najdek
19382a061f
Remove unnecessary code in getFileBaseNameFromItem
2023-08-07 17:03:27 +02:00
Dan Stillman
88d39ec04a
Update locales from Transifex
2023-08-06 18:31:05 -04:00
Dan Stillman
4e3977e9ce
Update file-renaming prefs ( #3228 )
...
- Move file-renaming prefs to separate prefs section
- Fix template preview not updating on paste
- Update documentation URL
- Tweak text, styling, and ids
- Change "Automatically rename attachment files using parent metadata"
to "Automatically rename locally added files" to reflect that
downloaded files are always renamed, and add an intro saying so
2023-08-06 17:50:13 -04:00
Tom Najdek
d32b061c95
Add UI for editing attachment rename format pref ( #3228 )
2023-08-06 17:48:56 -04:00
Dan Stillman
af91173734
Look up PubMed IDs in batches of 200
...
https://forums.zotero.org/discussion/comment/440245/#Comment_440245
2023-08-05 00:01:55 -04:00
Dan Stillman
fcc68d6d80
Serialize lookup requests
...
These were switched to parallel in 86b77cc45
, resulting in blocks:
https://forums.zotero.org/discussion/106658/limited-amount-of-articles-that-can-be-added-through-pmid
2023-08-04 23:21:35 -04:00
Abe Jellinek
251da0a148
Add SCSS styles to note.xhtml
...
Fixes #3193
2023-08-04 10:08:30 -04:00
Dan Stillman
3a43a98f10
Add IOUtils and PathUtils to plugin sandbox
2023-08-04 06:18:52 -04:00
Dan Stillman
9b0ce9558c
attachmentRenameFormatString
→ attachmentRenameTemplate
(#3249 )
2023-08-04 05:58:15 -04:00
windingwind
e44e3edef9
Fix itemBox.js eslint errors ( #3244 )
2023-08-04 04:15:08 -04:00
Dan Stillman
07309d7c25
Add Zotero.getMainWindows()
2023-08-03 05:11:26 -04:00
windingwind
1ca34261d3
Update ItemTreeManager.unregisterColumns example
2023-08-03 11:08:55 +08:00
Dan Stillman
9303b22661
Update eslint config to 1.0.8
2023-08-02 06:38:35 -04:00
Dan Stillman
fb4f55e809
Restore Word → LibreOffice order in Cite prefpane
2023-08-02 06:36:38 -04:00
Adomas Venčkauskas
b261d10b89
Fix Return not accepting citation dialog after pasting. Closes #3240
2023-08-01 09:47:42 +03:00
Adomas Venčkauskas
4b16269b7f
Prefs: Add an event on pane switch
...
Fixes an issue with incomplete Style Manager tree rendering when
switching panes. Closes #3239
2023-08-01 09:18:30 +03:00
windingwind
836c8718b0
Fix itemTreeManager typo
2023-07-31 21:48:20 +08:00