Tom Najdek
f10649483e
Mendeley Import: Add more tests for the importer
...
Also rephrased a comment in the importer code and renamed tests file
to mendeleyImportTest.js for consistency.
2021-11-15 11:19:19 +01:00
Adomas Venčkauskas
dcce807e92
Enable publicationTitle column in feeds. Closes #2242
2021-11-09 16:23:33 +02:00
Adomas Venčkauskas
b9e1923656
Fix rows not deselecting with single click on one item.
...
Closes #2241
2021-11-08 14:06:36 +02:00
Martynas Bagdonas
80be9f9e3a
Disable annotations transferring for read-only items
...
#2239
2021-11-08 13:24:13 +02:00
Martynas Bagdonas
af689b17fa
Fix CMap loading for pdf-worker
2021-11-08 11:42:39 +02:00
Dan Stillman
f5eb99ad4c
Upload settings in batches of 250
...
Closes #2000
2021-11-07 23:46:54 -05:00
Abe Jellinek
cd3304e16c
Don't reset isRead when feed item metadata changes ( #2215 )
...
This prevents metadata changes from clearing the isRead status of feed
items as long as GUIDs remain constant. Previously, feed items with
randomized properties (like URLs generated dynamically each time the
feed is served) would be incorrectly marked as unread on every update.
2021-11-05 23:16:12 -04:00
Abe Jellinek
2cf436c67d
Async web translation ( #2229 )
2021-11-05 23:12:37 -04:00
Martynas Bagdonas
b4cf566d0d
Return back writeAtomic for PDF reader setState #2210
2021-11-05 17:09:40 +02:00
Dan Stillman
f583416d80
Update locales from Transifex and merge new English strings
2021-11-05 03:42:02 -04:00
Dan Stillman
eb4090058d
Tweak menu position and alert text for annotation transferring
2021-11-05 00:30:06 -04:00
Dan Stillman
f400d2a4a4
Include item type name in field-not-valid-for-type error
2021-11-05 00:29:45 -04:00
Tom Najdek
7940915bb0
Fix arXiv ID not imported. Fix #2236 . ( #2238 )
...
Mendeley online schema uses "arxiv", local DB uses "arxivId" hence it
was skipped. This commit adds mapping and a test.
2021-11-04 15:32:35 -04:00
Tom Najdek
882ecc205e
Mendeley import: Remove code to patch after earlier imports ( #2234 )
...
Fixes #2233 , Mendeley import: Invalid-field-for-type error
2021-11-03 23:32:36 -04:00
Martynas Bagdonas
c9d4ff4314
Add additional error logging for PDF reader and note editor
2021-11-03 11:50:21 +02:00
Martynas Bagdonas
6ac663a002
Encode a wider range of unicode characters when inserting a note
2021-11-02 15:06:40 +02:00
Adomas Venčkauskas
d530d9cf95
Fix collection open state persistance. Closes #2228
2021-10-29 11:28:41 +03:00
Martynas Bagdonas
90cc53361b
Refocus to the last focused node when switching back to Zotero Pane tab
2021-10-28 11:25:25 +03:00
Adomas Venčkauskas
be49786668
Fix column reordering and hiding breaking sorting
2021-10-27 15:18:10 +03:00
Adomas Venčkauskas
5f3eeb7fcd
Revert "Hack to fix sorting after reordering columns"
...
This reverts commit 69a43ec456
.
2021-10-27 15:18:10 +03:00
Adomas Venčkauskas
aa7e502bad
Restore ability to select individual items in duplicates view.
...
Closes #2225 . Only mouse clicks without modifiers will select the group
of duplicate items. This is the same behavior as with the XUL tree.
2021-10-27 15:18:10 +03:00
Martynas Bagdonas
bc8b1a7c6d
Implement annotations transferring ( #2202 )
2021-10-27 13:48:40 +03:00
Martynas Bagdonas
a4cf36794e
Focus itemsView when switching to Zotero Pane tab
2021-10-27 11:58:35 +03:00
Martynas Bagdonas
91dfcc96bf
Make ZoteroPane keydown handler to catch all key presses on the window
...
Fixes #2231
2021-10-27 11:58:34 +03:00
Martynas Bagdonas
cdb826e358
Don't suggest to create note if only ink annotations exist
2021-10-26 16:56:15 +03:00
Martynas Bagdonas
3736a93c2c
Add a work-around for mouseup events that are never triggered in reader
2021-10-26 12:12:03 +03:00
Martynas Bagdonas
d1322bd4b6
Improve PDFRenderer efficiency and add support for ink annotations
2021-10-25 12:46:12 +03:00
Martynas Bagdonas
59455ebfa7
Improve ink annotations support:
...
- Allow to select in sidebar or PDF page
- Allow to delete or change color
- Generate image and store as with image annotation
2021-10-22 10:14:28 +03:00
Martynas Bagdonas
6206209ed2
Fix item pane opening creator-type-menu in a wrong itembox binding
2021-10-19 17:14:44 +03:00
Dan Stillman
5f61ac23aa
Don't include non-regular items in one-off bibliographies
...
Applies to "Create Bibliography from Collection" and "Create
Bibliography from Items". Quick Copy already got this right.
https://forums.zotero.org/discussion/92305/sticky-notes-showing-in-bibliography
2021-10-18 17:53:14 -04:00
Martynas Bagdonas
a07c052cf0
Allow to use Quick Copy from PDF reader tab
...
Fixes #2023
2021-10-18 09:57:57 +03:00
Adomas Venčkauskas
4e68b624f2
Persist column settings in the select items dialog. Closes #2224
...
I didn't check the previous behavior, but I assume it's the same:
This will persist the same settings for the select items dialog in the
classic citation view as well as the add related item dialog.
2021-10-15 15:43:00 +03:00
Adomas Venčkauskas
7a9bd56b9d
Fix when dragging outside of the text of item pane message. Closes #2223
2021-10-14 15:33:43 +03:00
Dan Stillman
3d4a1a230e
Merge pull request #2217 from tnajdek/2216-mendeley-import-skips-over-large-files
...
Concurrently downloading large files
2021-10-13 13:20:00 -04:00
Martynas Bagdonas
8b11737b82
Import existing images when opening a note
...
#2186
2021-10-13 17:49:44 +03:00
Martynas Bagdonas
a4f09419e5
Fix context pane not properly assigning new note as standalone/child
2021-10-08 22:18:23 +03:00
Martynas Bagdonas
645eb86cbc
Don't focus Zotero Pane window when opening a tab in background
2021-10-05 17:30:44 +03:00
Martynas Bagdonas
3c3eac43de
Don't focus recognized PDF parent if Zotero Pane tab is not selected
2021-10-05 17:30:44 +03:00
Adomas Venčkauskas
78e31cf50f
Fix broken font scaling in the retrieve metadata/progress queue dialog.
...
Closes #2218
2021-10-05 12:55:38 +03:00
Adomas Venčkauskas
62e2ccafa0
Replace deprecated usage of Utilities.itemToCSLJSON
2021-10-05 12:55:38 +03:00
Adomas Venčkauskas
82eb7453a8
Add a method to remove event listeners from event dispatchers
2021-10-05 12:55:38 +03:00
Martynas Bagdonas
05139cfff8
Persist pdf-reader sidebar width
...
#2184
2021-10-04 17:10:31 +03:00
Martynas Bagdonas
7f23533ee9
Automatically update citations when user opens a note
2021-10-04 13:23:03 +03:00
Tom Najdek
a745cde2cf
New implementation of a download function #2216
...
This resolves a problem where, in certain scenarios,
Zotero.file.download throws an exception even though file is
successfully downloaded.
Furthermore this new download function should be more memory-efficient,
improving performance when dealing with large files.
2021-10-02 00:39:10 +02:00
Martynas Bagdonas
3b84e29c9e
Update context pane notes list when note is moved to/from parent
2021-10-01 14:47:50 +03:00
Martynas Bagdonas
47c61d3a4d
Add limitations for attachment notes
2021-10-01 13:19:20 +03:00
Martynas Bagdonas
c0ecd7691b
Focus parent from tab "Show in Library", and PDF file from File menu
2021-09-27 13:46:19 +03:00
Martynas Bagdonas
1f634f9e31
Use OS.File.writeAtomic without tmpPath to avoid #2210
2021-09-23 13:53:47 +03:00
Martynas Bagdonas
47d4949b2a
Upgrade note-editor schema to v5:
...
- Make citation node a leaf node.
- Don't parse citation node inner text.
- Don't trigger citation inner text updating on citation item changes.
- Format citation text only when serializing note HTML.
- Wrap individual citation items into `<span class="citation-item"></span>`.
2021-09-22 19:30:44 +03:00
Dan Stillman
571801e1fb
Fix min-height on search results in advanced search window
...
Regression from HTML tree
Fixes #2206
2021-09-17 06:11:51 -04:00
Dan Stillman
e2cbb51c31
Update locales from Transifex and merge new English strings
2021-09-17 06:11:51 -04:00
Dan Stillman
7e8bc80c1d
"Manage Lookup Engines" dialog tweaks ( #2195 )
...
- Lowercase "engines"
- Increase font size
- Switch to hyphenated element id
2021-09-17 05:38:56 -04:00
Abe Jellinek
241981057b
Correct Lookup Engine description
...
The Locate dropdown isn't in the Info pane, and the text was a bit more
verbose than it needed to be.
2021-09-17 05:38:56 -04:00
Dan Stillman
f0a8c9ada3
Merge pull request #2070 from mrtcode:restore-context-pane-tags-related
2021-09-14 01:53:21 -04:00
Dan Stillman
647afbb089
Update related box if related items are renamed or deleted
2021-09-14 01:50:58 -04:00
Martynas Bagdonas
61e3e339bb
Restore tags
and related
tabs, display note links box
2021-09-14 01:50:58 -04:00
Dan Stillman
fa4020f784
HTML tree: Disable clickthrough on collection and item trees
...
And also the tag selector, while we're at it. Leaving enabled for the
item pane.
(Clickthrough is responding to a click when the window doesn't have
focus, rather than having the first click just raise the window.)
Fixes #2203
2021-09-14 00:43:15 -04:00
Dan Stillman
aeabe0b3f6
Fix inability to drag subcollection to top level within group library
...
HTML tree regression
Fixes #2201
2021-09-14 00:43:15 -04:00
Abe Jellinek
c5067edd2d
Fix Scaffold failing to initialize ( #2200 )
2021-09-09 05:17:35 -04:00
Martynas Bagdonas
7468065528
Switch to library tab when dragging a PDF file over Zotero window
2021-09-07 16:53:20 +03:00
Martynas Bagdonas
d38d42d60c
Focus main window when navigating to annotation from note window
2021-09-07 12:01:42 +03:00
Dan Stillman
7672340819
HTML tree: Don't select all items on Cmd-Shift-A
2021-09-02 20:24:44 -04:00
Dan Stillman
576b9b7817
Fix SQL error saving an item with hundreds of related items
...
Fixes #2139
2021-09-01 06:19:56 -04:00
Dan Stillman
14b7206276
Get row height from tree for ItemTree::ensureRowsAreVisible()
2021-09-01 05:15:44 -04:00
Dan Stillman
dadf630728
HTML tree: ensureRowsAreVisible()
shouldn't scroll if unnecessary
...
Fixes #2166
2021-09-01 01:45:54 -04:00
Dan Stillman
69a43ec456
Hack to fix sorting after reordering columns
...
There's probably a better fix for this, but this seems to work.
2021-08-31 06:55:57 -04:00
Dan Stillman
4fa7070a31
Fix item tree sorting when column doesn't have .sortDirection property
2021-08-31 06:55:57 -04:00
Martynas Bagdonas
d77b00bf9a
Clarify and comment tab moving code
2021-08-31 11:37:01 +03:00
Adomas Venčkauskas
d8af5b7923
Fix wrong collection contents shown when switching collections at startup
...
Closes #2175
2021-08-30 15:19:12 +03:00
Adomas Venčkauskas
d4b3ed7fd8
HTML Tree: Fix opening multiple items with [Enter]
2021-08-30 15:19:12 +03:00
Martynas Bagdonas
b5ea925d02
Jump back to the opening tab even if the PDF was already open
...
Fixes #1985
2021-08-30 14:56:09 +03:00
Martynas Bagdonas
295874f803
Fix issue where non-existing tab is selected when closing multiple tabs
2021-08-30 14:12:22 +03:00
Martynas Bagdonas
b8cb093f79
Open multiple PDFs in tabs if SHIFT wasn't pressed, remove old code
2021-08-30 13:43:14 +03:00
Adomas Ven
cb9df902bc
HTML Tree: make find as you type a virtualized table functionality ( #2176 )
...
Closes #2168 , closes #2169 .
Adds find-as-you-type to locate, preference style and export
formats managers.
To enable find as you type you need to specify the getRowString(index) prop
on the VirtualizedTable. See prop comment for more info.
2021-08-30 06:01:08 -04:00
Adomas Venčkauskas
94c4d975a9
HTML Tree: fix item deletion breakage when child items are selected.
...
Closes #2174
2021-08-30 12:50:29 +03:00
Adomas Venčkauskas
873846261e
Fix export preferences HTML tree
2021-08-30 12:06:17 +03:00
Martynas Bagdonas
aa7f5289a3
Filter ink annotations before creating note from annotations
2021-08-30 11:06:10 +03:00
Dan Stillman
c2df338430
Allow 'ink' annotation type to be created
2021-08-30 03:58:58 -04:00
Adomas Venčkauskas
37d5e99fde
Fix some keyboard selection bugs in HTML collection tree
...
Moving pivot via [CMD/CTRL]+[ArrowKey] would change collection tree
focus without updating the UI
Select-all shortcut worked in the collection tree
2021-08-30 10:23:03 +03:00
Adomas Venčkauskas
b8545590d5
HTML Tree: more fixes to find as you type
2021-08-30 09:57:28 +03:00
Adomas Venčkauskas
2ef5afdd9c
Disable typing navigation with modifier keys pressed. Closes #2170
2021-08-30 09:52:13 +03:00
Dan Stillman
d723065a3d
HTML tree: Don't move dragged external files by default on macOS
...
Fixes #2172
2021-08-30 02:40:06 -04:00
Dan Stillman
952663de73
Fix failing repo notice tests
2021-08-29 04:41:52 -04:00
Dan Stillman
2459614f04
Add mechanism for showing dialog with notice from repo
...
- Messages are shown once a day by default (within the same session for
id-less messages)
- Messages with an `id` attribute include a checkbox to not show again
for 30 days
- If an `infoURL` attribute is provided, a "More Information" button is
shown that launches that URL
- If `title` is provided, it's used for the dialog title. Otherwise
"Warning" is shown.
2021-08-29 04:25:49 -04:00
Dan Stillman
ba7d0a18aa
Restore itemTree::saveSelection()
...
Deprecated for years, but used by ZotFile
2021-08-29 01:41:40 -04:00
Dan Stillman
8d3adb6f46
HTML tree: Add tree.focus()
...
And fix shortcut key for selecting library
2021-08-28 22:43:09 -04:00
Dan Stillman
10f2400c59
Merge new English strings
2021-08-27 17:01:33 -04:00
Dan Stillman
dba77cd332
Additional tab context menu tweaks ( #2162 )
...
- Select last reopened tab instead of opening all in background
- Rearrange Close/Close Other Tabs/Reopen Closed Tabs options
- Use proper plural for Reopen Closed Tab[s]
2021-08-27 16:52:22 -04:00
Martynas Bagdonas
50732d1479
Add tab context menu ( #2162 )
2021-08-27 16:52:02 -04:00
Dan Stillman
7019544b48
Add ink annotation type
2021-08-27 16:28:45 +03:00
Adomas Venčkauskas
77f726fef3
HTML Tree: improve row scrolling into row behavior upon toggling open
2021-08-27 13:54:33 +03:00
Adomas Venčkauskas
b05e22fa77
HTML Tree: Make search context rows selectable. Closes #2164
...
Adds special handling such that context rows are not selected only
when performing a select-all.
2021-08-27 13:36:03 +03:00
Adomas Venčkauskas
0a7aa10463
HTML Tree: Fix refresh bugs when a feed is modified. Closes #2163
2021-08-27 13:05:35 +03:00
Adomas Venčkauskas
ab9414d1a4
HTML Tree: some additional documentation
2021-08-26 16:40:41 +03:00
Adomas Venčkauskas
a71addb12a
Make sure including include.js multiple times does not break monkey-patching
...
This is important for plugins that want to monkey-patch interfaces that
are only accessible via require() calls
2021-08-26 16:21:52 +03:00
Adomas Venčkauskas
b08f2d829f
Update the HTML tree to allow extension via Zotero plugins
2021-08-26 16:16:44 +03:00
Adomas Venčkauskas
20e2f33064
HTML Tree: Optimize tree invalidation
2021-08-26 14:40:59 +03:00
Adomas Venčkauskas
bffa64bdda
HTML Tree: Re-add item tree methods lost in transition
2021-08-26 10:14:35 +03:00
Adomas Venčkauskas
b91664435f
HTML Tree: Fix Show Items from Subcollections. Closes #2160
2021-08-26 09:33:47 +03:00
Martynas Bagdonas
89d1899690
Add UI feedback when moving tab
...
Fixes #1988
2021-08-26 08:23:19 +03:00