Commit graph

1131 commits

Author SHA1 Message Date
Laura Klünder
846faa075c better location ordering 2017-12-11 01:51:58 +01:00
Laura Klünder
552c996fa7 fix customlocation display error when no space was found 2017-12-11 00:57:53 +01:00
Laura Klünder
48e1ecda36 replace request with permissions in CustomLocation so it can be serialized 2017-12-11 00:57:19 +01:00
Laura Klünder
eae73071c1 consider access restrictions when describing a custom location 2017-12-11 00:53:21 +01:00
Laura Klünder
8512a6b27b fix error 500 in space api 2017-12-10 18:27:34 +01:00
Laura Klünder
2d4043861b describe custom locations by space 2017-12-10 18:09:31 +01:00
Laura Klünder
6adaf4ab40 fix not setting cache in tile view 2017-12-10 15:36:13 +01:00
Laura Klünder
fe3bac40c8 fix checking access permissions 2017-12-10 14:52:04 +01:00
Laura Klünder
803f9ee121 redeem token after logging in 2017-12-10 14:46:41 +01:00
Laura Klünder
101a4c6bf2 redeem access permission tokens 2017-12-10 14:13:20 +01:00
Laura Klünder
003bfbe389 fix inverted logic 2017-12-10 13:37:23 +01:00
Laura Klünder
986cad7c23 don't allow redeeming if token is no longer valid 2017-12-10 03:54:49 +01:00
Laura Klünder
2a175aa43d create and show access qr code 2017-12-10 03:49:21 +01:00
Laura Klünder
cca01e584a AccessPermissionToken 2017-12-10 03:16:07 +01:00
Laura Klünder
0c1b27d529 remove code that gave all access permissions to superusers 2017-12-08 22:32:35 +01:00
Laura Klünder
10af523737 clear access permission cache for user after save() or delete() 2017-12-08 22:26:14 +01:00
Laura Klünder
eb54ac7896 manage access permissions 2017-12-08 21:31:53 +01:00
Laura Klünder
2b02138e39 link to the control panel in account view 2017-12-08 16:01:34 +01:00
Laura Klünder
e2a0efd24f put user_data in request using middleware 2017-12-08 15:33:14 +01:00
Laura Klünder
01b703fad2 add control panel index 2017-12-08 15:21:33 +01:00
Laura Klünder
65917be3e0 rendermap: scale option 2017-12-08 14:49:53 +01:00
Laura Klünder
71faaf6caa I18nModelFormMixin 2017-12-08 00:36:12 +01:00
Laura Klünder
baaec3cc9b SourceViewSet order by name 2017-12-07 19:29:46 +01:00
Laura Klünder
1edd84895a fix loaddata with I18nField 2017-12-07 19:22:41 +01:00
Laura Klünder
de73251bc3 opengl vertex shader: use transformation matrix 2017-12-05 20:24:51 +01:00
Laura Klünder
3992ccd552 add renderer z offset 2017-12-05 18:13:38 +01:00
Laura Klünder
46c581627f fix fatal error when using current_cache_key as an etag func 2017-12-04 17:41:17 +01:00
Laura Klünder
1169597800 update tile access cookie setting infrastructure 2017-12-04 17:24:01 +01:00
Laura Klünder
d4a0a9b7dd show current (maybe anonymous) user and their permissions 2017-12-04 16:11:57 +01:00
Laura Klünder
1f2c886fa3 remove duplicate code by using LocationViewSetBase 2017-11-30 17:54:40 +01:00
Laura Klünder
f915210cf2 LocationGroupCategory.title_plural 2017-11-30 16:51:28 +01:00
Laura Klünder
4ccbbd0491 add timeout to opengl render queue 2017-11-30 15:53:12 +01:00
Laura Klünder
af93cd2aa2 make sure the I18nField defaultvalue is not passed by reference 2017-11-30 15:41:47 +01:00
Laura Klünder
6cfd8eb0e3 some more options / features for I18nField 2017-11-30 15:26:06 +01:00
Laura Klünder
a7c140a2ac don't cast ugettext_lazy calls to str, as our json encoder is now clever 2017-11-30 01:10:49 +01:00
Laura Klünder
2d292844d6 use DjangoJSONEncoder in api html preview 2017-11-30 01:03:28 +01:00
Laura Klünder
f45cf00cd0 remove debug statement 2017-11-30 00:44:24 +01:00
Laura Klünder
f94be40470 add I18nField and replace the title JSONField with it 2017-11-30 00:43:39 +01:00
Laura Klünder
968fc3885d etags in api preview 2017-11-29 12:29:37 +01:00
Laura Klünder
e9bbd44822 more caching in api 2017-11-29 12:07:27 +01:00
Laura Klünder
9bcd4600e0 add more explanation to the API 2017-11-29 11:27:50 +01:00
Laura Klünder
8f3fd001fe remove levels/svg api endpoint as this no longer works 2017-11-29 10:52:25 +01:00
Laura Klünder
353d00cbf2 fix error in good_representative_point 2017-11-29 00:00:14 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
ee20019417 fix data for level selector 2017-11-28 20:38:37 +01:00
Laura Klünder
3392226c44 allow more decimal digits in custom location id, but round them away 2017-11-28 20:25:52 +01:00
Laura Klünder
9b2b70f46f levels_by_short_label_for_request 2017-11-28 20:24:39 +01:00
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00