Skip to content

Commit f3d950c

Browse files
committed
Merge branch 'release/1.8.5'
2 parents 6a0f73d + 5e03a3b commit f3d950c

File tree

208 files changed

+25306
-9156
lines changed

Some content is hidden

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

208 files changed

+25306
-9156
lines changed

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
*~
2+
.dockerignore
13
.hg
4+
Dockerfile
25

36
# Remove the git objects, logs, etc. to make final image smaller.
47
# Some files still need to be in the .git directory, because Etherpad at
Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
* * *
2-
1+
---
32
name: Bug report
43
about: Create a report to help us improve
54
title: ''
6-
labels: bug
7-
assignees:
5+
labels: ''
6+
assignees: ''
87

9-
* * *
8+
---
109

1110
**Describe the bug**
1211
A clear and concise description of what the bug is.
@@ -24,23 +23,16 @@ A clear and concise description of what you expected to happen.
2423
**Screenshots**
2524
If applicable, add screenshots to help explain your problem.
2625

27-
**Environment (please complete the following information):**
28-
29-
- Etherpad Version: (e.g. 1.8.0)
30-
- Deployment (manual install, docker, ...)
31-
3226
**Desktop (please complete the following information):**
33-
34-
- OS: (e.g. iOS)
35-
- Browser (e.g. chrome, safari)
36-
- Version (e.g. 22)
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
3730

3831
**Smartphone (please complete the following information):**
39-
40-
- Device: (e.g. iPhone6)
41-
- OS: (e.g. iOS8.1)
42-
- Browser (e.g. stock browser, safari)
43-
- Version (e.g. 22)
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
4436

4537
**Additional context**
4638
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: Feature Request
6+
assignees: ''
7+
8+
---
9+
110
* * *
211

312
name: Feature request
@@ -19,3 +28,6 @@ A clear and concise description of any alternative solutions or features you've
1928

2029
**Additional context**
2130
Add any other context or screenshots about the feature request here.
31+
32+
**Plugin?**
33+
Might this feature be better suited to being a plugin? Usually features that can be plugins, should be.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Plugin request template
3+
about: Suggest a plugin for Etherpad
4+
title: ''
5+
labels: Plugin Request
6+
assignees: JohnMcLear
7+
8+
---
9+
10+
* * *
11+
12+
name: Plugin request
13+
about: Suggest a plugin for this project
14+
title: ''
15+
labels: plugin request
16+
assignees:
17+
18+
* * *
19+
20+
**Is your plugin request related to a problem? Please describe.**
21+
A clear and concise description of what the problem is. Ex. I'm always frustrated when (...)
22+
23+
**Describe the solution you'd like**
24+
A clear and concise description of what you want to happen.
25+
26+
**Describe alternatives you've considered**
27+
A clear and concise description of any alternative solutions or features you've considered.
28+
29+
**Additional context**
30+
Add any other context or screenshots about the plugin request here.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Security issue
3+
about: Notify the Etherpad foundation of a Security issue
4+
title: ''
5+
labels: security
6+
assignees: ''
7+
8+
---
9+
10+
Please email [email protected] with details of the security issue prior to posting here.

.github/ISSUE_TEMPLATE/security.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* * *
2+
3+
name: Security notification
4+
about: Disclose a security issue in Etherpad
5+
title: ''
6+
labels: security
7+
assignees:
8+
9+
* * *
10+
11+
**Our Security disclosure process**
12+
1. Please email [email protected] with detials of the exploit including steps to replicate.
13+
1. Once confirmed we will provide a confirmation, patch and CVE details.

.github/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
- Bug
10+
- Serious Bug
11+
- Minor bug
12+
- Black hole bug
13+
- Special case Bug
14+
- Upstream bug
15+
# Label to use when marking an issue as stale
16+
staleLabel: wontfix
17+
# Comment to post when marking an issue as stale. Set to `false` to disable
18+
markComment: >
19+
This issue has been automatically marked as stale because it has not had
20+
recent activity. It will be closed if no further activity occurs. Thank you
21+
for your contributions.
22+
# Comment to post when closing a stale issue. Set to `false` to disable
23+
closeComment: false
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [develop, master]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [develop]
9+
schedule:
10+
- cron: '0 13 * * 1'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
with:
21+
# We must fetch at least the immediate parents so that if this is
22+
# a pull request then we can checkout the head.
23+
fetch-depth: 2
24+
25+
# If this run was triggered by a pull request event, then checkout
26+
# the head of the pull request instead of the merge commit.
27+
- run: git checkout HEAD^2
28+
if: ${{ github.event_name == 'pull_request' }}
29+
30+
# Initializes the CodeQL tools for scanning.
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v1
33+
# Override language selection by uncommenting this and choosing your languages
34+
# with:
35+
# languages: go, javascript, csharp, python, cpp, java
36+
37+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38+
# If this step fails, then you should remove it and run the build manually (see below)
39+
- name: Autobuild
40+
uses: github/codeql-action/autobuild@v1
41+
42+
# ℹ️ Command-line programs to run using the OS shell.
43+
# 📚 https://git.io/JvXDl
44+
45+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
46+
# and modify them (or add more) to build your code if your project
47+
# uses a compiled language
48+
49+
#- run: |
50+
# make bootstrap
51+
# make release
52+
53+
- name: Perform CodeQL Analysis
54+
uses: github/codeql-action/analyze@v1

.travis.yml

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ node_js:
66
services:
77
- docker
88

