CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Abe Jellinek 16547f64c2 renameAttachmentFile: Check rename() return value
And actually return -1 if it returns false.

Before this fix, attempting to rename an attachment file to a name that already
exists on disk would never return -1 as the docs say it should. Instead:

1. rename() would fail and return false
2. newName would be set to false
3. renameAttachmentFile() would pass false as the second argument to
   OS.Path.join()
4. OS.Path.join() would ignore it because it was falsy and return the attachment
   directory path without any modification
5. relinkAttachmentFile() would be called with path set to the attachment
   directory
6. relinkAttachmentFile() would notice that path's dirname wasn't the attachment
   directory - it was the attachment directory's parent - and attempt to copy it
   and its contents, recursively, into itself, using copyToFollowingLinks()

...which created a directory structure on disk over 100 directories deep -
not deeper only because the OS started returning errors due to paths exceeding
32,767 characters (the limit on my filesystem).
2023-07-27 12:24:32 -04:00
.github Cancel in-progress CI runs if another one starts 2023-06-17 02:45:31 -04:00
app Update Word for Mac submodule 2023-07-26 16:10:58 +03:00
chrome renameAttachmentFile: Check rename() return value 2023-07-27 12:24:32 -04:00
components Fix "Check for Update" buttons in error dialogs 2023-07-25 01:53:22 -04:00
defaults/preferences Increase default title length limit to 100 in attachment filenames 2023-07-21 06:33:01 -04:00
js-build Handle multiple Fluent source files 2023-05-29 22:46:24 -04:00
note-editor@d03a44798e Update note-editor 2023-07-11 06:12:39 -04:00
pdf-reader@c963b7e3f9 Update pdf-reader submodule 2023-05-23 12:00:17 +01:00
pdf-worker@23ba495877 Update pdf-worker submodule 2023-07-21 18:36:38 +03:00
resource Update locales from Transifex 2023-07-18 07:55:41 -04:00
scripts Ignore .DS_Store and other files in localizer script 2023-06-19 04:34:29 -04:00
scss Get rid of some console warnings 2023-07-11 05:35:32 -04:00
styles@07810eddb0 Update styles and translators 2023-05-20 16:10:57 -04:00
test Better cycling through httpd.js ports to avoid CI failures 2023-07-26 07:25:22 -04:00
translators@ab8a83ebba Update styles and translators 2023-05-20 16:10:57 -04:00
.babelrc fx-compat: Remove most Babel plugins (#2855) 2022-10-06 18:53:07 -04:00
.eslintignore Remove connectorTypeSchemaData.js from .eslintignore 2023-05-07 02:43:31 -04:00
.eslintrc fx-compat: Add ChromeUtils as eslint global 2022-06-19 04:16:53 -04:00
.gitattributes Update Linux updater for Zotero 7 2023-05-20 10:51:47 +00:00
.gitignore Cache PDF tools in the source directory between test runs 2018-01-18 19:24:09 -05:00
.gitmodules Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
chrome.manifest Switch back to @mozilla.org/browser/clh;1 and fix tests 2023-05-24 08:21:16 -04:00
CONTRIBUTING.md Add "support questions" to CONTRIBUTING.md 2022-12-01 05:10:42 -05:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
package-lock.json Add scripts to convert ftl to/from Transifex JSON (#3058) 2023-05-29 22:46:24 -04:00
package.json Add scripts to convert ftl to/from Transifex JSON (#3058) 2023-05-29 22:46:24 -04:00
README.md "Zotero wiki" → "Zotero documentation" in app build README 2023-04-26 04:40:22 -04:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00
version Update app build scripts for new combined repo 2023-04-26 04:40:22 -04:00

Zotero

CI

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.