Commit graph

1188 commits

Author SHA1 Message Date
renovate[bot]
fefdcbb9fd
Update cypress (#1348)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 14:49:56 +02:00
Tilman Vatteroth
e03de0b5b7
Replace node-sass with sass (#1357)
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2021-06-28 13:41:16 +02:00
Renovate Bot
64f00fe16c Update dependency codemirror to v5.62.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-27 23:08:58 +02:00
Erik Michelson
910d8b9423
Add codestyle docs (#1356) 2021-06-27 23:08:29 +02:00
Renovate Bot
519665a8bf Update dependency markdown-it-anchor to v8.0.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-27 22:59:33 +02:00
renovate[bot]
e1b67cbf97
Update dependency @types/codemirror to v5.60.1 (#1349)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 12:51:28 +02:00
renovate[bot]
f6a0968759
Update dependency @testing-library/react to v12 (#1354)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 12:49:00 +02:00
renovate[bot]
cb19e1fbb9
Update dependency prettier to v2.3.2 (#1355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 12:46:26 +02:00
renovate[bot]
d3709f8cf9
Update linters to v4.28.0 (#1353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 12:44:13 +02:00
Tilman Vatteroth
1dfb8bca71 Don't rebuild commits in e2e
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
cf79d4c72e Rename dependency cache step
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 20:12:59 +02:00
Tilman Vatteroth
543fc9f987 Use IframeEditorToRendererCommunicatorContextProvider in document read only mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-23 13:12:43 +02:00
Tilman Vatteroth
6cfcc37b1c
Fix Splitter issues (#1343)
Fix Splitter issues

* Replace code with hook useAdjustedRelativeSplitValue
* Add e2e tests for splitter

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-21 23:13:39 +02:00
Tilman Vatteroth
015a5cf496 Extract the render ready status into an extra redux state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-21 21:38:36 +02:00
Renovate Bot
568393eaab Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 15:48:13 +02:00
Tilman Vatteroth
5893680e53 Adjust code to new options structure
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-21 12:34:05 +02:00
Renovate Bot
388ffa198f Update dependency markdown-it-anchor to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 12:34:05 +02:00
Tilman Vatteroth
1fef30bebc Add new data property to iframe that indicates if the content is ready.
Some tests fail because the iframe hasn't loaded the inner hedgedoc renderer yet
but cypress tries to travel through the dom and verify the render results.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-19 16:41:43 +02:00
Renovate Bot
93d860be71 Update dependency typescript to v4.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-19 16:06:47 +02:00
Tilman Vatteroth
cfb2de8909 Add renderer ready state to global application state
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-19 16:02:55 +02:00
Renovate Bot
2dad1d565e Update dependency words-count to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-19 15:45:52 +02:00
Renovate Bot
83348311e0 Update dependency @types/react-dom to v17.0.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-19 15:32:51 +02:00
Renovate Bot
e3d5cf9330 Update dependency i18next to v20.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-19 15:32:38 +02:00
Renovate Bot
5df6cf3b1a Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 23:45:40 +02:00
Tilman Vatteroth
82472227f9
Replace react-html-parser with html-to-react (#1327)
* Replace react-html-parser with html-to-react

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-18 23:26:36 +02:00
Tilman Vatteroth
b13c1ce8a0 Fix unique key in ui-notification-toast
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-18 22:03:40 +02:00
Tilman Vatteroth
31ca77ebfa Throw error if no communicator was found in a react context
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 23:32:47 +02:00
Erik Michelson
57f46f489b
Add word count in document info modal (#738)
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 22:31:28 +02:00
Tilman Vatteroth
4b3990d0db
Add extra test suite for emojis (#1322)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 21:19:05 +02:00
Tilman Vatteroth
f4e5d795e6
Parallel ci jobs (#1323)
* Add parallel testing to e2e ci job

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-17 21:18:52 +02:00
Renovate Bot
65ee5a7a35 Update linters to v4.27.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 12:14:30 +02:00
Renovate Bot
109ac96ba5 Update i18next
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 12:13:34 +02:00
Renovate Bot
5236581d20 Update dependency typescript to v4.3.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 12:11:31 +02:00
Tilman Vatteroth
93722f4161
Improve stability and speed of E2E tests (#1319)
* Change cypress settings in CI job
* Catch error from highlight js chunk loading in auto completion
* Refactor code
* Show notification if highlightjs loading failed

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-13 23:02:39 +02:00
Renovate Bot
a4d6de9555 Update dependency ts-loader to v9.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 18:29:06 +02:00
Tilman Vatteroth
6c4c5a81af Fix tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
Tilman Vatteroth
0ecd255297 Fix test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
Tilman Vatteroth
a25c13176d Fix test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
Tilman Vatteroth
1c5c3c3258 Deduplicate code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
Tilman Vatteroth
baa4af7f30 Remove PDF mimetype
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
Tilman Vatteroth
ed9f4aefab Add mock for upload response
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 18:25:47 +02:00
renovate[bot]
5933fb801d
Update dependency prettier to v2.3.1 (#1312)
* Update dependency prettier to v2.3.1

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-06-12 16:20:06 +00:00
Renovate Bot
119171a95c Update dependency mermaid to v8.10.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 18:03:18 +02:00
Renovate Bot
1f5cc15edd Update linters to v4.26.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:45:25 +02:00
Renovate Bot
a90e981dd2 Update definitely typed
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:45:04 +02:00
Renovate Bot
7e229f7381 Update dependency @testing-library/jest-dom to v5.14.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:44:02 +02:00
Renovate Bot
d89637d54a Update dependency cypress to v7.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:43:45 +02:00
Tilman Vatteroth
da9106e7ff Remove unused licenses
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 17:04:09 +02:00
Tilman Vatteroth
4580bc9658
Fix splitter (#1307)
Use window for splitter resizing

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 16:20:11 +02:00
Tilman Vatteroth
6285af458a
Iframe communicator context (2/3) (#1310)
* Add type

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Extract code and add new context provider

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Adjust import

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 16:14:46 +02:00