zotero/test
Dan Stillman f353b7ca61 API-based "Restore to Online Library"
Restores the "Restore to Zotero Server" functionality, now using the
API:

1. Get all remote keys and send `DELETE` for any that don't exist
   locally.
2. Upload all local objects in full (non-patch) mode using only library
   version so that the remotes are overwritten.
3. Reset file sync history, causing all files to be uploaded (or, more
   likely, reassociated with existing remote files).

Since these are treated as regular updates on the server, they'll sync
down to other clients normally. Unsynced changes by other clients might
still trigger conflicts.

This and Reset File Sync History can also now be run on group libraries,
with a library selector in the Reset pane (which I forgot to do with
React).

The full sync option is now removed from the Reset pane, since there
wasn't ever really a reason to run it manually.

We should be able to reimplement Restore from Online Library (#1386)
using the inverse of this approach.

Closes #914
2017-12-08 00:42:03 -05:00
..
components Add -e flag to runtests.sh to stop tests after a given file 2017-06-20 05:48:38 -04:00
content Fix -s and -e arguments for test runner 2017-10-27 04:03:11 -04:00
resource Support generators in tests via coMocha, instead of custom code 2017-06-01 11:36:17 -04:00
tests API-based "Restore to Online Library" 2017-12-08 00:42:03 -05:00
chrome.manifest Unit testing infrastructure 2015-03-07 16:34:55 -05:00
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Don't compress uploaded data in tests 2017-12-08 00:42:03 -05:00