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
Gwendolyn
c25b12c1c0
slimmer and more correct routing item schema
2024-12-16 16:13:21 +01:00
Laura Klünder
d151bc7888
serialize waytype correct
2024-12-09 15:29:30 +01:00
Laura Klünder
c1eb47a0e0
fewer explicit serialize() calls
2024-12-04 15:44:53 +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
f2f67a1cbb
route result should use more schema
2024-12-04 15:27:06 +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
0d91a71b9f
overhaul entire report process
2024-03-24 17:38:24 +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
Laura Klünder
8c8ef12cf0
make linter happy
2024-02-07 18:34:28 +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
Laura Klünder
c1d9a011cf
make linter happy
2023-12-24 16:07:07 +01:00
Gwendolyn
a3185bcb55
fix routing options updating
2023-12-21 01:27:39 +01:00
Gwendolyn
73c0bdc92f
add restricted areas in routing options schema
2023-12-21 01:27:39 +01:00
Gwendolyn
af8d9123e1
show route options again
2023-12-21 00:42:29 +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
551cb1e086
start modernizing renderdata code somewhat
2023-12-07 19:13:42 +01:00
Gwendolyn
0e171166e8
fix routing error
2023-12-07 16:02:35 +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
4491f68dc7
move api auth from authorization header to X-API-Key header
2023-12-04 23:07:45 +01:00
Laura Klünder
0e73643bb3
nore documentation for routing and positioning API
2023-12-04 19:24:14 +01:00
Laura Klünder
182fe4eafe
add todo for route options schema
2023-12-03 23:29:37 +01:00
Laura Klünder
ba4c2b7d0a
rename newapi to api
2023-12-03 21:55:08 +01:00