Commit graph

168 commits

Author SHA1 Message Date
Laura Klünder
9738ea23ba missing migration 2023-12-01 20:57:47 +01:00
Laura Klünder
6205ac1431 remove old mesh/firmware API 2023-11-30 23:09:32 +01:00
Laura Klünder
7401c00216 some API fixes 2023-11-30 22:45:36 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +01:00
Laura Klünder
a7a40dcf04 add new routing/positioning api routes without any implementation 2023-11-24 16:13:16 +01:00
Laura Klünder
62f53d7847 some typo fixes in the new API 2023-11-24 01:08:40 +01:00
Laura Klünder
505a59091c enjoy an awesome broken display viewpoint 2023-11-23 21:11:31 +01:00
Laura Klünder
f43d458fc4 add tons of mapdata endpoints, enhance documentation and operation IDs 2023-11-19 15:34:08 +01:00
Laura Klünder
0f43274e33 some more documentation in the API and in the API code 2023-11-19 00:12:10 +01:00
Laura Klünder
0cf5a2aadf tentative generic mapdata api functions, still with quite a few todos 2023-11-18 22:39:10 +01:00
Laura Klünder
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00
Laura Klünder
2d97f9bb87 add firmware upload API 2023-11-17 16:42:27 +01:00
Laura Klünder
44b6cc61e6 add new firmware_upload api definition, not implemented yet 2023-11-15 14:54:21 +01:00
Laura Klünder
a13276f259 surprise! 2023-11-15 14:05:40 +01:00
Laura Klünder
da4631b715 what if api secret auth actually… did the right thing? just kidding… unless 2023-11-15 14:04:07 +01:00
Laura Klünder
f9e5af937e more missing code, hurray 2023-11-15 14:03:22 +01:00
Laura Klünder
f2f209c5da add missing api/exceptions.py 2023-11-15 13:57:15 +01:00
Laura Klünder
ead9bb9298 fix EnumSchemaByNameMixin 2023-11-15 13:54:11 +01:00
Laura Klünder
aa5df7de7f update api endpoints to use new auth 2023-11-14 18:29:21 +01:00
Laura Klünder
0fe724e3e1 add v2 session auth api 2023-11-14 17:55:17 +01:00
Gwendolyn
565404598b fix import order 2023-11-11 13:30:12 +01:00
Laura Klünder
f5c33724dc start adding new ninja-based OpenAPI-compatible API v2, starting with mesh 2023-11-11 03:01:15 +01:00
Laura Klünder
aa2df8d3c5 add api_secret auth and (mostly) finalize firmware endpoint 2023-11-05 19:09:36 +01:00
Laura Klünder
9e9e41fb3f store firmwares and add firmware api stub 2023-11-05 18:47:20 +01:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
9d21f8c933 migrate to django's native JSONField 2022-04-03 19:40:12 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
7e56927a72 api endpoint to get the current dynamic position 2019-12-27 20:03:32 +01:00
Laura Klünder
6f8f725acc update dependencies 2019-12-09 22:09:57 +01:00
Maurice Meyer
57dde86d8a Don’t crash on empty content type 2019-03-01 16:34:58 +01:00
Laura Klünder
1594e09189 editor API: activate, edit, propose, accept, etc… 2018-11-29 01:30:53 +01:00
Laura Klünder
671d138d03 some more stuff for the editor API 2018-11-29 00:37:49 +01:00
Laura Klünder
3461bb4574 Disable Django REST Framework serializers 2018-11-26 22:52:26 +01:00
Laura Klünder
0d8b54527c fix some bugs in session api and add a signal to cleanup tokens after password change 2018-11-23 22:45:45 +01:00
Laura Klünder
cdb14a1e2c Session API 2018-11-23 22:28:04 +01:00
Laura Klünder
e778c50f2e allow json bodies for editor form 2018-11-22 18:34:52 +01:00
Laura Klünder
c9ce76b1df make editor api show up nicely in APIRoot 2018-11-21 01:38:57 +01:00
Laura Klünder
b88b6c3a29 add new data and editor permissions 2018-09-19 19:08:47 +02:00
Laura Klünder
8ffa982882 fix api overview 2018-09-19 17:31:36 +02:00
Laura Klünder
c5fc590c2a update to python3.7, update dependencies and fix obvious update issues 2018-09-16 20:19:13 +02:00
Laura Klünder
62c8456675 /updates/fetch 2017-12-24 01:01:58 +01:00
Laura Klünder
303c4be485 add missing api endpoints for descriptions and access restriction groups 2017-12-20 22:53:57 +01:00
Laura Klünder
a006d8a9ec add favicon support 2017-12-19 19:32:58 +01:00
Laura Klünder
1169597800 update tile access cookie setting infrastructure 2017-12-04 17:24:01 +01:00
Laura Klünder
d4a0a9b7dd show current (maybe anonymous) user and their permissions 2017-12-04 16:11:57 +01:00
Laura Klünder
968fc3885d etags in api preview 2017-11-29 12:29:37 +01:00
Laura Klünder
9bcd4600e0 add more explanation to the API 2017-11-29 11:27:50 +01:00
Laura Klünder
f73d016826 add some information to the API root 2017-11-29 11:13:13 +01:00
Laura Klünder
4c88cb2504 add routing api 2017-11-27 16:40:15 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00