Commit History

Autor SHA1 Mensaxe Data
  sbkwgh 813b45d4ca For convenience, move away from migrations to using sequelize.sync({force:true}) in development %!s(int64=8) %!d(string=hai) anos
  sbkwgh d7d7a2964f Add test and update route to login in user (i.e. set the session variable) when creating account %!s(int64=8) %!d(string=hai) anos
  sbkwgh ba889de32d Fix incorrect promise implementation - n.b. chai gives an error even though test is passing because the resource (correctly) returns a 403 forbidden error (perhaps a bug in chaijs) %!s(int64=8) %!d(string=hai) anos
  sbkwgh dbb31724c7 Add 403 status, change typo of async to await %!s(int64=8) %!d(string=hai) anos
  sbkwgh eef99c4d2b Stop logging sql commands from sequelize %!s(int64=8) %!d(string=hai) anos
  sbkwgh 4f033e4c20 Use new http scheme for tests %!s(int64=8) %!d(string=hai) anos
  sbkwgh da45a5387f User new http scheme (changing to use POST /username/login and POST /username/logout) %!s(int64=8) %!d(string=hai) anos
  sbkwgh 57ee6cb603 Fix typo %!s(int64=8) %!d(string=hai) anos
  sbkwgh 10a95d519b Add login and log out routes %!s(int64=8) %!d(string=hai) anos
  sbkwgh accc914eb7 Add session middle where to server %!s(int64=8) %!d(string=hai) anos
  sbkwgh 2c88827729 Add express-session and bcrypt dependencies %!s(int64=8) %!d(string=hai) anos
  sbkwgh 851a305940 Add invalidLoginCredentials and requestNotAuthorized error %!s(int64=8) %!d(string=hai) anos
  sbkwgh cacfe862c4 Add sessionSecret variable %!s(int64=8) %!d(string=hai) anos
  sbkwgh ea6b957e8f Add tests for logging in/out %!s(int64=8) %!d(string=hai) anos
  sbkwgh a3ebeb8233 Fix typos like not changing status code, send json for types test %!s(int64=8) %!d(string=hai) anos
  sbkwgh 4493ddebeb Add custom error for unique constraint error %!s(int64=8) %!d(string=hai) anos
  sbkwgh a2a102500c Merge branch 'implement-user-tests' %!s(int64=8) %!d(string=hai) anos
  sbkwgh a5736ebb37 Add chai-thing package, update/simplify tests %!s(int64=8) %!d(string=hai) anos
  sbkwgh 1a86b9e6d6 Fix errors bug - for functions return message and name object %!s(int64=8) %!d(string=hai) anos
  sbkwgh 391da7007c Fix typo %!s(int64=8) %!d(string=hai) anos
  sbkwgh 4c9104cc21 Fix typo %!s(int64=8) %!d(string=hai) anos
  sbkwgh 7ad8444e40 Add validations %!s(int64=8) %!d(string=hai) anos
  sbkwgh c8eb10feb1 Add migration for unique username attribute %!s(int64=8) %!d(string=hai) anos
  sbkwgh 739513253d Make username unique %!s(int64=8) %!d(string=hai) anos
  sbkwgh e905727995 Add error class name %!s(int64=8) %!d(string=hai) anos
  sbkwgh 0bbaa1005f Remove indicative dependency %!s(int64=8) %!d(string=hai) anos
  sbkwgh 52a69b7191 Fix wrong correct output for test %!s(int64=8) %!d(string=hai) anos
  sbkwgh 1464287215 Add tests and corresponding errors for username and password fields %!s(int64=8) %!d(string=hai) anos
  sbkwgh 2339a6f544 Add 2 tests for omission of username or password field %!s(int64=8) %!d(string=hai) anos
  sbkwgh 0e40d5386b Add errors file %!s(int64=8) %!d(string=hai) anos