Skip to content

Commit 38d67d3

Browse files
author
Etherpad Release Bot
committed
Merge branch 'develop'
2 parents 171dea8 + 340d9c2 commit 38d67d3

File tree

12 files changed

+58
-28
lines changed

12 files changed

+58
-28
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.4.2
2+
3+
### Notable enhancements and fixes
4+
- Fixed a german translation in the english translation file.
5+
16
# 2.4.1
27

38
### Notable enhancements and fixes

admin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "admin",
33
"private": true,
4-
"version": "2.4.1",
4+
"version": "2.4.2",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

bin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bin",
3-
"version": "2.4.1",
3+
"version": "2.4.2",
44
"description": "",
55
"main": "checkAllPads.js",
66
"directories": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
"type": "git",
5151
"url": "https://github.com/ether/etherpad-lite.git"
5252
},
53-
"version": "2.4.1",
53+
"version": "2.4.2",
5454
"license": "Apache-2.0"
5555
}

settings.json.docker

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@
194194
*/
195195
"authenticationMethod": "${AUTHENTICATION_METHOD:sso}",
196196

197+
/**
198+
* Allow setting dark mode for the enduser. This is so if the user has preferred dark mode in their browser, Etherpad will respect that.
199+
* Of course this overrides all the skin variants and the skinName set by the administrator.
200+
**/
201+
"enableDarkMode": "${ENABLE_DARK_MODE:true}",
202+
197203
/*
198204
* Node native SSL support
199205
*

settings.json.template

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,12 @@
617617
*/
618618
"authenticationMethod": "${AUTHENTICATION_METHOD:sso}",
619619

620+
/**
621+
* Allow setting dark mode for the enduser. This is so if the user has preferred dark mode in their browser, Etherpad will respect that.
622+
* Of course this overrides all the skin variants and the skinName set by the administrator.
623+
**/
624+
"enableDarkMode": "${ENABLE_DARK_MODE:true}",
625+
620626
/*
621627
* From Etherpad 1.8.5 onwards, when Etherpad is in production mode commits from individual users are rate limited
622628
*

src/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"index.recentPadsEmpty": "No recent pads found.",
4141
"index.generateNewPad": "Generate random pad name",
4242
"index.labelPad": "Pad name (optional)",
43-
"index.placeholderPadEnter": "Gib den Namen des Pads ein...",
43+
"index.placeholderPadEnter": "Please enter a pad name...",
4444
"index.createAndShareDocuments": "Create and share documents in real time",
4545
"index.createAndShareDocumentsDescription": "Etherpad allows you to edit documents collaboratively in real-time, much like a live multi-player editor that runs in your browser.",
4646

src/node/handler/PadMessageHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ const handleClientReady = async (socket:any, message: ClientReadyMessage) => {
990990
accountPrivs: {
991991
maxRevisions: 100,
992992
},
993+
enableDarkMode: settings.enableDarkMode,
993994
automaticReconnectionTimeout: settings.automaticReconnectionTimeout,
994995
initialRevisionList: [],
995996
initialOptions: {},

src/node/utils/Settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ exports.ttl = {
109109

110110
exports.updateServer = "https://static.etherpad.org"
111111

112+
exports.enableDarkMode = true;
112113

113114
/*
114115
* Skin name.

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@
144144
"debug:socketio": "cross-env DEBUG=socket.io* node --require tsx/cjs node/server.ts",
145145
"test:vitest": "vitest"
146146
},
147-
"version": "2.4.1",
147+
"version": "2.4.2",
148148
"license": "Apache-2.0"
149149
}

0 commit comments

Comments
 (0)