Commit graph

67 commits

Author SHA1 Message Date
Laura Klünder
fca1ca5a32 new_serialize for obstacle and lineobstacle 2024-12-04 11:35:26 +01:00
Laura Klünder
b96dcb9b50 better add_search typing 2024-12-03 19:04:18 +01:00
Laura Klünder
b96707d426 effective_icon and add_search 2024-12-03 19:00:35 +01:00
Laura Klünder
920422d359 add todos 2024-12-03 18:44:17 +01:00
Laura Klünder
b47e97bb81 new serializer for all locations 2024-12-03 18:42:33 +01:00
Laura Klünder
8be5f0f9fb enforce can_access_geometry on geometry endpoints 2024-12-03 17:07:07 +01:00
Laura Klünder
a85ee24cd8 don't defer geometry if allowed 2024-12-03 17:02:02 +01:00
Laura Klünder
31ff787a29 enforce base_mapdata_accessible in building endpoint again 2024-12-03 16:57:39 +01:00
Laura Klünder
c0e6b02dc2 use new serializer for buildings 2024-12-03 16:56:55 +01:00
Laura Klünder
cc2020e7c3 new serializer for locationgroup 2024-12-03 16:07:07 +01:00
Laura Klünder
f3d9c4e6ca implement groups_by_category and groups for old serializing correctly 2024-12-03 15:22:16 +01:00
Laura Klünder
d254f199e3 map settings api endpoint (fixes #201) 2024-12-03 15:05:53 +01:00
Laura Klünder
35a8738424 implement new serialize for level 2024-12-03 14:18:16 +01:00
Laura Klünder
707c81f159 integrate data overlay api into new MapdataAPIBuilder 2024-12-03 09:59:51 +01:00
Gwendolyn
7904a95b80 data overlays 2024-11-21 11:56:31 +01:00
Laura Klünder
d49b6d6645 add legend / color key API endpoint 2024-09-06 15:07:54 +02:00
Jenny Danzmayr
aa49840806 start of proj4 support (part of GPS support) 2024-08-13 21:19:05 +02:00
Laura Klünder
482da3b244 add migration that overhauls report flow settings 2024-03-24 15:24:59 +01:00
Jenny Danzmayr
0cf56deb0c fixed /map/positions api endpoint to work for unavailable custom locations
fixes C3NAV-37C3-1X
2023-12-25 12:05:45 +01:00
Laura Klünder
c1d9a011cf make linter happy 2023-12-24 16:07:07 +01:00
Laura Klünder
2b9c99070e sort imports 2023-12-24 16:04:33 +01:00
Laura Klünder
4ade6cfc1f add external_url and hub_import_type 2023-12-22 01:20:24 +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
d0d18fcae2 SerializableSchema should check if its values can be serialized, so that it doesn't break when used in a union with a base type or schema that isn't a SerializableSchema 2023-12-11 14:07:41 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
f64e65f297 make icon optional again 2023-12-04 23:07:30 +01:00
Laura Klünder
29e16e8ce0 remove more todo items 2023-12-04 22:31:00 +01:00
Laura Klünder
964574e535 more map api documentation improvements 2023-12-04 18:58:49 +01:00
Laura Klünder
fdf4860ea8 better bounds examples 2023-12-04 16:19:34 +01:00
Laura Klünder
4be79776cb update BoundsSchema docs 2023-12-04 13:55:24 +01:00
Laura Klünder
e5e3a6b7e2 make redoc look prettier 2023-12-03 22:52:06 +01:00
Gwendolyn
73238f6943 LocationGeometry id can be custom location or position id 2023-12-03 21:11:10 +01:00
Laura Klünder
d63113f0bb customlocation geometry schema should have default none 2023-12-03 19:39:34 +01:00
Laura Klünder
156e1a9436 fix the same thing again 2023-12-03 17:42:12 +01:00
Laura Klünder
635b9ab406 fix SourceSchema 2023-12-03 17:39:58 +01:00
Laura Klünder
210d079bb7 write more schema for routing api 2023-12-01 23:49:02 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
f07b06ec60 add point and bounds to positionstatusschema 2023-11-24 18:05:59 +01:00
Laura Klünder
f7a4055c1c don't cache dynamiclocation results 2023-11-24 17:24:31 +01:00
Gwendolyn
550d77f774 dynamic position ids can contain upper-case letters 2023-11-24 17:22:27 +01:00
Gwendolyn
ac9f51ff38 typo neaby -> nearby 2023-11-24 17:22:27 +01:00
Laura Klünder
3fcb58b4e3 add add_search to api schema 2023-11-24 16:53:56 +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
Gwendolyn
687c5b4276 fix api model to use None instead of Literal[None] 2023-11-24 14:19:23 +01:00
Laura Klünder
2799a9e530 add missing location geometry endpoints 2023-11-24 01:23:07 +01:00
Laura Klünder
62f53d7847 some typo fixes in the new API 2023-11-24 01:08:40 +01:00
Laura Klünder
715d6c2f11 API for querying positions 2023-11-24 01:05:38 +01:00
Laura Klünder
93883355b0 add dynamiclocation to API 2023-11-23 23:22:30 +01:00