2008-08-14 18:19:39 +00:00
|
|
|
// These are DEFAULT prefs for the install.
|
|
|
|
//
|
|
|
|
// Add new user-adjustable hidden preferences to
|
|
|
|
// http://www.zotero.org/documentation/hidden_prefs
|
2006-10-02 23:15:27 +00:00
|
|
|
|
2010-02-24 21:07:23 +00:00
|
|
|
pref("extensions.zotero.firstRun2", true);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero@chnm.gmu.edu.description", "chrome://zotero/locale/zotero.properties");
|
|
|
|
|
|
|
|
pref("extensions.zotero.useDataDir", false);
|
|
|
|
pref("extensions.zotero.dataDir", '');
|
|
|
|
pref("extensions.zotero.lastDataDir", '');
|
2008-06-25 00:21:37 +00:00
|
|
|
pref("extensions.zotero.dbLockExclusive", true);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.debug.log",false);
|
2011-08-29 23:11:19 +00:00
|
|
|
pref("extensions.zotero.debug.stackTrace", false);
|
2009-08-10 16:44:15 +00:00
|
|
|
pref("extensions.zotero.debug.store",false);
|
2011-08-30 23:10:23 +00:00
|
|
|
pref("extensions.zotero.debug.store.limit",500000);
|
2011-09-04 14:52:04 +00:00
|
|
|
pref("extensions.zotero.debug.store.submitSize",10000000);
|
2011-08-30 23:10:23 +00:00
|
|
|
pref("extensions.zotero.debug.store.submitLineLength",10000);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.debug.level",5);
|
|
|
|
pref("extensions.zotero.debug.time", false);
|
2006-10-02 23:15:27 +00:00
|
|
|
pref("extensions.zotero.automaticScraperUpdates",true);
|
2008-09-16 20:11:27 +00:00
|
|
|
pref("extensions.zotero.zoteroDotOrgVersionHeader", true);
|
2006-10-02 23:15:27 +00:00
|
|
|
pref("extensions.zotero.cacheTranslatorData",true);
|
2011-01-30 09:44:01 +00:00
|
|
|
pref("extensions.zotero.showIn", 1);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.statusBarIcon", 2);
|
|
|
|
pref("extensions.zotero.browserContentContextMenu", true);
|
Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
|
|
|
pref("extensions.zotero.openURL.resolver","http://worldcatlibraries.org/registry/gateway");
|
|
|
|
pref("extensions.zotero.openURL.version","1.0");
|
2006-10-02 23:15:27 +00:00
|
|
|
pref("extensions.zotero.parseEndNoteMIMETypes",true);
|
2006-10-04 22:59:07 +00:00
|
|
|
pref("extensions.zotero.automaticSnapshots",true);
|
2010-09-09 01:26:56 +00:00
|
|
|
pref("extensions.zotero.downloadAssociatedFiles",true);
|
2006-10-05 17:22:47 +00:00
|
|
|
pref("extensions.zotero.reportTranslationFailure",true);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.automaticTags",true);
|
|
|
|
pref("extensions.zotero.fontSize", "1.0");
|
|
|
|
pref("extensions.zotero.recursiveCollections", false);
|
|
|
|
pref("extensions.zotero.attachmentRenameFormatString", '{%c - }{%y - }{%t{50}}');
|
|
|
|
pref("extensions.zotero.capitalizeTitles", true);
|
|
|
|
pref("extensions.zotero.launchNonNativeFiles", false);
|
2007-12-02 05:45:07 +00:00
|
|
|
pref("extensions.zotero.sortNotesChronologically", false);
|
Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
|
|
|
pref("extensions.zotero.sortAttachmentsChronologically", false);
|
2009-01-31 06:19:14 +00:00
|
|
|
pref("extensions.zotero.showTrashWhenEmpty", true);
|
2010-07-13 18:33:47 +00:00
|
|
|
pref("extensions.zotero.trashAutoEmptyDays", 30);
|
2009-06-01 02:53:03 +00:00
|
|
|
pref("extensions.zotero.viewOnDoubleClick", true);
|
2007-10-23 07:11:59 +00:00
|
|
|
|
Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember
Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
|
|
|
pref("extensions.zotero.groups.copyChildLinks", true);
|
|
|
|
pref("extensions.zotero.groups.copyChildFileAttachments", true);
|
|
|
|
pref("extensions.zotero.groups.copyChildNotes", true);
|
|
|
|
|
2009-02-23 02:34:40 +00:00
|
|
|
pref("extensions.zotero.backup.numBackups", 2);
|
|
|
|
pref("extensions.zotero.backup.interval", 1440);
|
|
|
|
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.lastCreatorFieldMode",0);
|
|
|
|
pref("extensions.zotero.lastAbstractExpand",0);
|
|
|
|
pref("extensions.zotero.lastRenameAssociatedFile", false);
|
|
|
|
pref("extensions.zotero.lastViewedFolder", 'L');
|
2009-05-29 11:49:55 +00:00
|
|
|
pref("extensions.zotero.lastLongTagMode", 0);
|
2009-05-30 22:37:28 +00:00
|
|
|
pref("extensions.zotero.lastLongTagDelimiter", ";");
|
2007-10-23 07:11:59 +00:00
|
|
|
|
2008-08-08 19:39:06 +00:00
|
|
|
//Tag Cloud
|
2008-08-08 19:41:58 +00:00
|
|
|
pref("extensions.zotero.tagCloud", false);
|
2008-08-08 19:39:06 +00:00
|
|
|
|
2007-10-23 07:11:59 +00:00
|
|
|
// Keyboard shortcuts
|
|
|
|
pref("extensions.zotero.keys.overrideGlobal", false);
|
|
|
|
pref("extensions.zotero.keys.openZotero", 'Z');
|
|
|
|
pref("extensions.zotero.keys.toggleFullscreen", 'F');
|
|
|
|
pref("extensions.zotero.keys.library", 'L');
|
|
|
|
pref("extensions.zotero.keys.quicksearch", 'K');
|
|
|
|
pref("extensions.zotero.keys.newItem", 'N');
|
|
|
|
pref("extensions.zotero.keys.newNote", 'O');
|
|
|
|
pref("extensions.zotero.keys.toggleTagSelector", 'T');
|
|
|
|
pref("extensions.zotero.keys.copySelectedItemCitationsToClipboard", 'A');
|
|
|
|
pref("extensions.zotero.keys.copySelectedItemsToClipboard", 'C');
|
2009-05-06 01:45:57 +00:00
|
|
|
pref("extensions.zotero.keys.importFromClipboard", 'V');
|
2007-10-23 07:11:59 +00:00
|
|
|
|
|
|
|
// Fulltext indexing
|
|
|
|
pref("extensions.zotero.fulltext.textMaxLength", 500000);
|
|
|
|
pref("extensions.zotero.fulltext.pdfMaxPages", 100);
|
|
|
|
pref("extensions.zotero.search.useLeftBound", true);
|
|
|
|
|
2009-06-01 08:23:16 +00:00
|
|
|
// Notes
|
|
|
|
pref("extensions.zotero.note.fontFamily", "Lucida Grande, Tahoma, Verdana, Helvetica, sans-serif");
|
|
|
|
pref("extensions.zotero.note.fontSize", "11");
|
|
|
|
pref("extensions.zotero.note.css", "");
|
|
|
|
|
2007-10-23 07:11:59 +00:00
|
|
|
// Reports
|
|
|
|
pref("extensions.zotero.report.includeAllChildItems", true);
|
|
|
|
pref("extensions.zotero.report.combineChildItems", true);
|
|
|
|
|
|
|
|
// Export and citation settings
|
|
|
|
pref("extensions.zotero.export.lastTranslator", '14763d24-8ba0-45df-8f52-b8d1108e7ac9');
|
|
|
|
pref("extensions.zotero.export.translatorSettings", 'true,false');
|
Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
|
|
|
pref("extensions.zotero.export.lastStyle", 'http://www.zotero.org/styles/chicago-note');
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.export.bibliographySettings", 'save-as-rtf');
|
|
|
|
pref("extensions.zotero.export.bibliographyLocale", '');
|
2007-12-02 05:45:07 +00:00
|
|
|
pref("extensions.zotero.export.citePaperJournalArticleURL", false);
|
Merged revisions 3080-3081,3084,3087-3088,3090,3092,3099-3103,3113-3114,3132,3134-3143,3145,3148-3151,3154-3159,3165,3174,3194,3234-3235,3239-3240,3244,3246-3254,3258-3262,3268,3270,3274,3279,3286-3288,3294-3295 from 1.0 branch via svnmerge
2008-09-01 01:54:00 +00:00
|
|
|
pref("extensions.zotero.export.displayCharsetOption", false);
|
|
|
|
pref("extensions.zotero.import.charset", "auto");
|
2009-05-01 11:46:07 +00:00
|
|
|
pref("extensions.zotero.rtfScan.lastInputFile", "");
|
|
|
|
pref("extensions.zotero.rtfScan.lastOutputFile", "");
|
2007-10-23 07:11:59 +00:00
|
|
|
|
Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
|
|
|
pref("extensions.zotero.export.quickCopy.setting", 'bibliography=http://www.zotero.org/styles/chicago-note');
|
2009-05-18 19:51:36 +00:00
|
|
|
pref("extensions.zotero.export.quickCopy.dragLimit", 50);
|
2009-12-26 03:08:30 +00:00
|
|
|
pref("extensions.zotero.export.quickCopy.quoteBlockquotes.plainText", true);
|
|
|
|
pref("extensions.zotero.export.quickCopy.quoteBlockquotes.richText", true);
|
|
|
|
pref("extensions.zotero.export.quickCopy.compatibility.indentBlockquotes", true);
|
|
|
|
pref("extensions.zotero.export.quickCopy.compatibility.word", false);
|
2007-10-23 07:11:59 +00:00
|
|
|
|
|
|
|
// Integration settings
|
Merged revisions 2710-2712,2714-2716,2718-2728,2730-2731,2734,2736-2738,2740-2750,2752-2753,2755,2758-2768,2770-2779,2782,2789-2790,2794,2797-2802,2804,2808-2810,2812,2814-2824,2826-2832,2834-2835 via svnmerge from 1.0 branch
2008-06-11 08:55:59 +00:00
|
|
|
pref("extensions.zotero.integration.port", 50001);
|
2007-10-23 07:11:59 +00:00
|
|
|
pref("extensions.zotero.integration.autoRegenerate", -1); // -1 = ask; 0 = no; 1 = yes
|
2011-08-09 03:49:06 +00:00
|
|
|
pref("extensions.zotero.integration.useClassicAddCitationDialog", false);
|
2011-09-01 06:53:01 +00:00
|
|
|
pref("extensions.zotero.integration.keepAddCitationDialogRaised", false);
|
2010-08-01 20:10:18 +00:00
|
|
|
|
|
|
|
// Connector settings
|
2011-06-14 00:36:21 +00:00
|
|
|
pref("extensions.zotero.httpServer.enabled", false); // TODO enabled for testing only
|
|
|
|
pref("extensions.zotero.httpServer.port", 23119); // ascii "ZO"
|
2007-10-23 07:11:59 +00:00
|
|
|
|
2008-06-03 05:26:30 +00:00
|
|
|
// Zeroconf
|
|
|
|
pref("extensions.zotero.zeroconf.server.enabled", false);
|
|
|
|
|
2009-08-13 10:56:47 +00:00
|
|
|
// Zotero Commons
|
|
|
|
pref("extensions.zotero.commons.enabled", false);
|
|
|
|
pref("extensions.zotero.commons.accessKey", '');
|
|
|
|
pref("extensions.zotero.commons.secretKey", '');
|
|
|
|
|
2007-10-23 07:11:59 +00:00
|
|
|
// Annotation settings
|
Initial Zotero 1.5 Megacommit
Apologies for the massive (and, due to data_access.js splitting, difficult-to-follow) commit. Please note that external code that accesses the data layer may need to be tweaked for compatibility. Here's a comprehensive-as-possible changelog:
- Added server sync functionality (incomplete)
- Overhaul of data layer
- Split data_access.js into separate files (item.js, items.js, creator.js, etc.)
- Made creators and collections first-class objects, similar to items
- Constructors now take id as first parameter, e.g. new Zotero.Item(1234, 'book'), to allow explicit id setting and id changing
- Made various data layer operations (including attachment fields) require a save() rather than making direct DB changes
- Better handling of unsaved objects
- Item.setCreator() now takes creator objects instead of creator ids, and Item.save() will auto-save unsaved creators
- clone() now works on unsaved objects
- Newly created object instances are now disabled after save() to force refetch of globally accessible instance using Zotero.(Items|Creators|etc.).get()
- Added secondary lookup key to data objects
- Deprecated getID() and getItemType() methods in favor of .id and .itemTypeID properties
- toArray() deprecated in favor of serialize(), which has a somewhat modified format
- Added support for multiple creators with identical data -- currently unimplemented in interface and most of data layer
- Added Item.diff() for comparing item metadata
- Database changes
- Added SQLite triggers to enforce foreign key constraints
- Added Zotero.DB.transactionVacuum flag to run a VACUUM after a transaction
- Added Zotero.DB.transactionDate, .transactionDateTime, and transactionTimestamp to retrieve consistent timestamps for entire transaction
- Properly store 64-bit integers
- Set PRAGMA locking_mode=EXCLUSIVE on database
- Set SQLite page size to 4096 on new databases
- Set SQLite page cache to 8MB
- Do some database cleanup and integrity checking on migration from 1.0 branch
- Removed IF NOT EXISTS from userdata.sql CREATE statements -- userdata.sql is now processed only on DB initialization
- Removed itemNoteTitles table and moved titles into itemNotes
- Abstracted metadata edit box and note box into flexible XBL bindings with various modes, including read-only states
- Massive speed-up of item tree view
- Several fixes from 1.0 branch for Fx3 compatibility
- Added Notifier observer to log delete events for syncing
- Zotero.Utilities changes
- New methods getSQLDataType() and md5()
- Removed onError from Zotero.Utilities.HTTP.doGet()
- Don't display more than 1024 characters in doPost() debug output
- Don't display passwords in doPost() debug output
- Added Zotero.Notifier.untrigger() -- currently unused
- Added Zotero.reloadDataObjects() to reset all in-memory objects
- Added |chars| parameter to Zotero.randomString(len, chars)
- Added Zotero.Date.getUnixTimestamp() and Date.toUnixTimestamp(JSDate)
- Adjusted zotero-service.js to simplify file inclusion
Various things (such as tags) are temporarily broken.
2008-05-04 08:32:48 +00:00
|
|
|
pref("extensions.zotero.annotations.warnOnClose", true);
|
|
|
|
|
2008-08-31 23:36:01 +00:00
|
|
|
// Sync
|
|
|
|
pref("extensions.zotero.sync.autoSync", true);
|
Initial Zotero 1.5 Megacommit
Apologies for the massive (and, due to data_access.js splitting, difficult-to-follow) commit. Please note that external code that accesses the data layer may need to be tweaked for compatibility. Here's a comprehensive-as-possible changelog:
- Added server sync functionality (incomplete)
- Overhaul of data layer
- Split data_access.js into separate files (item.js, items.js, creator.js, etc.)
- Made creators and collections first-class objects, similar to items
- Constructors now take id as first parameter, e.g. new Zotero.Item(1234, 'book'), to allow explicit id setting and id changing
- Made various data layer operations (including attachment fields) require a save() rather than making direct DB changes
- Better handling of unsaved objects
- Item.setCreator() now takes creator objects instead of creator ids, and Item.save() will auto-save unsaved creators
- clone() now works on unsaved objects
- Newly created object instances are now disabled after save() to force refetch of globally accessible instance using Zotero.(Items|Creators|etc.).get()
- Added secondary lookup key to data objects
- Deprecated getID() and getItemType() methods in favor of .id and .itemTypeID properties
- toArray() deprecated in favor of serialize(), which has a somewhat modified format
- Added support for multiple creators with identical data -- currently unimplemented in interface and most of data layer
- Added Item.diff() for comparing item metadata
- Database changes
- Added SQLite triggers to enforce foreign key constraints
- Added Zotero.DB.transactionVacuum flag to run a VACUUM after a transaction
- Added Zotero.DB.transactionDate, .transactionDateTime, and transactionTimestamp to retrieve consistent timestamps for entire transaction
- Properly store 64-bit integers
- Set PRAGMA locking_mode=EXCLUSIVE on database
- Set SQLite page size to 4096 on new databases
- Set SQLite page cache to 8MB
- Do some database cleanup and integrity checking on migration from 1.0 branch
- Removed IF NOT EXISTS from userdata.sql CREATE statements -- userdata.sql is now processed only on DB initialization
- Removed itemNoteTitles table and moved titles into itemNotes
- Abstracted metadata edit box and note box into flexible XBL bindings with various modes, including read-only states
- Massive speed-up of item tree view
- Several fixes from 1.0 branch for Fx3 compatibility
- Added Notifier observer to log delete events for syncing
- Zotero.Utilities changes
- New methods getSQLDataType() and md5()
- Removed onError from Zotero.Utilities.HTTP.doGet()
- Don't display more than 1024 characters in doPost() debug output
- Don't display passwords in doPost() debug output
- Added Zotero.Notifier.untrigger() -- currently unused
- Added Zotero.reloadDataObjects() to reset all in-memory objects
- Added |chars| parameter to Zotero.randomString(len, chars)
- Added Zotero.Date.getUnixTimestamp() and Date.toUnixTimestamp(JSDate)
- Adjusted zotero-service.js to simplify file inclusion
Various things (such as tags) are temporarily broken.
2008-05-04 08:32:48 +00:00
|
|
|
pref("extensions.zotero.sync.server.username", '');
|
2008-07-28 11:11:12 +00:00
|
|
|
pref("extensions.zotero.sync.server.compressData", true);
|
Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember
Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
|
|
|
pref("extensions.zotero.sync.storage.enabled", true);
|
|
|
|
pref("extensions.zotero.sync.storage.protocol", "zotero");
|
2008-08-31 23:36:01 +00:00
|
|
|
pref("extensions.zotero.sync.storage.verified", false);
|
Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember
Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
|
|
|
pref("extensions.zotero.sync.storage.scheme", 'https');
|
2008-08-31 23:36:01 +00:00
|
|
|
pref("extensions.zotero.sync.storage.url", '');
|
|
|
|
pref("extensions.zotero.sync.storage.username", '');
|
|
|
|
pref("extensions.zotero.sync.storage.maxDownloads", 4);
|
|
|
|
pref("extensions.zotero.sync.storage.maxUploads", 4);
|
|
|
|
pref("extensions.zotero.sync.storage.deleteDelayDays", 30);
|
Zotero File Storage megacommit
- Group file sync via Zotero File Storage
- Split file syncing into separate modules for ZFS and WebDAV
- Dragging items between libraries copies child notes, snapshots/files, and links based on checkboxes for each (enabled by default) in the Zotero preferences
- Sync errors now trigger an exclamation/error icon separate from the sync icon, with a popup window displaying the error and an option to report it
- Various errors that could cause perpetual sync icon spinning now stop the sync properly
- Zotero.Utilities.md5(str) is now md5(strOrFile, base64)
- doPost(), doHead(), and retrieveSource() now takes a headers parameter instead of requestContentType
- doHead() can now accept an nsIURI (with login credentials), is a background request, and isn't cached
- When library access or file writing access is denied during sync, display a warning and then reset local group to server version
- Perform additional steps (e.g., removing local groups) when switching sync users to prevent errors
- Compare hash as well as mod time when checking for modified local files
- Don't trigger notifications when removing groups from the client
- Clear relation links to items in removed groups
- Zotero.Item.attachmentHash property to get file MD5
- importFromFile() now takes libraryID as a third parameter
- Zotero.Attachments.getNumFiles() returns the number of files in the attachment directory
- Zotero.Attachments.copyAttachmentToLibrary() copies an attachment item, including files, to another library
- Removed Zotero.File.getFileHash() in favor of updated Zotero.Utilities.md5()
- Zotero.File.copyDirectory(dir, newDir) copies all files from dir into newDir
- Preferences shuffling: OpenURL to Advanced, import/export character set options to Export, "Include URLs of paper articles in references" to Styles
- Other stuff I don't remember
Suffice it to say, this could use testing.
2009-09-13 07:23:29 +00:00
|
|
|
pref("extensions.zotero.sync.storage.groups.enabled", true);
|
2008-07-28 11:11:12 +00:00
|
|
|
|
|
|
|
// Proxy
|
2010-08-01 20:10:18 +00:00
|
|
|
pref("extensions.zotero.proxies.autoRecognize", true);
|
2009-02-18 03:09:39 +00:00
|
|
|
pref("extensions.zotero.proxies.transparent", true);
|
2010-08-01 20:10:18 +00:00
|
|
|
pref("extensions.zotero.proxies.disableByDomain", false);
|
|
|
|
pref("extensions.zotero.proxies.disableByDomainString", ".edu");
|
2009-02-18 03:09:39 +00:00
|
|
|
|
|
|
|
// Data layer purging
|
|
|
|
pref("extensions.zotero.purge.creators", false);
|
|
|
|
pref("extensions.zotero.purge.fulltext", false);
|
|
|
|
pref("extensions.zotero.purge.items", false);
|
2009-08-13 10:56:47 +00:00
|
|
|
pref("extensions.zotero.purge.tags", false);
|
2011-02-11 22:16:32 +00:00
|
|
|
|
|
|
|
// Zotero pane persistent data
|
|
|
|
pref("extensions.zotero.pane.persist", '');
|
2011-02-12 19:31:51 +00:00
|
|
|
|
|
|
|
// Domains allowed to import, separated by a semicolon
|
2011-06-30 01:08:30 +00:00
|
|
|
pref("extensions.zotero.ingester.allowedSites", "");
|
|
|
|
|
|
|
|
// Connector
|
|
|
|
pref("extensions.zotero.connector.repo.lastCheck.localTime", 0);
|
|
|
|
pref("extensions.zotero.connector.repo.lastCheck.repoTime", 0);
|