Aurimas Vinckevicius
38b9bbc8c8
Fix Translate tests on Windows
2015-09-21 17:08:22 -05:00
Dan Stillman
037bc07a3c
Fix timeout on Travis loading 'allTypesAndFields' data
2015-06-11 02:19:49 -04:00
Simon Kornblith
70f021f945
Use ISO 8601 accessDates everywhere
...
This uses ISO 8601 dates for generateAllTypesAndFieldsData (and
changes populateDBWithSampleData to use Item#fromJSON), and makes
translators expect ISO 8601 accessDates, although SQL accessDates are
still supported with a deprecation warning. Canonicalization happens in
Zotero.Translate, so I need to remember to update connectors as well.
2015-06-07 18:50:57 -04:00
Simon Kornblith
3fc38d750b
Use Zotero.Item.fromJSON() for saving from translators
...
Also:
- Move some canonicalization of items returned by translators to
Zotero.Translate
- Make Zotero.Translate#translate return a promise
- Add tests
2015-06-07 17:30:41 -04:00
Dan Stillman
77f12527aa
Fix NS_BASE_STREAM_CLOSED error, for real
...
The input stream produced by asyncFetch is closed automatically at EOL,
so the available() call throws this for an empty file.
2015-06-02 14:58:43 -04:00
Dan Stillman
ee777c5be6
Enable logging for NS_BASE_STREAM_CLOSED error
2015-06-02 05:11:40 -04:00
Dan Stillman
c2e7b8ccc0
A couple Zotero.Translate.ItemGetter test fixes
2015-06-01 06:12:11 -04:00
Simon Kornblith
9bb01d737c
Merge branch '4.0' into sjk/659
2015-06-01 00:03:20 -04:00
Aurimas Vinckevicius
1d1eb74e57
Add tests for Zotero.Translate.ItemGetter.prototype.nextItem
2015-05-26 16:11:43 -05:00