Commit graph

5551 commits

Author SHA1 Message Date
Tilman Vatteroth
6ca0bd0668 refactor: use showif instead of ternary operator
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-14 13:44:36 +02:00
Philip Molares
472e775fd2 fix(frontend): new note button doesn't use /new anymore
This led to problems, if user clicked the back button in their browser. This implementation doesn't add functional routes in between new notes, but pushes the new note directly in the history.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-14 13:44:36 +02:00
renovate[bot]
eb4c531983 chore(deps): update ajinabraham/njsscan-action digest to 74e5a58
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-14 08:03:58 +02:00
renovate[bot]
803ee3847e chore(deps): update dependency @codemirror/view to v6.11.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-14 00:28:06 +00:00
Philip Molares
eff6c53860 fix(frontend): use tabs instead of pills for settings modal
This way the button don't look so strange and this is more like the class is intended.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-13 14:12:53 +02:00
renovate[bot]
3d3b96de6c chore(deps): update dependency @codemirror/autocomplete to v6.7.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-13 09:09:00 +00:00
Philip Molares
f306593e6c docs: update ldap dev docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-12 21:11:45 +02:00
Philip Molares
4bf2ca4ca7 docs: update ldap dev docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-12 21:11:45 +02:00
Philip Molares
06659ce0a7 docs: add ldap auth method
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-12 21:11:45 +02:00
renovate[bot]
dbb4c4a2d4 chore(deps): update dependency @testing-library/dom to v9.3.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:18:11 +02:00
Tilman Vatteroth
39fff87f52 fix: migrate import code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-12 19:14:34 +02:00
renovate[bot]
a3232a816b chore(deps): update dependency @tsconfig/node18 to v2.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:14:34 +02:00
renovate[bot]
033bf0e3d7 chore(deps): update dependency mkdocs-material to v9.1.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:02:10 +02:00
renovate[bot]
1af15a1aec fix(deps): update dependency @zxcvbn-ts/language-common to v3.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 19:01:27 +02:00
renovate[bot]
f97cfa6a18 chore(deps): update dependency turbo to v1.9.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 08:47:05 +02:00
renovate[bot]
25043173b6 chore(deps): update dependency eslint-config-next to v13.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 08:46:32 +02:00
renovate[bot]
5b5e0cb86e chore(deps): update nextjs monorepo to v13.4.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-12 08:46:24 +02:00
renovate[bot]
5504c37bb8 chore(deps): update dependency @codemirror/autocomplete to v6.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-11 10:03:51 +02:00
renovate[bot]
994ef52ca7 fix(deps): update zxcvbn-ts to v3.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-11 10:02:54 +02:00
Philip Molares
0932481117 docs: add images for customization docs
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-10 20:20:17 +02:00
Tilman Vatteroth
40e9478c67 fix: use html entity for branding separation dash
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:59:59 +02:00
renovate[bot]
3feaa8d6a5 chore(deps): update dependency eslint-plugin-testing-library to v5.11.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 16:34:32 +02:00
Tilman Vatteroth
c68fbea606 fix: migrate code to html-to-react v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
renovate[bot]
4c5efeafc8 fix(deps): update dependency @hedgedoc/html-to-react to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
renovate[bot]
8ec6c5dfa5 fix(deps): update dependency htmlparser2 to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 16:30:38 +02:00
Philip Molares
e86e40a61b docs: indent imgur warning correctly
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-10 13:57:25 +02:00
Tilman Vatteroth
23901d1454 chore: change recommended and CI node version to v20
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-10 13:43:05 +02:00
renovate[bot]
2967e7cd86 chore(deps): update dependency cypress to v12.12.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 09:51:16 +02:00
renovate[bot]
ef1c59ac51 fix(deps): update dependency typeorm to v0.3.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-10 01:13:25 +00:00
renovate[bot]
b8732a8726 chore(deps): update dependency @codemirror/view to v6.11.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:34:28 +02:00
renovate[bot]
3e3e574dc6 fix(deps): update dependency node-fetch to v2.6.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:34:15 +02:00
renovate[bot]
1094c98034 fix(deps): update dependency @svgr/webpack to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 22:32:33 +02:00
Tilman Vatteroth
d29e840bc6 fix(realtime): allow realtime user status updates from users that have read-only access
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 20:33:23 +02:00
Tilman Vatteroth
46330563fa chore(ci): update cypress browsers image
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:44:23 +02:00
Tilman Vatteroth
b199cdba67 test: increase coverage of constructor tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
2f59869e12 fix: retrieve read-only state for realtime user status adapter from connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
f012282a41 fix: restore of test state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
02a3b7f07b refactor: make displayName readonly
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
3c1ea7bda9 fix: allow change of accept edits in realtime connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
eebbb79d08 fix: retrieve read-only state for y-doc-sync-server-adapter from connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:33:09 +02:00
Tilman Vatteroth
29afcce555 fix(editor): catch error when refreshing note metadata
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-09 12:31:49 +02:00
renovate[bot]
0dcfb0524c chore(deps): update dependency @types/node to v18.16.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-09 11:30:41 +02:00
renovate[bot]
efb96bd259 fix(deps): update dependency node-fetch to v2.6.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:58:37 +02:00
renovate[bot]
6698f49af5 chore(deps): update typescript-eslint monorepo to v5.59.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:48:54 +02:00
renovate[bot]
5519620460 chore(deps): update dependency mkdocs-material to v9.1.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:36:05 +02:00
renovate[bot]
888c4e1662 chore(deps): update dependency mkdocs-material to v9.1.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 21:28:02 +02:00
renovate[bot]
647b3b8188 chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-05-08 05:04:00 +00:00
Philip Molares
a44e364553 docs(imgur): add warning about new imgur policy
Because imgur will delete images 6 month after the last access, we should tell our users about this change to help them make a informed decision about their media backend choice…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-07 22:42:58 +02:00
Philip Molares
757345d318 fix(frontend): remove parenthesis around •
This was the way it was in HedgeDoc 1. It was deemed to be better than the parenthesis version in a debug session.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-05-07 22:42:38 +02:00
Tilman Vatteroth
340adbe69a refactor: extract scroll hooks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-05-07 21:43:52 +02:00