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

@ -12,6 +12,7 @@ var ZOTERO_CONFIG = {
API_URL: 'https://api.zotero.org/',
STREAMING_URL: 'wss://stream.zotero.org/',
RECOGNIZE_URL: 'https://recognize.zotero.org/',
SERVICES_URL: 'https://services.zotero.org/',
API_VERSION: 3,
CONNECTOR_MIN_VERSION: '5.0.39', // show upgrade prompt for requests from below this version
PREF_BRANCH: 'extensions.zotero.',