David Mehren
101bedaecd
bin/manage_users: Always treat pass argument as string
...
Fixes #1945
Signed-off-by: David Mehren <git@herrmehren.de >
2022-04-03 22:14:27 +02:00
Moritz Schlarb
e6fc9f01a3
Allow SAML authentication provider to be named
...
Using `CMD_SAML_PROVIDERNAME` and the respective auth provider objects
in the configuration structures.
Signed-off-by: Moritz Schlarb <schlarbm@uni-mainz.de >
2022-03-20 19:59:53 +01:00
Tilman Vatteroth
cc0c469c2d
Add error message to log if database cannot be reached
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de >
2022-02-04 11:49:51 +01:00
Erik Michelson
8705c4abd1
Update tests and changelog
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu >
2022-01-07 18:21:33 +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
1baf7db914
Add changelog entry
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-12-03 10:35:01 +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
Tilman Vatteroth
d7986b1920
Refactor existing code to add the configured domain to connect-src
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de >
2021-09-16 19:43:20 +02:00
David Mehren
ebc58a71cf
Add translators to release notes
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-09-13 22:11:33 +02:00
David Mehren
07d447757a
Update release notes for 1.9.0
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-09-13 22:11:33 +02:00
David Mehren
30722503c5
Update release notes for 1.9.0-rc1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-29 17:55:19 +02:00
David Mehren
c2691210af
Update FAQ link in features page
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-26 20:12:09 +02:00
David Mehren
f2cce60761
Remove embedding from feature page
...
We discourage allowing HedgeDoc to be embedded into other pages in the
FAQ.
Therefore, we should not advertise this feature, especially as it needs
a non-standard config.
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-26 20:11:46 +02:00
David Mehren
7729cc49a7
Drop support for MS SQL Server
...
Sequelize generates invalid SQL for the 'fix-enum' migration from 2018.
Since nobody has complained about this issue since then, we can just
drop support for SQL Server.
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-23 17:45:45 +02:00
Erik Michelson
2c180517fd
Add changelog snippet
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu >
2021-08-18 22:59:13 +02:00
David Mehren
a865ed0822
Merge pull request #1538 from hedgedoc/fix/secure_cookies
2021-08-15 00:42:52 +02:00
David Mehren
832f3522b3
Add new CSP config options to release notes
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-15 00:22:31 +02:00
David Mehren
7b00a59661
Set secure flag for non-session cookies
...
This adds the secure flag to all cookies that are set
in the frontend for storing various settings.
If `SameSite=none` is set (like when embedding the instance is allowed),
the `secure` flag is necessary to set any cookie.
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-15 00:08:31 +02:00
David Mehren
b8c3703c2f
Fix endless loop on shutdown when DB can't be reached
...
The shutdown handler calls `checkAllNotesRevision` on a 100 ms
interval. If the database connection is broken, this will return
an error. Previously, this error was effectively ignored and resulted
in an endless loop printing out the error message every 100 ms.
This improves the error handling by terminating the process with a
nonzero exit code when an error was encountered 30 times. The loop
interval is also increased to 200 ms, giving the database 6 seconds
total time to recover in case of intermittent issues.
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-14 23:47:26 +02:00
David Mehren
4ad5c705c4
Add changelog entry for DB auto-reconnect
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-14 22:23:26 +02:00
David Mehren
b719ce79db
Fix crash while getting current git commit
...
HedgeDoc crashed with
`uncaughtException: ENOENT: no such file or directory`
on startup, when `.git/ref/heads` did not contain
a file for the current branch. This seems to happen
regularly with current Git versions.
This fixes the crash by first trying to use the `git` executable for
getting the current commit SHA (before running our own parsing code)
and introducing a separate check to prevent accessing a nonexistent
file in `.git/ref/heads`.
Signed-off-by: David Mehren <git@herrmehren.de >
2021-08-14 16:08:55 +02:00
David Mehren
0c6482abc5
Add release notes for CSP changes
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-06-07 22:57:12 +02:00
David Mehren
81d73b2db9
Add release notes for 1.8.2
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-05-11 21:28:10 +02:00
David Mehren
3e836d815b
Fix typo in release notes
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-05-06 22:37:47 +02:00
David Mehren
1b1b328d49
Add release notes for 1.8.1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-05-06 22:24:02 +02:00
David Mehren
2c12feb127
Fix 1.8.0 changelog
...
CVE-2021-29475 has been fixed since
HedgeDoc 1.5.0, instead of 1.6.0
Signed-off-by: David Mehren <git@herrmehren.de >
2021-05-06 21:34:30 +02:00
David Mehren
30a91b6fd7
Add release notes for 1.8.0
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-05-03 22:26:08 +02:00
David Mehren
0bf97f30c4
Add changelog for 1.8.0-rc1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-04-26 21:45:31 +02:00
David Mehren
e4c8f869f0
Add translators to the list of contributors for 1.8.0-rc1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-04-26 21:42:06 +02:00
David Mehren
2faf5b6974
Merge pull request #1150 from hedgedoc/feature/prometheus_metrics
2021-04-25 20:34:03 +02:00
David Mehren
c8e2117452
Merge pull request #1167 from hedgedoc/maintenance/master/remove_node_10
2021-04-25 20:10:46 +02:00
David Mehren
cbe7b03b59
Document new Prometheus endpoint
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-04-25 20:06:56 +02:00
David Mehren
e1df30bd5c
Raise minimum required Node.js version to 12
...
As Node 10 will be EOL at April 30th, we should stop supporting
and/or promoting the usage of that version.
See also https://endoflife.date/nodejs
Signed-off-by: David Mehren <git@herrmehren.de >
2021-04-22 22:52:38 +02:00
Philip Molares
049ac32cc9
Changelog: Mention removal of node-imgur
...
Signed-off-by: Philip Molares <philip.molares@udo.edu >
2021-04-22 22:51:41 +02:00
Philip Molares
82aa36177f
Features.md: Change tag explanation
...
Explain tags in the features.md with yaml metadata, instead of the
heading syntax.
Signed-off-by: Philip Molares <philip.molares@udo.edu >
2021-03-28 19:02:30 +02:00
David Mehren
73a83f3ed6
Add release notes entry for #969
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-03-06 10:35:34 +01:00
David Mehren
e9d4587344
Bump version to 1.7.2
...
Signed-off-by: David Mehren <git@herrmehren.de >
2021-01-15 20:37:30 +01:00
David Mehren
5b3d62e494
Fix typo in release notes
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-27 21:21:12 +01:00
David Mehren
7d2c433b1b
Bump version to 1.7.1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-27 20:54:39 +01:00
David Mehren
687fdf20cd
Add note about X-Forwarded-Proto to 1.7.0 release notes
...
This header needs to be set correctly if the reverse proxy terminates TLS, otherwise we don't send cookies.
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-21 21:35:49 +01:00
David Mehren
e7409b265c
Merge release notes of 1.7.0-rc1 and rc2 into 1.7.0
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-21 21:28:53 +01:00
David Mehren
a11d45ce27
Fix broken PDF embed in features page & explain embedding problems
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-21 17:20:33 +01:00
David Mehren
81e463250d
Release 1.7.0-rc2
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-12-02 23:15:56 +01:00
David Mehren
461e48e25b
Changelog for 1.7.0-rc1
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-11-29 17:23:30 +01:00
David Mehren
b506db11a0
Replace references to Matrix room with chat.hedgedoc.org
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-11-27 19:53:26 +01:00
Tilman Vatteroth
a9026e0ec0
Removed icon
2020-11-15 15:39:04 +01:00
Erik Michelson
b28839484d
Replace CodiMD with HedgeDoc
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in public/views
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in README
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in SECURITY.md
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in LICENSE
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in docs/configuration.md
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in bin/setup
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in docs/guides
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in docs/dev
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in docs/guides/auth
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in docs/setup
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update various links in code to the new GitHub org.
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: codiMDVersion.js is now hedgeDocVersion.js
Signed-off-by: David Mehren <git@herrmehren.de >
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: References in docs/setup/yunohost
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rebrand to HedgeDoc: Add banner and logo
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Update links in docs/guides/migrate-etherpad
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Remove note in docs/guides/auth/github
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Replace links in public/docs/features
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Add todo placeholder in docs/history
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Replace github link in public/views/index/body
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Replace github link in README
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Add logo to README
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Rename to HedgeDoc: Add note about the renaming to the front page
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de >
Removed Travis from README.md and change CodiMD to HedgeDoc in some places
Signed-off-by: Yannick Bungers <git@innay.de >
Some more renaming to HedgeDoc
- Fixed capitalization of HedgeDoc
- Added renaming for etherpad migration doc
Signed-off-by: Yannick Bungers <git@innay.de >
Changed Repo name to hedgedoc
Signed-off-by: Yannick Bungers <git@innay.de >
2020-11-14 21:18:36 +01:00
David Mehren
7151745eb5
Fix PDF embed link in features.md
...
Signed-off-by: David Mehren <git@herrmehren.de >
2020-10-30 18:47:34 +01:00
Adam Worley
8359e70b0e
Add revisions documentation - Issue #196 ( #517 )
...
Co-authored-by: Adam Worley <Adam.Worley@ajw-group.com >
2020-10-11 20:44:18 +02:00
Erik Michelson
fcacbb2175
Change all element.io links to matrix.to links
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu >
2020-09-28 13:05:22 +02:00