Skip to content
Snippets Groups Projects
settings.json 6.97 KiB
Newer Older
  "favicon": "${FAVICON:favicon.ico}",
  "skinName": "${THEME:no-skin}",
  "skinVariants": "${SKIN_VARIANTS:super-light-toolbar super-light-editor light-background}",
  "ip": "${IP:0.0.0.0}",
  "port": "${PORT:8080}",
  "showSettingsInAdminPage": "${SHOW_SETTINGS_IN_ADMIN_PAGE:true}",
  "dbType": "${DB_TYPE:mysql}",
    "host":     "${DB_HOST}",
    "port":     "${DB_PORT:3306}",
    "database": "${DB_NAME}",
    "user":     "${DB_USER}",
    "password": "${DB_PASSWORD}",
    "charset":  "${DB_CHARSET:utf8mb4}"
  "defaultPadText": "${DEFAULT_PAD_TEXT:Bienvenue sur Picapad, une instance d'Etherpad, un éditeur de texte collaboratif libre.\n-----------------------------------------------------------\nLe texte que vous saisissez est automatiquement synchronisé avec toutes les personnes naviguant sur ce pad.\n\nPrenez des notes et rédigez des documents librement !\n\n→ Pour bien commencer :\n• Renseignez votre nom ou pseudo, en cliquant sur l’icône « utilisateur » en haut à droite.\n• Choisissez votre couleur d'écriture au même endroit.\n• Les contributions de chacun se synchronisent « en temps réel » sous leur propre couleur.\n• Un chat vous permet de discuter avec les autres personnes présentes sur le pad.\n\n→ Fonctionnalités :\n• Couleur du texte, tableau, choix et taille de police, alignement, pleine page...\n• Sauvegarde automatique du pad.\n• Historique complet du pad (bouton en forme d'horloge)\n• Sauvegarde de versions clés (bouton en forme d'étoile).\n• Commentaires avec suggestion de remplacement (bouton en forme de bulle).\n• Les réglages vous permettent de désactiver les couleurs, de changer la langue, d'activer les sauts de pages...\n\n→ Partage :\n• Import et export dans divers formats (bouton avec les flèches).\n• Partage en lecture seule, pour éviter les modifications non voulues (bouton </>).\n\nPensez à garder l'URL de votre pad pour le retrouver.\nAttention, celui-ci est public, c'est-à-dire que toute personne qui en possède l'URL pourra y accéder :n'y stockez pas d'informations confidentielles !\n-----------------------------------------------------------\nUne question ? Un problème ? Envoyez-nous un mail à picasoft@assos.utc.fr !}",
    "noColors":         "${PAD_OPTIONS_NO_COLORS:false}",
    "showControls":     "${PAD_OPTIONS_SHOW_CONTROLS:true}",
    "showChat":         "${PAD_OPTIONS_SHOW_CHAT:false}",
    "showLineNumbers":  "${PAD_OPTIONS_SHOW_LINE_NUMBERS:true}",
    "useMonospaceFont": "${PAD_OPTIONS_USE_MONOSPACE_FONT:false}",
    "userName":         "${PAD_OPTIONS_USER_NAME:Anonyme}",
    "userColor":        "${PAD_OPTIONS_USER_COLOR:false}",
    "rtl":              "${PAD_OPTIONS_RTL:false}",
    "alwaysShowChat":   "${PAD_OPTIONS_ALWAYS_SHOW_CHAT:false}",
    "chatAndUsers":     "${PAD_OPTIONS_CHAT_AND_USERS:false}",
    "lang":             "${PAD_OPTIONS_LANG:fr}"
    "altF9":     "${PAD_SHORTCUTS_ENABLED_ALT_F9:true}",      /* focus on the File Menu and/or editbar */
    "altC":      "${PAD_SHORTCUTS_ENABLED_ALT_C:true}",       /* focus on the Chat window */
    "cmdShift2": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_2:true}", /* shows a gritter popup showing a line author */
    "delete":    "${PAD_SHORTCUTS_ENABLED_DELETE:true}",
    "return":    "${PAD_SHORTCUTS_ENABLED_RETURN:true}",
    "esc":       "${PAD_SHORTCUTS_ENABLED_ESC:true}",         /* in mozilla versions 14-19 avoid reconnecting pad */
    "cmdS":      "${PAD_SHORTCUTS_ENABLED_CMD_S:true}",       /* save a revision */
    "tab":       "${PAD_SHORTCUTS_ENABLED_TAB:true}",         /* indent */
    "cmdZ":      "${PAD_SHORTCUTS_ENABLED_CMD_Z:true}",       /* undo/redo */
    "cmdY":      "${PAD_SHORTCUTS_ENABLED_CMD_Y:true}",       /* redo */
    "cmdI":      "${PAD_SHORTCUTS_ENABLED_CMD_I:true}",       /* italic */
    "cmdB":      "${PAD_SHORTCUTS_ENABLED_CMD_B:true}",       /* bold */
    "cmdU":      "${PAD_SHORTCUTS_ENABLED_CMD_U:true}",       /* underline */
    "cmd5":      "${PAD_SHORTCUTS_ENABLED_CMD_5:true}",       /* strike through */
    "cmdShiftL": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_L:true}", /* unordered list */
    "cmdShiftN": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_N:true}", /* ordered list */
    "cmdShift1": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_1:true}", /* ordered list */
    "cmdShiftC": "${PAD_SHORTCUTS_ENABLED_CMD_SHIFT_C:true}", /* clear authorship */
    "cmdH":      "${PAD_SHORTCUTS_ENABLED_CMD_H:true}",       /* backspace */
    "ctrlHome":  "${PAD_SHORTCUTS_ENABLED_CTRL_HOME:true}",   /* scroll to top of pad */
    "pageUp":    "${PAD_SHORTCUTS_ENABLED_PAGE_UP:true}",
    "pageDown":  "${PAD_SHORTCUTS_ENABLED_PAGE_DOWN:true}"
  "suppressErrorsInPadText": "${SUPPRESS_ERRORS_IN_PAD_TEXT:false}",,
  "requireSession": "${REQUIRE_SESSION:false}",
  "editOnly": "${EDIT_ONLY:false}",
  "sessionNoPassword": "${SESSION_NO_PASSWORD:false}",
  "minify": "${MINIFY:true}",
  "maxAge": "${MAX_AGE:21600}", // 60 * 60 * 6 = 6 hours
  "abiword": "${ABIWORD}",
  "soffice": "${SOFFICE}",
  "tidyHtml": "${TIDY_HTML}",
  "allowUnknownFileEnds": "${ALLOW_UNKNOWN_FILE_ENDS:false}",
  "requireAuthentication": "${REQUIRE_AUTHENTICATION:false}",
  "requireAuthorization": "${REQUIRE_AUTHORIZATION:false}",
  "trustProxy": "${TRUST_PROXY:false}",
  "disableIPlogging": "${DISABLE_IP_LOGGING:false}",
  "automaticReconnectionTimeout": "${AUTOMATIC_RECONNECTION_TIMEOUT:10}",
  "scrollWhenFocusLineIsOutOfViewport": {
    "percentage": {
      "editionAboveViewport": "${FOCUS_LINE_PERCENTAGE_ABOVE:0.5}",
      "editionBelowViewport": "${FOCUS_LINE_PERCENTAGE_BELOW:0}"
    "duration": "${FOCUS_LINE_DURATION:200}",
    "scrollWhenCaretIsInTheLastLineOfViewport": "${FOCUS_LINE_CARET_SCROLL:false}",
    "percentageToScrollWhenUserPressesArrowUp": "${FOCUS_LINE_PERCENTAGE_ARROW_UP:0}"
      "password": "${ADMIN_PASSWORD}",
      "is_admin": true
    }
  },
  "socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
  "loadTest": "${LOAD_TEST:false}",
  "indentationOnNewLine": false,
  "importExportRateLimiting": {
    // duration of the rate limit window (milliseconds)
    "windowMs": "${IMPORT_EXPORT_RATE_LIMIT_WINDOW:90000}",

    // maximum number of requests per IP to allow during the rate limit window
    "max": "${IMPORT_EXPORT_MAX_REQ_PER_IP:10}"
  },
  "importMaxFileSize": "${IMPORT_MAX_FILE_SIZE:52428800}", // 50 * 1024 * 1024
  "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"]
    ]
  },
  "exposeVersion": "${EXPOSE_VERSION:false}",
  "loglevel": "${LOGLEVEL:INFO}",
  "logconfig" :
  {
    "appenders": [
      {
        "type": "console"
      }
    ]
  }
}