Commit graph

3537 commits

Author SHA1 Message Date
Laura Klünder
6caaf17205 show firmware details from image header 2023-11-23 19:16:57 +01:00
Laura Klünder
92e3c2a583 request fragment → request fragments 2023-11-23 19:03:20 +01:00
Laura Klünder
a68c5d7e44 update mesh messages 2023-11-23 18:56:33 +01:00
Laura Klünder
fc53e3197d remove geometry from serialized data using filter parameter 2023-11-23 18:41:46 +01:00
Laura Klünder
3fd5c49926 some better API annotations 2023-11-23 18:16:56 +01:00
Laura Klünder
87e5e56ea1 add slim and full location list endpoint, geometry optional 2023-11-23 18:10:31 +01:00
Laura Klünder
8b47a89865 first locations endpoint might… be… something? 2023-11-23 16:37:25 +01:00
Laura Klünder
d84226dc5c fix get_locator_beacon 2023-11-23 15:02:21 +01:00
Laura Klünder
995f17c138 update response schemas for mapdata api 2023-11-19 16:59:51 +01:00
Laura Klünder
141ab7489e add more mapdata endpoints, completing the mapdata API tag 2023-11-19 16:48:40 +01:00
Laura Klünder
846101ea37 add more mapdata API endpoints 2023-11-19 16:36:46 +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
7447537c4a don't refer to old auth in mesh newapi 2023-11-19 14:56:00 +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
f96e916184 update filter descriptions 2023-11-18 22:45:24 +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
f89d069ab1 read and parse image binary header during firmware upload 2023-11-17 19:04:43 +01:00
Laura Klünder
14e39b2377 update firmware api with more endpoints and parse firmware image headers 2023-11-17 18:56:47 +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
Jenny Danzmayr
17166eb4ad default ALLOWED_HOSTS to "*" if not configured 2023-11-12 16:25:42 +01:00
Laura Klünder
359116f1d0 remove unneeded comments 2023-11-11 17:21:16 +01:00
Laura Klünder
414f124322 it's cm_to_m not m_to_cm 2023-11-11 17:19:56 +01:00
Laura Klünder
c3a9b178f7 update range locate code with new gwen(tm) algorithm 2023-11-11 17:19:16 +01:00
Laura Klünder
4dd79c238f locate_test should filter out invalid range readings 2023-11-11 17:18:37 +01:00
Laura Klünder
db07c57c35 rangelocator: fractional ranges? 2023-11-11 16:49:12 +01:00
Laura Klünder
94af40d2f1 allow to set static factor 2023-11-11 16:34:55 +01:00
Laura Klünder
0a9bf327c3 move test part of locate_test into locate_test 2023-11-11 15:32:12 +01:00
Laura Klünder
2ee0dd4579 use numpy for speedup of RangeLocator 2023-11-11 15:22:36 +01:00
Laura Klünder
0e49ed5199 time for some ugly range location testing 2023-11-11 14:57:16 +01:00
Laura Klünder
1046dba1c3 add test_location to javascript 2023-11-11 13:43:46 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Gwendolyn
565404598b fix import order 2023-11-11 13:30:12 +01:00
Gwendolyn
2f958babce more WrappedGeometry unwrapping fixes 2023-11-11 13:14:12 +01:00
Laura Klünder
d07361112f respect beacon altitude 2023-11-11 12:30:03 +01:00
Laura Klünder
66f56f2b71 add locate_test api 2023-11-11 12:29:52 +01:00
Laura Klünder
0cd17ea237 fix the new mesh/uplink data stuff 2023-11-11 12:20:10 +01:00
Laura Klünder
5103744d41 syntax error, oops 2023-11-11 12:07:42 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +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
0b6362c8ab start implementing RangeLocator 2023-11-10 20:11:50 +01:00
Laura Klünder
e3afa4b2ea validate mesh node address 2023-11-10 19:00:09 +01:00