Commit graph

561 commits

Author SHA1 Message Date
Tilman Vatteroth
743e066e64 fix: migrate i18n code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-12 19:29:18 +01:00
Tilman Vatteroth
39f39e8f11 fix: sidebar text colors
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-11 23:43:30 +01:00
Tilman Vatteroth
f2fbf9e7ca fix(window post message communication): set target origin on creation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-10 20:03:56 +01:00
Tilman Vatteroth
7f6da650d1 fix: Solve codeql security issues
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-10 20:03:56 +01:00
Tilman Vatteroth
711b520421 fix: Emoji picker overlay
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-10 14:59:11 +01:00
Tilman Vatteroth
526c16e609 fix: Fix table picker overlay
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-10 14:59:11 +01:00
Philip Molares
7b40227115
test: common modals (#2069)
* test: add tests for common-modal

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 23:04:51 +01:00
Tilman Vatteroth
b67df0eadf fix: revert next 13 update
The update causes problems with the emoji picker in the production build

Revert "fix: Fix sign-in-button cypress tests"
Revert "chore(deps): update nextjs monorepo to v13"
Revert "fix: Remove anchor hack from internal-link"
Revert "fix: Remove a tag childs from NextJS link components"

This reverts commit f2ae04743a.
This reverts commit a7fd14a3
This reverts commit 6d30448157.
This reverts commit 7f7f020d91.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 22:47:49 +01:00
Tilman Vatteroth
f2ae04743a fix: Fix sign-in-button cypress tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 19:51:11 +01:00
Tilman Vatteroth
7f7f020d91 fix: Remove a tag childs from NextJS link components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 19:51:11 +01:00
Tilman Vatteroth
6d30448157 fix: Remove anchor hack from internal-link
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-11-06 08:55:44 +01:00
Tilman Vatteroth
410e5b2222 fix(editor): Set placeholder fallback
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-31 12:55:37 +01:00
Tilman Vatteroth
cba541a354 feat(editor): Use editor light theme if light mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-10-27 21:48:37 +02:00
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
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