Commit Graph

4 Commits

Author SHA1 Message Date
927bdd03ce
feat: added JWT-based authentication; introduced config file
* authorization [WIP]
* refactored several sections
* used dict(exclude_unset=True)
* global values are now sourced from a config file (statuspagerc)
2020-08-11 11:48:46 +02:00
6316d635dd
refactor: substitute longer names for shorter to live longer 2020-08-07 02:25:33 +02:00
fc0051b243
feat: added complete CRUD functionality for service and user
* aside from slight refactors there have been route changes
  (/api/v1/service/ --> /api/v1/service)
* added helper little function for grabbing user and service ids
* refactored a couple of return statements
* added separate models for updates
* adjusted error handling behaviour: more general 422 is now returned
  (previously 404 was used) --> hopefully leaking less information
* updates are divided into multiple queries **as of now**, mainly due to
  my sqlalchemy amateurism: can't figure out how to construct a proper
  multi-column-update query programatically
2020-08-07 02:00:35 +02:00
2dd2258472
feat: {user,service} {creation,deletion,listing}
* also updated requirements.txt accordingly
2020-08-04 23:27:13 +02:00