Compare commits

...

8 Commits

Author SHA1 Message Date
muppeth 90b371aa59 Merge branch 'staging' of git.disroot.org:Disroot-Ansible/etherpad into staging 2024-06-04 21:50:11 +02:00
muppeth 4079807c8e 2.1.0 - Version bump (#27)
Reviewed-on: #27
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-committed-by: muppeth <muppeth@disroot.org>
2024-06-04 21:45:03 +02:00
muppeth a3b5fc1eab Merge branch 'staging' of git.disroot.org:Disroot-Ansible/etherpad into staging 2024-06-04 00:06:28 +02:00
muppeth bec361ed7f Version update to 2.0.3 (#25)
Reviewed-on: #25
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-committed-by: muppeth <muppeth@disroot.org>
2024-05-21 13:36:59 +02:00
muppeth 903fea413a Merge branch 'main' into staging 2024-05-16 11:57:24 +02:00
meaz 62a7145f3a build admin page (#22)
Fix the issue with admin page.
Also, I know we got that discussion already for cryptpad, but I removed npm package as it is already installed with nodejs even on bookworm. Otherwise I get an error as it is trying to install`npm=9.2.0` whereas with nodejs you get `npm=10.5.0`

Reviewed-on: #22
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-committed-by: meaz <meaz@disroot.org>
2024-04-16 22:58:44 +02:00
meaz 26e8c2d3f7 Update to 2.0.2 (#21)
I created an issue upstream as there is no possibility to remove modules from cli. The main dev will do is tomorrow normally. So I keep this as WIP at the moment.

Reviewed-on: #21
Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
Co-authored-by: meaz <meaz@disroot.org>
Co-committed-by: meaz <meaz@disroot.org>
2024-04-16 15:08:00 +02:00
muppeth 5dfb6bfaec
added npm to apt list 2024-03-08 10:46:48 +01:00
2 changed files with 40 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
etherpad_version: '2.0.2'
etherpad_version: '2.1.0'
etherpad_skin: 'colibris'
etherpad_skinVariants: 'super-light-toolbar super-light-editor light-background'
etherpad_username: 'etherpad'
@ -27,6 +27,7 @@ etherpad_indentationOnNewLine: 'false'
etherpad_importExportRateLimitingwindowMs: '90000'
etherpad_importExportRateLimitingMax: '10'
etherpad_importMaxFileSize: '52428800' # 50 MB -> 50 * 1024 * 1024
etherpad_authmethod: 'sso'
etherpad_exposeVersion: 'false'
etherpad_js_maxage: '21600'
etherpad_max_log_size: '1024'

View File

@ -600,6 +600,13 @@
*/
"importMaxFileSize": {{ etherpad_importMaxFileSize }}, // 50 * 1024 * 1024
/*
The authentication method used by the server.
The default value is sso
If you want to use the old authentication system, change this to apikey
*/
"authenticationMethod": "${AUTHENTICATION_METHOD:{{ etherpad_authmethod }}}",
/*
* From Etherpad 1.8.5 onwards, when Etherpad is in production mode commits from individual users are rate limited
*
@ -665,4 +672,35 @@
* Enable/Disable case-insensitive pad names.
*/
"lowerCasePadIds": false
/*"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/}"]
}
]
}
*/
/* Set the time to live for the tokens
This is the time of seconds a user is logged into Etherpad
"ttl": {
"AccessToken": 3600,
"AuthorizationCode": 600,
"ClientCredentials": 3600,
"IdToken": 3600,
"RefreshToken": 86400
}
*/
}