Историја ревизија

Аутор SHA1 Порука Датум
  sbkwgh c34f9fb9c0 Use marked as setter for content field of post пре 8 година
  sbkwgh 9819ba9c92 Add marked dependency пре 8 година
  sbkwgh ade4ba95c4 Initial commit пре 8 година
  sbkwgh 9d10d78424 Initial commit пре 8 година
  sbkwgh 0bf11850f5 Send 401 rather than 400 error for invalid token пре 8 година
  sbkwgh fb72a38180 Fix test bugs and typos пре 8 година
  sbkwgh cff3e3c557 Add before hook until app starts up пре 8 година
  sbkwgh 0e22ac47be Fix bug: wrong variable пре 8 година
  sbkwgh 6ca79d48fe Fix typo пре 8 година
  sbkwgh 19e555c5a7 Correctly implement async/await for tests пре 8 година
  sbkwgh 0b309eb2f6 Add admin_token route and add event for when app starts пре 8 година
  sbkwgh de1feba110 Delete token if it has been successfully used пре 8 година
  sbkwgh 2b86ca9643 Add admin conditional route, as well as checking for token пре 8 година
  sbkwgh 7ef54969be Add default value of false to admin field пре 8 година
  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 година