zotero/chrome/content/zotero
Dan Stillman 984789d304 API syncing megacommit
There's a lot more to do, and this isn't ready for actual usage, but the
basic functionality is mostly in place and has decent test coverage. It
can successfully upgrade a library last used with classic syncing and
pull down changes via the API. Uploading mostly works but is currently
disabled for safety until it has better test coverage.

Downloaded JSON is first saved to a cache table, which is then used to
populate other tables and later for generating PATCH requests and
automatically resolving conflicts (since it shows what was changed
locally and what was changed remotely). Objects with unmet dependencies
or unknown fields are skipped for now but don't block the rest of the
sync.

Some of the bigger remaining to-dos:

- Tests for uploading
- Re-do the preferences to get an API key
- File sync integration
- Full-text syncing integration
- Manual conflict resolution (though this already includes much smarter
  conflict handling that automatically resolves many conflicts)
2015-07-20 18:16:57 -04:00
..
bindings Merge branch '4.0' 2015-07-18 07:09:53 -04:00
ingester Check single items in selection window 2015-07-15 21:21:51 -04:00
integration Merge branch '4.0' 2015-06-27 16:59:58 -04:00
locale Undo accidental subproject commit change from 3420b4874a 2015-07-09 18:02:11 -04:00
preferences API syncing megacommit 2015-07-20 18:16:57 -04:00
standalone Merge branch '4.0' 2015-07-18 07:09:53 -04:00
test Evaluate test.js as JS 1.8 in Firefox 17 2013-07-22 20:30:45 -04:00
tools Merge branch '4.0' 2015-07-18 07:09:53 -04:00
webpagedump Fix CSS in snapshots of Reader View 2015-07-17 16:22:15 -04:00
xpcom API syncing megacommit 2015-07-20 18:16:57 -04:00
about.xul Add 2x versions of many icons 2015-04-06 17:24:55 -04:00
advancedSearch.js Load groups at startup, and make Zotero.Groups functions synchronous 2015-05-22 04:52:05 -04:00
advancedSearch.xul Library switcher in advanced search window 2014-05-15 21:41:22 -04:00
attachLink.js Address silent failure of unrecognized URIs in Attach Link to URI 2014-12-16 11:20:55 -05:00
attachLink.xul Fix typo in attachLink.xul 2015-01-18 10:40:12 -06:00
bibliography.js Remember style and locale when explicitly selected by the user 2015-07-09 23:38:25 -05:00
bibliography.xul Reorganize and improve locale drop-down code 2015-06-24 14:10:33 -04:00
browser.js Merge branch '4.0' 2015-07-18 07:09:53 -04:00
captcha.js [Retrieve Metadata] Use a single queue to query Google Scholar. Window closing tweaks. 2014-01-31 02:09:35 -06:00
captcha.xul [Retrieve Metadata] Use a single queue to query Google Scholar. Window closing tweaks. 2014-01-31 02:09:35 -06:00
charsetMenu.js Fix #496, Remove uses of nsICharsetConverterManager 2014-06-19 17:31:27 -04:00
downloadOverlay.js Merge branch 'master' into api_syncing 2015-03-16 15:23:07 -04:00
downloadOverlay.xul
duplicatesMerge.js Fixes duplicates view for async DB 2014-10-10 04:49:39 -04:00
errorReport.xul Add extra newline between lines in error reports 2015-05-22 16:03:06 -04:00
exportOptions.js
exportOptions.xul Remove more uses of charsetDTD 2014-06-19 19:03:58 -04:00
fileInterface.js Merge branch '4.0' 2015-06-27 16:59:58 -04:00
icon.js Fix issues with toolbar icons in multiple windows 2015-07-06 15:41:28 -04:00
include.js
itemPane.js Fix post-save textbox focusing bugs in right-hand pane 2015-05-04 02:45:55 -04:00
itemPane.xul Relations overhaul (requires new DB upgrade from 4.0) 2015-06-01 20:28:30 -04:00
locateManager.xul
locateMenu.js Merge branch '4.0' into api_syncing 2015-03-22 19:51:29 -04:00
longTagFixer.js Tags overhaul [DB reupgrade] 2015-06-23 05:21:58 -04:00
longTagFixer.xul
lookup.js Merge branch '4.0' into api_syncing 2015-04-15 00:56:25 -04:00
merge.js Add checkbox to use one side for all remaining conflicts 2015-03-26 20:34:23 -04:00
merge.xul Add checkbox to use one side for all remaining conflicts 2015-03-26 20:34:23 -04:00
note.js Async DB megacommit 2014-08-06 22:59:37 -04:00
note.xul Persist single position/size for all note windows 2014-05-28 14:35:05 -04:00
overlay.js Fix various issues with rapid UI/data changes due to asyncification 2015-05-05 02:53:06 -04:00
overlay.xul Merge branch '4.0' 2015-06-27 16:59:58 -04:00
pdfProgress.xul [Retrieve Metadata] Use a single queue to query Google Scholar. Window closing tweaks. 2014-01-31 02:09:35 -06:00
progressWindow.xul
proxy.js
proxy.xul
publicationsDialog.js Add wizard for My Publications 2015-04-26 19:41:45 -04:00
publicationsDialog.xul Add wizard for My Publications 2015-04-26 19:41:45 -04:00
recognizePDF.js Merge branch '4.0' 2015-07-18 07:09:53 -04:00
reportInterface.js Update zotero:// extensions (report, timeline, etc.) for async DB, and more 2014-09-09 00:36:29 -04:00
rtfScan.js Reorganize and improve locale drop-down code 2015-06-24 14:10:33 -04:00
rtfScan.xul Reorganize and improve locale drop-down code 2015-06-24 14:10:33 -04:00
searchDialog.js Fix various saved search bugs, and add tests 2015-04-17 19:29:37 -04:00
searchDialog.xul Set maximum with and chars on Name field when editing saved search 2014-05-15 21:41:22 -04:00
selectItemsDialog.js Async DB megacommit 2014-08-06 22:59:37 -04:00
selectItemsDialog.xul Configurable secondary sorting and other improvements 2014-05-07 05:15:07 -04:00
tab.js
tab.xul Fix tab mode in Aurora 2014-06-19 19:02:52 -04:00
tagColorChooser.js Tags overhaul [DB reupgrade] 2015-06-23 05:21:58 -04:00
tagColorChooser.xul Async DB megacommit 2014-08-06 22:59:37 -04:00
timelineInterface.js Update zotero:// extensions (report, timeline, etc.) for async DB, and more 2014-09-09 00:36:29 -04:00
updateCSL.xsl
upgrade.xul
zoteroPane.js API syncing megacommit 2015-07-20 18:16:57 -04:00
zoteroPane.xul Merge branch '4.0' into api_syncing 2015-03-16 23:41:10 -04:00