Commit graph

3020 commits

Author SHA1 Message Date
Laura Klünder
681ae78d8f we can make the js linter even happier 2018-12-11 00:17:56 +01:00
Laura Klünder
3588ebd979 make js linter even happier 2018-12-11 00:16:02 +01:00
Laura Klünder
b103031f5b make js linter happy 2018-12-11 00:14:32 +01:00
Laura Klünder
8d46bd2483 creating a new area in editor? 0.5 opacity! 2018-12-11 00:10:05 +01:00
Laura Klünder
1a4d18ae37 geometry url when editing a space should be the space 2018-12-11 00:01:38 +01:00
Laura Klünder
6125ea6d65 fix space geometries broken by bug in editor 2018-12-10 23:42:01 +01:00
Laura Klünder
d7ab4e02b3 add missing migration 2018-12-10 23:35:24 +01:00
Laura Klünder
b3c353b40f fix: editing objects correctly! 2018-12-10 23:33:18 +01:00
Laura Klünder
06c56abf51 you can delete AccessRestriction objects if only AccessPermissions depend on it 2018-12-10 21:13:27 +01:00
Laura Klünder
7e288213c1 etag and last-modified in editor api only for GET requests 2018-12-10 21:05:54 +01:00
Laura Klünder
01ddeb7da5 only add etag and last-modified headers for GET requests 2018-12-10 21:03:21 +01:00
Laura Klünder
e52a8df0dc allow rendermap zoom < 1 2018-12-10 20:58:33 +01:00
Laura Klünder
dcdd16d37b fix from_obj 2018-12-10 19:51:47 +01:00
Laura Klünder
9878ce76e7 add grid square to custom locations serialization and display as well 2018-12-10 19:43:25 +01:00
Laura Klünder
525d708d3a cell → grid_square 2018-12-10 19:40:25 +01:00
Laura Klünder
c666fd6db5 it's grid square, not grid cell (even though we don't have square cells) 2018-12-10 19:39:32 +01:00
Laura Klünder
8824026ce0 only show grid squares if there is a grid 2018-12-10 19:35:59 +01:00
Laura Klünder
fc0f35eb25 show grid suqares in details_display 2018-12-10 19:32:28 +01:00
Laura Klünder
1528e66758 add cell property to location serialization 2018-12-10 19:24:19 +01:00
Laura Klünder
0ef08ad61b give grid cells for spaces and areas as well 2018-12-10 19:16:50 +01:00
Laura Klünder
f861fecee5 display grid cell for POIs 2018-12-10 19:06:38 +01:00
Laura Klünder
875b18c730 add support for grid and display grid cell for custom locations already 2018-12-10 18:52:32 +01:00
Laura Klünder
600900bb58 graph editing permissions 2018-12-09 21:32:43 +01:00
Laura Klünder
05679e20c7 remove unneeded variable 2018-12-09 21:28:41 +01:00
Laura Klünder
a0f57f59a9 should not be able to call create view if user cannot create 2018-12-09 21:27:13 +01:00
Laura Klünder
01e0e27241 fix geometry field in editorform logic 2018-12-09 21:26:01 +01:00
Laura Klünder
69b51ddc37 don't forget to add etag to editor html responses 2018-12-09 21:15:41 +01:00
Laura Klünder
7bd3dfaa60 update etag in editor for space accesses 2018-12-09 21:07:04 +01:00
Laura Klünder
6c7582f60d complete base mapdata logic 2018-12-09 21:04:22 +01:00
Laura Klünder
1d8e38bc96 refactor edit view a bit 2018-12-09 20:54:47 +01:00
Laura Klünder
7238603551 use with suppress() because that's pretty 2018-12-09 20:36:43 +01:00
Laura Klünder
92dafeb370 fix can_create in editor list (and some refactoring) 2018-12-09 20:34:06 +01:00
Laura Klünder
200099e9de fix bug where create button would be hidden in editor 2018-12-09 03:14:13 +01:00
Laura Klünder
4ec2a7bb8b sensible default initial bounds 2018-12-09 00:11:01 +01:00
Laura Klünder
47c661095c dont override superuser permissions automatically 2018-12-08 23:19:32 +01:00
Laura Klünder
fdc2b19f4f fix editor crashes when location redirects were edited 2018-12-08 23:16:21 +01:00
Laura Klünder
376709588e respect space_accesses in editor review process (some users can reviews some changes) 2018-12-08 23:16:21 +01:00
Jenny Danzmayr
328fb1b215 lock mapudates before setting cache if possible 2018-12-08 05:54:30 +01:00
Jenny Danzmayr
6d166325e6 fixed MapUpdte logic to work without an existing map update 2018-12-08 05:47:19 +01:00
Laura Klünder
bff07ab0ad cleareventdata: add blank line 2018-12-08 04:32:32 +01:00
Laura Klünder
4a795895c8 fix settings 2018-12-08 04:32:20 +01:00
Laura Klünder
10758158af Revert "downgrade to django 1.9 because of https://code.djangoproject.com/ticket/29182" – it's too late anyway
This reverts commit 325cc0bd6f.
2018-12-08 04:19:22 +01:00
Laura Klünder
325cc0bd6f downgrade to django 1.9 because of https://code.djangoproject.com/ticket/29182 2018-12-08 04:14:41 +01:00
Jenny Danzmayr
aa180d0946 added cleareventdata management command 2018-12-08 03:37:05 +01:00
Laura Klünder
e4c7fd508e error message if config could not be loaded 2018-12-08 02:54:08 +01:00
Laura Klünder
5e134e5b41 add space access and ui for it in the control panel 2018-12-07 23:43:40 +01:00
Laura Klünder
1893b3fd40 UserPermissions should user select_for_update to keep cache reliable 2018-12-07 22:14:20 +01:00
Laura Klünder
26d57d318f remove unneded weird function 2018-12-07 21:41:55 +01:00
Laura Klünder
06ef5bf5a9 more german translation 2018-12-07 20:28:19 +01:00
Laura Klünder
9ffbe20657 update .gitattributes to make sure vendored libraries are ignored 2018-12-07 20:14:30 +01:00