Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Readd a default user `usr` | Ernst Widerberg | 2022-01-17 | 1 | -0/+6 |
| | |||||
* | Update README | Ernst Widerberg | 2022-01-14 | 1 | -6/+0 |
| | |||||
* | Bugfix | Ernst Widerberg | 2022-01-14 | 1 | -2/+2 |
| | |||||
* | Update test JWT + cert | Ernst Widerberg | 2022-01-14 | 2 | -5/+3 |
| | |||||
* | REDAME: Add tip about JWT decoding | Ernst Widerberg | 2022-01-14 | 1 | -1/+7 |
| | |||||
* | Move userdb.yaml to mounted volume | Ernst Widerberg | 2022-01-14 | 3 | -1/+6 |
| | |||||
* | quickstart_test: Remove unused env var JWT_TOKEN | Ernst Widerberg | 2022-01-14 | 1 | -1/+0 |
| | |||||
* | Decrease database reconnection timer | Ernst Widerberg | 2022-01-14 | 1 | -1/+1 |
| | |||||
* | Revert "Only retry the database connection if we get an ConnectionError ↵ | Ernst Widerberg | 2022-01-14 | 1 | -4/+3 |
| | | | | | | exception." This reverts commit a3b5cde94981b9a98d367004b4c513c81e5870e4. | ||||
* | Separate out env vars from quickstart.sh | Ernst Widerberg | 2022-01-14 | 3 | -9/+8 |
| | |||||
* | Printing bugfix | Ernst Widerberg | 2022-01-14 | 1 | -2/+2 |
| | |||||
* | Add read/write permissions to JWTs based on YAML | Ernst Widerberg | 2022-01-13 | 7 | -76/+164 |
| | | | | | | | - 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. | ||||
* | Add convenience script do-as | Ernst Widerberg | 2022-01-13 | 2 | -0/+19 |
| | |||||
* | Only retry the database connection if we get an ConnectionError exception. | Kristofer Hallin | 2021-12-17 | 1 | -3/+4 |
| | |||||
* | Remove the existing venv. We should create our own. | Kristofer Hallin | 2021-12-17 | 1 | -0/+5 |
| | |||||
* | Pass -c to quickstart_test.sh and we will start CouchDB for you as well. | Kristofer Hallin | 2021-11-26 | 2 | -3/+28 |
| | |||||
* | fix typo | Linus Nordberg | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | More unittests. | Kristofer Hallin | 2021-11-26 | 1 | -0/+20 |
| | |||||
* | Set up virtualenv and install requirements if -v is passed to quickstart_test.sh | Kristofer Hallin | 2021-11-26 | 1 | -7/+25 |
| | |||||
* | Require JWT token for the /delete endpoint. | Kristofer Hallin | 2021-11-26 | 1 | -1/+4 |
| | |||||
* | * Now possible to remove documents, new /delete endpoint. | Kristofer Hallin | 2021-11-26 | 3 | -0/+113 |
| | | | | * More unittests. | ||||
* | Updated requirements. | Kristofer Hallin | 2021-11-26 | 1 | -1/+9 |
| | |||||
* | Use the database unittest for unittests. | Kristofer Hallin | 2021-11-26 | 1 | -1/+1 |
| | |||||
* | More unittests.fastapi_pytest | Kristofer Hallin | 2021-11-26 | 1 | -2/+65 |
| | |||||
* | Merge branch 'main' of git.sunet.se:soc_collector into fastapi_pytest | Kristofer Hallin | 2021-11-26 | 3 | -10/+18 |
|\ | |||||
| * | user www-data needs to read the private key | Linus Nordberg | 2021-11-25 | 1 | -0/+1 |
| | | |||||
| * | document dependencies | Linus Nordberg | 2021-11-25 | 1 | -1/+1 |
| | | |||||
| * | Add local development instructions to README | Ernst Widerberg | 2021-11-25 | 1 | -0/+11 |
| | | |||||
| * | quickstart.sh: Use docker-compose-dev by default | Ernst Widerberg | 2021-11-25 | 1 | -8/+1 |
| | | | | | | | | Remove "dev" argument | ||||
| * | auth-server-poc: Optimize Docker build | Ernst Widerberg | 2021-11-25 | 1 | -1/+4 |
| | | |||||
* | | First embryo for unittests. | Kristofer Hallin | 2021-11-25 | 3 | -0/+39 |
|/ | |||||
* | Fix get/<id> endpoint | Ernst Widerberg | 2021-11-24 | 1 | -0/+4 |
| | |||||
* | Add dev version of docker-compose for collector | Ernst Widerberg | 2021-11-24 | 3 | -1/+69 |
| | | | | | Copies code from host rather than pulling from GitHub. Use with `./quickstart.sh dev`. | ||||
* | Add Access-Control-Expose-Headers: X-Total-Count to CORS | Ernst Widerberg | 2021-11-24 | 1 | -0/+1 |
| | |||||
* | Bugfix | Ernst Widerberg | 2021-11-24 | 1 | -1/+1 |
| | |||||
* | Add mock X-Total-Count | Ernst Widerberg | 2021-11-24 | 1 | -0/+7 |
| | |||||
* | Add CORS middleware | Ernst Widerberg | 2021-11-24 | 1 | -0/+9 |
| | |||||
* | Update README for current data format | Ernst Widerberg | 2021-11-24 | 2 | -22/+50 |
| | |||||
* | Update README for JWT | Ernst Widerberg | 2021-11-24 | 1 | -15/+19 |
| | |||||
* | Generate a default htpasswd file on host | Ernst Widerberg | 2021-11-24 | 2 | -4/+13 |
| | |||||
* | Add auth-server-poc to quickstart script | Ernst Widerberg | 2021-11-24 | 1 | -1/+2 |
| | |||||
* | Use DOCKER_JWT_PUBKEY_PATH in auth-server-poc as well | Ernst Widerberg | 2021-11-24 | 1 | -2/+1 |
| | |||||
* | Bugfix? | Ernst Widerberg | 2021-11-23 | 1 | -1/+1 |
| | |||||
* | Script for the lazy ones, like me. | Kristofer Hallin | 2021-11-18 | 1 | -0/+21 |
| | |||||
* | Bump docker-compose version. | Kristofer Hallin | 2021-11-17 | 1 | -1/+1 |
| | |||||
* | Use the official Nginx image. | Kristofer Hallin | 2021-11-17 | 3 | -20/+2 |
| | |||||
* | Nginx is now running in its own container. | Kristofer Hallin | 2021-11-17 | 8 | -30/+33 |
| | |||||
* | * Rename wsgi.py to main.py, we're not using WSGI. | Kristofer Hallin | 2021-11-17 | 3 | -1/+2 |
| | | | | * Added env variable. | ||||
* | Use Uvicorn since we now run FastAPI which uses ASGI. | Kristofer Hallin | 2021-11-17 | 4 | -17/+6 |
| | |||||
* | /opt/cert -> /opt/certs | Kristofer Hallin | 2021-11-16 | 1 | -1/+1 |
| |