summaryrefslogtreecommitdiff
path: root/lib/web/noteRouter.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-27Move note actions to their own file.David Mehren1-30/+0
Because of circular import problems, this commit also moves the error messages from response.js to errors.js Signed-off-by: David Mehren <dmehren1@gmail.com>
2019-09-04Refactored note-creation with given noteIdErik Michelson1-3/+3
Known bugs/features: - pushing towards an existing note results in an error 500 Signed-off-by: Erik Michelson <erik@liltv.de>
2019-09-04Added endpoint for note-creation with given aliasErik Michelson1-0/+2
Signed-off-by: Erik Michelson <erik@liltv.de>
2019-05-31Fix eslint warningsSheogorath1-1/+1
Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-18Allow posting new note with contentDustin Frisch1-0/+4
Signed-off-by: Dustin Frisch <fooker@lab.sh>
2017-05-08refactor(app.js): Extract note actionBoHong Li1-0/+24