Commit graph

662 commits

Author SHA1 Message Date
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
Laura Klünder
97c9c7ecb7 make altitudes reusable using GroundAltitude model 2023-12-11 18:17:57 +01:00
Laura Klünder
0b3d94124f better __str__ for altitudearea 2023-12-10 21:17:10 +01:00
Jenny Danzmayr
0083d1103b fixed process_updates and Locator.rebuild 2023-12-07 06:43:50 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Jenny Danzmayr
ae65a68830 fixed handling of locks via redis during mapupdates 2023-12-07 01:27:08 +01:00
Laura Klünder
83dfdec90f RangeLocator needs current router instead of old one (which might fail) 2023-12-07 00:18:20 +01:00
Laura Klünder
6eaf087f71 update some dependencies 2023-12-01 01:56:23 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
4e02145984 pro tip: fix bugs in all places 2023-11-24 17:25:34 +01:00
Laura Klünder
682522ace4 fix dynamiclocation position serialize 2023-11-24 17:24:31 +01:00
Laura Klünder
62cffe9644 how about some bugfixing? 2023-11-24 16:31:39 +01:00
Laura Klünder
d6b9161345 add position update API endpoint and remove old one, also some more api tweaks 2023-11-24 15:42:48 +01:00
Laura Klünder
715d6c2f11 API for querying positions 2023-11-24 01:05:38 +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
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
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
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +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
0b6362c8ab start implementing RangeLocator 2023-11-10 20:11:50 +01:00
Laura Klünder
320ae7b4c9 add RangingBeacon to mapdata 2023-11-10 18:59:37 +01:00
Gwendolyn
73876f1b75 shapely needs a float there rather than a decimal 2023-11-09 18:58:31 +01:00
Gwendolyn
1ae1274c2c unwrap geometries were necessary to comply with the new shapely api 2023-11-09 18:58:31 +01:00
Laura Klünder
1b8d409839 more information while sending the node 2023-10-05 13:52:52 +02:00
Laura Klünder
9618d7304f fix more bugs caused by updates, especially using unwrap_geom 2023-07-24 11:51:46 +02:00
Laura Klünder
1837c49ab8 hotfixes for processupdates 2023-07-24 11:51:46 +02:00
Laura Klünder
786d490e27 update all dependencies so we have some fun new bugs to fix 2023-06-02 19:42:17 +02:00
Laura Klünder
f51bc71799 some more type hinting to help the linter 2022-04-03 20:40:08 +02:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
9d21f8c933 migrate to django's native JSONField 2022-04-03 19:40:12 +02:00
Laura Klünder
36df1fed66 shapely's cascaded_union was deprecated, replace with unary_union 2022-04-03 18:16:03 +02:00
Laura Klünder
495294a886 avoid shapely deprecation warnings 2022-04-03 17:34:31 +02:00
Laura Klünder
4e15cc1b74 fix linter warnings 2022-04-03 16:42:17 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
c8d0a8f5ee you should be able to set coordinates_id to null in forms 2019-12-28 19:47:18 +01:00
Laura Klünder
1a8cf4ed5c fix position timeout 2019-12-28 18:07:55 +01:00
Laura Klünder
99e33eeb9e provide coordinates when serializing a custom location 2019-12-28 17:20:45 +01:00
Laura Klünder
399ac98c1c api for setting positions 2019-12-28 16:35:59 +01:00
Laura Klünder
a0f09d984d show unavailable note 2019-12-27 23:50:05 +01:00
Laura Klünder
bf01a7b7ca yet another hotfix 2019-12-27 23:45:26 +01:00
Laura Klünder
da09855d27 simple serialize the position 2019-12-27 23:30:19 +01:00
Laura Klünder
1ecdc89a68 dynamic location as a starting point 2019-12-27 23:27:50 +01:00
Laura Klünder
cc1a53d0d6 show dynamic locations in the frontend already! 2019-12-27 20:36:22 +01:00
Laura Klünder
7e56927a72 api endpoint to get the current dynamic position 2019-12-27 20:03:32 +01:00
Laura Klünder
c66586fcdc dynamic locations in editor 2019-12-27 18:42:08 +01:00
Laura Klünder
92be350b8c implement position timeout 2019-12-27 18:31:54 +01:00