Commit graph

4292 commits

Author SHA1 Message Date
Erik Michelson
d8faf3e342
Use identicons as fallback for libravatar
The usage of identicons makes users more distinguishable as when only the default librvatar image is used.
This only applies to users that have no avatar on libravatar or gravatar.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-07 14:03:26 +01:00
Erik Michelson
6e983ba5dc
Use libravatar image if email address is defined
We use the attribute `emails` (plural) for email addresses with other auth providers like LDAP or SAML. In case of OAuth2 we used the attribute `email` (singular) which resulted in problems.
Furthermore the OAuth2 strategy fell into the default fallback of the provider switch statement. This statement did not check email addresses but did generate the letter-avatar instantly.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-07 14:01:32 +01:00
David Mehren
fe98f63149
Merge pull request #1938 from licy183/fix-logger 2022-01-06 19:46:52 +01:00
renovate[bot]
7c4bc84d22
chore(deps): lock file maintenance (#1951)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 03:24:45 +00:00
renovate[bot]
2de73a80cd
chore(deps): update dependency mkdocs-material to v8.1.4 (#1947)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-02 14:05:42 +00:00
David Mehren
b688b21053
Merge pull request #1940 from hedgedoc/renovate/master-linters 2022-01-02 11:33:00 +01:00
Renovate Bot
67564c29d2
chore(deps): update dependency eslint to v8.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-01 08:32:23 +00:00
renovate[bot]
c291c3c5fc
chore(deps): update dependency mermaid to v8.13.8 (#1939)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-01 08:31:15 +00:00
Chongyun Lee
a852d66f01 Fix(logger): Ignore docker health check requests
This patch disables logging of HTTP requests containing
health-check UA from the local IP address. These logs
can take up a lot of disk space but are of little use.

Signed-off-by: Chongyun Lee <uchkks@protonmail.com>
2021-12-30 23:52:53 +08:00
David Mehren
abbf36741a
Merge pull request #1899 from hedgedoc/renovate/master-esbuild-loader-2.x 2021-12-27 20:29:45 +01:00
Renovate Bot
29df67ee05
chore(deps): update dependency esbuild-loader to v2.18.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-27 02:08:09 +00:00
renovate[bot]
9b73adbd6c
chore(deps): lock file maintenance (#1931)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-27 02:07:04 +00:00
renovate[bot]
eb846e9ee2
chore(deps): update dependency mermaid to v8.13.7 (#1928)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 02:47:26 +00:00
David Mehren
b2dd323bb7
Merge pull request #1908 from hedgedoc/renovate/master-linters 2021-12-20 23:12:18 +01:00
Renovate Bot
8548496073
chore(deps): update dependency eslint to v8.5.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-20 22:01:22 +00:00
David Mehren
e70b3ee6f5
Merge pull request #1918 from hedgedoc/renovate/master-major-linters 2021-12-20 23:00:31 +01:00
Renovate Bot
fbb6944ec3
chore(deps): update dependency eslint-plugin-promise to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-20 02:39:10 +00:00
renovate[bot]
7f6c9e553e
chore(deps): lock file maintenance (#1924)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-20 02:37:28 +00:00
renovate[bot]
a673bd7605
chore(deps): update dependency mkdocs-material to v8.1.3 (#1921)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 15:08:31 +00:00
renovate[bot]
69c9fe6e76
chore(deps): update dependency mkdocs-material to v8.1.2 (#1907)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-18 05:31:46 +00:00
renovate[bot]
3c7e8cd76a
chore(deps): update dependency mermaid to v8.13.6 (#1906)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-18 03:46:17 +00:00
renovate[bot]
dfe91ebd86
chore(deps): lock file maintenance (#1900)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 03:18:28 +00:00
David Mehren
581cca8fe1
Merge pull request #1889 from hedgedoc/renovate/master-mkdocs-material-8.x 2021-12-11 12:06:29 +01:00
Renovate Bot
b47081a230
chore(deps): update dependency mkdocs-material to v8.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 05:01:34 +00:00
renovate[bot]
90bb535e7d
chore(deps): update dependency mkdocs-material to v8.0.5 (#1888)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 04:59:32 +00:00
renovate[bot]
c64b1e8c8f
chore(deps): update dependency mermaid to v8.13.5 (#1887)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 03:20:37 +00:00
renovate[bot]
825271fa7c
chore(deps): update dependency eslint to v8.4.1 (#1886)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-11 02:01:46 +00:00
David Mehren
4faef0bcba
Merge pull request #1879 from SuperSandro2000/patch-1 2021-12-08 10:42:31 +01:00
Sandro
c52958dec1
docs/reverse-proxy: align NC
Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2021-12-08 00:08:22 +01:00
renovate[bot]
fde09d646e
chore(deps): lock file maintenance (#1875)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-06 02:52:12 +00:00
David Mehren
c337261093
Merge pull request #1860 from hedgedoc/renovate/master-linters 2021-12-05 18:52:29 +01:00
David Mehren
2d23f4c4b3
Merge pull request #1861 from hedgedoc/renovate/master-mkdocs-material-8.x 2021-12-05 18:52:02 +01:00
Renovate Bot
326e6cad26
chore(deps): update dependency mkdocs-material to v8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 13:02:13 +00:00
Renovate Bot
1bc2f9f03c
chore(deps): update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 03:37:52 +00:00
renovate[bot]
f9466b7d6f
chore(deps): update dependency remark-preset-lint-markdown-style-guide to v5.1.2 (#1859)
Signed-off-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-04 03:36:39 +00:00
David Mehren
0d8b251662
Merge pull request #1858 from hedgedoc/release/1.9.2 2021-12-03 21:05:27 +01:00
David Mehren
1a0e6e8ae8
Bump version to 1.9.2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 20:33:53 +01:00
David Mehren
a72f2455ca
Add release notes for 1.9.2
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 20:31:17 +01:00
David Mehren
f79ca5b39f
Merge pull request #1857 from hedgedoc/fix/crash-on-metrics 2021-12-03 20:13:07 +01:00
David Mehren
1baf7db914
Add changelog entry
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 10:35:01 +01:00
David Mehren
9d8f33014a
Exclude /status, /metrics from session middleware
Because of seemingly undocumented changes in passport 0.5.0,
passport now crashes on requests to paths without session data.

This removes the session middleware from /status and /metrics, which are
 excluded from sessions since 90c5ab0833.

 Fixes https://github.com/hedgedoc/container/issues/270

Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-03 10:30:57 +01:00
David Mehren
ece1bb8d56
Update Node requirements in manual setup guide
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:32:32 +01:00
Yannick Bungers
d676008ff7
Merge pull request #1855 from hedgedoc/release/1.9.1 2021-12-02 22:18:49 +01:00
Tilman Vatteroth
3d05aac2d5
Bump version to 1.9.1
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:54 +01:00
David Mehren
da182bdea6
Update yarn.lock
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:54 +01:00
David Mehren
2246a629a8
Import translations from POEditor
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:34 +01:00
Tilman Vatteroth
22ecc7bb0d
Add release notes for 1.9.1
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: David Mehren <git@herrmehren.de>
2021-12-02 22:14:31 +01:00
Yannick Bungers
f57913ef8a
Merge pull request #1793 from hedgedoc/renovate/master-formidable-2.x 2021-12-02 20:03:19 +01:00
Yannick Bungers
386c08a339
Merge branch 'master' into renovate/master-formidable-2.x 2021-12-02 19:59:39 +01:00
Yannick Bungers
36050598e8
Merge pull request #1850 from hedgedoc/renovate/master-file-type-17.x 2021-12-02 19:54:56 +01:00