From 1cc6838772eed6756e6c7a6575264781a343984b Mon Sep 17 00:00:00 2001 From: muxator Date: Thu, 10 Oct 2019 20:25:34 +0200 Subject: [PATCH] settings: reformat settings.json.template, in preparation for next commits No functional changes. --- settings.json.template | 122 ++++++++++++++++++++--------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/settings.json.template b/settings.json.template index fa1baa4b..9cdf2d3a 100644 --- a/settings.json.template +++ b/settings.json.template @@ -75,14 +75,14 @@ * IP and port which etherpad should bind at */ "ip": "0.0.0.0", - "port" : 9001, + "port": 9001, /* * Option to hide/show the settings.json in admin page. * * Default option is set to true */ - "showSettingsInAdminPage" : true, + "showSettingsInAdminPage": true, /* * Node native SSL support @@ -118,10 +118,10 @@ * https://www.npmjs.com/package/ueberdb2 */ - "dbType" : "dirty", - "dbSettings" : { - "filename" : "var/dirty.db" - }, + "dbType": "dirty", + "dbSettings": { + "filename": "var/dirty.db" + }, /* * An Example of MySQL Configuration (commented out). @@ -132,13 +132,13 @@ /* "dbType" : "mysql", "dbSettings" : { - "user" : "etherpaduser", - "host" : "localhost", - "port" : 3306, - "password": "PASSWORD", - "database": "etherpad_lite_db", - "charset" : "utf8mb4" - }, + "user": "etherpaduser", + "host": "localhost", + "port": 3306, + "password": "PASSWORD", + "database": "etherpad_lite_db", + "charset": "utf8mb4" + }, */ /* @@ -152,57 +152,57 @@ * Change them if you want to override. */ "padOptions": { - "noColors": false, - "showControls": true, - "showChat": true, - "showLineNumbers": true, + "noColors": false, + "showControls": true, + "showChat": true, + "showLineNumbers": true, "useMonospaceFont": false, - "userName": false, - "userColor": false, - "rtl": false, - "alwaysShowChat": false, - "chatAndUsers": false, - "lang": "en-gb" + "userName": false, + "userColor": false, + "rtl": false, + "alwaysShowChat": false, + "chatAndUsers": false, + "lang": "en-gb" }, /* * Pad Shortcut Keys */ "padShortcutEnabled" : { - "altF9" : true, /* focus on the File Menu and/or editbar */ - "altC" : true, /* focus on the Chat window */ - "cmdShift2" : true, /* shows a gritter popup showing a line author */ - "delete" : true, - "return" : true, - "esc" : true, /* in mozilla versions 14-19 avoid reconnecting pad */ - "cmdS" : true, /* save a revision */ - "tab" : true, /* indent */ - "cmdZ" : true, /* undo/redo */ - "cmdY" : true, /* redo */ - "cmdI" : true, /* italic */ - "cmdB" : true, /* bold */ - "cmdU" : true, /* underline */ - "cmd5" : true, /* strike through */ - "cmdShiftL" : true, /* unordered list */ - "cmdShiftN" : true, /* ordered list */ - "cmdShift1" : true, /* ordered list */ - "cmdShiftC" : true, /* clear authorship */ - "cmdH" : true, /* backspace */ - "ctrlHome" : true, /* scroll to top of pad */ - "pageUp" : true, - "pageDown" : true + "altF9": true, /* focus on the File Menu and/or editbar */ + "altC": true, /* focus on the Chat window */ + "cmdShift2": true, /* shows a gritter popup showing a line author */ + "delete": true, + "return": true, + "esc": true, /* in mozilla versions 14-19 avoid reconnecting pad */ + "cmdS": true, /* save a revision */ + "tab": true, /* indent */ + "cmdZ": true, /* undo/redo */ + "cmdY": true, /* redo */ + "cmdI": true, /* italic */ + "cmdB": true, /* bold */ + "cmdU": true, /* underline */ + "cmd5": true, /* strike through */ + "cmdShiftL": true, /* unordered list */ + "cmdShiftN": true, /* ordered list */ + "cmdShift1": true, /* ordered list */ + "cmdShiftC": true, /* clear authorship */ + "cmdH": true, /* backspace */ + "ctrlHome": true, /* scroll to top of pad */ + "pageUp": true, + "pageDown": true }, /* * Should we suppress errors from being visible in the default Pad Text? */ - "suppressErrorsInPadText" : false, + "suppressErrorsInPadText": false, /* * If this option is enabled, a user must have a session to access pads. * This effectively allows only group pads to be accessed. */ - "requireSession" : false, + "requireSession": false, /* * Users may edit pads but not create new ones. @@ -210,13 +210,13 @@ * Pad creation is only via the API. * This applies both to group pads and regular pads. */ - "editOnly" : false, + "editOnly": false, /* * If set to true, those users who have a valid session will automatically be * granted access to password protected pads. */ - "sessionNoPassword" : false, + "sessionNoPassword": false, /* * If true, all css & js will be minified before sending to the client. @@ -224,7 +224,7 @@ * This will improve the loading performance massively, but makes it difficult * to debug the javascript/css */ - "minify" : true, + "minify": true, /* * How long may clients use served javascript code (in seconds)? @@ -232,7 +232,7 @@ * Not setting this may cause problems during deployment. * Set to 0 to disable caching. */ - "maxAge" : 21600, // 60 * 60 * 6 = 6 hours + "maxAge": 21600, // 60 * 60 * 6 = 6 hours /* * Absolute path to the Abiword executable. @@ -241,7 +241,7 @@ * it to null disables Abiword and will only allow plain text and HTML * import/exports. */ - "abiword" : null, + "abiword": null, /* * This is the absolute path to the soffice executable. @@ -249,7 +249,7 @@ * LibreOffice can be used in lieu of Abiword to export pads. * Setting it to null disables LibreOffice exporting. */ - "soffice" : null, + "soffice": null, /* * Path to the Tidy executable. @@ -257,35 +257,35 @@ * Tidy is used to improve the quality of exported pads. * Setting it to null disables Tidy. */ - "tidyHtml" : null, + "tidyHtml": null, /* * Allow import of file types other than the supported ones: * txt, doc, docx, rtf, odt, html & htm */ - "allowUnknownFileEnds" : true, + "allowUnknownFileEnds": true, /* * This setting is used if you require authentication of all users. * * Note: "/admin" always requires authentication. */ - "requireAuthentication" : false, + "requireAuthentication": false, /* * Require authorization by a module, or a user with is_admin set, see below. */ - "requireAuthorization" : false, + "requireAuthorization": false, /* * When you use NGINX or another proxy/load-balancer set this to true. */ - "trustProxy" : false, + "trustProxy": false, /* * Privacy: disable IP logging */ - "disableIPlogging" : false, + "disableIPlogging": false, /* * Time (in seconds) to automatically reconnect pad when a "Force reconnect" @@ -293,7 +293,7 @@ * * Set to 0 to disable automatic reconnection. */ - "automaticReconnectionTimeout" : 0, + "automaticReconnectionTimeout": 0, /* * By default, when caret is moved out of viewport, it scrolls the minimum @@ -415,7 +415,7 @@ */ "exposeVersion": false, - /* + /* * The log level we are using. * * Valid values: DEBUG, INFO, WARN, ERROR