Adomas Venčkauskas
cb8280f0ff
Move Zotero.Prefs into its own file
2018-07-11 15:53:46 +03:00
Adomas Venčkauskas
d5c2d887a7
Make ConcurrentCaller.js importable in electron
2018-07-11 14:32:45 +03:00
Sylvester Keil
53522c2cbe
Add Zotero.File.getResource for local resources
...
Use `getResource` in Zotero.Date.init (this turns it into a
synchronous function). Zotero.File.getResource makes it easier
to load local files on platforms that do not support the
`resource://` URLs.
2018-07-11 14:08:45 +03:00
Sylvester Keil
06cb9aff98
Prefer use of Services.appinfo
2018-07-11 13:58:41 +03:00
Sylvester Keil
b2a1977d5a
Gecko 16 and later sets topic to 'active'
2018-07-11 13:58:41 +03:00
Sylvester Keil
e406ddc54b
Prefer Services.jsm getters for common services
2018-07-11 13:58:41 +03:00
Sylvester Keil
3f026239f1
Remove unused methods
...
`.getAsyncStatement()` and `.executeAsyncStatement()` are not used
anywhere.
2018-07-11 13:58:41 +03:00
Sylvester Keil
31395e9516
Export ZOTERO_CONFIG when required as CommonJS
2018-07-11 13:58:41 +03:00
Dan Stillman
892b37db8b
Update styles submodule
2018-07-09 14:58:02 +02:00
Dan Stillman
fe348ddd71
Update version
2018-07-09 14:57:53 +02:00
Dan Stillman
99a1ac62c7
Fix a couple cases of open item box field changes not being saved
...
When clicking directly from an open field to the creator delete button
or a creator type in the creator type menu
2018-07-09 14:54:50 +02:00
Dan Stillman
62e403bc55
Limit OA PDF lookup to dev builds
2018-07-07 13:12:33 +02:00
Dan Stillman
2ebc78adc0
Update submodules
2018-07-07 13:04:49 +02:00
Brenton M. Wiernik
baafd49b8c
Update link to import formats documentation ( #1525 )
...
The existing destination has never really been the appropriate page for this dialogue, as it has never actual listed the supported formats.
2018-07-04 21:09:45 +02:00
Dan Stillman
da9537c5e4
Mendeley import: Properly handle "Mendeley Ltd." folder with period
...
At some point Mendeley seems to have changed the default path to the
data directory on Windows to remove the period, and for people with the
old directory we were linking rather than storing attachment files from
"Downloaded".
2018-07-02 01:06:17 +02:00
Adomas Venčkauskas
c1a9735081
Fix citations updating even after user asks for them not to be updated
2018-07-01 14:23:49 +03:00
Dan Stillman
99584dc918
Import base-directory-relative linked files
...
Zotero RDF contained 'attachments:' paths when files weren't included
but they weren't imported properly
2018-06-30 09:19:09 +02:00
Brenton M. Wiernik
b4ee2fbd98
Add support for bear:// URI protocol ( #1520 )
...
https://forums.zotero.org/discussion/comment/310717#Comment_310717
2018-06-29 02:27:19 +02:00
Adomas Venčkauskas
5425c272b2
Update translation-server-v2 dependent files to be commonJS compatible
...
Also some minor misc changes to translate.js
2018-06-27 17:31:10 +03:00
Dan Stillman
3c82263082
Fix Add Item by Identifier test failure due to capitalization change
2018-06-27 16:28:38 +02:00
Dan Stillman
3aefcdf2d9
Mendeley import: Import folders with parentId of 0 instead of -1
...
Top-level folders should have a parentId of -1, but at least in one user
report there's a folder with 0.
2018-06-27 02:19:00 +02:00
Dan Stillman
f715c02a66
Throw proper error when collection is moved into one of its descendents
2018-06-26 21:06:11 +02:00
Dan Stillman
3c1cdd57d2
Fix error with nested saved searches containing post-search filters
...
Addresses #1518
2018-06-26 00:48:08 +02:00
Dan Stillman
cbf63f4e72
Skip blank tags when importing from Mendeley
2018-06-24 20:04:37 +02:00
Dan Stillman
7785b8df14
Restore open-access PDF retrieval for Add Item by Identifier
...
This reverts commit faa310e0f0
.
2018-06-20 17:19:39 -04:00
Dan Stillman
3d818a6cac
Update version
2018-06-20 17:19:28 -04:00
Dan Stillman
c26bd73895
Update translators
2018-06-20 17:09:11 -04:00
Dan Stillman
faa310e0f0
Temporarily disable Add Item by Identifier open-access PDF retrieval
...
Not going out in 5.0.52
2018-06-20 17:07:11 -04:00
Dan Stillman
a9cd47dc3f
Avoid hang on invalid attachment during import
...
E.g., if a .pdf is really an HTML file, we try to load it in a hidden
browser (because we properly detect the content type), but then the .pdf
extension causes the hidden browser to launch it via the OS and the
hidden browser never finishes loading it. This adds a 5-second timeout
to abort the process.
2018-06-19 18:26:34 -04:00
Dan Stillman
2d6332212c
Make attachment post-process failures non-fatal
...
This is generally just detecting the character set and/or indexing, so
it's not the end of the world if it fails.
2018-06-19 18:25:53 -04:00
Dan Stillman
2a7f31813e
Disable JS in hidden browser when indexing HTML files without a charset
...
This could cause imports that linked to HTML files to hang, possibly
from network requests that failed.
2018-06-18 20:19:02 -04:00
Dan Stillman
9b9fe098d9
Fix display of error on corrupted DB
2018-06-17 18:08:33 -04:00
Dan Stillman
4554998798
Add Zotero.File.moveToUnique(), replacing Zotero.moveToUnique()
...
New function takes string paths instead of nsIFile instances
2018-06-17 18:08:03 -04:00
Dan Stillman
f3a62f5a63
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.
2018-06-16 14:35:44 -04:00
Dan Stillman
a9dcea7b13
Update version
2018-06-16 03:26:00 -04:00
Dan Stillman
72481b072e
Clean up extra files from Mendeley imports
...
Follow-up to cdee741a6
2018-06-16 03:07:46 -04:00
Dan Stillman
cdee741a6d
Mendeley import: Fix duplicate PDF copying for PDFs in Downloaded
...
For each PDF with an associated URL in the Downloaded directory, we were
copying all files in the directory (!) to the attachment's storage
directory. (Zotero imports always have files in separate directories,
and this was a function used to save both single files and HTML
snapshots.)
We'll clean up the extra files in a separate step.
2018-06-16 01:51:37 -04:00
Dan Stillman
68d03bc6c3
Update version
2018-06-14 16:42:16 -04:00
Dan Stillman
0383f104dd
Fix "Import into new collection" option when handling importable file
2018-06-14 16:41:33 -04:00
Dan Stillman
d38d55e2b4
Mendeley import: Don't use single transaction
2018-06-13 10:27:26 -04:00
Dan Stillman
94a0c3ce8c
Update version
2018-06-12 15:33:17 -04:00
Dan Stillman
5ddbe433b9
Fix Backoff and Retry-After header parsing
2018-06-12 15:17:46 -04:00
Dan Stillman
79d7c15d4f
Update translators
2018-06-12 07:54:20 -04:00
Dan Stillman
d4c201fbc0
Correct Mendeley data dir path on Windows
2018-06-12 07:04:32 -04:00
Dan Stillman
d4097d90f6
Update locales from Transifex and merge new English strings
2018-06-12 06:23:57 -04:00
Dan Stillman
e67db436c6
Mendeley import: Add link to support page on encrypted DB
...
Also localize the name of the collection created during import
2018-06-12 06:16:59 -04:00
Dan Stillman
cfbb3d3d47
Mendeley import: Fix "Collection undefined not found" error
...
If a folder appeared in the DocumentFolders table but not in
Folders/RemoteFolders, it caused an error.
2018-06-11 12:16:09 -04:00
Dan Stillman
bd5f2525dc
Add star tag for favorite items
2018-06-11 09:44:01 -04:00
Dan Stillman
da5db4cb38
Update node-sass to fix build breakage
2018-06-11 09:01:32 -04:00
Dan Stillman
2831e8be3e
Mendeley import: Fix "keys is undefined" error
...
An error would occur if a document existed in RemoteDocuments but not
Documents.
2018-06-10 02:50:52 -04:00