Tilman Vatteroth
6594e1bb86
Move markdown split into redux ( #1681 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-14 10:16:25 +01:00
Tilman Vatteroth
03725f5512
Update to cypress 9 and fix firefox upload crash ( #1653 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 21:17:23 +01:00
Tilman Vatteroth
d4251519e2
Add image placeholder and upload indicating frame ( #1666 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-12-11 15:34:33 +01:00
Erik Michelson
eab189c3c6
Refactor login components and adjust login API routes ( #1678 )
...
* Refactor login components and adjust API routes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Adjust API /me response and redux state
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Fix moved function
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Update cypress tests
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Adjust mock response
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Integrate new common fields and hook into profile page
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Remove openid
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
* Fix config mock
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-11 01:32:38 +01:00
Tilman Vatteroth
a1a0ede574
Remove console.log
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-05 13:40:08 +01:00
Tilman Vatteroth
9874d54404
Refactor table size picker ( #1662 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:55:16 +01:00
Tilman Vatteroth
b68a55aa94
Move frontmatter types ( #1664 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 22:41:07 +00:00
Tilman Vatteroth
8a23aa1401
Iframe capsule ( #1663 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-02 23:35:31 +01:00
Erik Michelson
f1117dbad3
Refactor profile page ( #1636 )
2021-12-02 22:03:03 +00:00
Tilman Vatteroth
4023acc9d6
Restructure the max-length-warning and the status bar ( #1654 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-28 22:21:02 +01:00
Tilman Vatteroth
e0a0c86846
Deduplicate CommonModal Props ( #1649 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-26 21:51:12 +01:00
Tilman Vatteroth
1e27263abb
Remove useMemo from interval
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-26 11:19:04 +01:00
Tilman Vatteroth
1adb1bd52f
use useInterval hook in ui-notification-toast
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-22 07:35:15 +01:00
Tilman Vatteroth
a96b06c95b
Fix renderer type test ( #1647 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-21 12:48:30 +01:00
Tilman Vatteroth
abceb356db
format code
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-20 19:20:05 +01:00
renovate[bot]
c75978c9a4
Update dependency i18next to v21.5.2 ( #1643 )
...
* Update dependency i18next to v21.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
* Fix i18n imports
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-20 12:48:37 +00:00
Erik Michelson
d725b65140
Cypress-IDs and prettier for tests ( #1634 )
...
* Add cy.getById method and run prettier
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-11-19 18:04:04 +01:00
Tilman Vatteroth
8a8bacc0aa
Introduce Markdown extensions ( #1614 )
...
* Introduce markdown extensions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-15 17:04:49 +01:00
Tilman Vatteroth
e9defd60dc
Restructure click shield ( #1611 )
...
* Rename one-click-embedding to click shield
* Removes the static fallback image from the vimeo frame. The set URL is broken.
* Adds the ability to define background colors for the click shield background
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-14 18:44:55 +01:00
Philip Molares
79a0ea9602
feat: add a target description to OneClickEmbedding
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-06 11:54:40 +01:00
Tilman Vatteroth
84ee1d9cd9
Add dom purify ( #1609 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-02 08:15:33 +01:00
Tilman Vatteroth
c7c7c9ac74
Change scss import of reveal to css
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-29 23:03:01 +02:00
Tilman Vatteroth
68de268515
Fix type error in error-boundary.tsx
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-26 14:49:35 +02:00
Tilman Vatteroth
ec77e672f6
Refactor replacers and line id mapping
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-25 00:13:40 +02:00
Erik Michelson
3591c90f9f
Fix file input field accepting a filename only once ( #1547 )
2021-10-24 20:46:39 +00:00
Erik Michelson
9118c8310b
Use "untitled" fallback in history entry without title ( #1546 )
2021-10-24 21:08:28 +02:00
Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode ( #1566 )
...
* Add function for test attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix naming of attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method, interface, attribute and use interface
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Lint and format fix
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00
renovate[bot]
2abe40ef1d
Update dependency eslint-plugin-import to v2.25.2 ( #1555 )
...
* Update dependency eslint-plugin-import to v2.25.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Make type imports more explicit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Enforce use of type imports
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 18:45:58 +02:00
Tilman Vatteroth
e84ed1398f
Fix reveal ( #1563 )
...
Fix race condition in slide show
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 21:45:22 +02:00
Tilman Vatteroth
c017df0a3c
Fix linting errors
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-16 12:10:10 +02:00
Tilman Vatteroth
f35d05d712
Remove workaround rule in reveal by vendoring a bootstrap file
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 22:10:12 +02:00
Tilman Vatteroth
dc0068420a
Fix SlideShow-Only-Page and Document-Read-Only-Page
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 21:27:06 +02:00
Tilman Vatteroth
36e445e631
Add slide mode with reveal.js
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 21:27:06 +02:00
Tilman Vatteroth
bd036b5b68
Refactor iframe load callback to fix race condition ( #1536 )
...
* Refactor iframe load callback to fix race condition
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-13 22:07:46 +02:00
Tilman Vatteroth
ee7cde0096
Change motd banner to motd modal
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-13 22:06:27 +02:00
Tilman Vatteroth
328bc917eb
Remove notification test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-13 19:19:51 +02:00
Tilman Vatteroth
f937dc6962
Fix regex DoS ( #1533 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-07 21:18:51 +02:00
Tilman Vatteroth
6adb63967b
Extract editor code into hooks ( #1531 )
...
* Extract code into hooks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-06 21:07:33 +02:00
Tilman Vatteroth
87d6285da5
Fix security related problems ( #1522 )
...
* Remove unnecessary capture group from regex
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename component to make name more expressive
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove redundant expression
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Filter vbscript links
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove superfluous parameter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Check if handler is set
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix doc
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-01 22:51:57 +02:00
Tilman Vatteroth
0e512531a0
Improve Logging ( #1519 )
...
Improve Logging
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-28 22:06:35 +02:00
Tilman Vatteroth
f1e91b4574
Restructure Communicator ( #1510 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-26 11:09:46 +02:00
Tilman Vatteroth
fa82368dfd
Add new css class for code highlighting
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-17 12:31:10 +02:00
Tilman Vatteroth
6fe8967c44
Make help modal bigger
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-17 12:31:10 +02:00
Tilman Vatteroth
7ca23d8ade
Reformat highlighted-code.scss and fix display bug in cheatsheet
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-17 12:31:10 +02:00
Tilman Vatteroth
cd79aeddac
Use dark theme for highlight.js that actually overwrites the values of the light theme
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-17 12:31:10 +02:00
Tilman Vatteroth
262208657c
Remove deprecated code in basic markdown-it configurator
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-05 22:35:47 +02:00
Tilman Vatteroth
ec921f775c
Remove unneeded props interface ( #1487 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-05 21:37:01 +02:00
Tilman Vatteroth
7ec956e5c3
Remove document content ( #1470 )
...
* Merge documentContent and markdownContent
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Add hook for markdown content without frontmatter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Use hook for export
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Let subcomponent handle the markdown content
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-05 14:27:44 +02:00
Tilman Vatteroth
bb0dd4d935
Replace imsize with @hedgedoc/markdown-it-image-size
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-05 14:09:29 +02:00
Erik Michelson
04e16d8880
Move frontmatter extraction from renderer to redux ( #1413 )
2021-09-02 11:15:31 +02:00