Skip to content

Commit 54f15ce

Browse files
committed
Merge branch 'develop'
2 parents c0a3096 + 133c940 commit 54f15ce

File tree

10 files changed

+39
-18
lines changed

10 files changed

+39
-18
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ jobs:
4949
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
5050
restore-keys: |
5151
${{ runner.os }}-pnpm-store-
52+
- name: Cache playwright binaries
53+
uses: actions/cache@v3
54+
id: playwright-cache
55+
with:
56+
path: |
57+
~/.cache/ms-playwright
58+
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
5259
- name: Only install direct dependencies
5360
run: pnpm config set auto-install-peers false
5461
#-

.github/workflows/frontend-tests.yml

+21
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
-
5757
name: Create settings.json
5858
run: cp ./src/tests/settings.json settings.json
59+
- name: Cache playwright binaries
60+
uses: actions/cache@v3
61+
id: playwright-cache
62+
with:
63+
path: |
64+
~/.cache/ms-playwright
65+
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
5966
- name: Run the frontend tests
6067
shell: bash
6168
run: |
@@ -119,6 +126,13 @@ jobs:
119126
run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.sha }})"
120127
- name: Create settings.json
121128
run: cp ./src/tests/settings.json settings.json
129+
- name: Cache playwright binaries
130+
uses: actions/cache@v3
131+
id: playwright-cache
132+
with:
133+
path: |
134+
~/.cache/ms-playwright
135+
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
122136
- name: Run the frontend tests
123137
shell: bash
124138
run: |
@@ -160,6 +174,13 @@ jobs:
160174
uses: actions/setup-node@v4
161175
with:
162176
node-version: 22
177+
- name: Cache playwright binaries
178+
uses: actions/cache@v3
179+
id: playwright-cache
180+
with:
181+
path: |
182+
~/.cache/ms-playwright
183+
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
163184
- uses: pnpm/action-setup@v4
164185
name: Install pnpm
165186
with:

.github/workflows/windows.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ jobs:
6060
-
6161
name: Run the backend tests
6262
shell: msys2 {0}
63-
run: cd src && pnpm test
63+
working-directory: src
64+
run: pnpm test
6465
-
6566
name: Run Etherpad
66-
working-directory: etherpad/src
67+
working-directory: src
6768
run: |
6869
pnpm i
6970
pnpm exec playwright install --with-deps
@@ -72,16 +73,10 @@ jobs:
7273
pnpm exec playwright install chromium --with-deps
7374
pnpm run test-ui --project=chromium
7475
# On release, create release
75-
-
76-
name: Rename to etherpad-lite-win.zip
77-
shell: powershell
78-
run: mv etherpad-win.zip etherpad-lite-win.zip
7976
- name: Generate Changelog
8077
if: ${{startsWith(github.ref, 'refs/tags/v') }}
8178
working-directory: bin
8279
run: pnpm run generateChangelog ${{ github.ref }} > ${{ github.workspace }}-CHANGELOG.txt
83-
with:
84-
tag: ${{ github.ref }}
8580
- name: Release
8681
uses: softprops/action-gh-release@v2
8782
if: ${{startsWith(github.ref, 'refs/tags/v') }}

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2.2.0
1+
# 2.2.1
22

33
### Notable enhancements and fixes
44

admin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "admin",
33
"private": true,
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

bin/generateReleaseNotes.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ if (!tagVar) {
1414
process.exit(1)
1515
}
1616

17-
console.log("Tag",tagVar)
18-
1917
tagVar = tagVar.replace("refs/tags/v", "")
2018

2119
let startNum = -1
@@ -38,4 +36,4 @@ for (const line of changelogLines) {
3836
}
3937

4038
let currentReleaseNotes = changelogLines.slice(startNum, endline).join('\n')
41-
console.log("Generated changelog",currentReleaseNotes)
39+
console.log(currentReleaseNotes)

bin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bin",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "",
55
"main": "checkAllPads.js",
66
"directories": {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"type": "git",
5050
"url": "https://github.com/ether/etherpad-lite.git"
5151
},
52-
"version": "2.2.0",
52+
"version": "2.2.1",
5353
"license": "Apache-2.0"
5454
}

src/node/hooks/express/specialpages.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const convertTypescript = (content: string) => {
107107

108108
return {
109109
output,
110-
hash: outputRaw.outputFiles[0].hash.replaceAll('/','2')
110+
hash: outputRaw.outputFiles[0].hash.replaceAll('/','2').replaceAll("+",'5').replaceAll("^","7")
111111
}
112112
}
113113

@@ -238,7 +238,7 @@ const convertTypescriptWatched = (content: string, cb: (output:string, hash: str
238238
}).then((outputRaw) => {
239239
cb(
240240
outputRaw.outputFiles[0].text,
241-
outputRaw.outputFiles[0].hash.replaceAll('/','2')
241+
outputRaw.outputFiles[0].hash.replaceAll('/','2').replaceAll("+",'5').replaceAll("^","7")
242242
)
243243
})
244244
}

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@
134134
"test-admin:ui": "cross-env NODE_ENV=production npx playwright test tests/frontend-new/admin-spec --ui --workers 1",
135135
"debug:socketio": "cross-env DEBUG=socket.io* node --require tsx/cjs node/server.ts"
136136
},
137-
"version": "2.2.0",
137+
"version": "2.2.1",
138138
"license": "Apache-2.0"
139139
}

0 commit comments

Comments
 (0)