Commit graph

1655 commits

Author SHA1 Message Date
Laura Klünder
7e6b55bb6b add newapi_stats decorator 2023-11-24 14:55:45 +01:00
Laura Klünder
9eda7ee232 remove API todos that are done, remove some duplicate caching code 2023-11-24 14:39:59 +01:00
Laura Klünder
292c152473 add API caching, OMG?! 2023-11-24 14:35:59 +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
c04895dcff fix summary/description of get_position endpoint 2023-11-24 01:50:51 +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
9c6d7989c0 _retrieve() → _by_id() 2023-11-23 23:24:15 +01:00
Laura Klünder
93883355b0 add dynamiclocation to API 2023-11-23 23:22:30 +01:00
Laura Klünder
ecca514118 add location by slug endpoints 2023-11-23 22:44:24 +01:00
Gwendolyn
9eeb106b6e mitigate weird pydantic bug that tries to hash dicts in unions 2023-11-23 22:39:39 +01:00
Laura Klünder
1e3094cf8b more fixes yay 2023-11-23 21:21:55 +01:00
Laura Klünder
dcf0811d1c fix again? 2023-11-23 21:20:14 +01:00
Laura Klünder
a3566fe555 this fix things? 2023-11-23 21:19:08 +01:00
Laura Klünder
505a59091c enjoy an awesome broken display viewpoint 2023-11-23 21:11:31 +01:00
Laura Klünder
389e9ee52b rename _detail to _retrieve in API v2 2023-11-23 19:37:02 +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
3fd5c49926 some better API annotations 2023-11-23 18:16:56 +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
995f17c138 update response schemas for mapdata api 2023-11-19 16:59:51 +01:00
Laura Klünder
141ab7489e add more mapdata endpoints, completing the mapdata API tag 2023-11-19 16:48:40 +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
0f43274e33 some more documentation in the API and in the API code 2023-11-19 00:12:10 +01:00
Laura Klünder
f96e916184 update filter descriptions 2023-11-18 22:45:24 +01:00
Laura Klünder
0cf5a2aadf tentative generic mapdata api functions, still with quite a few todos 2023-11-18 22:39:10 +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
5103744d41 syntax error, oops 2023-11-11 12:07:42 +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
142e307fc3 fix editor up a bit 2023-06-26 18:15:34 +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
b815e46a7b fix I18nField 2022-04-11 15:58:16 +02:00
Laura Klünder
b8002a4aba yet more typing magic 2022-04-08 00:03:58 +02:00
Laura Klünder
e1a1ae8bc4 some more type hinting magic 2022-04-08 00:00:55 +02:00
Laura Klünder
ff00daca9d trying some more type hinting and refactoring magic 2022-04-07 23:47:41 +02:00
Laura Klünder
feacd20803 start using dataclasses in some places 2022-04-07 22:33:25 +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