summaryrefslogtreecommitdiff
path: root/src/wsgi.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed merge conflicts.khn.jwtKristofer Hallin2021-10-181-43/+35
|
* Fixed merge conflicts.Kristofer Hallin2021-10-181-34/+55
|\
| * Remove unused variables.Kristofer Hallin2021-10-181-2/+0
| |
| * Find, now with pagination! Use limit and skip to get the results you want.Kristofer Hallin2021-10-141-17/+28
| |
| * 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
| |/
* | First draft implementation on JWT.Kristofer Hallin2021-10-081-2/+7
|/
* Create indexes when creating database, also make it possible to search based ↵Kristofer Hallin2021-10-061-4/+9
| | | | on indexes.
* Send back proper JSON to the user.Kristofer Hallin2021-10-061-8/+16
|
* Now easier to put UWSGI and NGINX in front of the API.Kristofer Hallin2021-10-061-38/+26
|
* Fixed conflict.Kristofer Hallin2021-10-011-3/+3
|\
| * Fix: Add list of observationsErnst Widerberg2021-09-281-2/+2
| |
| * Enable CORSErnst Widerberg2021-09-241-1/+1
| |
* | * Use py-couchdb.Kristofer Hallin2021-10-011-6/+6
|/ | | | * Other minor fixes and tweaks.
* Use CouchDB, this might break things.Kristofer Hallin2021-09-231-8/+24
|
* add simple authentication based on a local yaml fileLinus Nordberg2021-09-151-22/+41
| | | | | | | | 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.
* initial commitLinus Nordberg2021-06-211-0/+120