Skip to content

Commit 8fa708a

Browse files
committed
Merge branch 'develop'
2 parents a5f4d3e + e30a527 commit 8fa708a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5929
-4422
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
end_of_line = lf
10+
# editorconfig-tools is unable to ignore longs strings or urls
11+
max_line_length = off
12+
13+
[CHANGELOG.md]
14+
indent_size = 4
15+
16+
[*.bat]
17+
end_of_line = crlf

.env.default

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# Always ensure to load the env variables in every terminal session.
55
# Otherwise the env variables will not be available
66

7-
DOCKER_COMPOSE_APP_DEV_PORT_PUBLISHED=9001
8-
DOCKER_COMPOSE_APP_DEV_PORT_TARGET=9001
7+
DOCKER_COMPOSE_APP_PORT_PUBLISHED=9001
8+
DOCKER_COMPOSE_APP_PORT_TARGET=9001
99

1010
# IMPORTANT: When the env var DEFAULT_PAD_TEXT is unset or empty, then the pad is not established (not the landing page).
1111
# The env var DEFAULT_PAD_TEXT seems to be mandatory in the latest version of etherpad.
1212
DOCKER_COMPOSE_APP_DEV_ENV_DEFAULT_PAD_TEXT="Welcome to etherpad"
1313

14-
DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD=
14+
DOCKER_COMPOSE_APP_ADMIN_PASSWORD=
1515

16-
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_DATABASE=db
17-
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PASSWORD=etherpad-lite-password
18-
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_USER=etherpad-lite-user
16+
DOCKER_COMPOSE_POSTGRES_DATABASE=db
17+
DOCKER_COMPOSE_POSTGRES_PASSWORD=etherpad-lite-password
18+
DOCKER_COMPOSE_POSTGRES_USER=etherpad-lite-user

.env.dev.default

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Please copy and rename this file.
2+
#
3+
# !Attention!
4+
# Always ensure to load the env variables in every terminal session.
5+
# Otherwise the env variables will not be available
6+
7+
DOCKER_COMPOSE_APP_DEV_PORT_PUBLISHED=9001
8+
DOCKER_COMPOSE_APP_DEV_PORT_TARGET=9001
9+
10+
# IMPORTANT: When the env var DEFAULT_PAD_TEXT is unset or empty, then the pad is not established (not the landing page).
11+
# The env var DEFAULT_PAD_TEXT seems to be mandatory in the latest version of etherpad.
12+
DOCKER_COMPOSE_APP_DEV_ENV_DEFAULT_PAD_TEXT="Welcome to etherpad"
13+
14+
DOCKER_COMPOSE_APP_DEV_ADMIN_PASSWORD=
15+
16+
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_DATABASE=db
17+
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_PASSWORD=etherpad-lite-password
18+
DOCKER_COMPOSE_POSTGRES_DEV_ENV_POSTGRES_USER=etherpad-lite-user

.github/workflows/backend-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: pnpm/action-setup@v3
3737
name: Install pnpm
3838
with:
39-
version: 8
39+
version: 9.0.4
4040
run_install: false
4141
- name: Get pnpm store directory
4242
shell: bash
@@ -93,7 +93,7 @@ jobs:
9393
- uses: pnpm/action-setup@v3
9494
name: Install pnpm
9595
with:
96-
version: 8
96+
version: 9.0.4
9797
run_install: false
9898
- name: Get pnpm store directory
9999
shell: bash
@@ -163,7 +163,7 @@ jobs:
163163
- uses: pnpm/action-setup@v3
164164
name: Install pnpm
165165
with:
166-
version: 8
166+
version: 9.0.4
167167
run_install: false
168168
- name: Get pnpm store directory
169169
shell: bash
@@ -216,7 +216,7 @@ jobs:
216216
- uses: pnpm/action-setup@v3
217217
name: Install pnpm
218218
with:
219-
version: 8
219+
version: 9.0.4
220220
run_install: false
221221
- name: Get pnpm store directory
222222
shell: bash

.github/workflows/build-and-deploy-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: pnpm/action-setup@v3
3939
name: Install pnpm
4040
with:
41-
version: 8
41+
version: 9.0.4
4242
run_install: false
4343
- name: Get pnpm store directory
4444
shell: bash

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: pnpm/action-setup@v3
4848
name: Install pnpm
4949
with:
50-
version: 8
50+
version: 9.0.4
5151
run_install: false
5252
- name: Get pnpm store directory
5353
shell: bash

.github/workflows/frontend-admin-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: pnpm/action-setup@v3
3838
name: Install pnpm
3939
with:
40-
version: 8
40+
version: 9.0.4
4141
run_install: false
4242
- name: Get pnpm store directory
4343
shell: bash

