Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework debug logging | Sheogorath | 2019-06-08 | 1 | -3/+2 |
| | | | | | | | | | | | | | | We have various places with overly simple if statements that could be handled by our logging library. Also a lot of those logs are not marked as debug logs but as info logs, which can cause confusion during debugging. This patch removed unneeded if clauses around debug logging statements, reworks debug log messages towards ECMA templates and add some new logging statements which might be helpful in order to debug things like image uploads. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | lib/models/revision.js: make independent of exec-path | WilliButz | 2018-09-26 | 1 | -1/+2 |
| | | | | | | | | | | | Previously calling `app.js` from another directory than the base directory of CodiMD would result in an error being thrown because `lib/workers/dmpWorker.js` could not be found. This change makes the function call independent of the path CodiMD is started from. Signed-off-by: WilliButz <wbutz@cyberfnord.de> | ||||
* | Use cascaded deletes | Sheogorath | 2018-05-25 | 1 | -1/+3 |
| | | | | | | | When we delete a user we should delete all the notes that belong to this user including the revisions of these notes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> | ||||
* | Fix field type to prevent data truncation of authorship (#721) | Max Wu | 2018-02-09 | 1 | -1/+1 |
| | | | | * Fix field type to prevent data truncation of authorship | ||||
* | Ignore empty values for revision. | Sheogorath | 2018-01-18 | 1 | -2/+2 |
| | | | | Fixes #420 | ||||
* | Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵ | Claudius Coenen | 2017-10-16 | 1 | -3/+3 |
| | | | | truncation of data. | ||||
* | createdAt DESC with quotation marks did not work with MySQL fixes #565 | Claudius Coenen | 2017-10-09 | 1 | -4/+4 |
| | |||||
* | refactor: Remove `require` extension filename | BoHong Li | 2017-05-08 | 1 | -2/+2 |
| | |||||
* | Use strict mode in all backend files | BoHong Li | 2017-03-14 | 1 | -0/+1 |
| | | | | add ‘use strict’ in all backend file | ||||
* | Use JavaScript Standard Style | BoHong Li | 2017-03-08 | 1 | -290/+290 |
| | | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code. | ||||
* | Refactor data processing to model definition | Wu Cheng-Han | 2017-01-02 | 1 | -0/+12 |
| | |||||
* | Update to remove null byte before saving to DB and remove null byte on changes | Wu Cheng-Han | 2017-01-02 | 1 | -4/+16 |
| | |||||
* | Remove LZString compression for data storage | Wu Cheng-Han | 2017-01-02 | 1 | -6/+5 |
| | |||||
* | Add dmp worker to leverage CPU intensive calculation to child process | Wu Cheng-Han | 2016-11-18 | 1 | -102/+79 |
| | |||||
* | Change revision saving policy period | Wu Cheng-Han | 2016-10-15 | 1 | -2/+2 |
| | |||||
* | Update to add revision saving policy | Wu Cheng-Han | 2016-09-18 | 1 | -3/+23 |
| | |||||
* | Add support of saving authorship to revision | Wu Cheng-Han | 2016-07-30 | 1 | -3/+10 |
| | |||||
* | Add support of saving authors and authorship | Wu Cheng-Han | 2016-07-30 | 1 | -0/+3 |
| | |||||
* | Fix typo | Wu Cheng-Han | 2016-07-30 | 1 | -1/+1 |
| | |||||
* | Add support of saving note revision and improve app start and stop procedure ↵ | Cheng-Han, Wu | 2016-06-17 | 1 | -0/+276 |
to ensure data integrity |