Commit graph

6046 commits

Author SHA1 Message Date
Erik Michelson
e53ad15bfe enhancement(sidebar): hide delete note button when not being the owner
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Tilman Vatteroth
f786fe538b fix(editor): fix emoji picker data path
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:47:00 +02:00
Tilman Vatteroth
e7ca2f9894 chore(deps): pin lezer/common
different version of this package cause
https://github.com/codemirror/dev/issues/1280

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:33:14 +02:00
Tilman Vatteroth
72a211b58f Revert "fix(codemirror): remove defect language highlighting"
This reverts commit 6e36ab56b7.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 13:33:14 +02:00
renovate[bot]
7050d7d5ed chore(deps): update dependency @darraghor/eslint-plugin-nestjs-typed to v4.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 11:12:09 +00:00
Erik Michelson
6e36ab56b7 fix(codemirror): remove defect language highlighting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 12:58:59 +02:00
Philip Molares
9a81e3ae18 refactor: remove name tooltip from user avatar
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 12:58:46 +02:00
renovate[bot]
c8d654e700 fix(deps): update dependency emoji-picker-element-data to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-08 09:24:13 +02:00
David Mehren
56e2270736 fix(session-service): properly handle session store results
Previously, an undefined result in fetchUsernameForSessionId
was handled the same way as an error, rejecting the promise.

This fixes the behavior, only rejecting the promise if an error
is returned from the session store and properly returning
undefined if the session store returns that.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 19:01:57 +02:00
David Mehren
4426d6f51a chore(deps): update to git version of ts-node
The last release is more than a year old and does not
support TS 5.0 properly

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 19:01:57 +02:00
Erik Michelson
792f4b7dbc fix: show guest access button only with relevant config being set
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:25:05 +02:00
Erik Michelson
cd68794157 fix: redirect to history page after register to avoid problems
With the previous redirect to the root page, there were some problems when having no other routes in the route history.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 18:04:24 +02:00
Philip Molares
f47f6c3658 fix: clicking the logo let's the user get back to the note
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 18:00:20 +02:00
Philip Molares
2693ebbb82 feat(editor): show notification if user is not allowed to edit note
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 17:49:55 +02:00
renovate[bot]
104bc070ed chore(deps): update ossf/scorecard-action action to v2.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:37:26 +02:00
renovate[bot]
1a188c829e chore(deps): update github/codeql-action action to v2.22.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:36:22 +02:00
renovate[bot]
7ae167c232 fix(deps): update dependency mermaid to v10.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:46 +02:00
renovate[bot]
fc763d74c4 fix(deps): update dependency vega-embed to v6.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:38 +02:00
renovate[bot]
d5d44e43ed fix(deps): update dependency joi to v17.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:25:07 +02:00
renovate[bot]
babc53e166 fix(deps): update dependency sass to v1.69.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:50 +02:00
renovate[bot]
bb707c49a6 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:24:07 +02:00
renovate[bot]
9df6a24792 chore(deps): update dependency eslint to v8.51.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:20 +02:00
renovate[bot]
f340c30945 chore(deps): update dependency ts-loader to v9.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 16:23:00 +02:00
Erik Michelson
1fefabb3b2 fix: use correct import for identicon
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 16:17:55 +02:00
Philip Molares
a73e539a20 fix: check if auth names contain duplicates
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 16:05:59 +02:00
Philip Molares
5435dd54ee fix(sidebar): indicate that some feature are not yet supported
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 15:55:23 +02:00
Erik Michelson
5d396eb99c fix: change property name in backend DTO
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 15:51:32 +02:00
Erik Michelson
a8b3b117dc feature: add identicon generation to users without photo
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 15:51:32 +02:00
renovate[bot]
55398e2428 chore(deps): update definitelytyped
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:29:23 +00:00
renovate[bot]
c95efbee25 chore(deps): update codemirror
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 13:04:29 +00:00
renovate[bot]
1fa8e5fca0 chore(deps): fix yarn license file
Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 12:44:15 +00:00
renovate[bot]
f3a3055e08 chore(deps): update yarn to v3.6.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 12:44:15 +00:00
Philip Molares
c4dade2fc5 fix: height and width of history table button
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 14:44:04 +02:00
renovate[bot]
585e1989e1 chore(deps): update dependency @types/node to v20.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-07 14:39:13 +02:00
Philip Molares
5335c48df7 feat(config): warn user about not yet supported config
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 14:33:21 +02:00
Philip Molares
d43da06ec1 refactor: remove dropbox, facebook & twitter login
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-07 13:28:37 +02:00
Erik Michelson
29bf32b76f enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
3dfad0cea5 enhancement: use isLoggedIn hook
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
Erik Michelson
8e10fb6804 fix: show new note button only dependent on guest access
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-07 12:34:34 +02:00
David Mehren
170977baa9 fix: ensure successful startup is logged
The default log level is 'warning', so we log the final
startup message as warning to ensure it is visible by default.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 11:11:45 +02:00
David Mehren
0693812e8b refactor: remove HstsConfig
This config object was originally ported from the HD1 config,
but is not required anymore.

HD2 does not support handling TLS anymore, so it does not make
sense for it to set TLS-related headers.
The reverse proxy terminating TLS can easily set HSTS headers.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 11:10:37 +02:00
renovate[bot]
bf3e7e1f44 chore(deps): update dependency mkdocs-material to v9.4.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 22:04:14 +00:00
renovate[bot]
41a6754c74 chore(deps): update dependency turbo to v1.10.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 15:40:33 +00:00
renovate[bot]
19da3bf1ab fix(deps): update nestjs packages to v10.2.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 10:53:25 +00:00
renovate[bot]
7915da91a8 fix(deps): update dependency @reduxjs/toolkit to v1.9.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 00:17:30 +00:00
renovate[bot]
861eec4358 chore(deps): update dependency @types/react to v18.2.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 22:42:06 +00:00
renovate[bot]
b2cb978dec chore(deps): update dependency @types/react-dom to v18.2.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 20:12:13 +00:00
renovate[bot]
2b27bd27b9 chore(deps): update dependency @types/react-dom to v18.2.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:14:31 +00:00
renovate[bot]
43b83c29cd fix(deps): update dependency @uiw/react-codemirror to v4.21.19
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 17:13:06 +00:00
renovate[bot]
59193cd3bc fix(deps): update dependency @nestjs/swagger to v7.1.13
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 07:17:47 +00:00