Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * 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 |
| | |||||
* | Only crate /opt/certs/ if the directory is missing. | Kristofer Hallin | 2021-11-16 | 1 | -2/+0 |
| | |||||
* | Use DOCKER_JWT_PUBKEY_PATH for public key and some minor fixes. | Kristofer Hallin | 2021-11-16 | 3 | -6/+6 |
| | |||||
* | * Don't switch to main brach, we're already there. | Kristofer Hallin | 2021-11-12 | 3 | -5/+7 |
| | | | | | * Look for public key in /opt/cert. * Add variable to compose. | ||||
* | If the database is unavailable when we try to connect, make a few more ↵ | Kristofer Hallin | 2021-11-12 | 1 | -2/+14 |
| | | | | attempts before giving up. | ||||
* | Add auth-server-poc | Ernst Widerberg | 2021-11-10 | 13 | -0/+606 |
| | |||||
* | Merge branch 'main' of git.sunet.se:soc_collector | Kristofer Hallin | 2021-11-10 | 1 | -24/+19 |
|\ | |||||
| * | Update feeder for new data format and add asn_country_code | Ernst Widerberg | 2021-11-04 | 1 | -24/+19 |
| | | |||||
* | | Typo, statuc -> status.fastapi | Kristofer Hallin | 2021-10-29 | 1 | -2/+2 |
| | | |||||
* | | Read domain/org from token. | Kristofer Hallin | 2021-10-29 | 1 | -18/+42 |
| | | |||||
* | | Simple tool which will produce JWT tokens for testing. | Kristofer Hallin | 2021-10-29 | 1 | -0/+45 |
| | | |||||
* | | Merged main into fastapi branch. | Kristofer Hallin | 2021-10-29 | 4 | -9/+15 |
|\ \ | |/ | |||||
| * | Initialize CouchDB properly, now _users should be created. | Kristofer Hallin | 2021-10-29 | 3 | -1/+8 |
| | | |||||
| * | quote url containing ampersand and clarify "key"linus/debian11 | Linus Nordberg | 2021-10-27 | 1 | -2/+2 |
| | | |||||
| * | update dependencies | Linus Nordberg | 2021-10-27 | 1 | -2/+1 |
| | | |||||
| * | tested with bullseye | Linus Nordberg | 2021-10-27 | 1 | -2/+2 |
| | | |||||
| * | typo fix | Linus Nordberg | 2021-10-27 | 1 | -1/+1 |
| | | |||||
| * | lower the docker-compose file version | Linus Nordberg | 2021-10-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Debian 11 (bullseye) comes with docker-compose version 1.25.0, build unknown. Lowering the docker-compose version to 2.3 seems to work. But I'm really not sure what I'm doing here. Please lmk if this isn't reasonable. | ||||
* | | Use FastAPI + JWT instead of Falcon. | Kristofer Hallin | 2021-10-29 | 4 | -181/+156 |
|/ | |||||
* | Remove unused variables. | Kristofer Hallin | 2021-10-18 | 2 | -6/+4 |
| | |||||
* | Merge branch 'main' of git.sunet.se:soc_collector | Kristofer Hallin | 2021-10-18 | 1 | -1/+1 |
|\ |