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
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
Tilman Vatteroth
f2ed9d4453
Note Loading Boundary: Replace redirect with refetch from API ( #2275 )
2022-08-13 14:32:19 +02:00
Tilman Vatteroth
1cdfebdb70
Remove feature links on intro page
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-09 07:58:09 +02:00
Philip Molares
1ff9e1f432
feat: add spell check ( #2236 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-08-04 19:57:19 +02:00
Tilman Vatteroth
f68b3ff056
Don't send frontmatter to renderer ( #2259 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-04 12:40:37 +02:00
Tilman Vatteroth
c50037fc9f
Fix size of highlighting if frontmatter is invalid ( #2264 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-08-01 18:49:31 +02:00
Philip Molares
1bd18cc0ee
feat: add linter and linterGutter ( #2237 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 18:25:03 +02:00
Tilman Vatteroth
a802656478
Fixes warnings in some tests ( #2241 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 15:29:00 +00:00
Tilman Vatteroth
2e5fd5cc5c
Add memorized hook for table of contents ( #2242 )
...
* Create hook for converter function
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Add tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 01:04:58 +02:00
Erik Michelson
1180d41b0b
Remove non-existing css class reference in splitter ( #2229 )
2022-07-24 21:22:50 +02:00
Philip Molares
70b95d3a24
refactor: change hook file names to match the rest of the application
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-07-22 13:44:21 +02:00
Philip Molares
ecffebc43c
docs: consolidate docs ( #2182 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-07-21 22:36:46 +02:00
Tilman Vatteroth
649ebe48f1
Use precalculated diff in revision viewer ( #2179 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-14 19:43:34 +02:00
Tilman Vatteroth
50d2dee9d2
Add boolean state hook
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-10 13:11:54 +02:00
Tilman Vatteroth
d23ba21ab5
Fix splitter tests
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-07 16:42:51 +02:00
Tilman Vatteroth
85a1c694b3
Add button to create note if not found ( #2173 )
...
* feat: add CreateNonExistentNote component
This component asks the user if they want to create the note that was request, but is not there.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-03 20:34:14 +02:00