<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hedgedoc/lib/web, branch cindy</title>
<subtitle>Hedgedoc with support for CindyScript
</subtitle>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/'/>
<entry>
<title>ImageRouterImgur: Replace imgur library with note-fetch request</title>
<updated>2021-04-22T19:23:27+00:00</updated>
<author>
<name>Philip Molares</name>
</author>
<published>2021-04-19T10:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=f34d927e8cec45cf65ccee3197b46f4482b2b273'/>
<id>f34d927e8cec45cf65ccee3197b46f4482b2b273</id>
<content type='text'>
This kinda is a backport of https://github.com/hedgedoc/hedgedoc/pull/961

Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This kinda is a backport of https://github.com/hedgedoc/hedgedoc/pull/961

Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1079 from hedgedoc/fix/mimeTypes</title>
<updated>2021-03-29T21:14:53+00:00</updated>
<author>
<name>Yannick Bungers</name>
</author>
<published>2021-03-29T21:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=1534d7029bf82c74d5b927e8b179a763ccb1cae4'/>
<id>1534d7029bf82c74d5b927e8b179a763ccb1cae4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add better logging messages</title>
<updated>2021-03-29T21:07:11+00:00</updated>
<author>
<name>Erik Michelson</name>
</author>
<published>2021-03-29T21:07:11+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=dcea082286ce5c41e50f70820c065c677a176fc7'/>
<id>dcea082286ce5c41e50f70820c065c677a176fc7</id>
<content type='text'>
Signed-off-by: Erik Michelson &lt;opensource@erik.michelson.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Erik Michelson &lt;opensource@erik.michelson.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for existing notes on POST and dont override them</title>
<updated>2021-03-29T21:00:34+00:00</updated>
<author>
<name>Erik Michelson</name>
</author>
<published>2021-03-29T21:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=124b06425214921c30a88e44a139b1cc8ca15b45'/>
<id>124b06425214921c30a88e44a139b1cc8ca15b45</id>
<content type='text'>
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/&lt;alias&gt; endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens.

Signed-off-by: Erik Michelson &lt;opensource@erik.michelson.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/&lt;alias&gt; endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens.

Signed-off-by: Erik Michelson &lt;opensource@erik.michelson.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ImageUpload: Fix errors with .jpeg and .svg</title>
<updated>2021-03-29T20:38:42+00:00</updated>
<author>
<name>Philip Molares</name>
</author>
<published>2021-03-28T20:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=5dbe99b4c7b8e136ebc6f05b6b618f044bfd4358'/>
<id>5dbe99b4c7b8e136ebc6f05b6b618f044bfd4358</id>
<content type='text'>
This checks all files that claim to be an svg (by their extension) that they really are and defines the typeFromMagic accordingly
Files that got identified as jpg, but have the extension .jpeg get their extension fixed.
The files extensions will work in all cases now.

Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This checks all files that claim to be an svg (by their extension) that they really are and defines the typeFromMagic accordingly
Files that got identified as jpg, but have the extension .jpeg get their extension fixed.
The files extensions will work in all cases now.

Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add HTTP 404 error on non-existent note downloads</title>
<updated>2021-02-17T21:02:47+00:00</updated>
<author>
<name>Erik Michelson</name>
</author>
<published>2021-02-17T21:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=7e597226ecb562ae7ca70a5aec9d37c42405aa54'/>
<id>7e597226ecb562ae7ca70a5aec9d37c42405aa54</id>
<content type='text'>
When FreeURL mode is enabled and you called the /download route, the note was created and the user redirected to the blank note.
This is caused because the findNote method automatically creates a note when no existing one is found.
This commit adds a new parameter to the findNote method which allows to disable this behaviour. In that case a HTTP 404 error will be returned.

Signed-off-by: Erik Michelson &lt;github@erik.michelson.eu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When FreeURL mode is enabled and you called the /download route, the note was created and the user redirected to the blank note.
This is caused because the findNote method automatically creates a note when no existing one is found.
This commit adds a new parameter to the findNote method which allows to disable this behaviour. In that case a HTTP 404 error will be returned.

Signed-off-by: Erik Michelson &lt;github@erik.michelson.eu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Linter: Fix all lint errors</title>
<updated>2021-02-15T11:15:14+00:00</updated>
<author>
<name>Philip Molares</name>
</author>
<published>2021-02-15T08:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=136d895d155f28c2e75b3af206549acaa2a354ed'/>
<id>136d895d155f28c2e75b3af206549acaa2a354ed</id>
<content type='text'>
Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Philip Molares &lt;philip.molares@udo.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to minio v7 API</title>
<updated>2021-02-12T22:11:37+00:00</updated>
<author>
<name>David Mehren</name>
</author>
<published>2021-02-12T22:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=252141560f8ffcf88f18347f2161b5f3c78ffe12'/>
<id>252141560f8ffcf88f18347f2161b5f3c78ffe12</id>
<content type='text'>
The secure parameter is now called useSSL
https://github.com/minio/minio-js/releases/tag/7.0.0

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The secure parameter is now called useSSL
https://github.com/minio/minio-js/releases/tag/7.0.0

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SAML auth error logging</title>
<updated>2021-02-11T21:00:22+00:00</updated>
<author>
<name>David Mehren</name>
</author>
<published>2021-02-11T21:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=4655e9c785f6af0639c0d1a2dadaf06271c56234'/>
<id>4655e9c785f6af0639c0d1a2dadaf06271c56234</id>
<content type='text'>
As stated in https://github.com/node-saml/passport-saml/blob/master/CHANGELOG.md#v200-2020-11-03
and the corresponding PR https://github.com/node-saml/passport-saml/pull/412
passport-saml now always throws error objects instead of strings.
This fixes our error logging to accommodate this change.

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As stated in https://github.com/node-saml/passport-saml/blob/master/CHANGELOG.md#v200-2020-11-03
and the corresponding PR https://github.com/node-saml/passport-saml/pull/412
passport-saml now always throws error objects instead of strings.
This fixes our error logging to accommodate this change.

Signed-off-by: David Mehren &lt;git@herrmehren.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add config option which requires authentication in FreeURL mode</title>
<updated>2021-01-22T15:52:49+00:00</updated>
<author>
<name>Nicolas Dietrich</name>
</author>
<published>2021-01-22T15:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://stuebinm.eu/git/hedgedoc/commit/?id=497569fee4a841b13ed1606ca54f269162d3fa62'/>
<id>497569fee4a841b13ed1606ca54f269162d3fa62</id>
<content type='text'>
This mitigates unintended note creation by bots or humans through a
simple GET call.

See discussion in #754.

Signed-off-by: Nicolas Dietrich &lt;nidi@mailbox.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mitigates unintended note creation by bots or humans through a
simple GET call.

See discussion in #754.

Signed-off-by: Nicolas Dietrich &lt;nidi@mailbox.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