9+
cache: false
10+
11+
before_install:
12+
- sudo add-apt-repository -y ppa:libreoffice/ppa
13+
- sudo apt-get update
14+
- sudo apt-get -y install libreoffice
15+
- sudo apt-get -y install libreoffice-pdfimport
16+
917
install:
1018
- "bin/installDeps.sh"
1119
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
12-
- "npm install ep_test_line_attrib"
13-
14-
before_script:
15-
- "tests/frontend/travis/sauce_tunnel.sh"
1620

1721
script:
1822
- "tests/frontend/travis/runner.sh"
@@ -24,25 +28,39 @@ env:
2428

2529
jobs:
2630
include:
31+
# we can only frontend tests from the ether/ organization and not from forks.
32+
# To request tests to be run ask a maintainer to fork your repo to ether/
33+
- if: fork = false
34+
name: "Test the Frontend"
35+
install:
36+
#FIXME
37+
- "sed 's/\"loglevel\": \"INFO\",/\"loglevel\": \"WARN\",/g' settings.json.template > settings.json"
38+
- "tests/frontend/travis/sauce_tunnel.sh"
39+
- "bin/installDeps.sh"
40+
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
41+
script:
42+
- "tests/frontend/travis/runner.sh"
2743
- name: "Run the Backend tests"
2844
install:
45+
- "bin/installDeps.sh"
2946
- "cd src && npm install && cd -"
3047
script:
3148
- "tests/frontend/travis/runnerBackend.sh"
32-
- name: "Test the Frontend"
49+
## Temporarily commented out the Dockerfile tests
50+
# - name: "Test the Dockerfile"
51+
# install:
52+
# - "cd src && npm install && cd -"
53+
# script:
54+
# - "docker build -t etherpad:test ."
55+
# - "docker run -d -p 9001:9001 etherpad:test && sleep 3"
56+
# - "cd src && npm run test-container"
57+
- name: "Load test Etherpad"
3358
install:
3459
- "bin/installDeps.sh"
35-
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
36-
- "npm install ep_test_line_attrib"
37-
script:
38-
- "tests/frontend/travis/runner.sh"
39-
- name: "Test the Dockerfile"
40-
install:
4160
- "cd src && npm install && cd -"
61+
- "npm install -g etherpad-load-test"
4262
script:
43-
- "docker build -t etherpad:test ."
44-
- "docker run -d -p 9001:9001 etherpad:test && sleep 3"
45-
- "cd src && npm run test-container"
63+
- "tests/frontend/travis/runnerLoadTest.sh"
4664

4765
notifications:
4866
irc:

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
# Develop -- TODO Change to 1.8.x.
2+
* ...
3+
4+
# 1.8.5
5+
* IMPORTANT DROP OF SUPPORT: Drop support for IE. Browsers now need async/await.
6+
* IMPORTANT SECURITY: Rate limit Commits when env=production
7+
* SECURITY: Non completed uploads no longer crash Etherpad
8+
* SECURITY: Log authentication requests
9+
* FEATURE: Support ES6 (migrate from Uglify-JS to Terser)
10+
* FEATURE: Improve support for non-cookie enabled browsers
11+
* FEATURE: New hooks for ``index.html``
12+
* FEATURE: New script to delete sessions.
13+
* FEATURE: New setting to allow import withing an author session on a pad
14+
* FEATURE: Checks Etherpad version on startup and notifies if update is available. Also available in ``/admin`` interface.
15+
* FEATURE: Timeslider updates pad location to most recent edit
16+
* MINOR: Outdent UL/LI items on removal of list item
17+
* MINOR: Various UL/LI import/export bugs
18+
* MINOR: PDF export fix
19+
* MINOR: Front end tests no longer run (and subsequently error) on pull requests
20+
* MINOR: Fix issue with </li> closing a list before it opens
21+
* MINOR: Fix bug where large pads would fire a console error in timeslider
22+
* MINOR: Fix ?showChat URL param issue
23+
* MINOR: Issue where timeslider URI fails to be correct if padID is numeric
24+
* MINOR: Include prompt for clear authorship when entire document is selected
25+
* MINOR: Include full document aText every 100 revisions to make pad restoration on database curruption achievable
26+
* MINOR: Several Colibris CSS fixes
27+
* MINOR: Use mime library for mime types instead of hard-coded.
28+
* MINOR: Don't show "new pad button" if instance is read only
29+
* MINOR: Use latest NodeJS when doing Windows build
30+
* MINOR: Change disconnect logic to reconnect instead of silently failing
31+
* MINOR: Update SocketIO, async, jQuery and Mocha which were stuck due to stale code.
32+
* MINOR: Rewrite the majority of the ``bin`` scripts to use more modern syntax
33+
* MINOR: Improved CSS anomation through prefers-reduced-motion
34+
* PERFORMANCE: Use workers (where possible) to minify CSS/JS on first page request. This improves initial startup times.
35+
* PERFORMANCE: Cache EJS files improving page load speed when maxAge > 0.
36+
* PERFORMANCE: Fix performance for large pads
37+
* TESTS: Additional test coverage for OL/LI/Import/Export
38+
* TESTS: Include Simulated Load Testing in CI.
39+
* TESTS: Include content collector tests to test contentcollector.js logic external to pad dependents.
40+
* TESTS: Include fuzzing import test.
41+
* TESTS: Ensure CI is no longer using any cache
42+
* TESTS: Fix various tests...
43+
* TESTS: Various additional Travis testing including libreoffice import/export
44+
145
# 1.8.4
246
* FIX: fix a performance regression on MySQL introduced in 1.8.3
347
* FIX: when running behind a reverse proxy and exposed in an inner directory, fonts and toolbar icons should now be visible. This is a regression introduced in 1.8.3

0 commit comments

Comments
 (0)