.github/workflows/frontend-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: pnpm/action-setup@v3
3131
name: Install pnpm
3232
with:
33-
version: 8
33+
version: 9.0.4
3434
run_install: false
3535
- name: Get pnpm store directory
3636
shell: bash
@@ -96,7 +96,7 @@ jobs:
9696
- uses: pnpm/action-setup@v3
9797
name: Install pnpm
9898
with:
99-
version: 8
99+
version: 9.0.4
100100
run_install: false
101101
- name: Get pnpm store directory
102102
shell: bash
@@ -163,7 +163,7 @@ jobs:
163163
- uses: pnpm/action-setup@v3
164164
name: Install pnpm
165165
with:
166-
version: 8
166+
version: 9.0.4
167167
run_install: false
168168
- name: Get pnpm store directory
169169
shell: bash

.github/workflows/load-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: pnpm/action-setup@v3
3333
name: Install pnpm
3434
with:
35-
version: 8
35+
version: 9.0.4
3636
run_install: false
3737
- name: Get pnpm store directory
3838
shell: bash
@@ -76,7 +76,7 @@ jobs:
7676
- uses: pnpm/action-setup@v3
7777
name: Install pnpm
7878
with:
79-
version: 8
79+
version: 9.0.4
8080
run_install: false
8181
- name: Get pnpm store directory
8282
shell: bash
@@ -147,7 +147,7 @@ jobs:
147147
- uses: pnpm/action-setup@v3
148148
name: Install pnpm
149149
with:
150-
version: 8
150+
version: 9.0.4
151151
run_install: false
152152
- name: Get pnpm store directory
153153
shell: bash

.github/workflows/perform-type-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: pnpm/action-setup@v3
3030
name: Install pnpm
3131
with:
32-
version: 8
32+
version: 9.0.4
3333
run_install: false
3434
- name: Get pnpm store directory
3535
shell: bash

.github/workflows/rate-limit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: pnpm/action-setup@v3
3333
name: Install pnpm
3434
with:
35-
version: 8
35+
version: 9.0.4
3636
run_install: false
3737
- name: Get pnpm store directory
3838
shell: bash

.github/workflows/upgrade-from-latest-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: pnpm/action-setup@v3
3939
name: Install pnpm
4040
with:
41-
version: 8
41+
version: 9.0.4
4242
run_install: false
4343
- name: Only install direct dependencies
4444
run: pnpm config set auto-install-peers false

.github/workflows/windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: pnpm/action-setup@v3
3939
name: Install pnpm
4040
with:
41-
version: 8
41+
version: 9.0.4
4242
run_install: false
4343
- name: Get pnpm store directory
4444
shell: bash
@@ -132,7 +132,7 @@ jobs:
132132
- uses: pnpm/action-setup@v3
133133
name: Install pnpm
134134
with:
135-
version: 8
135+
version: 9.0.4
136136
run_install: false
137137
- name: Get pnpm store directory
138138
shell: bash

CHANGELOG.md

+22-12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 2.0.3
2+
3+
### Notable enhancements and fixes
4+
5+
- Added documentation for replacing apikeys with oauth2
6+
- Bumped live plugin manager to 0.20.0. Thanks to @fgreinacher
7+
- Added better documentation for using docker-compose with Etherpad
8+
9+
10+
111
# 2.0.2
212

