Commit graph

88 commits

Author SHA1 Message Date
Laura Klünder
d84226dc5c fix get_locator_beacon 2023-11-23 15:02:21 +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
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
aa5df7de7f update api endpoints to use new auth 2023-11-14 18:29:21 +01:00
Laura Klünder
414f124322 it's cm_to_m not m_to_cm 2023-11-11 17:19:56 +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
Laura Klünder
0cd17ea237 fix the new mesh/uplink data stuff 2023-11-11 12:20:10 +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
Laura Klünder
8efb1057d1 turn firmware_ and hardware_description into properties 2023-11-10 16:19:57 +01:00
Laura Klünder
58df04b4af OTA create view 2023-11-10 16:09:08 +01:00
Laura Klünder
7bc7c5dbc9 improve some mesh ui, show more details 2023-11-09 18:27:57 +01:00
Laura Klünder
394450f4a3 implement some auth for MeshUIConsumer 2023-11-09 17:04:55 +01:00
Laura Klünder
88d6f07eaf move mesh control into mesh module and add permissions 2023-11-09 15:53:29 +01:00
Laura Klünder
66810b20b0 mesh routing now fully database-bound 2023-11-07 16:35:46 +01:00
Laura Klünder
ee539f678a use database transactions when adding/removing uplink destinations 2023-11-07 15:37:45 +01:00
Laura Klünder
18144dde30 our consumers are async now, hurray 2023-11-07 14:25:54 +01:00
Laura Klünder
386bd3c888 firmware and firmware build details 2023-11-06 19:22:23 +01:00
Laura Klünder
c872b97fa3 add view to show currently installed firmwares 2023-11-06 18:26:19 +01:00
Laura Klünder
61673603ea add MeshUplink model to keep better track of uplinks 2023-11-06 14:22:35 +01:00
Laura Klünder
d69a9c4be0 remove debug statement 2023-11-06 13:14:42 +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
25a2bd7f2d render range result msg 2023-10-28 21:15:13 +02:00
Laura Klünder
f2f0186e33 full support for the raw ftm stuff 2023-10-28 19:56:03 +02:00
Laura Klünder
6abdd6d959 add raw ftm message 2023-10-26 14:41:24 +02:00
Laura Klünder
14fddccdb5 move support for existing_c_struct and support int64 struct types 2023-10-26 14:41:24 +02:00
Laura Klünder
cab7cd1bdc remove todo's that are no longer needed 2023-10-21 01:20:04 +02:00
Laura Klünder
a46d2ce4f1 improve mesh forms and stuff 2023-10-20 23:50:47 +02:00
Laura Klünder
22027cc8af typo corrections 2023-10-20 23:18:15 +02:00
Laura Klünder
3267e65fb1 fix LastMessagesByTypeLookup when there's no cached results 2023-10-20 19:20:50 +02:00
Laura Klünder
1e2bd01aff grouping msg_type choices makes forms look so much better 2023-10-20 18:04:22 +02:00
Laura Klünder
7dc745c1f0 pretty display for messages, send range request, etc 2023-10-20 16:54:21 +02:00
Laura Klünder
502e251b54 fix generated c code 2023-10-20 16:22:32 +02:00
Laura Klünder
bf1834cd63 msg_id → msg_type 2023-10-20 15:41:46 +02:00
Laura Klünder
9bee0bf774 migrate message_type database field 2023-10-20 15:23:45 +02:00
Laura Klünder
7f7ea64fd3 prettier names in mesh view 2023-10-20 15:04:36 +02:00
Laura Klünder
6a35c6767b fix communication with new board messages etc 2023-10-20 14:43:56 +02:00
Laura Klünder
4d21ebb78e fix postgres compatibility 2023-10-20 14:43:00 +02:00
Laura Klünder
e75896d44c make it possible to send board config messages 2023-10-20 00:18:02 +02:00
Laura Klünder
e70bd7e0e2 some work on creating the CONFIG_BOARD form 2023-10-19 23:42:58 +02:00
Laura Klünder
330a32adf8 update message types and refactor configuration messages 2023-10-19 22:12:46 +02:00