Commit graph

4764 commits

Author SHA1 Message Date
renovate[bot]
d0f2b0a471 chore(deps): update dependency eslint to v8.37.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 15:09:22 +02:00
renovate[bot]
2f1c6d3033 chore(deps): update definitelytyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 02:25:00 +02:00
Tilman Vatteroth
598fc8ee11 feat(realtime): synchronize and show realtime activity state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Tilman Vatteroth
9497726a7c feat(frontend): show indicator in document title for background changes
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:43 +02:00
Erik Michelson
336e621bc4 fix(cursor): cursor text being hidden when at start of line
Addiotionally, the cursor's font was not defined and therefore was styled in the browser's default font

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-29 01:16:09 +02:00
renovate[bot]
3dbc07d25a chore(deps): update dependency cypress to v12.9.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-29 00:26:20 +02:00
renovate[bot]
843f4ed930 chore(deps): update dependency eslint-plugin-cypress to v2.13.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 22:52:17 +02:00
Tilman Vatteroth
972ec8c9c5 feat(realtime): disconnect user on user login status change
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 21:05:12 +02:00
Tilman Vatteroth
9b9eafc948 feature: add button to open cheatsheet in a new tab
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 20:38:25 +02:00
Tilman Vatteroth
438a5466e0 fix: show modal close button with correct color in dark mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 20:38:25 +02:00
renovate[bot]
3dc60407b6 fix(deps): update dependency @uiw/react-codemirror to v4.19.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 11:46:39 +02:00
renovate[bot]
2428b50b74 chore(deps): update dependency @codemirror/language-data to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 11:35:01 +02:00
Tilman Vatteroth
5299b569f7 fix(backend): keep log output in dev mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 11:34:05 +02:00
renovate[bot]
b60ccfe3d4 fix(deps): update dependency react-bootstrap-typeahead to v6.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 10:20:03 +02:00
Tilman Vatteroth
391c67f26b fix(renovate): fix ignored filename in renovate config
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 10:05:59 +02:00
Tilman Vatteroth
8953dc0d1d fix(docker): remove docker image hashes from example docker-compose.yml
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 09:13:29 +02:00
Tilman Vatteroth
65737ccc88 fix(renovate): ignore example docker_compose.yml
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-28 09:13:29 +02:00
renovate[bot]
b70ba9a935 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to f06c61c
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 06:58:37 +00:00
renovate[bot]
985dfbdfde chore(deps): update dependency turbo to v1.8.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-28 02:44:27 +00:00
renovate[bot]
c2ecf4bb45 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to e219c39
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 01:19:14 +00:00
renovate[bot]
a135f1379b chore(deps): update dependency @types/react to v18.0.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-27 22:08:24 +02:00
renovate[bot]
4d749fb480 chore(deps): update typescript-eslint monorepo to v5.57.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:58:01 +02:00
renovate[bot]
6590884e71 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to eaf43eb
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:57:18 +02:00
renovate[bot]
b850adf57f chore(deps): update ghcr.io/hedgedoc/hedgedoc/frontend:develop docker digest to 746b12e
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:57:06 +02:00
renovate[bot]
fd131a3187 chore(deps): update github/codeql-action action to v2.2.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 19:56:31 +02:00
renovate[bot]
f3c6073ef8 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to 99021b9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 13:30:23 +02:00
renovate[bot]
8885d45e75 chore(deps): update ghcr.io/hedgedoc/hedgedoc/frontend:develop docker digest to 7919d96
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 13:30:13 +02:00
renovate[bot]
cdbf64bc92 fix(deps): update dependency abcjs to v6.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 12:24:40 +02:00
renovate[bot]
c18bdeebb5 chore(deps): update ghcr.io/hedgedoc/hedgedoc/frontend:develop docker digest to 7cc61c2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-27 10:17:59 +00:00
renovate[bot]
cd74262bc9 chore(deps): update ghcr.io/hedgedoc/hedgedoc/backend:develop docker digest to 6c87708
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 23:44:32 +00:00
David Mehren
f238b216f9 build: use node18 tsconfig preset
Because of https://github.com/typeorm/typeorm/pull/9884, we need to manually disable useDefineForClassFields

Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 20:21:46 +02:00
Tilman Vatteroth
8fc59aad82 refactor: make permission service less complex
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 20:21:13 +02:00
Tilman Vatteroth
0f8effd318 fix: use correct body parameter for permission controller
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 20:21:13 +02:00
Tilman Vatteroth
ef699a9123 fix: disconnect websocket if trying to send over closed connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 17:36:25 +02:00
David Mehren
57701b5d6c docs: add note about separate renderer domain
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
David Mehren
80eb4c8a1a docs: change default session secret in docker deployment
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
David Mehren
f7f052fca1 refactor: use separate env vars for frontend/backend port
As we moved to a combined .env file for simplicity, frontend and backend need to be configured with separate variables.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
David Mehren
55f3bd9b60 refactor: move .env file to repo root
Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-26 15:53:49 +02:00
Erik Michelson
408d82e280 enhancement(auth): better error message handling
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-26 15:43:39 +02:00
Erik Michelson
ca9836d691 enhancement(auth): better error message handling
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-26 15:43:39 +02:00
Philip Molares
8e57188ab5 refactor(common): extract frontmatter code into commons
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 14:58:38 +02:00
Philip Molares
8bd7fd1be8 refactor(common): extract frontmatter code into commons
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-26 14:58:38 +02:00
Tilman Vatteroth
a78ac5f097 fix: use correct callback on websocket error
the error event of the websocket occurs if the connection is already closed.
Therefore, the disconnect call does nothing and the transporter won't throw the disconnected event.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-26 12:25:40 +02:00
renovate[bot]
c746495e5f chore(deps): pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 12:17:51 +02:00
renovate[bot]
37c57d67f0 chore(deps): update dependency @types/node to v18.15.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-26 09:17:34 +02:00
Tilman Vatteroth
b4f73c0f49 fix: convert realtime connection dialog into alert
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-25 16:41:25 +01:00
David Mehren
925bb85d2f build: add eslint rule forbidding TypeORM Equal constructor
TypeORMs Equal constructor is buggy and should not be used.
This introduces a ESLint rule that checks for that.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-03-25 16:29:14 +01:00
Erik Michelson
97389fe0c4 fix: useTranslation hook in react components
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 16:14:03 +01:00
Philip Molares
8d497bcfc5 feat(frontend): show own user in UsersOnlineSidebarMenu
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-03-25 15:27:38 +01:00
Erik Michelson
61032cb745 feat(editor): add basic codemirror autocompletion suggestions
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-03-25 15:13:24 +01:00