hedgedoc/lib
Sheogorath a9d98d4b52
Add fix for missing deletion of notes on user-deletion request
Depending on how the system was setup, this bug lead to keep user's data
around even after a successful deletion of user'S account. This patch
will make sure the missing database constraints are implemented and
missed out deletions are executed.

This bug was introduced to insufficent testing after implementing the
feature initially. It was well tested, using the app process itself, but
the migrations where missed out. I'm currently not sure, if there was
also a change in how sequelize handles cassaded deletion, since I'm
unter the impression that before switching to sequelize 5, this feature
has worked. But I haven't verified this.

No matter what, the cleanup process is rather straight forward and will
be invoked on migration, but can also be done manually using the new
`bin/cleanup` script.

This change will result in a release 1.6.1.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2020-03-21 16:14:43 +01:00
..
config Update CDN defaults 2020-02-09 21:59:17 +01:00
migrations Add fix for missing deletion of notes on user-deletion request 2020-03-21 16:14:43 +01:00
models Added customizable og-metadata to notes 2019-10-04 19:49:45 +02:00
ot Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Add Google oauth variable: hostedDomain 2020-02-08 15:57:22 +08:00
workers Rework debug logging 2019-06-08 21:27:29 +02:00
csp.js Update RevealJS to version 3.9.2 2020-02-01 12:53:15 +01:00
errors.js Making the linter happy by removing superfluous ; 2019-11-28 14:00:34 +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 Move showPublishNote and publishNoteActions to note controller 2019-10-27 15:23:38 +01:00
utils.js Move slide actions to own file 2019-10-27 14:27:15 +01:00