summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* If the database is unavailable when we try to connect, make a few more ↵Kristofer Hallin2021-11-121-2/+14
| | | | attempts before giving up.
* Typo, statuc -> status.fastapiKristofer Hallin2021-10-291-2/+2
|
* Read domain/org from token.Kristofer Hallin2021-10-291-18/+42
|
* Use FastAPI + JWT instead of Falcon.Kristofer Hallin2021-10-293-178/+135
|
* Remove unused variables.Kristofer Hallin2021-10-182-6/+4
|
* Checkk if we have a document before trying to use its key.Kristofer Hallin2021-10-181-1/+1
|
* Find, now with pagination! Use limit and skip to get the results you want.Kristofer Hallin2021-10-142-21/+43
|
* Merge branch 'main' of git.sunet.se:soc_collectorKristofer Hallin2021-10-131-1/+1
|\
| * Flatten GET outputErnst Widerberg2021-10-121-1/+1
| |
* | Now possible to get data based on a single key.Kristofer Hallin2021-10-131-2/+8
|/
* Support bulk transactions.Kristofer Hallin2021-10-071-8/+5
|
* Better indexes.Kristofer Hallin2021-10-071-1/+5
|
* Fixed db.get() and commented things somewhat.Kristofer Hallin2021-10-071-1/+29
|
* Create indexes when creating database, also make it possible to search based ↵Kristofer Hallin2021-10-063-19/+62
| | | | on indexes.
* Send back proper JSON to the user.Kristofer Hallin2021-10-061-8/+16
|
* Minor cleanups.Kristofer Hallin2021-10-061-9/+7
|
* Return the unique key in the response when adding new data.Kristofer Hallin2021-10-061-10/+9
|
* Now easier to put UWSGI and NGINX in front of the API.Kristofer Hallin2021-10-061-38/+26
|
* Use yaml.safe_load instead of yaml.loadKristofer Hallin2021-10-061-1/+1
|
* Removed store.py, not used any more.Kristofer Hallin2021-10-011-62/+0
|
* Fixed conflict.Kristofer Hallin2021-10-012-7/+7
|\
| * Fix: Add list of observationsErnst Widerberg2021-09-282-4/+8
| |
| * Enable CORSErnst Widerberg2021-09-241-1/+1
| |
* | * Use py-couchdb.Kristofer Hallin2021-10-018-17/+1180
|/ | | | * Other minor fixes and tweaks.
* Use CouchDB, this might break things.Kristofer Hallin2021-09-233-153/+69
|
* add simple authentication based on a local yaml fileLinus Nordberg2021-09-152-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 valuesLinus Nordberg2021-06-221-7/+3
| | | | | The json.loads() object_hook is invoked for _every_ JSON object, which is not what we want.
* test insertion of a dict tooLinus Nordberg2021-06-221-4/+9
|
* have db tests work againLinus Nordberg2021-06-221-4/+5
|
* move README.md upLinus Nordberg2021-06-211-62/+0
|
* initial commitLinus Nordberg2021-06-214-0/+415