settings: reformat settings.json.template, in preparation for next commits

No functional changes.
pull/3644/head
muxator 2019-10-10 20:25:34 +02:00
parent 5879037ddc
commit 1cc6838772
1 changed files with 61 additions and 61 deletions

View File

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