hedgedoc/lib
Erik Michelson 3808c08c2d
Fix note creation in FreeURL mode not using template
As explained in #391, the previous note creation logic didn't handle the case "alias is set, but it's not a file on disk". The fix introduces a separate if-statement for this scenario at the cost of a doubled filesystem read access.

Co-Authored-By: @evanlinde
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-02-02 00:38:54 +01:00
..
config Don't add new config option in hackmd compatibility layer 2021-01-23 16:20:03 +01:00
migrations Add missing catch 2020-12-02 19:39:06 +01:00
models Fix note creation in FreeURL mode not using template 2021-02-02 00:38:54 +01:00
ot Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Add config option which requires authentication in FreeURL mode 2021-01-22 16:52:49 +01:00
workers Rework debug logging 2019-06-08 21:27:29 +02:00
csp.js Add missing unsafe-inline CSP directive 2020-08-23 01:29:53 +02:00
errors.js Fix broken redirect on login 2020-03-21 16:56:09 +01:00
history.js Move note actions to their own file. 2019-10-27 13:51:53 +01:00
letter-avatars.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
logger.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
realtime.js remove unused variable to pass ci testing - #58 2019-10-03 09:24:46 -04:00
response.js Replace CodiMD with HedgeDoc 2020-11-14 21:18:36 +01:00
utils.js Makes the mime also work with upper case extension 2020-11-12 21:06:09 +01:00