Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More unittests.fastapi_pytest | Kristofer Hallin | 2021-11-26 | 1 | -2/+65 |
| | |||||
* | 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 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 |
| | |||||
* | Bugfix? | Ernst Widerberg | 2021-11-23 | 1 | -1/+1 |
| | |||||
* | * Rename wsgi.py to main.py, we're not using WSGI. | Kristofer Hallin | 2021-11-17 | 1 | -0/+0 |
| | | | | * Added env variable. | ||||
* | /opt/cert -> /opt/certs | Kristofer Hallin | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | * Don't switch to main brach, we're already there. | Kristofer Hallin | 2021-11-12 | 1 | -4/+4 |
| | | | | | * 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. | ||||
* | 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 |
| | |||||
* | Use FastAPI + JWT instead of Falcon. | Kristofer Hallin | 2021-10-29 | 3 | -178/+135 |
| | |||||
* | Remove unused variables. | Kristofer Hallin | 2021-10-18 | 2 | -6/+4 |
| | |||||
* | Checkk if we have a document before trying to use its key. | Kristofer Hallin | 2021-10-18 | 1 | -1/+1 |
| | |||||
* | Find, now with pagination! Use limit and skip to get the results you want. | Kristofer Hallin | 2021-10-14 | 2 | -21/+43 |
| | |||||
* | Merge branch 'main' of git.sunet.se:soc_collector | Kristofer Hallin | 2021-10-13 | 1 | -1/+1 |
|\ | |||||
| * | Flatten GET output | Ernst Widerberg | 2021-10-12 | 1 | -1/+1 |
| | | |||||
* | | Now possible to get data based on a single key. | Kristofer Hallin | 2021-10-13 | 1 | -2/+8 |
|/ | |||||
* | Support bulk transactions. | Kristofer Hallin | 2021-10-07 | 1 | -8/+5 |
| | |||||
* | Better indexes. | Kristofer Hallin | 2021-10-07 | 1 | -1/+5 |
| | |||||
* | Fixed db.get() and commented things somewhat. | Kristofer Hallin | 2021-10-07 | 1 | -1/+29 |
| | |||||
* | Create indexes when creating database, also make it possible to search based ↵ | Kristofer Hallin | 2021-10-06 | 3 | -19/+62 |
| | | | | on indexes. | ||||
* | Send back proper JSON to the user. | Kristofer Hallin | 2021-10-06 | 1 | -8/+16 |
| | |||||
* | Minor cleanups. | Kristofer Hallin | 2021-10-06 | 1 | -9/+7 |
| | |||||
* | Return the unique key in the response when adding new data. | Kristofer Hallin | 2021-10-06 | 1 | -10/+9 |
| | |||||
* | Now easier to put UWSGI and NGINX in front of the API. | Kristofer Hallin | 2021-10-06 | 1 | -38/+26 |
| | |||||
* | Use yaml.safe_load instead of yaml.load | Kristofer Hallin | 2021-10-06 | 1 | -1/+1 |
| | |||||
* | Removed store.py, not used any more. | Kristofer Hallin | 2021-10-01 | 1 | -62/+0 |
| | |||||
* | Fixed conflict. | Kristofer Hallin | 2021-10-01 | 2 | -7/+7 |
|\ | |||||
| * | Fix: Add list of observations | Ernst Widerberg | 2021-09-28 | 2 | -4/+8 |
| | | |||||
| * | Enable CORS | Ernst Widerberg | 2021-09-24 | 1 | -1/+1 |
| | | |||||
* | | * Use py-couchdb. | Kristofer Hallin | 2021-10-01 | 8 | -17/+1180 |
|/ | | | | * Other minor fixes and tweaks. | ||||
* | Use CouchDB, this might break things. | Kristofer Hallin | 2021-09-23 | 3 | -153/+69 |
| | |||||
* | add simple authentication based on a local yaml file | Linus Nordberg | 2021-09-15 | 2 | -22/+150 |
| | | | | | | | | This allows for mapping username/password pairs to sets of organisations with 'r' or 'rw' permissions. To be replaced with an external service providing a JWT in an HTTP header. | ||||
* | allow adding dicts as values | Linus Nordberg | 2021-06-22 | 1 | -7/+3 |
| | | | | | The json.loads() object_hook is invoked for _every_ JSON object, which is not what we want. | ||||
* | test insertion of a dict too | Linus Nordberg | 2021-06-22 | 1 | -4/+9 |
| | |||||
* | have db tests work again | Linus Nordberg | 2021-06-22 | 1 | -4/+5 |
| | |||||
* | move README.md up | Linus Nordberg | 2021-06-21 | 1 | -62/+0 |
| | |||||
* | initial commit | Linus Nordberg | 2021-06-21 | 4 | -0/+415 |