Erik Michelson
9eb619b957
chore(deps): bump @hedgedoc/realtime to 0.2.0
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-28 18:03:19 +02:00
Erik Michelson
1938b6eefe
fix(websocket): error when leaving realtime-note
...
When a user left a realtime-note, the awareness tried to send events even after the socket was closed, resulting in the app crashing.
This fix adds the check that the socket is still open before sending any messages.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-28 18:03:19 +02:00
renovate[bot]
26d9bf4dde
Update dependency eslint-plugin-jest to v27
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-28 17:57:23 +02:00
renovate[bot]
e0ecda478a
Update dependency eslint-plugin-jest to v26.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-28 17:35:50 +02:00
renovate[bot]
146c1f5a4d
Update dependency katex to v0.16.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-28 17:31:56 +02:00
Tilman Vatteroth
03d87f59f8
improve: Move notifications from redux into context
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-28 17:04:56 +02:00
Tilman Vatteroth
b797f07aa5
fix: Move file upload logic into hook
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-28 17:04:56 +02:00
Tilman Vatteroth
ccbbaeb843
fix: Let upload-input also accept non-async-change-callbacks
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-28 17:04:56 +02:00
Tilman Vatteroth
d4493aed95
improve: Refactor use-code-mirror-file-insert-extension
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-28 17:04:56 +02:00
Tilman Vatteroth
8245a519e0
fix: Use more strict vimeo id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
Tilman Vatteroth
9996df1abd
fix: Use more strict speakerdeck id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
Tilman Vatteroth
8274fe0dad
fix: Use more strict slideshare id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
Tilman Vatteroth
bb90f31d0f
fix: Use more strict pdf id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
Tilman Vatteroth
db93b33eb3
fix: Use more strict gist id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
Tilman Vatteroth
56744db3a2
fix: Use more strict youtube id regex
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-27 18:26:01 +02:00
renovate[bot]
95228c5d19
Update Yarn to v3.2.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 18:14:27 +02:00
renovate[bot]
2d276d0cb3
Update dependency typescript to v4.8.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 17:53:59 +02:00
renovate[bot]
ee76d5886e
Update jest monorepo to v29 (major) ( #2321 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2022-08-27 16:56:42 +02:00
renovate[bot]
92e3558bbc
Update dependency dompurify to v2.4.0 ( #2317 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 16:20:14 +02:00
renovate[bot]
6a2ea9a01d
Update linters ( #2320 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 16:19:03 +02:00
renovate[bot]
89ec9ece56
Update dependency netlify-cli to v11.5.0 ( #2318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 16:18:13 +02:00
renovate[bot]
de9f546204
Update dependency abcjs to v6.1.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 15:14:51 +02:00
renovate[bot]
a86e2a53cb
Update dependency react-bootstrap to v1.6.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 15:09:22 +02:00
renovate[bot]
06fae613fe
Update definitely typed
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 15:08:44 +02:00
renovate[bot]
ead297ae4d
Update dependency react-i18next to v11.18.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 15:00:55 +02:00
renovate[bot]
2c2b4c6b67
Update actions/cache action to v3.0.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 14:33:31 +02:00
renovate[bot]
265730f97b
Update dependency @uiw/react-codemirror to v4.11.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 14:32:31 +02:00
renovate[bot]
8b65120409
Update dependency @mrdrogdrog/optional to v0.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 14:30:25 +02:00
Tilman Vatteroth
a19384a91c
fix: e2e dependency install
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 20:19:54 +02:00
renovate[bot]
a41255a367
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 20:19:54 +02:00
Tilman Vatteroth
b14a7998e2
chore: Update @codemirror/view to 6.2.1
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 20:19:54 +02:00
renovate[bot]
a94fa5a184
Update dependency @reduxjs/toolkit to v1.8.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-25 18:36:57 +02:00
Erik Michelson
6cc11d07e3
fix(note-deletion): Add required keepMedia property and redirect
...
The backend requires a property "keepMedia" that states whether uploaded media should be kept around or not.
This property was missing in our API call.
Additionally, after deleting a note, the user is now redirected to the history page.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-25 17:50:24 +02:00
Erik Michelson
d57b2f27fd
fix(pinning): Use new object for redux mutations
...
Elements retrieved from the redux state must not be manipulated.
Instead, a new object is created with the adjusted properties and committed to the redux store.
A missing css class has been additionally added, so that the pinning state can be deduced from the color of the sidebar icon.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-25 17:50:24 +02:00
Erik Michelson
761f112491
fix(revisions): Sort revisions by newest descending
...
Users probably expect the revision list to be sorted with the newest revision being the first one in the list.
This change sorts the revisions by their timestamp descending.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-25 17:50:24 +02:00
Erik Michelson
a064d57387
feat(register): Show success message and rediredt after register
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-25 17:50:24 +02:00
Erik Michelson
1cdc8dfeb2
fix(access-tokens): Use label instead of placeholder in translation
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-25 17:50:24 +02:00
Tilman Vatteroth
f3450d66a9
fix: suppress error when fetching user information in application loader
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 14:57:49 +02:00
Tilman Vatteroth
5e06e4ab3c
fix: don't suppress error when fetching user information
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 14:57:49 +02:00
Tilman Vatteroth
6e103a856e
fix: remove redundant redirect code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-25 14:57:49 +02:00
Philip Molares
f7a51cd406
test: check that .rocks links are correctly rendered
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-08-25 10:34:37 +02:00
Philip Molares
50176170c3
feat: configure linkify in markdownit with tlds
...
See https://markdown-it.github.io/markdown-it/
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-08-25 10:34:37 +02:00
Philip Molares
0b06ce53e6
chore(dependency): add tlds package
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-08-25 10:34:37 +02:00
renovate[bot]
1e016aef19
Update dependency netlify-cli to v11 ( #2302 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-21 11:22:27 +02:00
renovate[bot]
efe5f82e1d
Update dependency vega-lite to v5.5.0 ( #2301 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-21 11:21:36 +02:00
renovate[bot]
8e937652f7
Update dependency @types/jest to v28.1.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 12:46:42 +02:00
renovate[bot]
d72a6c146c
Update dependency sass to v1.54.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 12:44:18 +02:00
renovate[bot]
2ea3392586
Update dependency mermaid to v9.1.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 11:59:43 +02:00
renovate[bot]
fea94a663e
Update dependency cypress to v10.6.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 11:59:27 +02:00
renovate[bot]
dc118b9741
Update i18next
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-20 11:59:05 +02:00