Commit graph

8473 commits

Author SHA1 Message Date
JannikStreek
04063d664b
cleanup after workspace refactoring (#6174)
* fix bin folder and workflows as far its possible

cleanup of dockerfile

changed paths of scripts

add lock file

fix working directory for workflows

fix windows bin

fix travis (is travis used anyway?)

fix package refs

remove pnpm-lock file in root as these conflicts with the docker volume setup

optimize comments

use install again

refactor prod image call to run

fix --workspace can only be used inside a workspace

correct comment

try fix pipeline

try fix pipeline for upgrade-from-latest-release

install all deps

smaller adjustments

save

update dockerfile

remove workspace command

fix run test command

start repair latest release workflow

start repair latest release workflow

start repair latest release workflow

further repairs

* remove test plugin from docker compose
2024-02-21 21:50:11 +01:00
Denys Halenok
4f53142d7f
Don't install all dependencies from node_modules (#6173) 2024-02-20 11:16:20 +01:00
SamTV12345
157cad786c Fixed admin tests. 2024-02-20 10:18:29 +01:00
SamTV12345
fe82700514 Fixed frontend tests. 2024-02-20 10:16:34 +01:00
SamTV12345
c78c83da35 Fixed missing workspace declaration. 2024-02-19 22:39:16 +01:00
JannikStreek
b4ac96d823
Refactor project structure and introduce workspaces (#6170)
* prototype for structure change - working

* move server.ts

* Revert "move server.ts"

This reverts commit 4cf2e61dc0.

* adjusted package file

* further cleanup

* add workspace root flag

* fix docker install

* fix loadtest

* fix run
2024-02-19 22:31:27 +01:00
SamTV12345
a8ff9d5667 Fixed admin panel from not loading 2024-02-19 22:29:33 +01:00
translatewiki.net
a3107c4e39 Localisation updates from https://translatewiki.net. 2024-02-19 13:04:36 +01:00
Hossein Marzban
b2be2ca714
Migrate Socket.IO from Version 2 to Version 3 🚀 (#6152)
* feat :migrate socket.io 2 -> 3

* fix: backend test

* fix: ts error

* rm

* reset the test timeout

* Updated cli client.

* Updated lock file.

* Use updated load tester.

---------

Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2024-02-17 21:36:26 +01:00
SamTV12345
47f0113fd7
Fixed scripts in bin folder (#6163) 2024-02-17 16:21:16 +01:00
JannikStreek
03c8518e66
add docker dev setup (#6155)
* fix docker setup

* wording fix

* remove production env

* remove unneeded docker parts

* fix image size

* add readme

* add dev readme

* further refactoring

* make version work

* cleanup ignore

* refactor commit

* fix pnpm mount
2024-02-16 20:58:27 +01:00
dependabot[bot]
5d24593dd8
build(deps): bump ueberdb2 from 4.2.55 to 4.2.56 in /src (#6160)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.55 to 4.2.56.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.55...v4.2.56)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 20:20:57 +01:00
dependabot[bot]
a70872c694
build(deps-dev): bump @types/node from 20.11.18 to 20.11.19 in /src (#6161)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.18 to 20.11.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 20:20:51 +01:00
dependabot[bot]
18fbc62db0
build(deps): bump rate-limiter-flexible from 4.0.1 to 5.0.0 in /src (#6162)
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 4.0.1 to 5.0.0.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/compare/v4.0.1...v5.0.0)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 20:20:44 +01:00
dependabot[bot]
4654ccc92d
build(deps): bump terser from 5.27.0 to 5.27.1 in /src (#6157)
Bumps [terser](https://github.com/terser/terser) from 5.27.0 to 5.27.1.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.27.0...v5.27.1)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 17:01:59 +01:00
dependabot[bot]
16e33c2703
build(deps-dev): bump @types/node from 20.11.17 to 20.11.18 in /src (#6158)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.17 to 20.11.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 17:01:49 +01:00
dependabot[bot]
12e5da8611
build(deps): bump ueberdb2 from 4.2.54 to 4.2.55 in /src (#6154)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.54 to 4.2.55.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.54...v4.2.55)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 18:02:45 +01:00
translatewiki.net
45cfec6ebf Localisation updates from https://translatewiki.net. 2024-02-12 13:05:34 +01:00
SamTV12345
253186daf5 Synced etherpad-lite version on develop with master. 2024-02-11 11:49:38 +01:00
Kalepu Satya Sai Teja
726cef8492
Fix: #5001 Don't wrap URLs (#5887) 2024-02-11 11:22:17 +01:00
dependabot[bot]
d569940990
build(deps): bump actions/cache from 3 to 4 (#6149)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-11 11:19:34 +01:00
SamTV12345
df9dfbf4b1
Update dependabot.yml 2024-02-11 11:18:04 +01:00
SamTV12345
21e498b815
Update dependabot.yml to use pnpm 2024-02-11 11:16:14 +01:00
SamTV12345
361b38ae50
Added pnpm (#6148)
* Added pnpm

* Removed cache for npm.

* Fixed.

* Added pnpm

* Fixed install script.

* Fixed windows script.

* Fixed.

* Fixed.

* Fixed install.

* Only install direct dependencies.

* Only install direct dependencies.

* Only install direct dependencies.

* Fixed windows build.

* fixed.

* fixed deploy.

* Fixed docker build.

* Fixed windows deploy

* Fixed docker build

* Fixed healthcheck.

* fixed.

* Fixed detection of live plugin managers dependencies.

* fixed.

* Remove Node 19 as it is not supported.

* Fixed.

* Fixed installDeps.sh

* Fixed.

* Fixed windows install.

* Fixed cypress path.

* Fixed.

* Run etherpad in background.

* Install cypress.
2024-02-11 09:51:42 +01:00
SamTV12345
96c81906cb Fixed typo in function call. 2024-02-10 11:36:09 +01:00
Winston Sung
e718acaaf8
Fix Accept-Language detection (#6144)
fixes #6129

Bug: #6129
Bug: #6144
Follows-Up: #3882
Change-Id: Ie3fcec84948fde36fa12448d5eabaf05f79f1283
2024-02-10 11:27:02 +01:00
dependabot[bot]
9560f71f2c
build(deps-dev): bump @types/node from 20.11.16 to 20.11.17 in /src (#6146)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.16 to 20.11.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 18:18:45 +01:00
dependabot[bot]
62ea1c305e
build(deps): bump ueberdb2 from 4.2.52 to 4.2.53 in /src (#6147)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.52 to 4.2.53.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.52...v4.2.53)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-09 18:18:38 +01:00
dependabot[bot]
b1058669e6
build(deps): bump semver from 7.5.4 to 7.6.0 in /src (#6139)
Bumps [semver](https://github.com/npm/node-semver) from 7.5.4 to 7.6.0.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.5.4...v7.6.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:55:03 +01:00
dependabot[bot]
77ecc1bd9c
build(deps): bump ueberdb2 from 4.2.51 to 4.2.52 in /src (#6140)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.51 to 4.2.52.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.51...v4.2.52)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:54:52 +01:00
dependabot[bot]
c3f61a6e23
build(deps): bump axios from 1.6.5 to 1.6.7 in /src (#6141)
Bumps [axios](https://github.com/axios/axios) from 1.6.5 to 1.6.7.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.5...v1.6.7)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:54:45 +01:00
dependabot[bot]
10dace6960
build(deps): bump jsdom from 23.2.0 to 24.0.0 in /src (#6142)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 23.2.0 to 24.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/23.2.0...24.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:54:37 +01:00
dependabot[bot]
2b0af8bd32
build(deps-dev): bump mocha from 10.2.0 to 10.3.0 in /src (#6143)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:54:29 +01:00
dependabot[bot]
46a6f348b5
build(deps): bump ueberdb2 from 4.2.50 to 4.2.51 in /src (#6138)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.50 to 4.2.51.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.50...v4.2.51)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:17:23 +01:00
dependabot[bot]
a61147385b
build(deps): bump joncloud/makensis-action from 3.7 to 4.1 (#6132)
Bumps [joncloud/makensis-action](https://github.com/joncloud/makensis-action) from 3.7 to 4.1.
- [Release notes](https://github.com/joncloud/makensis-action/releases)
- [Commits](https://github.com/joncloud/makensis-action/compare/v3.7...v4.1)

---
updated-dependencies:
- dependency-name: joncloud/makensis-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:13:40 +01:00
dependabot[bot]
5ee314f6fa
build(deps-dev): bump @types/node from 20.11.5 to 20.11.16 in /src (#6133)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.5 to 20.11.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:13:27 +01:00
dependabot[bot]
109de83542
build(deps): bump rate-limiter-flexible from 4.0.0 to 4.0.1 in /src (#6134)
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases)
- [Commits](https://github.com/animir/node-rate-limiter-flexible/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: rate-limiter-flexible
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:12:02 +01:00
dependabot[bot]
099aaaa05f
build(deps-dev): bump selenium-webdriver from 4.16.0 to 4.17.0 in /src (#6135)
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.16.0...selenium-4.17.0)

---
updated-dependencies:
- dependency-name: selenium-webdriver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:11:45 +01:00
dependabot[bot]
f857f7ec65
build(deps): bump ueberdb2 from 4.2.48 to 4.2.50 in /src (#6136)
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 4.2.48 to 4.2.50.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ether/ueberDB/compare/v4.2.48...v4.2.50)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:11:38 +01:00
dependabot[bot]
719862a518
build(deps): bump openapi-backend from 5.10.5 to 5.10.6 in /src (#6137)
Bumps [openapi-backend](https://github.com/openapistack/openapi-backend) from 5.10.5 to 5.10.6.
- [Commits](https://github.com/openapistack/openapi-backend/compare/5.10.5...5.10.6)

---
updated-dependencies:
- dependency-name: openapi-backend
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 23:11:31 +01:00
SamTV12345
92b9ea2af4 Use npm@6 2024-02-06 22:56:10 +01:00
SamTV12345
f6fa13ff72 Fixed windows build and add cypress to dev dependencies. 2024-02-06 22:53:35 +01:00
SamTV12345
ead3c0ea38
Added typescript to etherpad
* Fixed determining file extension.

* Added ts-node

* Fixed backend tests.

* Fixed frontend test runs.

* Fixed tests.

* Use script approach for starting etherpad.

* Change directory to src.

* Fixed env.

* Change directory

* Fixed build arg.

* Fixed docker build.

* Fixed.

* Fixed cypress file path.

* Fixed.

* Use latest node container.

* Fixed windows workflow.

* Use tsx and optimized docker image.

* Added workflow for type checks.

* Fixed.

* Added tsconfig.

* Converted more files to typescript.

* Removed commented keys.

* Typed caching middleware.

* Added script for checking the types.

* Moved SecretRotator to typescript.

* Fixed npm installation and moved to types folder.

* Use better scripts for watching typescript changes.

* Update windows.yml

* Fixed order of npm installation.

* Converted i18n.

* Added more types.

* Added more types.

* Fixed import.

* Fixed tests.

* Fixed tests.

* Fixed type checking test.

* Fixed stats

* Added express types.

* fixed.
2024-02-05 21:13:02 +01:00
dependabot[bot]
c3202284bc
build(deps): bump marked from 11.2.0 to 12.0.0 in /src/bin/doc (#6131)
Bumps [marked](https://github.com/markedjs/marked) from 11.2.0 to 12.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v11.2.0...v12.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 21:09:33 +01:00
SamTV12345
75b99386f2 Merge branch 'master' into develop 2024-02-05 20:17:02 +01:00
SamTV12345
6814aa9a3c Merge branch 'develop' 2024-02-05 20:17:01 +01:00
SamTV12345
cc957ffa48 bump version 2024-02-05 20:17:00 +01:00
SamTV12345
2727065ab7 Added v1.9.7 changelog. 2024-02-05 20:16:39 +01:00
translatewiki.net
bd6f9f8319 Localisation updates from https://translatewiki.net. 2024-02-05 13:05:11 +01:00
dependabot[bot]
5896b9cf27
build(deps): bump ueberdb2 from 4.2.48 to 4.2.50 in /src (#6130) 2024-02-04 17:43:50 +01:00