zotero/test/tests
Dan Stillman a1ce85decb Overhaul object downloading/processing during data syncs
Previously, objects were first downloaded and saved to the sync cache,
which was then processed separately to create/update local objects. This
meant that a server bug could result in invalid data in the sync cache
that would never be processed. Now, objects are saved as they're
downloaded and only added to the sync cache after being successfully
saved. The keys of objects that fail are added to a queue, and those
objects are refetched and retried on a backoff schedule or when a new
client version is installed (in case of a client bug or a client with
outdated data model support).

An alternative would be to save to the sync cache first and evict
objects that fail and add them to the queue, but that requires more
complicated logic, and it probably makes more sense just to buffer a few
downloads ahead so that processing is never waiting for downloads to
finish.
2016-03-23 04:29:04 -04:00
..
data Merge pull request #902 from adomasven/feature/feed-reader-UI 2016-03-22 07:31:03 -04:00
attachmentsTest.js Fix hang on import that includes an HTML attachment 2016-03-22 01:31:20 -04:00
browserTest.js Fix saving of single files to library root via save button 2016-03-21 01:30:16 -04:00
cachedTypesTest.js Add toCanonical and toLabel for Zotero.CharacterSets 2015-06-11 17:17:28 -05:00
collectionsTest.js Add Feed and FeedItem 2015-09-21 17:08:21 -05:00
collectionTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
collectionTreeViewTest.js Handle multi-collection/search add in collectionTreeView::notify() 2016-03-22 22:44:00 -04:00
concurrentCallerTest.js Resolve caller.start() promise when passed functions finish 2015-11-11 02:14:30 -05:00
creatorsTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
dataObjectsTest.js Clean up DataObject erasing, and fix search unloading 2015-06-16 19:51:21 -04:00
dataObjectTest.js Load reverse relations mappings at startup 2016-03-18 04:31:37 -04:00
dataObjectUtilitiesTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
dateTest.js Daylight saving time: it's a thing! 2016-03-13 20:28:12 -04:00
dbTest.js Remove stray this.timeout() call 2015-05-29 01:38:47 -04:00
duplicatesTest.js Fixes #918, Enabling "Show Unfiled Items" or "Show Duplicates" breaks UI 2016-03-13 20:31:15 -04:00
feedItemsTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedItemTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedReaderTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedsTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
fileInterfaceTest.js Fix hang on import that includes an HTML attachment 2016-03-22 01:31:20 -04:00
fileTest.js Update character set handling 2015-06-12 02:46:02 -04:00
fulltextTest.js Closes #899, Setting max chars to 0 should disable full-text indexing 2016-02-07 01:01:26 -05:00
groupsTest.js Move editable and filesEditable props to libraries table [DB reupgrade] 2015-06-07 15:50:07 -04:00
groupTest.js Add Feed and FeedItem 2015-09-21 17:08:21 -05:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js Fix attachment renaming 2015-08-07 15:36:46 -04:00
itemsTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
itemTest.js Fix Item::multiDiff() 2016-03-11 07:48:24 -05:00
itemTreeViewTest.js Make sure "Unfiled Items" is showing before test 2016-03-15 01:18:55 -04:00
librariesTest.js Make Zotero.Libraries.getAll() return sorted Zotero.Library instances 2015-11-04 14:04:21 -05:00
libraryTest.js Load synced settings (incl. tag colors) at startup 2016-03-15 01:18:55 -04:00
lookupTest.js Rename remaining files to *Test.js 2015-05-19 14:46:17 -04:00
preferences_advancedTest.js Update linked attachment base directory code 2015-09-29 04:42:12 -04:00
preferences_searchTest.js Add waitForDialog(onOpen, button) support function 2015-06-04 20:31:48 -04:00
preferences_syncTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
quickCopyTest.js Ignore trailing period in domain for Quick Copy 2015-07-03 23:46:39 -04:00
recognizePDFTest.js Return a Zotero.Item from all Zotero.Attachments methods 2015-05-29 05:33:54 -04:00
relatedboxTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
relationsTest.js Load reverse relations mappings at startup 2016-03-18 04:31:37 -04:00
schemaTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
searchTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
storageLocalTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
storageRequestTest.js ZFS file sync overhaul for API syncing 2015-10-29 04:38:27 -04:00
supportTest.js Set test timeout in resetDB() instead of separate this.timeout() calls 2015-09-29 04:42:12 -04:00
syncAPIClientTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
syncEngineTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
syncFullTextEngineTest.js Full-text syncing support via API [DB reupgrade] 2015-11-12 02:54:51 -05:00
syncLocalTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
syncRunnerTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
tagsboxTest.js Load synced settings (incl. tag colors) at startup 2016-03-15 01:18:55 -04:00
tagSelectorTest.js Restore colored tags at top of tag selector when not linked to item 2016-03-15 01:18:55 -04:00
tagsTest.js Load synced settings (incl. tag colors) at startup 2016-03-15 01:18:55 -04:00
translateTest.js Fix collection export 2016-03-21 18:11:30 -04:00
utilities_internalTest.js Fix behavior of Zotero.Utilities.Internal.delayGenerator and add tests 2016-03-22 22:44:02 -04:00
utilitiesTest.js Fix test failures 2016-03-07 17:13:30 -05:00
webdavTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
zfsTest.js Merge branch 'deasyncification' 2016-03-16 02:02:41 -04:00
zoteroPaneTest.js Fixes #918, Enabling "Show Unfiled Items" or "Show Duplicates" breaks UI 2016-03-13 20:31:15 -04:00