CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Dan Stillman 0f96c20f3c Fix several possible DB upgrade errors from 4.0 to 5.0
- We were updating global schema before migrating userdata, but a 4 → 5
  upgrade involved a system.sql version bump, which wiped out itemTypes,
  causing 'annotation' to not exist after the upgrade. This moves global
  schema updates after userdata migration and bumps the global schema
  version to repair DBs that were already upgraded and broken.

- A system.sql bump without a global schema update would result in empty
  tables. This moves the global-schema-related tables to userdata.sql.

- The DB integrity check before userdata updates added in 5b9e6497a
  could fail when coming from an older DB, because the checks assume
  current schema. An integrity check is now done after a userdata update.
  (We were already skipping the new table/index reconciliation stuff. If
  old DBs are discovered to have problems that would cause a migration
  step to fail, we'll fix those explicitly in the steps.)

Also:

- Make sure `version` is `versionNumber` in the `fields` table. It was
  changed with a system.sql bump in 5.0, but hard-coded fields were later
  removed from system.sql in favor of schema.json, meaning that anyone who
  upgraded from 4.0 after that would never have `version` removed and so
  would have both fields (one from before and one from schema.json).
2021-08-17 00:41:59 -04:00
.github CI: Temporarily disable NPM cache due to a bug in the setup-node action 2021-07-22 04:46:10 -04:00
chrome Fix several possible DB upgrade errors from 4.0 to 5.0 2021-08-17 00:41:59 -04:00
components Allow zotero://open-pdf/ to navigate to specific annotation by key 2021-08-06 13:06:40 +03:00
defaults/preferences Add OpenURL resolver directory 2021-08-13 06:25:16 -04:00
note-editor@9749a4b2be Update note-editor submodule 2021-08-12 00:56:26 -04:00
pdf-reader@05da34b95a Upgrade note-editor schema to v4: 2021-08-06 13:06:40 +03:00
pdf-worker@0b289deeb9 Improve annotations insertion into notes: 2021-06-29 16:03:54 +03:00
resource Fix several possible DB upgrade errors from 4.0 to 5.0 2021-08-17 00:41:59 -04:00
scripts Use zotero/translate and zotero/utilities for shared code 2021-07-28 15:46:07 +03:00
scss Use Lucida in $font-family-base SCSS variable (currently unused) 2021-06-23 21:56:11 -04:00
styles@75df0afb88 Update submodules 2021-01-10 14:58:37 -05:00
test Update strings and add test for ADS Bibcode extraction (#2128) 2021-08-04 19:37:49 -04:00
translators@250e680d12 Update submodules 2021-08-06 16:56:31 -04:00
.babelrc Babel: Add support for optional chaining 2021-08-17 00:41:59 -04:00
.eslintignore ESLint: Ignore additional files 2019-02-26 06:07:54 -05:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
.gitattributes Fix enforcing of Unix newlines for SQL files 2016-02-26 18:37:44 -05:00
.gitignore Cache PDF tools in the source directory between test runs 2018-01-18 19:24:09 -05:00
.gitmodules Remove shallow=true for translate and utilities submodules 2021-08-04 20:20:54 -04:00
chrome.manifest Enable Basque locale 2021-06-04 02:16:20 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-11-04 01:31:10 -04:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
install.rdf Remove obsolete lines from install.rdf 2021-05-16 03:51:42 -04:00
package-lock.json Babel: Add support for optional chaining 2021-08-17 00:41:59 -04:00
package.json Babel: Add support for optional chaining 2021-08-17 00:41:59 -04:00
README.md Merge branch '4.0' 2015-11-01 21:22:13 -05:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00

Zotero

Build Status

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero wiki.