zotero/chrome/locale
Dan Stillman db0fa3c33e Async DB megacommit
Promise-based rewrite of most of the codebase, with asynchronous database and file access -- see https://github.com/zotero/zotero/issues/518 for details.

WARNING: This includes backwards-incompatible schema changes.

An incomplete list of other changes:

- Schema overhaul
  - Replace main tables with new versions with updated schema
  - Enable real foreign key support and remove previous triggers
  - Don't use NULLs for local libraryID, which broke the UNIQUE index
    preventing object key duplication. All code (Zotero and third-party)
    using NULL for the local library will need to be updated to use 0
    instead (already done for Zotero code)
  - Add 'compatibility' DB version that can be incremented manually to break DB
    compatibility with previous versions. 'userdata' upgrades will no longer
    automatically break compatibility.
  - Demote creators and tags from first-class objects to item properties
- New API syncing properties
  - 'synced'/'version' properties to data objects
  - 'etag' to groups
  - 'version' to libraries
- Create Zotero.DataObject that other objects inherit from
- Consolidate data object loading into Zotero.DataObjects
- Change object reloading so that only the loaded and changed parts of objects are reloaded, instead of reloading all data from the database (with some exceptions, including item primary data)
- Items and collections now have .parentItem and .parentKey properties, replacing item.getSource() and item.getSourceKey()
- New function Zotero.serial(fn), to wrap an async function such that all calls are run serially
- New function Zotero.Utilities.Internal.forEachChunkAsync(arr, chunkSize, func)
- Add tag selector loading message
- Various API and name changes, since everything was breaking anyway

Known broken things:

- Syncing (will be completely rewritten for API syncing)
- Translation architecture (needs promise-based rewrite)
- Duplicates view
- DB integrity check (from schema changes)
- Dragging (may be difficult to fix)

Lots of other big and little things are certainly broken, particularly with the UI, which can be affected by async code in all sorts of subtle ways.
2014-08-06 22:59:37 -04:00
..
af-ZA/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ar/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
bg-BG/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ca-AD/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
cs-CZ/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
da-DK/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
de/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
el-GR/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
en-US/zotero Async DB megacommit 2014-08-06 22:59:37 -04:00
es-ES/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
et-EE/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
eu-ES/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
fa/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
fi-FI/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
fr-FR/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
gl-ES/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
he-IL/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
hr-HR/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
hu-HU/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
id-ID/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
is-IS/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
it-IT/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ja-JP/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
km/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ko-KR/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
lt-LT/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
mn-MN/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
nb-NO/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
nl-NL/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
nn-NO/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
pl-PL/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
pt-BR/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
pt-PT/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ro-RO/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
ru-RU/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
sk-SK/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
sl-SI/zotero Merge locales from Transifex 2014-06-19 02:05:29 -04:00
sr-RS/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
sv-SE/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
th-TH/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
tr-TR/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
uk-UA/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
vi-VN/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
zh-CN/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00
zh-TW/zotero Merge locales from Transifex 2014-06-07 17:16:40 -04:00