Commit graph

1180 commits

Author SHA1 Message Date
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
Tilman Vatteroth
829cc2fe48
Add application state hook (#1308)
* Add application state hook

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

* Add docs

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-11 15:21:24 +02:00
Tilman Vatteroth
4720f2d36b
Extract toc button (#1302)
* Extract toc button

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-07 22:09:13 +02:00
Renovate Bot
4e9b059d2e Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 07:37:42 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything (#1294) 2021-06-06 23:14:00 +02:00
Tilman Vatteroth
8b78154075 Replace twemoji files with twemoji npm package
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-05 23:53:21 +02:00
Renovate Bot
154cb4c739 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-05 23:26:13 +02:00
Erik Michelson
1eea135a9d
Replace deprecated highlight.js syntax (#1295)
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-06-05 20:21:54 +00:00
Tilman Vatteroth
c867673072
Replace emojibase-data with emoji-picker-element-data (#1293)
* Add Twemoji 13.1
* Use emoji-picker-element instead of emojibase

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