Commit graph

5094 commits

Author SHA1 Message Date
David Mehren
40c23acd49 test(notes-service): Add test for toNoteMetadataDto with no alias
Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-01 20:23:33 +02:00
David Mehren
161329fa7c test(notes-service): Move mocking setup to common function
Signed-off-by: David Mehren <git@herrmehren.de>
2022-05-01 20:23:33 +02:00
Renovate Bot
11abe73b31 chore(deps): update github/codeql-action action to v2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-01 19:05:14 +02:00
Philip Molares
44b6e7053d ci: replaced node 17 with node 18
node 17 is out of support since 01 Apr 2022, so it isn't really beneficial to keep this version in the ci loop. We replace it with the new LTS release 18

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-05-01 18:47:26 +02:00
Renovate Bot
7018876626 chore(deps): update node.js to v18
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-01 18:47:26 +02:00
Renovate Bot
a06a351659 chore(deps): update dependency mkdocs-material to v8.2.12
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 23:09:03 +00:00
Renovate Bot
4f3a722115 fix(deps): update dependency sqlite3 to v5.0.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 20:14:34 +00:00
Renovate Bot
1604bfab55 fix(deps): update dependency minio to v7.0.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 17:20:17 +00: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
eca83457e1 chore(deps): update dependency typescript to v4.6.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 14:29:37 +00: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
Renovate Bot
8a5e9d511d chore(deps): update dependency supertest to v6.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 11:13:30 +00:00
Renovate Bot
933ebb9f22 chore(deps): update dependency mkdocs-material to v8.2.11
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 05:53:08 +00:00
Renovate Bot
51a341c3c4 chore(deps): update dependency @types/node to v16.11.32
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 03:12:21 +00:00
Renovate Bot
6353483440 chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-27 15:17:50 +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
2a48325787 chore(deps): update dependency mkdocs-material to v8.2.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-24 13:52:15 +00:00
Renovate Bot
caa87a7156 fix(deps): update dependency sqlite3 to v5.0.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 10:12:47 +00:00
Renovate Bot
d86ddbacbe chore(deps): update dependency http-proxy-middleware to v2.0.6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 05:25:40 +00:00
Renovate Bot
ad85147312 chore(deps): update dependency eslint-plugin-jest to v26.1.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 02:26:34 +00:00
Renovate Bot
04c2c0fa18 fix(deps): update dependency sqlite3 to v5.0.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 16:39:50 +02:00
Renovate Bot
5fc5db3aec chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 16:28:45 +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
Erik Michelson
ef0fdac18c fix(notes): primaryAddress reveals internal UUID
The primaryAddress field of a note contained the internal UUID of the note when no primary alias was defined instead of the public note id.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-04-18 11:02:53 +02:00
David Mehren
3cff7f861a fix(console-logger): don't sanitize colors away
2467b125 mistakenly applied the sanitize function
to the log messages *after* the color was applied.

This commit reverses the order to un-break colored logs.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-04-17 21:51:03 +02:00
Philip Molares
819dd8f568 docs(dev): add developer documentation about ldap
This explains how a developer is able to get a ldap server up and running and configure HedgeDoc to use it quickly.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-17 21:05:13 +02:00
Philip Molares
b4e62c8425 feat: add ldap login to auth controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-17 21:05:13 +02:00
Philip Molares
82dd9f8885 feat: add ldap strategy
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-04-17 21:05:13 +02:00