313
### Notable enhancements and fixes
@@ -25,7 +35,7 @@
2535
- Socket io has been updated to 4.7.5. This means that the json.send function won't work anymore and needs to be changed to .emit('message', myObj)
2636
- Deprecating npm version 6 in favor of pnpm: We have made the decision to switch to the well established pnpm (https://pnpm.io/). It works by symlinking dependencies into a global directory allowing you to have a cleaner and more reliable environment.
2737
- Introducing Typescript to the Etherpad core: Etherpad core logic has been rewritten in Typescript allowing for compiler checking of errors.
28-
- Rewritten Admin Panel: The Admin panel has been rewritten in React and now features a more pleasant user experience. It now also features an integrated pad searching with sorting functionality.
38+
- Rewritten Admin Panel: The Admin panel has been rewritten in React and now features a more pleasant user experience. It now also features an integrated pad searching with sorting functionality.
2939

3040
### Notable enhancements and fixes
3141

@@ -35,7 +45,7 @@
3545
* Enhancements
3646
- pnpm Workspaces: In addition to pnpm we introduced workspaces. A clean way to manage multiple bounded contexts like the admin panel or the bin folder.
3747
- Bin folder: The bin folder has been moved from the src folder to the root folder. This change was necessary as the contained scripts do not represent core functionality of the user.
38-
- Starting Etherpad: Etherpad can now be started with a single command: `pnpm run prod` in the root directory.
48+
- Starting Etherpad: Etherpad can now be started with a single command: `pnpm run prod` in the root directory.
3949
- Installing Etherpad: Etherpad no longer symlinks itself in the root directory. This is now also taken care by pnpm, and it just creates a node_modules folder with the src directory`s ep_etherpad-lite folder
4050
- Plugins can now be installed simply via the command: `pnpm run install-plugins first-plugin second-plugin` or if you want to install from path you can do:
4151
`pnpm run install-plugins --path ../path-to-plugin`
@@ -45,7 +55,7 @@
4555

4656
### Notable enhancements and fixes
4757

48-
* Added Live Plugin Manager: Plugins are now installed into a separate folder on the host system. This folder is called `plugin_packages`.
58+
* Added Live Plugin Manager: Plugins are now installed into a separate folder on the host system. This folder is called `plugin_packages`.
4959
That way the plugins are separated from the normal etherpad installation.
5060
* Make repairPad.js more verbose
5161
* Fixed favicon not being loaded correctly
@@ -68,27 +78,27 @@ That way the plugins are separated from the normal etherpad installation.
6878

6979
### Notable enhancements and fixes
7080

71-
* The support for the tidy program to tidy up HTML files has been removed. This decision was made because it hasn't been updated for years and also caused an incompability when exporting a pad with Abiword.
81+
* The support for the tidy program to tidy up HTML files has been removed. This decision was made because it hasn't been updated for years and also caused an incompability when exporting a pad with Abiword.
7282

7383

7484
# 1.9.4
7585

7686
### Compatibility changes
7787

78-
* Log4js has been updated to the latest version. As it involved a bump of 6 major version.
88+
* Log4js has been updated to the latest version. As it involved a bump of 6 major version.
7989
A lot has changed since then. Most notably the console appender has been deprecated. You can find out more about it [here](https://github.com/log4js-node/log4js-node)
8090

8191
### Notable enhancements and fixes
8292

83-
* Fix for MySQL: The logger calls were incorrectly configured leading to a crash when e.g. somebody uses a different encoding than standard MySQL encoding.
93+
* Fix for MySQL: The logger calls were incorrectly configured leading to a crash when e.g. somebody uses a different encoding than standard MySQL encoding.
8494

8595
# 1.9.3
8696

8797
### Compability changes
8898

8999
* express-rate-limit has been bumped to 7.0.0: This involves the breaking change that "max: 0"
90100
in the importExportRateLimiting is set to always trigger. So set it to your desired value.
91-
If you haven't changed that value in the settings.json you are all set.
101+
If you haven't changed that value in the settings.json you are all set.
92102

93103
### Notable enhancements and fixes
94104

@@ -107,7 +117,7 @@ If you haven't changed that value in the settings.json you are all set.
107117
* Enable session key rotation: This setting can be enabled in the settings.json. It changes the signing key for the cookie authentication in a fixed interval.
108118

109119
* Bugfixes
110-
* Fix appendRevision when creating a new pad via the API without a text.
120+
* Fix appendRevision when creating a new pad via the API without a text.
111121

112122

113123
* Enhancements
@@ -116,19 +126,19 @@ If you haven't changed that value in the settings.json you are all set.
116126

117127
### Compatibility changes
118128

119-
* No compability changes as JQuery maintains excellent backwards compatibility.
129+
* No compability changes as JQuery maintains excellent backwards compatibility.
120130

121131
#### For plugin authors
122132

123-
* Please update to JQuery 3.7. There is an excellent deprecation guide over [here](https://api.jquery.com/category/deprecated/). Version 3.1 to 3.7 are relevant for the upgrade.
133+
* Please update to JQuery 3.7. There is an excellent deprecation guide over [here](https://api.jquery.com/category/deprecated/). Version 3.1 to 3.7 are relevant for the upgrade.
124134

125135
# 1.9.1
126136

127137
### Notable enhancements and fixes
128138

129139
* Security
130140
* Limit requested revisions in timeslider and export to head revision. (affects v1.9.0)
131-
141+
132142
* Bugfixes
133143
* revisions in `CHANGESET_REQ` (timeslider) and export (txt, html, custom)
134144
are now checked to be numbers.
@@ -142,7 +152,7 @@ If you haven't changed that value in the settings.json you are all set.
142152
* tests: drop windows 7 test coverage & use chrome latest for admin tests
143153
* Require Node 16 for Etherpad and target Node 20 for testing
144154

145-
155+
146156
# 1.9.0
147157

148158
### Notable enhancements and fixes

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM node:alpine as adminBuild
88

99
WORKDIR /opt/etherpad-lite
1010
COPY ./ ./
11-
RUN cd ./admin && npm install -g pnpm && pnpm install && pnpm run build --outDir ./dist
11+
RUN cd ./admin && npm install -g pnpm@9.0.4 && pnpm install && pnpm run build --outDir ./dist
1212
RUN cd ./ui && pnpm install && pnpm run build --outDir ./dist
1313

1414

@@ -91,7 +91,7 @@ RUN mkdir -p "${EP_DIR}" && chown etherpad:etherpad "${EP_DIR}"
9191
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863199
9292
RUN \
9393
mkdir -p /usr/share/man/man1 && \
94-
npm install pnpm -g && \
94+
npm install pnpm@9.0.4 -g && \
9595
apk update && apk upgrade && \
9696
apk add --no-cache \
9797
ca-certificates \

0 commit comments

Comments
 (0)