CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Adomas Venčkauskas 78c3d5808b Fix citeproc errors due to improper citeproc state updates
The error is triggered upon initial interaction with a doc after Zotero
restart or if new external citations (copied into the document) are
peresnt and `session.updateSession()` is called without a subsequent
`session.updateDocument()` call. `session.updateSession()` is called
without a subsequent `session.updateDocument()` call every time the
user cancels a citation insert.

More specifically, `session.updateSession()` is called every time a
citation dialog is invoked. It retrieves all citations and writes them
into a local `session.citationsByIndex` object. Moreover, it marks
each citation that hasn't seen before in a `session.newIndices` object.
`session.newIndices` is there to ensure that we load every new citation
into citeproc upon document update. This object is built by marking any
citation that does not appear in the previous invocation's list of
citations as new. However, if the document is never updated (because the
user cancels the insertion) then the new indices are not loaded
into citeproc. This commit fixes that, by excluding citeproc unloaded
items from the previous invocation's citation list.
2019-04-08 17:43:52 +03:00
.github Update issue template 2019-01-25 17:07:14 -05:00
chrome Fix citeproc errors due to improper citeproc state updates 2019-04-08 17:43:52 +03:00
components Closes #1644, Allow selecting multiple items with zotero://select 2019-02-23 17:35:09 -05:00
defaults/preferences Add separate "Rename linked files" pref for auto-renaming 2019-02-26 22:23:43 -05:00
resource Tag selector performance overhaul 2019-03-28 06:28:34 -04:00
scripts Tag selector performance overhaul 2019-03-28 06:28:34 -04:00
scss Don't chop off bottom of 'g' at some font sizes in Mac tag selector 2019-03-30 12:22:19 -04:00
styles@706b86278f Update submodules 2019-01-10 00:37:47 -05:00
test Fix citeproc errors due to improper citeproc state updates 2019-04-08 17:43:52 +03:00
translators@52c79a3359 Update submodules 2019-03-09 16:25:30 -05:00
.babelrc Tag selector performance overhaul 2019-03-28 06:28:34 -04:00
.eslintignore ESLint: Ignore additional files 2019-02-26 06:07:54 -05:00
.eslintrc Inherit ESLint config 2019-03-31 21:12:43 -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 Track master branch of submodules (#1477) 2018-03-31 16:08:31 -04:00
.travis.yml Remove Fx54 test from Travis config 2018-02-25 21:54:23 -05:00
chrome.manifest Remove lots of old Zotero for Firefox code 2018-08-17 03:17:08 -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 Update version 2019-03-27 08:45:12 -04:00
package-lock.json Inherit ESLint config 2019-03-31 21:12:43 -04:00
package.json Inherit ESLint config 2019-03-31 21:12:43 -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.