Historie revizí

Autor SHA1 Zpráva Datum
  sbkwgh c34f9fb9c0 Use marked as setter for content field of post před 8 roky
  sbkwgh 9819ba9c92 Add marked dependency před 8 roky
  sbkwgh ade4ba95c4 Initial commit před 8 roky
  sbkwgh 9d10d78424 Initial commit před 8 roky
  sbkwgh 0bf11850f5 Send 401 rather than 400 error for invalid token před 8 roky
  sbkwgh fb72a38180 Fix test bugs and typos před 8 roky
  sbkwgh cff3e3c557 Add before hook until app starts up před 8 roky
  sbkwgh 0e22ac47be Fix bug: wrong variable před 8 roky
  sbkwgh 6ca79d48fe Fix typo před 8 roky
  sbkwgh 19e555c5a7 Correctly implement async/await for tests před 8 roky
  sbkwgh 0b309eb2f6 Add admin_token route and add event for when app starts před 8 roky
  sbkwgh de1feba110 Delete token if it has been successfully used před 8 roky
  sbkwgh 2b86ca9643 Add admin conditional route, as well as checking for token před 8 roky
  sbkwgh 7ef54969be Add default value of false to admin field před 8 roky
  sbkwgh d2a4147dbc Add admin_test route, test and model před 8 roky
  sbkwgh e7f51ef919 Add tests for admin accounts před 8 roky
  sbkwgh d0214822b2 Add admin field před 8 roky
  sbkwgh 36eee5a72e Add invalidToken error před 8 roky
  sbkwgh 813b45d4ca For convenience, move away from migrations to using sequelize.sync({force:true}) in development před 8 roky
  sbkwgh d7d7a2964f Add test and update route to login in user (i.e. set the session variable) when creating account před 8 roky
  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) před 8 roky
  sbkwgh dbb31724c7 Add 403 status, change typo of async to await před 8 roky
  sbkwgh eef99c4d2b Stop logging sql commands from sequelize před 8 roky
  sbkwgh 4f033e4c20 Use new http scheme for tests před 8 roky
  sbkwgh da45a5387f User new http scheme (changing to use POST /username/login and POST /username/logout) před 8 roky
  sbkwgh 57ee6cb603 Fix typo před 8 roky
  sbkwgh 10a95d519b Add login and log out routes před 8 roky
  sbkwgh accc914eb7 Add session middle where to server před 8 roky
  sbkwgh 2c88827729 Add express-session and bcrypt dependencies před 8 roky
  sbkwgh 851a305940 Add invalidLoginCredentials and requestNotAuthorized error před 8 roky