db0fa3c33e
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. |
||
---|---|---|
.. | ||
af-ZA/zotero | ||
ar/zotero | ||
bg-BG/zotero | ||
ca-AD/zotero | ||
cs-CZ/zotero | ||
da-DK/zotero | ||
de/zotero | ||
el-GR/zotero | ||
en-US/zotero | ||
es-ES/zotero | ||
et-EE/zotero | ||
eu-ES/zotero | ||
fa/zotero | ||
fi-FI/zotero | ||
fr-FR/zotero | ||
gl-ES/zotero | ||
he-IL/zotero | ||
hr-HR/zotero | ||
hu-HU/zotero | ||
id-ID/zotero | ||
is-IS/zotero | ||
it-IT/zotero | ||
ja-JP/zotero | ||
km/zotero | ||
ko-KR/zotero | ||
lt-LT/zotero | ||
mn-MN/zotero | ||
nb-NO/zotero | ||
nl-NL/zotero | ||
nn-NO/zotero | ||
pl-PL/zotero | ||
pt-BR/zotero | ||
pt-PT/zotero | ||
ro-RO/zotero | ||
ru-RU/zotero | ||
sk-SK/zotero | ||
sl-SI/zotero | ||
sr-RS/zotero | ||
sv-SE/zotero | ||
th-TH/zotero | ||
tr-TR/zotero | ||
uk-UA/zotero | ||
vi-VN/zotero | ||
zh-CN/zotero | ||
zh-TW/zotero |