Dan Stillman
3902043669
Update locales from Transifex and merge new English strings
2022-02-02 02:22:34 -05:00
Dan Stillman
a6e0432848
PDF reader: Tweak annotation deletion confirmation text
2022-02-02 02:09:20 -05:00
Dan Stillman
82b1ce2027
Update pdf-reader and pdf-worker
2022-02-02 01:53:50 -05:00
Martynas Bagdonas
21ca1555c1
Focus tag input field if tagsBox doesn't have tags
...
Fixes #2315
2022-01-31 19:49:58 +02:00
Dan Stillman
cec1f18670
Fix nesting of resetUnsyncedLibraryFiles() test
2022-01-31 06:48:05 -05:00
Dan Stillman
637acbe693
Fix incorrect isEditable() test in Item::moveToLibrary()
2022-01-31 06:48:05 -05:00
Dan Stillman
df64a16b55
Disallow unowned group annotation edits, but allow deletions
...
Update `DataObject::isEditable()` to take an optional `op` argument to
test individual operations as opposed to general library editing.
Erasing objects now tests `erase`, and `Item::isEditable()` allows
`erase` for unowned group annotations while disallowing the default
`edit`.
It's still up to the reader to handle this appropriately in the UI and
not allow operations it shouldn't, but this enforces it in the data
layer.
2022-01-31 06:48:05 -05:00
Dan Stillman
9de86a3db8
Update pdf-reader submodule
2022-01-31 06:48:05 -05:00
Dan Stillman
5a0cd78f06
Enable PDF reader by default and enable for groups
...
"Zotero" is now the first and default option in the "Open PDFs using"
drop-down in the General pane of the preferences.
2022-01-31 06:48:05 -05:00
Martynas Bagdonas
f8d7eb8ed7
Prompt confirmation when deleting annotations in PDF reader
2022-01-28 17:32:41 +02:00
Dan Stillman
ae7bfe7f48
"Suppress Author" → "Omit Author"
...
Authors shall be suppressed no more.
2022-01-26 23:52:47 -05:00
Adomas Venčkauskas
d2aa945083
Select full item name upon entering edit mode in the collection tree
...
(Instead of placing the cursor at the end of the edit field)
Closes #2316
2022-01-26 15:10:59 +02:00
Dan Stillman
da8f4df8ca
Update locales from Transifex and merge new English strings
2022-01-17 05:10:30 -05:00
Dan Stillman
fc1c7580ab
Update pdf-reader submodule
2022-01-17 04:26:17 -05:00
Martynas Bagdonas
e46f210b6c
Add color and tag selector to annotations sidebar ( #2299 )
2022-01-17 04:20:35 -05:00
Martynas Bagdonas
f2e9efaf1d
Don't show multiple separators in PDF reader annotation context menu
2022-01-04 19:11:38 +02:00
Dan Stillman
035aac30f2
Fix misplaced '?' in regexp from 52d5652540
2022-01-03 01:31:02 -05:00
Dan Stillman
52d5652540
Don't use Firefox UA for proxy-check S3 domain
...
https://forums.zotero.org/discussion/comment/396502/#Comment_396502
2022-01-03 01:22:49 -05:00
Dan Stillman
b1b9759864
Doc Prefs: Don't increase style list height at larger font sizes
...
https://forums.zotero.org/discussion/93655/is-there-a-fix-for-high-dpi-screens
2022-01-02 16:57:06 -05:00
Dan Stillman
ad02b70198
Update locales from Transifex and merge new English strings
2021-12-28 01:27:07 -05:00
Dan Stillman
4f8fccd598
PDF reader: Page label popup tweaks ( #2267 )
...
- Change text of context menu option
- Add header line above radio boxes
2021-12-28 01:19:48 -05:00
Martynas Bagdonas
2cd756b7ae
PDF reader: Add page label update option to annotation popup ( #2267 )
2021-12-28 01:19:48 -05:00
Martynas Bagdonas
3cb5340b26
PDF reader: Remove import bar artifacts
2021-12-28 01:19:48 -05:00
Martynas Bagdonas
6913c179dc
Optimize annotations batch modification and deletion
2021-12-28 01:19:48 -05:00
Dan Stillman
819dc7f6f4
Include "Zotero/[version]" in file sync requests
...
To avoid blocking by some institutional firewalls
https://forums.zotero.org/discussion/93510/general-sync-error
2021-12-27 15:54:12 -05:00
Dan Stillman
3dab64ddbb
Fix error deleting some orphaned or invalid WebDAV files
...
If a .prop file was passed to `_deleteStorageFiles()`, it would throw
`deletePropURI.QueryInterface is not a function`.
2021-12-27 14:53:28 -05:00
Dan Stillman
d955a77e98
Update locales from Transifex and merge new English strings
2021-12-27 01:20:24 -05:00
Dan Stillman
71248b591d
Better handling of export option for notes in items list context menu
...
- Show "Export Note…"/"Export Notes…" if only notes or attachments
selected
- Don't show export option if only attachments and no embedded notes
(was previously disabled, and still is if all notes or a mixture of
empty notes and attachments)
2021-12-26 23:50:15 -05:00
Dan Stillman
5c024e2859
Use Sets instead of Arrays in ZoteroPane.buildItemContextMenu()
2021-12-26 23:27:44 -05:00
Dan Stillman
f3a71a2c09
Log timing info for copying bibliography to clipboard and CSL Preview
2021-12-26 23:19:35 -05:00
Dan Stillman
24104dc685
Fix error generating context menu for multiple standalone attachments
...
Regression from f161d167ae
2021-12-26 23:15:47 -05:00
Dan Stillman
14caa3a895
Update locales from Transifex and merge new English strings
2021-12-24 02:13:36 -05:00
Dan Stillman
918570479e
Hard-code "storage" in error when trying to set data dir to 'storage'
2021-12-24 02:06:39 -05:00
Dan Stillman
d361930bcc
Remove PDF metadata retrieval problem reporting
...
Closes #1854
2021-12-23 06:11:13 -05:00
Dan Stillman
1c7973c157
Update Babel and ESLint
2021-12-23 04:58:11 -05:00
Dan Stillman
d3691473bc
HTML tree: Fix Shift-Enter for opening PDFs in separate windows
...
This also required React 17, which removed event pooling [1], which was
breaking this even after the code change.
https://forums.zotero.org/discussion/comment/396112/#Comment_396112
[1] https://reactjs.org/blog/2020/08/10/react-v17-rc.html#no-event-pooling
2021-12-23 01:18:22 -05:00
Dan Stillman
6e0bc58052
Upgrade to React 17
...
And update other React dependencies
2021-12-23 01:18:22 -05:00
Dan Stillman
5e1504f33b
Don't show ellipsis in Attachments column
...
Was showing next to the new PDF icons after af622da78
2021-12-23 01:15:22 -05:00
Dan Stillman
a1349d4a22
Merge new English strings
2021-12-22 16:29:50 -05:00
Dan Stillman
a924f9d45d
Update pdf-worker and note-editor submodules
2021-12-22 16:09:56 -05:00
Adomas Venčkauskas
5dabe390a2
Fix collection and item tree focusing code. Closes #2286
2021-12-22 13:48:41 +02:00
Adomas Venčkauskas
af622da78f
HTML Tree: fix columns not being vertically aligned. Closes #2286
2021-12-22 13:37:27 +02:00
Dan Stillman
1e1969a089
Fix getBestAttachmentState()
tests after b0ba7e464
2021-12-22 05:23:16 -05:00
Tom Najdek
bbf3180a10
Fix rtfscan icons reported as having HiDPI variant
2021-12-22 05:06:21 -05:00
Dan Stillman
7285c32d28
Support Cmd/Ctrl-Shift-F to open advanced search window
...
https://forums.zotero.org/discussion/93600/shortcut-for-advanced-search
In olden days this used to trigger full-screen mode of our weird "tab
mode" in Firefox, but that hasn't existed in many years. At least on
macOS, the standard shortcut for that is Cmd-Ctrl-F.
2021-12-22 05:04:41 -05:00
Dan Stillman
0f676dd720
Remove lower row height in virtualized table on macOS
...
With the additional PDF icon in the Attachments column from b0ba7e464
,
might as well have the same amount of spacing to tell the rows apart.
2021-12-22 05:04:28 -05:00
Dan Stillman
b0ba7e4646
Show small PDF icon in Attachments column when there's a PDF
...
Closes #2265
There's also new code for showing a different icon for snapshots, files,
and DOI/URL links, like the web library and iOS app, but it's commented
out for now. The bitmap icons create too much visual noise with the
greater information density and hierarchical tree of the desktop app
(not to mention many more low-DPI displays). We can revisit after
switching to SVGs across the board.
2021-12-22 03:38:12 -05:00
Dan Stillman
04fa066a14
Delete items with unmodified delete key when not in collections
...
Closes #2209
2021-12-21 03:19:13 -05:00
Dan Stillman
978e2c32b4
Remove "Toggle Tag Selector" command from Shortcuts preference pane
...
Cmd/Ctrl-Shift-T is now used for reopening a closed tab
This is now a View menu option, so macOS users can assign an
app-specific shortcut key for it. For other platforms that can't do
that, Zutilo could add it, and it will be an option if we add general
key-binding configurability in a future version.
Closes #2281
2021-12-21 02:22:29 -05:00
Dan Stillman
f161d167ae
Show "Add Note from Annotations" for all items with PDF attachments
...
So that this works for PDFs with external annotations that haven't yet
been processed. Going forward, if we add automatic/background scanning,
we can avoid showing this option if the file hasn't changed and there
are no Zotero annotations, which would probably be the majority of
attachments.
2021-12-21 02:22:29 -05:00