Historie revizí

Autor SHA1 Zpráva Datum
  sbkwgh ef5111cf53 Move logic to pagination functions in lib folder; at threads query route před 8 roky
  sbkwgh e1bd40ff1d Fix bugs to make tests green for user page pagination před 8 roky
  sbkwgh 4698a1d331 Add pagination to user page před 8 roky
  sbkwgh 1ec8bf1085 Get comments for user by passing comments query to route před 8 roky
  sbkwgh b3839bc591 Throw accoutn does not exist error if account does not exist před 8 roky
  sbkwgh 304c24cfa3 Allow get route for user without being logged in, update tests to reflect this před 8 roky
  sbkwgh f19b2d5a78 Add session function to set session and username cookie před 8 roky
  sbkwgh 3306d234a7 Add admin session parameter, set session to null to delete před 8 roky
  sbkwgh 0bf11850f5 Send 401 rather than 400 error for invalid token před 8 roky
  sbkwgh 0e22ac47be Fix bug: wrong variable 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 d7d7a2964f Add test and update route to login in user (i.e. set the session variable) when creating account před 8 roky
  sbkwgh dbb31724c7 Add 403 status, change typo of async to await 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 10a95d519b Add login and log out routes před 8 roky
  sbkwgh 4493ddebeb Add custom error for unique constraint error před 8 roky
  sbkwgh 391da7007c Fix typo před 8 roky
  sbkwgh 7ad8444e40 Add validations před 8 roky
  sbkwgh 0bbaa1005f Remove indicative dependency před 8 roky
  sbkwgh 7f6e8d181d Add structure for sequelize and tests před 8 roky