Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update error message text checks | Carles Bruguera | 2018-11-16 | 8 | -8/+8 |
| | | | | Signed-off-by: Carles Bruguera <carlesba@gmail.com> | ||||
* | Extend migration error handling | Sheogorath | 2018-09-05 | 8 | -9/+9 |
| | | | | | | | | | | The current error handling seems to conflict with some sequelize versions. So we add a second version of it in our excemptions. I'm not happy about it, but when it helps to prevent further migration breaking, it's worth it. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Add missing catch blocks for migration from 1.1.1 to 1.2.0 | Hugo Caloto | 2018-07-31 | 8 | -2/+56 |
| | | | | Signed-off-by: Hugo Caloto <hcaloto@gmail.com> | ||||
* | Merge pull request #830 from SISheogorath/feature/GDPR | Christoph (Sheogorath) Kern | 2018-06-17 | 1 | -0/+13 |
|\ | | | | | GDPR compliant part 1 | ||||
| * | Add token based security feature | Sheogorath | 2018-05-25 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | Use TEXT instead of STRING for tokens | Pedro Ferreira | 2018-03-26 | 1 | -0/+23 |
|/ | | | | Signed-off-by: Pedro Ferreira <pedro.ferreira@cern.ch> | ||||
* | Add missing migration for permissions | Sheogorath | 2018-03-06 | 1 | -0/+11 |
| | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix field type to prevent data truncation of authorship (#721) | Max Wu | 2018-02-09 | 1 | -0/+13 |
| | | | | * Fix field type to prevent data truncation of authorship | ||||
* | Fix typo of DB migration script | Takeaki Matsumoto | 2018-02-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Takeaki Matsumoto <takeaki.matsumoto@ntt.com> | ||||
* | Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵ | Claudius Coenen | 2017-10-16 | 1 | -0/+16 |
| | | | | truncation of data. | ||||
* | fix: Other dialect duplicated add index problem | BoHong Li | 2017-03-28 | 1 | -3/+9 |
| | | | | Detect is using SQLite to add index | ||||
* | fix: Support SQlite | BoHong Li | 2017-03-28 | 3 | -7/+25 |
| | | | | Move 'unique' constraint to another statement (SQLite don't support set unique when addColumn) | ||||
* | fix: Add missing migration | BoHong Li | 2017-03-27 | 7 | -0/+139 |
| | |||||
* | fix: Fixed sequelize-cli db:migration cannot stop when occur error | BoHong Li | 2017-03-24 | 5 | -41/+51 |
| | | | | | | Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail | ||||
* | Use strict mode in all backend files | BoHong Li | 2017-03-14 | 5 | -0/+5 |
| | | | | add ‘use strict’ in all backend file | ||||
* | Use JavaScript Standard Style | BoHong Li | 2017-03-08 | 5 | -45/+29 |
| | | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code. | ||||
* | Fix redundant parameter to removeColumn in db migration scripts | Wu Cheng-Han | 2017-01-21 | 2 | -3/+3 |
| | |||||
* | Fix migration script of revision lacks of definition of primary key | Wu Cheng-Han | 2017-01-02 | 1 | -1/+4 |
| | |||||
* | Update to support optional email register and signin | Wu Cheng-Han | 2016-12-02 | 1 | -0/+13 |
| | |||||
* | Update to support delete note | Wu Cheng-Han | 2016-10-10 | 1 | -0/+11 |
| | |||||
* | Add support of saving authors and authorship | Wu Cheng-Han | 2016-07-30 | 1 | -0/+28 |
| | |||||
* | Add support of saving note revision and improve app start and stop procedure ↵ | Cheng-Han, Wu | 2016-06-17 | 1 | -0/+24 |
| | | | | to ensure data integrity | ||||
* | Add db migrations for PR #121 | Cheng-Han, Wu | 2016-05-15 | 1 | -0/+15 |