CI to automate build of zotero tarball for zotero aport
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
![]() `nsIWebProgressListener.onStateChange()` gets called twice at the end of requests, once with `stateFlags` set to `327696` and once with it set to `262160`, which corresponds to `STATE_STOP + STATE_IS_NETWORK + STATE_IS_REQUEST` and `STATE_STOP + STATE_IS_NETWORK`. httpd.js debug logging shows that the connection is closed between the two calls. In WebProgressFinishListener, we were previously calling `onFinish` after the first one, but in Zotero 7, at least on Linux (or maybe just on slower machines due to a race condition), the file from `saveURI()` doesn't appear to be reliably written after the first call, causing `Attachments.downloadFile()` to fail in `_enforcePDF()` due to an empty file. This changes WebProgressFinishListener to wait until the second `STATE_STOP` call. We'll have to confirm whether this is the state-change pattern for all requests, but it fixes our Find Available PDF tests in CI. |
||
---|---|---|
.github | ||
app | ||
chrome | ||
components | ||
defaults/preferences | ||
js-build | ||
note-editor@076f5b3d36 | ||
pdf-reader@3b7f54727f | ||
pdf-worker@84e7814cf7 | ||
resource | ||
scripts | ||
scss | ||
styles@b9bfcf0184 | ||
test | ||
translators@3a9544d7b0 | ||
.babelrc | ||
.eslintignore | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
chrome.manifest | ||
CONTRIBUTING.md | ||
COPYING | ||
package-lock.json | ||
package.json | ||
README.md | ||
update.rdf | ||
version |
Zotero
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 documentation.