Commit History

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