Historique des commits

Auteur SHA1 Message Date
  sbkwgh 36eee5a72e Add invalidToken error il y a 8 ans
  sbkwgh 813b45d4ca For convenience, move away from migrations to using sequelize.sync({force:true}) in development il y a 8 ans
  sbkwgh d7d7a2964f Add test and update route to login in user (i.e. set the session variable) when creating account il y a 8 ans
  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) il y a 8 ans
  sbkwgh dbb31724c7 Add 403 status, change typo of async to await il y a 8 ans
  sbkwgh eef99c4d2b Stop logging sql commands from sequelize il y a 8 ans
  sbkwgh 4f033e4c20 Use new http scheme for tests il y a 8 ans
  sbkwgh da45a5387f User new http scheme (changing to use POST /username/login and POST /username/logout) il y a 8 ans
  sbkwgh 57ee6cb603 Fix typo il y a 8 ans
  sbkwgh 10a95d519b Add login and log out routes il y a 8 ans
  sbkwgh accc914eb7 Add session middle where to server il y a 8 ans
  sbkwgh 2c88827729 Add express-session and bcrypt dependencies il y a 8 ans
  sbkwgh 851a305940 Add invalidLoginCredentials and requestNotAuthorized error il y a 8 ans
  sbkwgh cacfe862c4 Add sessionSecret variable il y a 8 ans
  sbkwgh ea6b957e8f Add tests for logging in/out il y a 8 ans
  sbkwgh a3ebeb8233 Fix typos like not changing status code, send json for types test il y a 8 ans
  sbkwgh 4493ddebeb Add custom error for unique constraint error il y a 8 ans
  sbkwgh a2a102500c Merge branch 'implement-user-tests' il y a 8 ans
  sbkwgh a5736ebb37 Add chai-thing package, update/simplify tests il y a 8 ans
  sbkwgh 1a86b9e6d6 Fix errors bug - for functions return message and name object il y a 8 ans
  sbkwgh 391da7007c Fix typo il y a 8 ans
  sbkwgh 4c9104cc21 Fix typo il y a 8 ans
  sbkwgh 7ad8444e40 Add validations il y a 8 ans
  sbkwgh c8eb10feb1 Add migration for unique username attribute il y a 8 ans
  sbkwgh 739513253d Make username unique il y a 8 ans
  sbkwgh e905727995 Add error class name il y a 8 ans
  sbkwgh 0bbaa1005f Remove indicative dependency il y a 8 ans
  sbkwgh 52a69b7191 Fix wrong correct output for test il y a 8 ans
  sbkwgh 1464287215 Add tests and corresponding errors for username and password fields il y a 8 ans
  sbkwgh 2339a6f544 Add 2 tests for omission of username or password field il y a 8 ans