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 fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150508114741-create-notes.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150515125813-create-temp.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20150702001020-update-to-0_3_1.js fix: Support SQlite 2017-03-28 15:16:09 +08:00
20150915153700-change-notes-title-to-text.js fix: Other dialect duplicated add index problem 2017-03-28 15:28:33 +08:00
20160112220142-note-add-lastchange.js fix: Add missing migration 2017-03-27 19:23:00 +08:00
20160420180355-note-add-alias.js fix: Support SQlite 2017-03-28 15:16:09 +08:00
20160515114000-user-add-tokens.js fix: Fixed sequelize-cli db:migration cannot stop when occur error 2017-03-24 11:26:04 +08:00
20160607060246-support-revision.js fix: Fixed sequelize-cli db:migration cannot stop when occur error 2017-03-24 11:26:04 +08:00
20160703062241-support-authorship.js fix: Fixed sequelize-cli db:migration cannot stop when occur error 2017-03-24 11:26:04 +08:00
20161009040430-support-delete-note.js fix: Fixed sequelize-cli db:migration cannot stop when occur error 2017-03-24 11:26:04 +08:00
20161201050312-support-email-signin.js fix: Fixed sequelize-cli db:migration cannot stop when occur error 2017-03-24 11:26:04 +08:00
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