hedgedoc/bin
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
..
cleanup Add fix for missing deletion of notes on user-deletion request 2020-03-21 16:14:43 +01:00
heroku heroku complains about dialect 2020-01-11 23:51:52 +01:00
manage_users Check for falsy existing_user variable. Fixes #234 2019-12-09 17:46:25 +01:00
setup Update links to new repositories 2019-03-27 19:31:34 +01:00