Tilman Vatteroth
dfbd45301c
fix(frontend): fix motd e2e test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
7037c9f6ca
fix(frontend): improve mock api error message for source ip
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
e953a5115a
fix(frontend): improve expected origin error message
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Tilman Vatteroth
a0bc8e98d0
feat(motd): read motd in RSC and provide via context
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-24 13:49:12 +02:00
Philip Molares
723f3f611c
feat(realtime): add disconnect reason
...
The frontend now doesn't try to reconnect, when the disconnection happened because of a lack of permissions
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-23 22:39:21 +02:00
Erik Michelson
f6cfe74d8c
fix(frontend): error in review viewer
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-23 22:22:31 +02:00
Tilman Vatteroth
6760db9e18
fix(frontend): use swc minify to prevent terser error
...
Terser can't handle the static blocks our code produce. SWC can handle this, but causes other problems caused by the global-error files. It's not a nice solution but the benefit is bigger than the risk.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 22:01:18 +02:00
Tilman Vatteroth
fcd31931f5
fix(frontend): remove light text class from error page
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-23 21:39:40 +02:00
Tilman Vatteroth
61362f9175
fix(frontend): migrate type changes
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-20 13:35:54 +00:00
Tilman Vatteroth
386d5700cf
fix(frontend): fix revision-viewer type
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00
Tilman Vatteroth
982783c8cf
fix(common): fix fetch mock in test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-19 20:26:14 +00:00
Erik Michelson
909f45bc3f
enhancement(notifications): remove from state after dismissal
...
This commit changes the implementation from an array to a Map,
as that makes accessing a notification for dismissal or removal
more performant.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-15 21:08:26 +02:00
Erik Michelson
f6780c44c4
feat(sidebar): distinguish guest users visually
...
This change adds a little guest icon next to the active indicator
showing that a user is not logged-in.
Furthermore, the active indicator now has a tooltip explaining it.
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-14 02:00:59 +02:00
Erik Michelson
685488c7a2
enhancement(autocomplete): add generic code suggestion entry
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:12:53 +02:00
Erik Michelson
5ccc9059f0
tests(permissions): add cypress tests for permission alert icon
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
6d69b294cb
refactor(permissions): retrieve special permissions from hook
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Erik Michelson
dfcf662a85
enhancement(permissions): show alert when permission is overridden by another
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-13 18:07:44 +02:00
Tilman Vatteroth
ce286cc092
fix: catch access forbidden errors for local storage access
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
Tilman Vatteroth
be3ca5cdeb
fix: trigger iframe load fallback outside of test mode
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-09 09:11:11 +02:00
Tilman Vatteroth
a2b291294e
fix: usage of internal api
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:59:39 +02:00
Tilman Vatteroth
f43c9fd2b1
feat: add internal api url
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 21:12:51 +02:00
Philip Molares
db2d8614a6
fix: add correct link to ForkAwesomeHtmlTagAppExtension
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2023-10-08 21:12:15 +02:00
Tilman Vatteroth
ff7a7a220d
fix: change icon and name of last saved sidebar entry
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 18:08:24 +02:00
Yannick Bungers
8879b51344
Adding issues for TODOs
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
040d473b62
Remove fixed TODOs
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Yannick Bungers
04d16a1141
Update issue link
...
Signed-off-by: Yannick Bungers <git@innay.de>
2023-10-08 16:00:42 +02:00
Tilman Vatteroth
386cf469fd
fix(editor): fix positions of tag migration lint
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-08 15:07:19 +02:00
Erik Michelson
18e1ab340c
fix(history): history toolbar wraps instead of making buttons ugly
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
75838ef426
enhancement(appbar): remove unnecessary history button from app bar
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
Erik Michelson
7758cd588c
fix(editor): remove toolbar separators and fix margin
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2023-10-08 13:53:19 +02:00
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
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
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
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
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
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
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
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
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
Tilman Vatteroth
5a1edea00a
fix(iframe-loader): add fallback for iframe loading
...
Some browsers (mostly cypress's chrome) doesn't execute
the onLoad callback automatically on the iframe.
The fallback is a timer that triggers this after a timeout of 500ms.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
62abd9cbe0
fix: don't double load iframe content
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00
Tilman Vatteroth
d5455f7c33
fix: include uuid in iframe communicator logger
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-10-02 09:13:30 +02:00