Commit graph

171 commits

Author SHA1 Message Date
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Laura Klünder
c21c43a6da improve mesh api v2 documentation 2023-12-03 20:25:30 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Laura Klünder
f1876903c3 fix some incorrect API scopes 2023-12-02 02:29:17 +01:00
Gwendolyn
7849611028 javascript typo 2023-12-02 02:25:43 +01:00
Gwendolyn
ac6f154f06 various ota fixes 2023-12-02 02:25:43 +01:00
Gwendolyn
c18abb1b8c firmware description should not be cached 2023-12-02 02:25:43 +01:00
Gwendolyn
62eb9eb081 includes for generated c types 2023-12-02 02:25:43 +01:00
Gwendolyn
013a480f6d switch ota status highest_chunk to next_expected_chunk 2023-12-02 02:21:42 +01:00
Gwendolyn
c2170ae741 remove update_id from request status message 2023-12-02 02:21:42 +01:00
Laura Klünder
0d772f860c fix! 2023-12-02 02:21:05 +01:00
Laura Klünder
c623ca3a5c fix? 2023-12-02 02:19:30 +01:00
Laura Klünder
22049f79c3 fix typo 2023-12-02 02:13:30 +01:00
Laura Klünder
664df23468 hide progress when we're done or failed 2023-12-02 02:03:05 +01:00
Laura Klünder
d789bb2382 don't fail with unhandled message type bluh bluh 2023-12-02 02:02:54 +01:00
Laura Klünder
e0916dfecd make the apply& vanish 2023-12-02 01:48:06 +01:00
Laura Klünder
a11fe365d1 format device status a bit better 2023-12-02 01:45:10 +01:00
Laura Klünder
9f89c4fa96 fix the thing 2023-12-02 01:42:04 +01:00
Laura Klünder
d15ca0832c fix ota status js a bit 2023-12-02 01:38:23 +01:00
Laura Klünder
d1dc2ed5e0 value → innerText 2023-12-02 01:14:35 +01:00
Laura Klünder
0cacabb3cd add security requirement scopes for some operations 2023-12-02 01:14:09 +01:00
Laura Klünder
929f9a2712 show device status in ota detail 2023-12-02 01:13:39 +01:00
Laura Klünder
41bc94fd6b fix received_bytes is not defined 2023-12-02 00:18:21 +01:00
Laura Klünder
5b227190a8 send mesh.ota_recipients_changed correctly from OTAForm 2023-12-02 00:12:56 +01:00
Jenny Danzmayr
78ff88a390 prevent side channel attacks in the mesh authorization code 2023-12-01 17:11:06 +01:00
Laura Klünder
a3bac07a23 mesh websocket authorization 2023-12-01 17:04:39 +01:00
Laura Klünder
0256c061ea starting OTA without reconnecting the node, canceling OTA too… wow 2023-12-01 16:39:27 +01:00
Laura Klünder
a3f763ad35 ota controls… hopefully nearly complete 2023-12-01 16:23:17 +01:00
Laura Klünder
bef3db6841 blubb bloobb 2023-12-01 15:19:51 +01:00
Laura Klünder
e295c62757 linter deserves happiness 2023-12-01 15:00:40 +01:00
Laura Klünder
434e1edcc0 more ota status stuff in python and more way to communicate status in c 2023-12-01 14:58:47 +01:00
Laura Klünder
6205ac1431 remove old mesh/firmware API 2023-11-30 23:09:32 +01:00
Laura Klünder
7a95d74fd6 fix typo 2023-11-30 23:07:43 +01:00
Laura Klünder
5208db4c67 fix firmwarschema serialize? maybe…? mew? 2023-11-30 23:04:03 +01:00
Laura Klünder
faad19f5a5 board boots with target firmware? OTA success! 2023-11-30 22:45:53 +01:00
Laura Klünder
7401c00216 some API fixes 2023-11-30 22:45:36 +01:00
Laura Klünder
62e97b0b2f show ota update progress in bytes 2023-11-30 22:31:42 +01:00
Laura Klünder
e579cb53b6 send all the data for the OTA 2023-11-30 22:03:22 +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
4307a7fc4d show firmware size and firmware download link in firmware build detail view 2023-11-30 21:33:39 +01:00
Laura Klünder
ebfdf1d69f fix firmware build serialization 2023-11-30 21:33:15 +01:00
Laura Klünder
317ff66c76 add manual ota update apply message form 2023-11-30 21:32:53 +01:00
Laura Klünder
375aa9f12c move mesh forms from site to mesh module… wtf 2023-11-30 21:31:51 +01:00
Laura Klünder
df7ae47a9a lets make the firmware build binary url harder to guess maybe 2023-11-30 21:26:57 +01:00
Laura Klünder
0704f23593 sort messages API endpoint correctly 2023-11-27 22:33:47 +01:00
Laura Klünder
b0f3c2b3c1 show one more diff in ranging views 2023-11-27 22:10:12 +01:00
Laura Klünder
2c2eed1c6a add api endpoint to query node messages 2023-11-27 22:09:56 +01:00
Laura Klünder
ad98eecf41 more rangelocator experimenting 2023-11-27 22:09:31 +01:00
Laura Klünder
d3c4d71331 ignore unexpected messages 2023-11-27 22:08:35 +01:00
Laura Klünder
9ea368f576 refuse to add nodes with invalid addresses 2023-11-27 17:10:38 +01:00