summaryrefslogtreecommitdiff
path: root/lib/history.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-27Further improvement of error handling for LZStringSheogorath1-1/+5
This does some more in depth check on the error message and minimizes the log noise that is caused by LZString. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-07-27Minimize number of errors in LZString parsing errors for historySheogorath1-0/+9
Right now we still see a lot of LZString parsing errors in the logs. They probably come from the user history. We should minimize the number by add the basic length check there as well. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-10Improve history migration performanceMax Wu1-11/+5
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-26Add migration for LZString compressed note id in historyMax Wu1-1/+21
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2017-05-08refactor: Remove `require` extension filenameBoHong Li1-3/+3
2017-03-14Use strict mode in all backend filesBoHong Li1-0/+1
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li1-147/+150
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-02-03Update to remove history cache to lower application couplingWu Cheng-Han1-100/+47
2016-12-18Try to fix when server have heavy loading cache might not update to db properlyWu Cheng-Han1-1/+1
2016-11-16Revert "Add workers for history to leverage CPU intensive work loading"Wu Cheng-Han1-33/+46
This reverts commit b5920fbbd1ceb595456da18f7d458b63d1a960bf.
2016-11-07Add workers for history to leverage CPU intensive work loadingWu Cheng-Han1-46/+33
2016-10-11Fix history time should save in UNIX timestamp to avoid time offset issueWu Cheng-Han1-1/+1
2016-10-11Fix new note with empty content not saving to history and remove debug codeWu Cheng-Han1-4/+1
2016-10-10Update to add cache to historyWu Cheng-Han1-0/+228