Commit graph

1869 commits

Author SHA1 Message Date
Tilman Vatteroth
0d30b599d8 Replace Luxon DateTime with number in redux state
Luxon DateTimes are not serializable for redux. Therefore redux throws errors.

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
0d325b5e3b Prevent react hydration error
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
197114cf18 Disable react strict mode to prevent double rendering
See https://stackoverflow.com/questions/61254372/my-react-component-is-rendering-twice-because-of-strict-mode

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Tilman Vatteroth
bbd628c81b Use correct method to set i18n into debug mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-10 21:12:05 +02:00
Renovate Bot
83001eb5b0 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 23:05:42 +02:00
Renovate Bot
f47624fcea Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:53:25 +02:00
Tilman Vatteroth
9b69914b60 Extract code highlighting from async call
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-07 18:42:22 +02:00
renovate[bot]
c6857a46c8
Update nextjs monorepo to v12.1.6 (#2031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:35:17 +02:00
renovate[bot]
f70be920e7
Update jest monorepo to v28.1.0 (#2036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:32:45 +02:00
renovate[bot]
3c7a52c1e0
Update dependency @hedgedoc/html-to-react to v1.3.0 (#2032)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 16:31:54 +00:00
renovate[bot]
5d3198f776
Update i18next (#2035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:07:54 +02:00
renovate[bot]
c365ec81cb
Update dependency markdown-it-anchor to v8.6.3 (#2030)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:06:11 +02:00
renovate[bot]
b599622cb0
Update dependency markdown-it to v13.0.1 (#2029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:04:38 +02:00
renovate[bot]
2a445b766e
Update dependency @testing-library/react to v13.2.0 (#2033)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:02:41 +02:00
renovate[bot]
9705382ee8
Update definitely typed (#2027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:01:54 +02:00
renovate[bot]
8358669753
Update dependency @fontsource/source-sans-pro to v4.5.9 (#2028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 18:01:17 +02:00
renovate[bot]
06d0c6bb33
Update dependency netlify-cli to v10.3.0 (#2034)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 17:59:37 +02:00
Tilman Vatteroth
3c81d34f20 Read custom delay only in dev or test mode
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Tilman Vatteroth
1a18f3fc6f Accept url parameter for custom delay
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Tilman Vatteroth
bd58bca39c Add new loading animation
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-06 21:42:06 +02:00
Erik Michelson
85eff24be1
New note creation (#1998)
* Add new note page

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Make new note button clickable

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Add CHANGELOG note

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Refactor error messages

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use features note in mock

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Common Error page should always use i18n

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-05-02 17:39:18 +02:00
Renovate Bot
1fa94f9ea6 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 08:49:59 +02:00
Tilman Vatteroth
ea42b9092e Create store using redux-toolkit
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-05-02 08:49:38 +02:00
Philip Molares
3b102b75f5 fix: uuid / jest export problem
With jest 28 and the removal of jest-environment-jsdom the uuid package is not correctly loaded anymore. This is a temporary fix to let us use jest 28 until this is resolved.

See also: https://github.com/uuidjs/uuid/pull/616

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-30 18:03:38 +02:00
Philip Molares
91cd491d6d chore(deps): add jest-environment-jsdom to dev dependencies
As of jest 28.0.1 this package will not be installed automatically anymore, and we need to expklicit install it.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-30 18:03:38 +02:00
Renovate Bot
a136f572d9 Update dependency jest to v28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 18:03:38 +02:00
Renovate Bot
2bb76e6df8 Update dependency redux to v4.2.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 16:44:02 +02:00
Renovate Bot
39a512b503 Update dependency markdown-it to v13
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 16:43:08 +02:00
Renovate Bot
82a92a14f4 Update dependency @uiw/react-codemirror to v4.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-30 16:41:24 +02:00
Renovate Bot
a1da14245c Update CodeMirror to v0.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 16:41:24 +02:00
Renovate Bot
d3f6e54801 Update dependency netlify-cli to v10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 15:21:47 +02:00
renovate[bot]
c3c976a567
Update definitely typed (#2009)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 15:21:29 +02:00
Renovate Bot
e89a825f33 Update dependency cypress to v9.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 15:20:15 +02:00
renovate[bot]
fd13c741f1
Update dependency @redux-devtools/core to v3.12.0 (#2012)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 15:09:22 +02:00
renovate[bot]
54993de70b
Update dependency typescript to v4.6.4 (#2011)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:58:46 +02:00
renovate[bot]
7c5055a889
Update dependency ts-loader to v9.3.0 (#2010)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:57:03 +02:00
renovate[bot]
075c6215a1
Update react to v18.1.0 (#2017)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:56:29 +02:00
renovate[bot]
40a3fc4914
Update linters (#2016)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:54:31 +02:00
Tilman Vatteroth
32c6bbb8e3
Test multiple markdown extensions (#1886)
This commit adds multiple unit jest tests for components and removes e2e tests. 

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

Signed-off-by: Philip Molares <philip.molares@udo.edu>

Co-authored-by: Philip Molares <philip.molares@udo.edu>
2022-04-27 09:59:01 +02:00
renovate[bot]
dca541ea1a
Update dependency netlify-cli to v9.16.7 (#2003)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 23:14:38 +02:00
renovate[bot]
1e47fc31db
Update dependency sharp to v0.30.4 (#2007)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 23:12:08 +02:00
renovate[bot]
b938d23c5a
Update dependency react-i18next to v11.16.7 (#2004)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 22:55:45 +02:00
renovate[bot]
8c442ad917
Update dependency sass to v1.51.0 (#2006)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 22:44:51 +02:00
renovate[bot]
30e2cf72f8
Update dependency react-redux to v8.0.1 (#2005)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 14:42:23 +02:00
renovate[bot]
6db06d13ba
Update dependency luxon to v2.3.2 (#2000)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 12:40:49 +00:00
renovate[bot]
d467f4ae35
Update dependency mermaid to v9.0.1 (#2002)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 14:40:39 +02:00
renovate[bot]
a20d596f20
Update dependency markdown-it-emoji to v2.0.2 (#2001)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 14:36:18 +02:00
renovate[bot]
63b6fdd154
Update definitely typed (#1999)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 18:37:46 +02:00
renovate[bot]
efc6bba515
Lock file maintenance (#1997)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 13:26:03 +02:00
Renovate Bot
d4fa1ad45a Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 19:32:54 +02:00