Commit Graph

19 Commits

Author SHA1 Message Date
6eff525fcb
chore: add deps to requirements 2020-08-11 18:58:49 +02:00
29058a2b26
chore: added basic teplating [wip] 2020-08-11 15:12:22 +02:00
d33d8a4c71
chore: introducing metrics 2020-08-11 15:02:42 +02:00
fad6ab856a
chore: adding metric grabber + celery runner 2020-08-11 14:25:00 +02:00
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
42b7bb69f1
refactor: service types reduction, url validation
* remove ssh from service types for now
* validate urls as http/s using pydantic type HttpUrl
2020-08-07 22:56:00 +02:00
74ecee3557
feat: changed PUT to PATCH, added sanity checks, fixed typos
* also added nicer error response messages that, I believe, add clarity
2020-08-07 22:03:42 +02:00
79b77acaef
chore: document briefly 2020-08-07 03:10:37 +02:00
5c8af2930b
refactor: a couple of renames + use async where sensible 2020-08-07 02:52:11 +02:00
5c010a60b6
chore: added simple API response models 2020-08-07 02:31:01 +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
7e51efa9b0
chore: aligning models and schemas
complementary to 683586d
2020-08-07 01:56:18 +02:00
683586d6f0
refactor: updated schema to better reflect the models 2020-08-07 01:54:22 +02:00
35dbbffd49
chore: print generated/executed SQL
for debugging purposes
2020-08-07 01:51:06 +02:00
e31994efd6
chore: don't track db files 2020-08-07 01:49:36 +02:00
2dd2258472
feat: {user,service} {creation,deletion,listing}
* also updated requirements.txt accordingly
2020-08-04 23:27:13 +02:00
b7c6f30f06
feat: added project files 2020-07-30 23:26:57 +02:00
ccece4bd8b
initial commit 2020-07-30 19:52:34 +02:00