2012-02-10 05:49:03 +00:00
|
|
|
// These are DEFAULT prefs for the install.
|
|
|
|
//
|
|
|
|
// Add new user-adjustable hidden preferences to
|
|
|
|
// http://www.zotero.org/documentation/hidden_prefs
|
|
|
|
|
|
|
|
pref("extensions.zotero.firstRun2", true);
|
|
|
|
|
2012-01-20 23:36:04 +00:00
|
|
|
pref("extensions.zotero.saveRelativeAttachmentPath", false);
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.baseAttachmentPath", "");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.useDataDir", false);
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.dataDir", "");
|
2015-11-04 19:30:25 +00:00
|
|
|
pref("extensions.zotero.warnOnUnsafeDataDir", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.debug.log",false);
|
2016-12-02 22:25:12 +00:00
|
|
|
pref("extensions.zotero.debug.log.slowTime", 250);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.debug.stackTrace", false);
|
|
|
|
pref("extensions.zotero.debug.store",false);
|
|
|
|
pref("extensions.zotero.debug.store.limit",500000);
|
|
|
|
pref("extensions.zotero.debug.store.submitSize",10000000);
|
|
|
|
pref("extensions.zotero.debug.store.submitLineLength",10000);
|
|
|
|
pref("extensions.zotero.debug.level",5);
|
|
|
|
pref("extensions.zotero.automaticScraperUpdates",true);
|
2013-05-01 10:29:31 +00:00
|
|
|
pref("extensions.zotero.triggerProxyAuthentication", true);
|
2013-10-17 23:52:41 +00:00
|
|
|
// Proxy auth URLs should respond successfully to HEAD requests over HTTP and HTTPS (in case of forced HTTPS requests)
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.proxyAuthenticationURLs", "https://www.acm.org,https://www.ebscohost.com,https://www.sciencedirect.com,https://ieeexplore.ieee.org,https://www.jstor.org,http://www.ovid.com,https://link.springer.com,https://www.tandfonline.com");
|
2022-09-30 19:52:56 +00:00
|
|
|
pref("extensions.zotero.openURL.resolver","");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.openURL.version","1.0");
|
|
|
|
pref("extensions.zotero.automaticSnapshots",true);
|
|
|
|
pref("extensions.zotero.downloadAssociatedFiles",true);
|
Automatically download open-access PDFs when saving via the connector
If there's no translated PDF or the translated PDF fails and the item
has a DOI, check Zotero's Unpaywall mirror for possible sources and try
to download one of those.
Unlike with "Add Item by Identifier" and "Find Available PDF" in the
item context menu, this does not try the DOI/URL page, since it would
result in more data leakage and most of the time you'd be saving from
the DOI page already. We could consider offering it as an option, but
for it to be useful, you'd have to have an institutional subscription,
be on-campus or connected via VPN (for now), and be saving from
somewhere other than the main page.
A new connector endpoint, sessionProgress, takes the place of
attachmentProgress. Unlike attachmentProgress, sessionProgress can show
new attachments that have been added to the save, and with a little more
work should also be able to show when a parent item has been recognized
for a directly saved PDF.
This also adds support for custom PDF resolvers, available to all PDF
retrieval methods. I'll document those separately.
Closes #1542
2018-08-15 07:34:28 +00:00
|
|
|
pref("extensions.zotero.findPDFs.resolvers", '[]');
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.reportTranslationFailure",true);
|
|
|
|
pref("extensions.zotero.automaticTags",true);
|
2024-01-17 21:06:38 +00:00
|
|
|
pref("extensions.zotero.fontSize", "1.00");
|
2016-05-28 00:57:29 +00:00
|
|
|
pref("extensions.zotero.layout", "standard");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.recursiveCollections", false);
|
2018-03-01 02:43:18 +00:00
|
|
|
pref("extensions.zotero.autoRecognizeFiles", true);
|
2018-03-01 09:07:26 +00:00
|
|
|
pref("extensions.zotero.autoRenameFiles", true);
|
2019-02-27 03:23:43 +00:00
|
|
|
pref("extensions.zotero.autoRenameFiles.linked", false);
|
2023-08-06 20:33:02 +00:00
|
|
|
pref("extensions.zotero.autoRenameFiles.fileTypes", "application/pdf,application/epub+zip");
|
2023-08-04 09:58:15 +00:00
|
|
|
pref("extensions.zotero.attachmentRenameTemplate", "{{ firstCreator suffix=\" - \" }}{{ year suffix=\" - \" }}{{ title truncate=\"100\" }}");
|
2012-04-02 22:54:58 +00:00
|
|
|
pref("extensions.zotero.capitalizeTitles", false);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.launchNonNativeFiles", false);
|
|
|
|
pref("extensions.zotero.sortNotesChronologically", false);
|
2022-04-26 21:53:49 +00:00
|
|
|
pref("extensions.zotero.sortNotesChronologically.reader", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.sortAttachmentsChronologically", false);
|
|
|
|
pref("extensions.zotero.showTrashWhenEmpty", true);
|
|
|
|
pref("extensions.zotero.trashAutoEmptyDays", 30);
|
|
|
|
pref("extensions.zotero.viewOnDoubleClick", true);
|
2015-03-09 18:39:04 +00:00
|
|
|
pref("extensions.zotero.firstRunGuidance", true);
|
2018-04-29 08:53:00 +00:00
|
|
|
pref("extensions.zotero.showConnectorVersionWarning", true);
|
2019-11-22 06:51:11 +00:00
|
|
|
pref("extensions.zotero.reopenPanesOnRestart", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
pref("extensions.zotero.groups.copyChildLinks", true);
|
|
|
|
pref("extensions.zotero.groups.copyChildFileAttachments", true);
|
2022-02-08 11:27:00 +00:00
|
|
|
pref("extensions.zotero.groups.copyAnnotations", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.groups.copyChildNotes", true);
|
2012-11-02 09:45:26 +00:00
|
|
|
pref("extensions.zotero.groups.copyTags", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
2016-02-11 11:02:38 +00:00
|
|
|
pref("extensions.zotero.feeds.sortAscending", false);
|
|
|
|
pref("extensions.zotero.feeds.defaultTTL", 1);
|
2016-12-13 14:07:43 +00:00
|
|
|
pref("extensions.zotero.feeds.defaultCleanupReadAfter", 3);
|
|
|
|
pref("extensions.zotero.feeds.defaultCleanupUnreadAfter", 30);
|
2016-02-11 10:37:20 +00:00
|
|
|
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.backup.numBackups", 2);
|
|
|
|
pref("extensions.zotero.backup.interval", 1440);
|
|
|
|
|
|
|
|
pref("extensions.zotero.lastCreatorFieldMode",0);
|
2016-04-06 05:50:59 +00:00
|
|
|
pref("extensions.zotero.lastAbstractExpand", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.lastRenameAssociatedFile", false);
|
|
|
|
pref("extensions.zotero.lastLongTagMode", 0);
|
|
|
|
pref("extensions.zotero.lastLongTagDelimiter", ";");
|
|
|
|
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.fallbackSort", "firstCreator,date,title,dateAdded");
|
Configurable secondary sorting and other improvements
- Each column in the middle pane can now have its own persistent
secondary sort column, configurable from a new submenu in the column
picker menu (top right of items list). The settings are stored in
extensions.zotero.secondarySort.[primaryField]. The submenu title
includes the current primary field (e.g., "Secondary Sort (Creator)"),
which is pretty weird, and I'm not sure I want to keep it, but it does
convey that the setting is specific to the selected column.
- The fallback sort fields (firstCreator, date, title, dateAdded) are
now configurable via the extensions.zotero.fallbackSort. Setting that
pref to an empty string avoids all fallback sorts, which
allows reverse-order clicking to set the order, as requested by
@aurimasv in #275.
- The previous behavior of sorting based on the exact Creator string
(rather than the actual creators) can now be restored with the
extensions.zotero.sortCreatorAsString pref. (It simply circumvents all
the newer code, so it's pretty safe.) This setting should result in
faster sorting in large libraries that have many items with the same
Creator string.
- Some of the lesser fields in the column picker menu are now in the
More Columns submenu (which is now alphabetical)
- The "Type" column is now the less-ambiguous "Item Type".
- This uses a different method to modify the column picker menu that is
simultaneously less and more hacky. (It no longer has to duplicate
Mozilla code in a custom XBL binding that wouldn't reflect future
upstream changes, and instead it bushwhacks its way through various
boxObject properties to get to the underlying menupopup.)
2014-05-07 08:22:49 +00:00
|
|
|
pref("extensions.zotero.sortCreatorAsString", false);
|
|
|
|
|
2023-09-29 15:31:05 +00:00
|
|
|
pref("extensions.zotero.uiDensity", "comfortable");
|
|
|
|
|
2018-12-12 10:34:39 +00:00
|
|
|
|
|
|
|
//Tag Selector
|
|
|
|
pref("extensions.zotero.tagSelector.showAutomatic", true);
|
|
|
|
pref("extensions.zotero.tagSelector.displayAllTags", false);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
2022-07-10 10:40:32 +00:00
|
|
|
pref("extensions.zotero.downloadPDFViaBrowser.onLoadTimeout", 3000);
|
2022-05-20 08:59:30 +00:00
|
|
|
pref("extensions.zotero.downloadPDFViaBrowser.downloadTimeout", 60000);
|
|
|
|
|
2012-02-10 05:49:03 +00:00
|
|
|
// Keyboard shortcuts
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.keys.saveToZotero", "S");
|
|
|
|
pref("extensions.zotero.keys.newItem", "N");
|
|
|
|
pref("extensions.zotero.keys.newNote", "O");
|
|
|
|
pref("extensions.zotero.keys.library", "L");
|
|
|
|
pref("extensions.zotero.keys.quicksearch", "K");
|
|
|
|
pref("extensions.zotero.keys.copySelectedItemCitationsToClipboard", "A");
|
|
|
|
pref("extensions.zotero.keys.copySelectedItemsToClipboard", "C");
|
|
|
|
pref("extensions.zotero.keys.sync", "Y");
|
|
|
|
pref("extensions.zotero.keys.toggleAllRead", "R");
|
|
|
|
pref("extensions.zotero.keys.toggleRead", "`");
|
2012-02-10 05:49:03 +00:00
|
|
|
|
2016-11-29 08:28:49 +00:00
|
|
|
pref("extensions.zotero.search.quicksearch-mode", "fields");
|
|
|
|
|
2012-02-10 05:49:03 +00:00
|
|
|
// Fulltext indexing
|
|
|
|
pref("extensions.zotero.fulltext.textMaxLength", 500000);
|
|
|
|
pref("extensions.zotero.fulltext.pdfMaxPages", 100);
|
|
|
|
pref("extensions.zotero.search.useLeftBound", true);
|
|
|
|
|
|
|
|
// Notes
|
2022-05-17 11:38:36 +00:00
|
|
|
pref("extensions.zotero.note.fontFamily", "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Helvetica Neue\", Helvetica, Arial, sans-serif");
|
2021-03-03 21:03:12 +00:00
|
|
|
pref("extensions.zotero.note.fontSize", "14");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.note.css", "");
|
2022-04-27 07:23:10 +00:00
|
|
|
pref("extensions.zotero.note.smartQuotes", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
// Reports
|
|
|
|
pref("extensions.zotero.report.includeAllChildItems", true);
|
|
|
|
pref("extensions.zotero.report.combineChildItems", true);
|
|
|
|
|
|
|
|
// Export and citation settings
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.export.lastTranslator", "14763d24-8ba0-45df-8f52-b8d1108e7ac9");
|
|
|
|
pref("extensions.zotero.export.translatorSettings", "true,false");
|
2021-12-15 10:43:09 +00:00
|
|
|
pref("extensions.zotero.export.lastNoteTranslator", "1412e9e2-51e1-42ec-aa35-e036a895534b");
|
2021-11-22 13:41:35 +00:00
|
|
|
pref("extensions.zotero.export.noteTranslatorSettings", "");
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.export.lastStyle", "http://www.zotero.org/styles/chicago-note-bibliography");
|
|
|
|
pref("extensions.zotero.export.bibliographySettings", "save-as-rtf");
|
2016-11-27 22:11:05 +00:00
|
|
|
pref("extensions.zotero.export.displayCharsetOption", true);
|
2012-07-15 08:25:44 +00:00
|
|
|
pref("extensions.zotero.export.citePaperJournalArticleURL", false);
|
2013-03-28 03:53:38 +00:00
|
|
|
pref("extensions.zotero.cite.automaticJournalAbbreviations", true);
|
2021-12-15 22:28:41 +00:00
|
|
|
pref("extensions.zotero.cite.useCiteprocRs", false);
|
2012-06-10 15:05:39 +00:00
|
|
|
pref("extensions.zotero.import.createNewCollection.fromFileOpenHandler", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.rtfScan.lastInputFile", "");
|
|
|
|
pref("extensions.zotero.rtfScan.lastOutputFile", "");
|
|
|
|
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.export.quickCopy.setting", "bibliography=http://www.zotero.org/styles/chicago-note-bibliography");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.export.quickCopy.dragLimit", 50);
|
2021-11-22 13:41:35 +00:00
|
|
|
|
2022-06-29 11:58:37 +00:00
|
|
|
pref("extensions.zotero.export.noteQuickCopy.setting", '{"mode":"export","id":"a45eca67-1ee8-45e5-b4c6-23fb8a852873","markdownOptions":{"includeAppLinks":true},"htmlOptions":{"includeAppLinks":false}}');
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
// Integration settings
|
|
|
|
pref("extensions.zotero.integration.port", 50001);
|
|
|
|
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes
|
|
|
|
pref("extensions.zotero.integration.useClassicAddCitationDialog", false);
|
|
|
|
pref("extensions.zotero.integration.keepAddCitationDialogRaised", false);
|
2021-02-10 09:31:06 +00:00
|
|
|
pref("extensions.zotero.integration.upgradeTemplateDelayedOn", 0);
|
2022-12-14 14:20:04 +00:00
|
|
|
pref("extensions.zotero.integration.dontPromptMendeleyImport", false);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
// Connector settings
|
2020-07-05 22:09:14 +00:00
|
|
|
pref("extensions.zotero.httpServer.enabled", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.httpServer.port", 23119); // ascii "ZO"
|
|
|
|
|
|
|
|
// Zeroconf
|
|
|
|
pref("extensions.zotero.zeroconf.server.enabled", false);
|
|
|
|
|
2017-07-04 22:03:13 +00:00
|
|
|
// Streaming server
|
|
|
|
pref("extensions.zotero.streaming.enabled", true);
|
|
|
|
|
2012-02-10 05:49:03 +00:00
|
|
|
// Sync
|
|
|
|
pref("extensions.zotero.sync.autoSync", true);
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.sync.server.username", "");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.sync.server.compressData", true);
|
|
|
|
pref("extensions.zotero.sync.storage.enabled", true);
|
|
|
|
pref("extensions.zotero.sync.storage.protocol", "zotero");
|
|
|
|
pref("extensions.zotero.sync.storage.verified", false);
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.sync.storage.scheme", "https");
|
|
|
|
pref("extensions.zotero.sync.storage.url", "");
|
|
|
|
pref("extensions.zotero.sync.storage.username", "");
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.sync.storage.maxDownloads", 4);
|
2012-04-19 18:36:04 +00:00
|
|
|
pref("extensions.zotero.sync.storage.maxUploads", 2);
|
2012-02-10 05:49:03 +00:00
|
|
|
pref("extensions.zotero.sync.storage.deleteDelayDays", 30);
|
|
|
|
pref("extensions.zotero.sync.storage.groups.enabled", true);
|
2013-03-28 04:44:23 +00:00
|
|
|
pref("extensions.zotero.sync.storage.downloadMode.personal", "on-sync");
|
|
|
|
pref("extensions.zotero.sync.storage.downloadMode.groups", "on-sync");
|
2013-11-05 10:01:35 +00:00
|
|
|
pref("extensions.zotero.sync.fulltext.enabled", true);
|
2022-02-16 20:12:36 +00:00
|
|
|
pref("extensions.zotero.sync.reminder.setUp.enabled", true);
|
|
|
|
pref("extensions.zotero.sync.reminder.setUp.lastDisplayed", 0);
|
2020-12-18 17:11:01 +00:00
|
|
|
pref("extensions.zotero.sync.reminder.autoSync.enabled", true);
|
2022-02-16 20:12:36 +00:00
|
|
|
pref("extensions.zotero.sync.reminder.autoSync.lastDisplayed", 0);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
// Proxy
|
|
|
|
pref("extensions.zotero.proxies.autoRecognize", true);
|
|
|
|
pref("extensions.zotero.proxies.transparent", true);
|
|
|
|
pref("extensions.zotero.proxies.disableByDomain", false);
|
|
|
|
pref("extensions.zotero.proxies.disableByDomainString", ".edu");
|
2015-03-12 03:21:40 +00:00
|
|
|
pref("extensions.zotero.proxies.showRedirectNotification", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
|
|
|
// Data layer purging
|
|
|
|
pref("extensions.zotero.purge.creators", false);
|
|
|
|
pref("extensions.zotero.purge.fulltext", false);
|
|
|
|
pref("extensions.zotero.purge.items", false);
|
|
|
|
pref("extensions.zotero.purge.tags", false);
|
|
|
|
|
|
|
|
// Zotero pane persistent data
|
2018-07-11 16:35:14 +00:00
|
|
|
pref("extensions.zotero.pane.persist", "");
|
2023-12-25 05:51:53 +00:00
|
|
|
pref("extensions.zotero.showAttachmentPreview", true);
|
2012-02-10 05:49:03 +00:00
|
|
|
|
2018-03-06 00:29:03 +00:00
|
|
|
pref("extensions.zotero.fileHandler.pdf", "");
|
2023-08-02 19:33:20 +00:00
|
|
|
pref("extensions.zotero.fileHandler.epub", "");
|
|
|
|
pref("extensions.zotero.fileHandler.snapshot", "");
|
2022-11-14 22:12:48 +00:00
|
|
|
pref("extensions.zotero.openReaderInNewWindow", false);
|
2018-03-06 00:29:03 +00:00
|
|
|
|
2012-02-10 05:49:03 +00:00
|
|
|
// File/URL opening executable if launch() fails
|
|
|
|
pref("extensions.zotero.fallbackLauncher.unix", "/usr/bin/xdg-open");
|
2012-01-27 05:24:50 +00:00
|
|
|
pref("extensions.zotero.fallbackLauncher.windows", "");
|
2013-04-28 00:23:34 +00:00
|
|
|
|
|
|
|
//Translators
|
|
|
|
pref("extensions.zotero.translators.attachSupplementary", false);
|
|
|
|
pref("extensions.zotero.translators.supplementaryAsLink", false);
|
2014-04-28 19:16:37 +00:00
|
|
|
pref("extensions.zotero.translators.RIS.import.ignoreUnknown", true);
|
2013-04-28 00:23:34 +00:00
|
|
|
pref("extensions.zotero.translators.RIS.import.keepID", false);
|
2019-06-07 05:13:42 +00:00
|
|
|
|
2019-06-12 01:24:17 +00:00
|
|
|
// Retracted Items
|
|
|
|
pref("extensions.zotero.retractions.enabled", true);
|
2019-06-07 05:13:42 +00:00
|
|
|
pref("extensions.zotero.retractions.recentItems", "[]");
|
2022-02-18 19:38:36 +00:00
|
|
|
|
|
|
|
// Annotations
|
|
|
|
pref("extensions.zotero.annotations.noteTemplates.title", "<h1>{{title}}<br/>({{date}})</h1>");
|
2022-07-11 12:23:25 +00:00
|
|
|
pref("extensions.zotero.annotations.noteTemplates.highlight", "<p>{{highlight}} {{citation}} {{comment}}</p>");
|
2022-02-18 19:38:36 +00:00
|
|
|
pref("extensions.zotero.annotations.noteTemplates.note", "<p>{{citation}} {{comment}}</p>");
|
2021-12-29 01:32:56 +00:00
|
|
|
|
|
|
|
// Scaffold
|
|
|
|
pref("extensions.zotero.scaffold.eslint.enabled", true);
|
2023-02-02 22:35:58 +00:00
|
|
|
|
|
|
|
// Tabs
|
2023-02-03 04:39:55 +00:00
|
|
|
pref("extensions.zotero.tabs.title.reader", "titleCreatorYear");
|
2023-05-19 13:19:43 +00:00
|
|
|
|
|
|
|
// Reader
|
2024-01-21 08:42:01 +00:00
|
|
|
pref("extensions.zotero.reader.contentDarkMode", true);
|
2023-05-19 13:19:43 +00:00
|
|
|
pref("extensions.zotero.reader.ebookFontFamily", "Georgia, serif");
|
2023-10-04 03:16:04 +00:00
|
|
|
|
|
|
|
// Set color scheme to auto by default
|
|
|
|
pref("browser.theme.toolbar-theme", 2);
|