aboutsummaryrefslogtreecommitdiff
path: root/src/auth.ts
AgeCommit message (Collapse)AuthorLines
2018-04-20Finalise CORS support with package corserTom Harley-1/+1
2018-04-10fixed auth testsjw255-3/+4
2018-03-29Address numerous errors in test suitesTom Harley-5/+28
Many errors still remian.
2018-03-27Fix some minor linting errorsTom Harley-102/+106
2018-03-27Merge branch 'testing-middleware' into developmentTom Harley-9/+18
2018-03-27Centralise test configuration and introduce SQLiteTom Harley-8/+8
Tests now take their configuration from a new file test-db.ts. Additionally, this configuration sets up and uses an in-memory SQLite3 database for testing, to avoid writing to disk and to prevent edits to a current database.
2018-03-07Merge remote-tracking branch 'origin/testing-middleware' into developmentTom Harley-6/+3
2018-03-07Merge branch 'trh/docs' into developmentTom Harley-17/+66
2018-03-07Add documentation for some filesTom Harley-17/+66
2018-03-07changed login endpoint to oauthHafeez-1/+1
2018-03-06authentication testsjw255-2/+0
2018-03-05fixed expressJwt req user contentsHafeez-17/+25
2018-03-03Implement handling of unauthorised requestsTom Harley-13/+16
2018-03-03Fix minor thingsTom Harley-8/+19
2018-03-02Plug in authentication support - WIPTom Harley-49/+51
2018-03-01added middleware to check if adminHafeez-0/+8
2018-03-01added new request error objectsHafeez-44/+29
2018-02-22Revert "Revert "Merge branch 'trh/error-middleware' into 'master'""Tom Harley-0/+136
This reverts commit 3198c6c2474101623e3b95bd038effe210c176a8.
2018-02-22Revert "Merge branch 'trh/error-middleware' into 'master'"THarley-136/+0
This reverts merge request !13
2018-02-20Merge branch 'master' into trh/payload-checkerTom Harley-59/+61
2018-02-08begun improving code structure for modularisationHafeez-91/+74
2018-02-07added route protection and tested with simple dummy serverHafeez-29/+81
2018-02-07added ensureAuth methodHafeez-1/+8
2018-02-07started creating authentication middlewareHafeez-0/+92