{
  "title": {{ matrix_etherpad_title|to_json }},
  "favicon": "favicon.ico",
  "skinName": "colibris",
  "skinVariants": "super-light-toolbar super-light-editor light-background",
  "ip": "::",
  "port": 9001,
  "showSettingsInAdminPage": true,
  "dbType": {{ matrix_etherpad_database_engine|to_json }},
  "dbSettings": {
    "database": {{ matrix_etherpad_database_name|to_json }},
    "host":     {{ matrix_etherpad_database_hostname|to_json }},
    "password": {{ matrix_etherpad_database_password|to_json }},
    "port":     {{ matrix_etherpad_database_port|to_json }},
    "user":     {{ matrix_etherpad_database_username|to_json }}
  },
  "defaultPadText" : {{ matrix_etherpad_default_pad_text|to_json }},
  "suppressErrorsInPadText": false,
  "requireSession": false,
  "editOnly": false,
  "minify": true,
  "maxAge": 21600,
  "abiword": {{ matrix_etherpad_abiword|to_json }},
  "soffice": {{ matrix_etherpad_soffice|to_json }},
  "tidyHtml": null,
  "allowUnknownFileEnds": true,
  "requireAuthentication": false,
  "requireAuthorization": false,
  "trustProxy": true,
  "cookie": {
    "sameSite": "Lax"
  },
  "disableIPlogging": true,
  "automaticReconnectionTimeout": 0,
  "scrollWhenFocusLineIsOutOfViewport": {
    "percentage": {
      "editionAboveViewport": 0,
      "editionBelowViewport": 0
    },
    "duration": 0,
    "scrollWhenCaretIsInTheLastLineOfViewport": false,
    "percentageToScrollWhenUserPressesArrowUp": 0
  },
  "socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
  "socketIo": {
    "maxHttpBufferSize": 10000
  },
  "loadTest": false,
  "dumpOnUncleanExit": false,
  "indentationOnNewLine": false,
  "importExportRateLimiting": {
    "windowMs": 90000,
    "max": 10
  },
  "importMaxFileSize": 52428800,
  "commitRateLimiting": {
    "duration": 1,
    "points": 10
  },
  "exposeVersion": false,
  "padOptions": {
    "noColors": false,
    "showControls": true,
    "showChat": false,
    "showLineNumbers": true,
    "useMonospaceFont": false,
    "userName": false,
    "userColor": false,
    "rtl": false,
    "alwaysShowChat": false,
    "chatAndUsers": false,
    "lang": "en-gb"
  },
{% if matrix_etherpad_admin_username != "" and matrix_etherpad_admin_password != "" %}
  "users": {
    {{ matrix_etherpad_admin_username|to_json }}: {
      "password": {{ matrix_etherpad_admin_password|to_json }},
      "is_admin": true
    }
  },
{% endif %}
  "padShortcutEnabled" : {
    "altF9": true,
    "altC": true,
    "cmdShift2": true,
    "delete": true,
    "return": true,
    "esc": true,
    "cmdS": true,
    "tab": true,
    "cmdZ": true,
    "cmdY": true,
    "cmdI": true,
    "cmdB": true,
    "cmdU": true,
    "cmd5": true,
    "cmdShiftL": true,
    "cmdShiftN": true,
    "cmdShift1": true,
    "cmdShiftC": true,
    "cmdH": true,
    "ctrlHome": true,
    "pageUp": true,
    "pageDown": true
  },
  "loglevel": "WARN",
  "logconfig" :
    { "appenders": [
        { "type": "console",
          "layout": {"type": "messagePassThrough"}
        }
      ]
    },
  "customLocaleStrings": {},
  "enableAdminUITests": false
}
