Tilman Vatteroth
e831450f6f
fix(deps): Replace deprecated packages with @hedgedoc/markdown-it-plugins
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-24 21:08:13 +02:00
Tilman Vatteroth
80a5a73a9d
fix(i18next): fix used types
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-23 00:31:45 +02:00
Tilman Vatteroth
8a957fbf27
fix(translations): fix types
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-23 00:31:45 +02:00
Tilman Vatteroth
5ba1e9e565
feat(splitter): add snapping, icon and buttons to splitter
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-21 11:44:17 +02:00
Tilman Vatteroth
0984a84a68
fix(click-shield): Fix sizing in firefox
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-21 11:44:17 +02:00
Tilman Vatteroth
77ce42bc0c
fix(login): Fix login button url
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-19 20:41:47 +02:00
Tilman Vatteroth
14abab657d
fix(sidebar): Remove pdf export entry
...
The URL that is used in this entry doesn't exist anymore.
We don't plan to implement pdf export with 2.0 anyway so this entry isn't needed.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-16 21:12:53 +02:00
Tilman Vatteroth
c508a7a2b3
chores: Migrate react-bootstrap changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-16 20:23:09 +02:00
Tilman Vatteroth
665f93d800
feat(extensions): Introduce app extensions
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-09 22:51:41 +02:00
Tilman Vatteroth
afe35ca164
fix(markdown extensions): Rename tag name allow list method name
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-09 22:51:41 +02:00
Tilman Vatteroth
7a9951e351
fix(component replacer): Use symbol for DO_NOT_REPLACE instead of undefined
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-09 22:51:41 +02:00
Tilman Vatteroth
34481513da
feat(render-iframe): show wait spinner until renderer is ready
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
07c77d633c
fix(motd): remove redundant suspense
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
6d580a0eee
feat(intro): use AsyncLoadingBoundary
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
ba96f07374
feat(motd): use iframe renderer for motd
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
579919f142
feat(renderer): Add flag to enable auto height for render iframe
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
2817740c94
feat(renderer): Use callback instead of redux for renderer ready
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-08 18:46:17 +02:00
Tilman Vatteroth
16bb83f74a
feat(window post message communicator): Add uuid to frames
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-07 23:48:41 +02:00
Tilman Vatteroth
883f868399
feat(window post message communicator): Use EventEmitter2
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-07 23:35:36 +02:00
Tilman Vatteroth
8a5f86a89e
fix(motd): move fetch into component
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-03 16:51:20 +02:00
Tilman Vatteroth
a9435e3652
Replace @matejmazur/react-katex with own katex component ( #2381 )
...
* Replace @matejmazur/react-katex with self-made katex component
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-25 15:17:08 +02:00
Tilman Vatteroth
3b15b83fe1
refactor(code highlighter): Use sanitizer directly instead of building a node preprocessor
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-25 12:48:28 +02:00
Philip Molares
0fc6271b57
feat: add hooks for METADATA_UPDATED DOCUMENT_DELETED messages ( #2343 )
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2022-09-25 10:35:54 +00:00
Erik Michelson
488876e949
Add interface for managing aliases ( #1347 )
...
* Add alias management
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use React components instead of css classes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Add tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use notifications hook instead of redux methods
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use test ids
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Use test ids in other place as well
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-09-21 19:44:26 +02:00
Tilman Vatteroth
39a4125cb0
Refactor handling of environment variables ( #2303 )
...
* Refactor environment variables
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-16 09:03:29 +00:00
Tilman Vatteroth
eea861a33e
Remove markmap
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-11 14:24:39 +02:00
renovate[bot]
237cb7b158
Update dependency react-bootstrap-typeahead to v6 ( #2356 )
...
* Update dependency react-bootstrap-typeahead to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Fixed used typeahead types
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-10 17:44:25 +00:00
renovate[bot]
7b264042dc
Update nextjs monorepo to v12.3.0 ( #2222 )
...
* Update nextjs monorepo to v12.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Fix tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-08 20:53:17 +00:00
Erik Michelson
7d926ca690
chore(test-snap): Update snapshot to match current abcjs output
...
ABC.js changed the way how they generate their SVGs with the latest update, thus requiring this snapshot to be updated.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-09-05 19:50:13 +02:00
Tilman Vatteroth
4c817e1854
fix: unbind awareness events before destroying awareness ( #2330 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-04 21:11:16 +02:00
Erik Michelson
a3c74e7310
feat(docker): add build version to built images
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-08-30 16:11:26 +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
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]
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
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