Dan Stillman
7575cd8b29
Don't accept keyboard input before new-collection prompt appears
...
Fixes #1613
2018-12-27 07:11:15 -05:00
Dan Stillman
80f6b857f6
Add Utilities.Internal.getNextName(name, existingNames)
...
Function to get the next available name when duplicating something
2018-12-16 02:24:21 -05:00
Dan Stillman
05d8e7a8a3
Check Extra field for DOIs for PDF retrieval
...
E.g., a book with a DOI in Extra
Closes #1551
2018-08-30 16:52:24 -04:00
Sylvester Keil
aa908516eb
Use spy.resetHistory instead of reset
...
Reset was deprecated in 4.1.4 and removed in 5.0.
2018-08-04 22:07:27 +02:00
Martynas Bagdonas
9165a0247f
Fix PMID and arXiv identifiers extraction ( #1498 )
2018-05-07 06:04:11 -04:00
Martynas Bagdonas
fa0576a4dd
Add arXiv identifier support ( #1486 )
2018-04-18 13:03:10 -04:00
Dan Stillman
e35b035224
Separate identifer parsing from Add Item by Identifier and search translation
...
- Move identifier detection to `Zotero.Utilities.Internal.extractIdentifiers()`
so that it can be used for things other than Add Item by Identifier
(e.g., translation-server)
- Add a `Zotero.Translate.Search::setIdentifier()` function that takes an
identifier object produced by `extractIdentifiers()` (`{ DOI: "10/..." }`),
converts that to the search format expected by translators, and calls setSearch()
2017-10-21 03:32:28 -04:00
Dan Stillman
22eab3e09d
Don't leave file descriptor open in md5Async()
...
This could cause "Too many open files" errors during file syncing
2017-06-30 17:54:33 -04:00
Dan Stillman
2e8e3ffa5d
Add test for Zotero.Utilities.Internal.md5()
...
(Though md5Async() should generally be used instead)
2016-09-24 06:54:30 -04:00
Dan Stillman
35530af1fb
Gzip-compress API uploads larger than 1000 characters
2016-03-28 02:38:28 -04:00
Dan Stillman
af8865f3f3
Fix behavior of Zotero.Utilities.Internal.delayGenerator and add tests
...
Also convert to an ES6 generator
2016-03-22 22:44:02 -04:00
Dan Stillman
5c32962bb1
Add test for Zotero.Utilities.Internal.md5Async()
2015-10-29 03:57:08 -04:00