Automatically download open-access PDFs via Add Item by Identifier

When the associated-files pref is enabled, Add Item by Identifier uses a
Zotero Unpaywall mirror to find available open-access PDFs. No details
about the contents of searches are logged.
This commit is contained in:
Dan Stillman 2018-06-16 14:34:29 -04:00
parent a9dcea7b13
commit f3a62f5a63
5 changed files with 289 additions and 80 deletions

View file

@ -49,6 +49,11 @@ describe("Add Item by Identifier", function() {
});
});
it.skip("should add a DOI with an open-access PDF");
// e.g., arXiv
it.skip("should not add a PDF if a DOI already retrieves one");
it("should add a PMID", function() {
this.timeout(10000);
return lookupIdentifier(win, "24297125").then(function(ids) {