hedgedoc/lib/migrations
Sheogorath 70df29790a
Add token based security feature
In the current setup users could be tricked into deleting their data by
providing a malicious link like `[click me](/me/delete)`. This commit
prevents such an easy attack and need the user's deleteToken to get his
data deleted. In case someone requests his deletion by email you can
also ask him for this token.

We can add a GUI that shows it later on.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-25 18:26:06 +02:00
..
20150504155329-create-users.js
20150508114741-create-notes.js
20150515125813-create-temp.js
20150702001020-update-to-0_3_1.js
20150915153700-change-notes-title-to-text.js
20160112220142-note-add-lastchange.js
20160420180355-note-add-alias.js
20160515114000-user-add-tokens.js
20160607060246-support-revision.js
20160703062241-support-authorship.js
20161009040430-support-delete-note.js
20161201050312-support-email-signin.js
20171009121200-longtext-for-mysql.js Fix typo of DB migration script 2018-02-08 10:15:05 +09:00
20180209120907-longtext-of-authorship.js Fix field type to prevent data truncation of authorship (#721) 2018-02-09 14:27:06 +01:00
20180306150303-fix-enum.js Add missing migration for permissions 2018-03-06 16:31:41 +01:00
20180525153000-user-add-delete-token.js Add token based security feature 2018-05-25 18:26:06 +02:00