Commit graph

3232 commits

Author SHA1 Message Date
Laura Klünder
a2e53ecc31 remove debug statement 2018-12-12 02:38:01 +01:00
Laura Klünder
4e1bdffb63 remove old code 2018-12-12 02:33:32 +01:00
Laura Klünder
ae3a9c7492 displayed grid: avoid ui elements 2018-12-12 02:33:03 +01:00
Laura Klünder
0dbbcbb749 ignore dblclick on SquareGridControl 2018-12-12 01:52:35 +01:00
Laura Klünder
a3ecc08e0b delete unneeded code 2018-12-12 01:49:00 +01:00
Laura Klünder
7bdbd25fc2 stopPropagation 2018-12-12 01:48:44 +01:00
Laura Klünder
5248f970e4 make grid more visible 2018-12-12 01:45:37 +01:00
Laura Klünder
a7574aff6e implement visible grid 2018-12-12 01:42:44 +01:00
Laura Klünder
f36da4397b editor: don't crash on new space creation 2018-12-11 21:41:34 +01:00
Laura Klünder
12320426b4 fix for stupid browser extensions 2018-12-11 02:49:11 +01:00
Laura Klünder
f2248a6c74 don't forget about created geometry when the editor form is invalid 2018-12-11 01:47:42 +01:00
Laura Klünder
4d837cfddd fix attributeerror 2018-12-11 00:44:27 +01:00
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