Dan Stillman
3732f97d41
Add OpenURL resolver directory
...
Remove the apparently obsolete [1] WorldCat `lookup?IP=requestor` search
functionality and replace with a hierarchical menu populated directly
from our directory [2].
Also switch to https://www.worldcat.org/registry/gateway as the default
resolver, which seems to be the same as
http://worldcatlibraries.org/registry/gateway but with HTTPS support
Fixes #1811
Fixes #1853
[1] https://forums.zotero.org/discussion/79312/search-for-resolvers-gives-out-of-date-information
[2] https://www.zotero.org/support/locate/openurl_resolvers
2021-08-13 06:25:16 -04:00
Adomas Venčkauskas
5118cd4164
Fix note insertion errors when note does not contain citations
2021-08-13 13:18:15 +03:00
Dan Stillman
9738d20558
Update note-editor submodule
2021-08-12 00:56:26 -04:00
Dan Stillman
15162c277b
Update locales from Transifex and merge new English strings
2021-08-12 00:43:18 -04:00
Dan Stillman
ee2b63bf18
Update submodules
2021-08-06 16:56:31 -04:00
Dan Stillman
5ae8e819ef
Update utilities submodule and add comment for MAX_TITLE_LENGTH
2021-08-06 16:06:29 -04:00
Martynas Bagdonas
9b3367f227
Allow zotero://open-pdf/
to navigate to specific annotation by key
...
zotero://open-pdf/library/items/AABBCCDD?annotation=[annotation-key]
Fallback to a page if annotation is missing:
zotero://open-pdf/library/items/AABBCCDD?page=123&annotation=[annotation-key]
Fixes #2125
2021-08-06 13:06:40 +03:00
Martynas Bagdonas
6472321000
Upgrade note-editor schema to v4:
...
- Set `annotation.attachmentURI` instead of `annotation.uri` when inserting annotations
- Migrate `annotation.uri` to `annotation.attachmentURI`
- Add `annotation.annotationKey` that references to the original annotation
2021-08-06 13:06:40 +03:00
Martynas Bagdonas
a065d477ed
Add zoom options to View menu
...
Fixes #2138
2021-08-05 11:27:54 +03:00
Martynas Bagdonas
bd56b16247
Fix missing checkbox issue for standalone PDF reader window
2021-08-05 11:23:35 +03:00
Dan Stillman
97b381f435
Update utilities submodule ( fixes #2141 )
...
Follow-up to #2128
2021-08-04 20:40:27 -04:00
Dan Stillman
21df0ecac6
Remove shallow=true for translate and utilities submodules
...
Shallow submodules break normal fetching/pulling in confusing ways.
2021-08-04 20:20:54 -04:00
Dan Stillman
b1e63c8fe1
Update translate and utilities submodules
2021-08-04 20:02:46 -04:00
Abe Jellinek
4ebed5dee7
Update strings and add test for ADS Bibcode extraction ( #2128 )
2021-08-04 19:37:49 -04:00
Abe Jellinek
4475e86eac
Fix error when connector requests translators ( #2135 )
...
The call to done() resulted in a 500 response and prevented the
connector from fetching the list of available translators.
2021-08-04 04:39:43 -04:00
Martynas Bagdonas
7015c8df59
Fix missing menu checkbox issue on pdf-reader and note-editor on Windows
2021-08-02 11:45:30 +03:00
Abe Jellinek
5bfdeb36ca
Exclude unmergeable types by name, not by ID ( #2137 )
...
Excluding by ID obscured which types were being excluded. IDs drifted
and we ended up blacklisting artwork and encyclopediaArticle.
2021-07-30 16:15:10 -04:00
Adomas Venčkauskas
0e2073b251
Revert removal of Utilities.Internal.itemToExportFormat() (since c929055
)
2021-07-30 14:28:14 +03:00
Adomas Venčkauskas
4d497afea0
Use Translator Tester code from shared repo for Scaffold
2021-07-28 15:46:07 +03:00
Adomas Venčkauskas
8f90cfbcfd
Remove obsolete files after shared code modularization
2021-07-28 15:46:07 +03:00
Adomas Venčkauskas
7814efcfe2
Use zotero/translate and zotero/utilities for shared code
2021-07-28 15:46:07 +03:00
Adomas Venčkauskas
c929055571
Refactor utilities code in preparation to move to external repo
2021-07-28 15:46:07 +03:00
Martynas Bagdonas
e0bc873bce
Improve embedded note image loading and deletion:
...
- Delete unused embedded images when note is closed.
- Load images as soon as they are downloaded.
- Introduce new notification for download event, and a test for it.
- Prevent simultaneous downloads of the same attachment.
2021-07-28 13:49:04 +03:00
Martynas Bagdonas
3c658fc672
Copy embedded images, downloaded when needed or show a warning ( #2129 )
2021-07-26 13:04:38 +03:00
Martynas Bagdonas
a40ac2907e
Open PDF files over viewAttachment() to reuse its logic (download, etc.)
2021-07-22 17:54:46 +03:00
Dan Stillman
966bee275c
CI: Temporarily disable NPM cache due to a bug in the setup-node action
...
Getting "Cache folder path is retrieved for npm but doesn't exist on
disk: /home/runner/.npm" in the "Post Install Node" step for all runs
2021-07-22 04:46:10 -04:00
Dan Stillman
a5902fc466
Update translators
2021-07-22 02:17:35 -04:00
Martynas Bagdonas
415973d83c
Update citations only on note edit to avoid sync loops
2021-07-21 21:30:53 +03:00
Martynas Bagdonas
aa11c36a64
Little fixes to note editor:
...
- Fix invalid selector
- Filter itself sent postMessage messages
2021-07-21 21:20:20 +03:00
Dan Stillman
6a6e4fa92c
Don't update retractions on bundled file update notification
2021-07-21 03:45:25 -04:00
Dan Stillman
1bd0e7ccda
Update cross-library item drag test after 2dd16b44d
2021-07-21 00:12:42 -04:00
Dan Stillman
24d45f6953
Omit additional files in global schema directory from build
2021-07-20 23:45:40 -04:00
Dan Stillman
2dd16b44d6
Ignore items in target library trash for cross-library drags
...
Just don't consider items in the trash to be linked items in
item.getLinkedItem(). I'm not totally sure why we didn't do this many
years ago, since it's one of the biggest sources of confusion in Zotero.
This addresses #1648 and closes #1610 , though not by undeleting and
overwriting the item in the trash. When deleting an item and then
re-dragging it from another library, I think most people would expect
the item in the trash to still exist (possibly with notes, etc.), rather
than having been automatically restored and overwritten with new data.
2021-07-20 23:45:40 -04:00
J. Ryan Stinnett
6b8bbaf980
Rename metaOrCtrl to cmdOrCtrl
...
Since we're already testing for macOS, let's go for clarity and call the meta
key Cmd here, since that's what it is.
2021-07-15 09:26:36 +01:00
Dan Stillman
07f6958b9f
Update note-editor and pdf-reader submodules
2021-07-14 00:49:42 -04:00
Tom Najdek
ec2ad91938
Mendeley import: Add "★" tag for favourite items ( #2122 )
...
Also ensure that "★" tag is added to an existing item on re-import
where appropriate.
2021-07-13 06:28:05 -04:00
Abe Jellinek
d2db842938
Scaffold: Add action to open test URL in internal browser ( #2117 )
2021-07-13 03:33:57 -04:00
Dan Stillman
4db5b4a23f
Merge pull request #2121 from jryans/more-tab-shortcuts
...
Add more tab navigation shortcuts
2021-07-13 03:32:07 -04:00
Dan Stillman
2b93b8cb56
Remove accidental .only()
in test from fdcd4e51c5
2021-07-12 15:25:17 -04:00
J. Ryan Stinnett
738d449bea
Add MetaOrCtrl-1 through 9 tab navigation
2021-07-11 02:28:25 +01:00
J. Ryan Stinnett
051a84686f
Add Ctrl-Tab / Ctrl-Shift-Tab tab navigation
2021-07-11 02:28:25 +01:00
J. Ryan Stinnett
3a95e2e303
Add Cmd-Shift-[ / ] tab navigation on macOS only
2021-07-11 02:28:25 +01:00
J. Ryan Stinnett
28b34bb958
Add stop propagation to existing tab navigation
2021-07-11 01:32:17 +01:00
J. Ryan Stinnett
9afc6e8f47
Tweak existing tab navigation style
2021-07-11 01:29:42 +01:00
J. Ryan Stinnett
d231a03308
Move tab navigation above from and document checks
...
This ensure tab navigation functions are always available throughout Zotero.
2021-07-11 01:03:10 +01:00
Abe Jellinek
f942c224f5
Scaffold: Run/delete tests with the keyboard ( #2118 )
2021-07-09 03:42:08 -04:00
Dan Stillman
1c61c86801
Update translators
2021-07-07 01:45:11 -04:00
Dan Stillman
fb01339c6b
Implement library.isGroup property, which was never properly implemented
...
And since `Zotero.Libraries.isGroupLibrary()` just checked that
property, that hasn't worked either since `isGroup` was added in 2015.
There's no test for `.isGroup`, and the test for `isGroupLibrary()` used
`if()` instead of `it()`, so it never actually ran.
Also:
- Remove old code block in search.js that called `isGroupLibrary()`.
Since `isGroupLibrary()` didn't work, this block was unused, and its
logic was previously added elsewhere.
2021-07-07 01:43:22 -04:00
Dan Stillman
689da34094
CI: Update setup-node version and enable npm caching
...
https://github.blog/changelog/2021-07-02-github-actions-setup-node-now-supports-dependency-caching/
2021-07-07 01:39:08 -04:00
Dan Stillman
314f66c84a
Fix comment on Zotero.Item::clone()
2021-07-07 00:17:29 -04:00