summaryrefslogtreecommitdiff
path: root/src/main.py
Commit message (Collapse)AuthorAgeFilesLines
* Decrease database reconnection timerErnst Widerberg2022-01-141-1/+1
|
* Revert "Only retry the database connection if we get an ConnectionError ↵Ernst Widerberg2022-01-141-4/+3
| | | | | | exception." This reverts commit a3b5cde94981b9a98d367004b4c513c81e5870e4.
* Printing bugfixErnst Widerberg2022-01-141-2/+2
|
* Add read/write permissions to JWTs based on YAMLErnst Widerberg2022-01-131-8/+55
| | | | | | | - Uses Linus's YAML code, except with password stuff removed since auth-server-poc uses htpasswd. - The collector checks JWT on API endpoints get, get/{key}, and delete/{key}, but not on add.
* Only retry the database connection if we get an ConnectionError exception.Kristofer Hallin2021-12-171-3/+4
|
* Require JWT token for the /delete endpoint.Kristofer Hallin2021-11-261-1/+4
|
* * Now possible to remove documents, new /delete endpoint.Kristofer Hallin2021-11-261-0/+12
| | | | * More unittests.
* Fix get/<id> endpointErnst Widerberg2021-11-241-0/+4
|
* Add Access-Control-Expose-Headers: X-Total-Count to CORSErnst Widerberg2021-11-241-0/+1
|
* BugfixErnst Widerberg2021-11-241-1/+1
|
* Add mock X-Total-CountErnst Widerberg2021-11-241-0/+7
|
* Add CORS middlewareErnst Widerberg2021-11-241-0/+9
|
* Bugfix?Ernst Widerberg2021-11-231-1/+1
|
* * Rename wsgi.py to main.py, we're not using WSGI.Kristofer Hallin2021-11-171-0/+145
* Added env variable.