Commit graph

122 commits

Author SHA1 Message Date
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00
Laura Klünder
aaabc7e37c add ramp model 2017-11-17 20:31:29 +01:00
Laura Klünder
949b88389e add Location.details_display() 2017-11-02 13:35:58 +01:00
Laura Klünder
ba3e1e485e remove debug statement 2017-11-02 12:45:33 +01:00
Laura Klünder
614c61efee fix redirect in location display api 2017-11-01 15:59:04 +01:00
Laura Klünder
e6b6db1c7c add location display endpoint 2017-11-01 15:55:59 +01:00
Laura Klünder
619ccab617 cache mapdata api 2017-11-01 12:26:13 +01:00
Laura Klünder
4e3dd875c6 django complains without a clear reason, so remove .select_related().only() 2017-11-01 12:05:37 +01:00
Laura Klünder
b0cfa4e309 rename simple_api_cache → api_etag to avoid confusion 2017-11-01 11:12:40 +01:00
Laura Klünder
620323b808 export entire location query logic into mapdata.utils.locations and cache 2017-10-31 15:22:12 +01:00
Laura Klünder
b3e577349b remove debug condition 2017-10-31 13:59:18 +01:00
Laura Klünder
be2a81f806 move complicated Location API Queryset into LocationSlug 2017-10-31 13:25:42 +01:00
Laura Klünder
8c52f9aed1 add language to etag 2017-10-28 21:47:53 +02:00
Laura Klünder
5fe03c4c8e add simple_geometry to location api 2017-10-28 21:36:52 +02:00
Laura Klünder
f83b77ed8b improve location api caching again and improve subtitles/descriptions 2017-10-28 20:50:02 +02:00
Laura Klünder
8beb6f9e8b better subtitles for location groups and more caching in query set 2017-10-28 20:30:27 +02:00
Laura Klünder
c2bedebd28 replace ?search with ?searchable 2017-10-28 14:09:59 +02:00
Laura Klünder
c35d833640 order locations by relevance 2017-10-28 13:31:12 +02:00
Laura Klünder
0cfae778f0 Location API: can_seach OR can_describe 2017-10-28 13:18:28 +02:00
Laura Klünder
4f0dce05a1 location api: only prefetch location groups that are visible to the user 2017-10-28 12:44:22 +02:00
Laura Klünder
1536fb0e10 besser queryset mode values in location api 2017-10-28 12:38:29 +02:00
Laura Klünder
7632ce39ae add simple_api_cache to editor API 2017-10-27 17:33:50 +02:00
Laura Klünder
85a0993799 add ETag to mapdata api 2017-10-27 16:40:15 +02:00
Laura Klünder
92f0ffe6fd cache location api list and query 2017-10-27 15:25:03 +02:00
Laura Klünder
db6102d5e5 fix typo 2017-10-27 15:14:34 +02:00
Laura Klünder
8472fc1952 fix docs in LocationViewSet 2017-10-27 14:52:31 +02:00
Laura Klünder
58f1ae9ee3 improve location API using caching 2017-10-27 14:51:09 +02:00
Laura Klünder
25b478f227 add first subtitle code 2017-10-27 13:47:12 +02:00
Laura Klünder
ead6de24ae map API 2017-10-10 17:55:55 +02:00
Laura Klünder
7a06f8de4e respect access restrictions in render_svg() 2017-07-14 00:16:20 +02:00
Laura Klünder
bbdfc9aadc respect access_restriction in mapdata API 2017-07-13 19:22:57 +02:00
Laura Klünder
9466c2559f AccessRestriction API 2017-07-13 19:01:47 +02:00
Laura Klünder
f7900e92a0 Location API: filter by group 2017-07-10 17:03:44 +02:00
Laura Klünder
9e184db721 SpecificLocation APIs: filter by group 2017-07-10 16:43:44 +02:00
Laura Klünder
90f464de9b LocationGroup API: filter by category 2017-07-10 16:36:52 +02:00
Laura Klünder
3762ebf37d show group categories in api 2017-07-10 16:30:38 +02:00
Laura Klünder
4a58c1afab create LocationGroupCategory 2017-07-10 13:54:33 +02:00
Laura Klünder
f2913dd8ac rename Point to POI 2017-07-08 16:29:12 +02:00
Laura Klünder
df19daf501 update sources API 2017-07-08 15:09:56 +02:00
Laura Klünder
e2d6879716 use get_child() before serializing locations 2017-06-22 20:10:17 +02:00
Laura Klünder
3419c9db54 new get_queryset() for LocationViewSet 2017-06-22 20:09:58 +02:00
Laura Klünder
ef7b5c973d fix querying on API /locations/search 2017-06-22 20:02:29 +02:00
Laura Klünder
15831b97ef get_submodels(SpecificLocation) 2017-06-22 19:58:08 +02:00
Laura Klünder
c4b3932e9b correctly filter on api /locations/ 2017-06-22 19:57:49 +02:00
Laura Klünder
4d544610e5 only prefetch groups if detailed serialization was queried 2017-06-22 19:53:25 +02:00
Laura Klünder
37d95700d3 improve querys on mapdata API /locations/ 2017-06-22 19:46:06 +02:00
Laura Klünder
03d40add64 user get_submodels everywhere 2017-06-22 19:27:51 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +02:00
Laura Klünder
1498b7aeb0 rename Section back to Level 2017-06-11 14:43:14 +02:00