Commit graph

22 commits

Author SHA1 Message Date
Laura Klünder
f8e88fa8c6 fix imports 2024-12-28 22:58:25 +01:00
Laura Klünder
6dafb009fc passive api name collecting from users that have consented to it 2024-12-28 22:16:25 +01:00
Jenny Paxian
ebfc683f7c
Fixes some issues with the location button being invisible (#207)
* Fakemobileclient should return a dict of wifi.data, instead of data, since we have bluetooth beacons too

* Use dict instead of list for beacon measurement in fakemobileclient and editor script

* Use distance directly

* BeaconMeasurementDataSchema add default

* Route from current location

* Do not try to set Score if no location found
2024-12-23 22:13:32 +01:00
Laura Klünder
8feac6bf43 use shcmea for beaconmeasurement data and fix some related things 2024-12-23 16:26:15 +01:00
Laura Klünder
9f609d9205 simplify serialize calls some more in routing etec 2024-12-04 15:43:03 +01:00
Laura Klünder
76b8858923 Locator now can deal with ibeacons in theory 2024-03-31 19:36:02 +02:00
Laura Klünder
7fa75e1617 full scancollector implementation with all kinds of nice features 2024-03-31 18:49:35 +02:00
Laura Klünder
35d030a6fd make locate still work (only using wifi_peers for now) 2024-03-31 15:28:04 +02:00
Laura Klünder
31c7dad72f add ibeacon scan code to c3nav.js and endpoint 2024-03-31 15:26:44 +02:00
Laura Klünder
bf9d113677 METRCIS→METRICS 2024-03-30 22:12:27 +01:00
Jenny Danzmayr
d1ba39df1c fixed prometheus statistics to correctly use labels 2024-03-30 20:04:55 +01:00
Laura Klünder
03426c1989 model_dump() needs to use mode="json" 2024-03-29 15:01:39 +01:00
Laura Klünder
0fd789173a change all of the MeshMessages c-models from dataclasses to pydantic 2024-03-09 17:19:08 +01:00
Jenny Danzmayr
1c8c01530b fixed location api endpoint to not break if user can't be located 2023-12-27 19:08:59 +01:00
Gwendolyn
4b1ac9f194 convert django lazy string proxies to strings in the base schema validator, rather than in the serialization code of each source model 2023-12-11 20:59:19 +01:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Gwendolyn
a26724715b locate_test needs to take a request parameter 2023-12-11 14:09:33 +01:00
Laura Klünder
d0b26cb67b lets move stuff to a file that actually exists 2023-12-07 02:33:37 +01:00
Laura Klünder
37507e65ab what if the last commit produced running code? who knows, but now it runs 2023-12-07 02:27:12 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
0e73643bb3 nore documentation for routing and positioning API 2023-12-04 19:24:14 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Renamed from src/c3nav/routing/newapi/positioning.py (Browse further)