From 574c6f9839e8bf17acb9e3da928e22894ffc7500 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 15:15:33 +0000 Subject: [PATCH 1/2] Initial plan From 63b26e56fff81ccf3e56d97355a223066da243f2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 15:17:29 +0000 Subject: [PATCH 2/2] Add settings.json and update Dockerfile for persistent Etherpad config Co-authored-by: saurabh-khanna <54084054+saurabh-khanna@users.noreply.github.com> --- Dockerfile | 1 + settings.json | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+) create mode 100644 settings.json diff --git a/Dockerfile b/Dockerfile index ef58358..2e0660e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,2 @@ FROM etherpad/etherpad:2.6.1 +COPY settings.json /opt/etherpad-lite/settings.json diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..d142026 --- /dev/null +++ b/settings.json @@ -0,0 +1,145 @@ +{ + "title": "Invisible Notes", + "showRecentPads": true, + "favicon": null, + "skinName": "colibris", + "skinVariants": "super-light-toolbar super-light-editor light-background", + "ip": "0.0.0.0", + "port": 9001, + "showSettingsInAdminPage": true, + "enableMetrics": true, + "cleanup": { + "enabled": false, + "keepRevisions": 5 + }, + "authenticationMethod": "password", + "enableDarkMode": true, + "updateServer": "https://etherpad.org/ep_infos", + "dbType": "${DB_TYPE:dirty}", + "dbSettings": { + "host": "${DB_HOST:undefined}", + "port": "${DB_PORT:undefined}", + "database": "${DB_NAME:undefined}", + "user": "${DB_USER:undefined}", + "password": "${DB_PASS:undefined}", + "charset": "${DB_CHARSET:undefined}", + "filename": "${DB_FILENAME:var/dirty.db}", + "collection": "${DB_COLLECTION:undefined}", + "url": "${DB_URL:undefined}" + }, + "defaultPadText": "Meeting Notes\n\nDate: \nAttendees: \nAgenda:\n- \n\nNotes:\n\nAction Items:\n- \n", + "padOptions": { + "noColors": false, + "showControls": true, + "showChat": true, + "showLineNumbers": false, + "useMonospaceFont": false, + "userName": null, + "userColor": null, + "rtl": false, + "alwaysShowChat": true, + "chatAndUsers": true, + "lang": "en" + }, + "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 + }, + "suppressErrorsInPadText": false, + "requireSession": false, + "editOnly": false, + "minify": true, + "maxAge": 21600, + "abiword": null, + "soffice": null, + "allowUnknownFileEnds": true, + "requireAuthentication": false, + "requireAuthorization": false, + "trustProxy": true, + "cookie": { + "keyRotationInterval": 86400000, + "sameSite": "Lax", + "sessionLifetime": 864000000, + "sessionRefreshInterval": 86400000 + }, + "disableIPlogging": true, + "automaticReconnectionTimeout": 0, + "scrollWhenFocusLineIsOutOfViewport": { + "percentage": { + "editionAboveViewport": 0, + "editionBelowViewport": 0 + }, + "duration": 0, + "scrollWhenCaretIsInTheLastLineOfViewport": false, + "percentageToScrollWhenUserPressesArrowUp": 0 + }, + "users": { + "admin": { + "password": "${ADMIN_PASSWORD:null}", + "is_admin": true + }, + "user": { + "password": "${USER_PASSWORD:null}", + "is_admin": false + } + }, + "socketTransportProtocols": ["websocket", "polling"], + "socketIo": { + "maxHttpBufferSize": 50000 + }, + "loadTest": false, + "dumpOnUncleanExit": false, + "importExportRateLimiting": { + "windowMs": 90000, + "max": 10 + }, + "importMaxFileSize": 52428800, + "commitRateLimiting": { + "duration": 1, + "points": 10 + }, + "exposeVersion": false, + "loglevel": "INFO", + "customLocaleStrings": {}, + "enableAdminUITests": false, + "lowerCasePadIds": true, + "sso": { + "issuer": "${SSO_ISSUER:http://localhost:9001}", + "clients": [ + { + "client_id": "${ADMIN_CLIENT:admin_client}", + "client_secret": "${ADMIN_SECRET:admin}", + "grant_types": ["authorization_code"], + "response_types": ["code"], + "redirect_uris": ["${ADMIN_REDIRECT:http://localhost:9001/admin/}"] + }, + { + "client_id": "${USER_CLIENT:user_client}", + "client_secret": "${USER_SECRET:user}", + "grant_types": ["authorization_code"], + "response_types": ["code"], + "redirect_uris": ["${USER_REDIRECT:http://localhost:9001/}"] + } + ] + } +}