aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-03-07another tryjw255-1/+1
2018-03-06authentication testsjw255-4/+0
2018-03-05Merge branch 'trh/payload-checker' into testing-middlewarejw255-61/+305
2018-03-05authentication tests in progressjw255-376/+0
2018-03-05fixed merge conflictHafeez-43/+279
2018-03-05fixed expressJwt req user contentsHafeez-19/+27
2018-03-05Merge branch 'trh/logger' into trh/payload-checkerTom Harley-43/+279
2018-03-05Introduce logging systemTom Harley-47/+282
2018-03-04Merge branch 'trh/payload-checker' into testing-middlewarejw255-27/+37
2018-03-04started authenticatingjw255-1/+2
2018-03-03Implement handling of unauthorised requestsTom Harley-23/+34
2018-03-03pulled latest files from trh/payload-checkerjw255-350/+2002
2018-03-03Fix minor thingsTom Harley-28/+32
2018-03-03Merge branch 'trh/gets' into trh/payload-checkerTom Harley-307/+713
2018-03-02Plug in authentication support - WIPTom Harley-59/+84
2018-03-01Add miniature response-wrapper middlewareTom Harley-0/+9
2018-03-01Implement GET and POST request handlersTom Harley-315/+701
2018-03-01added middleware to check if adminHafeez-0/+8
2018-03-01added new request error objectsHafeez-44/+29
2018-02-24needed latest changes to master for testing purposesjw255-6/+24
2018-02-24tests now actually test what they are supposed to and catch errors if neededjw255-3/+13
2018-02-24restructuring of tests + yarn install scriptjw255-341/+0
2018-02-22Revert "Revert "Merge branch 'trh/error-middleware' into 'master'""Tom Harley-228/+1456
This reverts commit 3198c6c2474101623e3b95bd038effe210c176a8.
2018-02-22Revert "Merge branch 'trh/error-middleware' into 'master'"THarley-1456/+228
This reverts merge request !13
2018-02-22Include error-handling in middleware stackTom Harley-1/+8
2018-02-22restructuring of testsjw255-3/+8
2018-02-22Add error-handling middleware with basic testsTom Harley-0/+86
2018-02-20Merge branch 'master' into trh/payload-checkerTom Harley-1605/+1915
2018-02-13Export Property from serverConfig.ts.Tom Harley-1/+1
Whoops.
2018-02-13Merge branch 'trh/linter'Tom Harley-531/+632
2018-02-13Adding example documentation to serverConfig.ts.Tom Harley-4/+61
2018-02-13edited source to comply with linterTom Harley-489/+592
2018-02-09minor fixesTom Harley-6/+6
2018-02-09various work I forgot to commitTom Harley-32/+75
2018-02-08Merge branch 'auth' into trh/middlewareTom Harley-0/+134
2018-02-08Finiisshed? up nearly all of the stubs for get requests - Waiting to fix the ↵cjd24-22/+80
db problem to implement others
2018-02-08begun improving code structure for modularisationHafeez-91/+74
2018-02-08Edited some Model stuff, and filled in more stubs to use ORM modelscjd24-42/+200
2018-02-08Revert "Revert "Merge branch 'testing'""Tom Harley-1/+38
This reverts commit 0a9ebb01c27ed0a648922d243e877194977ce4d1.
2018-02-08Merge branch 'trh/db-orm' into trh/payload-checkerTom Harley-251/+2752
2018-02-08Merge branch 'jl247/db' into 'master'jl247-498/+334
Jl247/db See merge request cs3099group-be-4/project-code!7
2018-02-08configured server to use pg server on lab machinesTom Harley-12/+21
2018-02-08models should now do basic functioningTom Harley-15/+6
2018-02-08removed postgres passwordTom Harley-2/+1
2018-02-08should be almost functional nowTom Harley-1/+115
2018-02-08further work on ORM modelTom Harley-5/+85
2018-02-07added UUIDjosh97josh-498/+334
2018-02-07started working on ORM for DBTom Harley-0/+17
2018-02-07added route protection and tested with simple dummy serverHafeez-29/+81
2018-02-07added literal matchingTom Harley-2/+23
2018-02-07matching now supports nested functionsTom Harley-1/+27
2018-02-07removed types from options.ts to remove ts-node ambiguityTom Harley-9/+5
2018-02-07Merge branch 'master' of ↵cjd24-199/+523
https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-4/project-code
2018-02-07Streamlined script for adding postgres, and added packages in preparation ↵cjd24-0/+13
for writing ORM
2018-02-07Merge branch 'jl247/db' into 'master'jl247-199/+523
updated database See merge request cs3099group-be-4/project-code!6
2018-02-07updated databasejosh97josh-199/+523
2018-02-07Revert "Merge branch 'testing'"Tom Harley-171/+1
This reverts commit 1520a13a7144e6a0569f589d3aa5fdddc8136b8c, reversing changes made to de143da2021f8b972966be36b6bce26245c87e37.
2018-02-07added ensureAuth methodHafeez-1/+8
2018-02-07started creating authentication middlewareHafeez-0/+92
2018-02-06Merge branch 'testing'jw255-1/+171
2018-02-06testing merged with typecheckingjw255-170/+0
2018-02-06Merge branch 'trh/payload-checker' of ↵jw255-21/+58
https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-4/project-code into trh/payload-checker
2018-02-06Merge branch 'cjd24/stubsgres' into 'master'cjd24-39/+146
Filled in some of the first method stubs, added serverconfig.ts, and added… See merge request cs3099group-be-4/project-code!5
2018-02-06Filled in some of the first method stubs, added serverconfig.ts, and added ↵cjd24-39/+146
script to install postgres on lab machine for doing db stuff
2018-02-06curried option functionsTom Harley-21/+58
2018-02-06added databasejosh97josh-0/+2049
2018-02-06Merge branch 'testing' into trh/payload-checkerjw255-1/+3
2018-02-06some testingjw255-1/+3
2018-02-06started work on type checkingTom Harley-0/+301
2018-01-31method stubs added for all Ryan's BE protocol endpointsjw255-18/+310
2018-01-16added router class to handle API calls and updated TODO with latest Protocol ↵jw255-4/+65
decisions available
2018-01-10updated readme, todo to explain/include changes. wrote a test for ↵jw255-5/+14
helloworld. all test files need .test.ts extension.
2018-01-10barebone .ts node server. pushing to see if all dependencies are included ↵jw255-0/+37
and if it runs on the host server