aboutsummaryrefslogtreecommitdiff
path: root/modules/role/templates/etherpad/settings.json.erb
blob: dfd69c17e1306e6f23ca5ebdee3de9548c0a1222 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
  "title": "Etherpad",
  "favicon": "favicon.ico",

  "ip": "<%= @web_listen %>",
  "port" : <%= @web_port %>,
  "showSettingsInAdminPage" : false,
  "dbType" : "postgres",
  "dbSettings" : {
    "user"    : "<%= @pg_user %>",
    "host"    : "/run/postgresql",
    "password": "",
    "database": "<%= @pg_db %>",
    "charset" : "utf8mb4"
  },

  "defaultPadText" : "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http:\/\/etherpad.org\n",
  "padOptions": {
    "noColors": false,
    "showControls": true,
    "showChat": true,
    "showLineNumbers": true,
    "useMonospaceFont": false,
    "userName": false,
    "userColor": false,
    "rtl": false,
    "alwaysShowChat": false,
    "chatAndUsers": false,
    "lang": "en-gb"
  },

  "suppressErrorsInPadText" : false,
  "requireSession" : false,
  "editOnly" : false,
  "sessionNoPassword" : false,
  "minify" : true,
  "maxAge" : 21600,
  "abiword" : "/usr/bin/abiword",
  "soffice" : "/usr/bin/soffice",
  "tidyHtml" : "/usr/bin/tidy",
  "allowUnknownFileEnds" : true,
  "requireAuthentication" : false,
  "requireAuthorization" : false,
  "trustProxy" : false,
  "disableIPlogging" : false,
  "automaticReconnectionTimeout" : 0,
  "scrollWhenFocusLineIsOutOfViewport": {
    "percentage": {
      "editionAboveViewport": 0,
      "editionBelowViewport": 0
    },
    "duration": 0,
    "scrollWhenCaretIsInTheLastLineOfViewport": false,
    "percentageToScrollWhenUserPressesArrowUp": 0
  },
  "users": {
    "ldapauth": {
      "url": "ldaps://<%= @ldap_server %>",
      "accountBase": "<%= @ldap_base %>",
      "accountPattern": "<%= @ldap_account_pattern %>",
      "displayNameAttribute": "cn",
      "searchDN": "<%= @ldap_dn %>",
      "searchPWD": "<%= @ldap_password %>",
      "groupSearchBase": "<%= @ldap_base %>",
      "groupAttribute": "member",
      "groupAttributeIsDN": true,
      "searchScope": "sub",
      "groupSearch": "<%= @ldap_group_pattern %>",
      "anonymousReadonly": false
    }
  },
  "socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
  "loadTest": false,
  "indentationOnNewLine": false,
  "toolbar": {
    "left": [
      ["bold", "italic", "underline", "strikethrough"],
      ["orderedlist", "unorderedlist", "indent", "outdent"],
      ["undo", "redo"],
      ["clearauthorship"]
    ],
    "right": [
      ["importexport", "timeslider", "savedrevision"],
      ["settings", "embed"],
      ["showusers"]
    ],
    "timeslider": [
      ["timeslider_export", "timeslider_returnToPad"]
    ]
  },
  "loglevel": "INFO",
  "logconfig" : { "appenders": [ { "type": "console" } ] }
}