Skip to content

Commit

Permalink
🚸 Support missing Configuration Options for 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Jun 22, 2023
1 parent ede32e8 commit 71ea80e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
11 changes: 10 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ etherpad_allow_unknown_file_ends: "true"
etherpad_require_authentication: "false"
etherpad_require_authorization: "false"
etherpad_trust_proxy: "false"
etherpad_cookie_same_site: "Lax"
etherpad_cookie_session_lifetime: 864000000 # = 10d * 24h/d * 60m/h * 60s/m * 1000ms/s
etherpad_cookie_session_refresh_interval: 864000000 # = 10d * 24h/d * 60m/h * 60s/m * 1000ms/s
etherpad_socket_transport_protocols: ["xhr-polling", "jsonp-polling", "htmlfile"]
etherpad_load_test: "false"
etherpad_indentation_on_new_line: "false"
Expand All @@ -87,6 +90,12 @@ etherpad_commit_rate_limiting_duration: 1
etherpad_commit_rate_limiting_points: 10
etherpad_expose_version: "false"
etherpad_socket_max_http_buffer_size: 10000
etherpad_dump_on_unclean_exit: "false"
etherpad_import_export_rate_limiting_window_ms: 90000
etherpad_import_export_rate_limiting_max: 10
etherpad_import_max_file_size: 52428800 # 50 * 1024 * 1024
etherpad_custom_locale_strings: {}
etherpad_enable_admin_ui_tests: "false"
etherpad_toolbar:
left:
- ["bold", "italic", "underline", "strikethrough"]
Expand Down Expand Up @@ -165,6 +174,6 @@ etherpad_headerauth_displayname_header: x-authenticated-name
etherpad_python_mysql_package: "python3-mysqldb"

# Copy a custom logo file to src/static/
#etherpad_custom_logo_src:
#etherpad_custom_logo_src:

etherpad_node_path: "/usr/bin/node"
13 changes: 13 additions & 0 deletions templates/settings.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
"requireAuthentication": {{ etherpad_require_authentication }},
"requireAuthorization": {{ etherpad_require_authorization }},
"trustProxy": {{ etherpad_trust_proxy }},
"cookie": {
"sameSite": "{{ etherpad_cookie_same_site }}",
"sessionLifetime": {{ etherpad_cookie_session_lifetime }},
"sessionRefreshInterval": {{ etherpad_cookie_session_refresh_interval }}
}
"disableIPlogging": {{ etherpad_disable_ip_logging }},
"automaticReconnectionTimeout": {{ etherpad_automatic_reconnection_timeout }},
"scrollWhenFocusLineIsOutOfViewport": {
Expand Down Expand Up @@ -173,4 +178,12 @@
"socketIo": {
"maxHttpBufferSize": {{ etherpad_socket_max_http_buffer_size }}
},
"dumpOnUncleanExit": {{ etherpad_dump_on_unclean_exit }},
"importExportRateLimiting": {
"windowMs": {{ etherpad_import_export_rate_limiting_window_ms }},
"max": {{ etherpad_import_export_rate_limiting_max }}
},
"importMaxFileSize": {{ etherpad_import_max_file_size }},
"customLocaleStrings": {{ etherpad_custom_locale_strings|to_json }},
"enableAdminUITests": {{ etherpad_enable_admin_ui_tests }}
}

0 comments on commit 71ea80e

Please sign in to comment.