Commit graph

1791 commits

Author SHA1 Message Date
Laura Klünder
6428a39a04 allow waytypes to be excluded by default 2024-12-15 18:25:16 +00:00
Laura Klünder
d5c7d50f78 fix accesspermission cache for good, hopefully 2024-12-15 17:54:07 +00:00
Laura Klünder
7ddff6a382 fix cache invalidation for access restrictions and one more mysterious can_grant=None 2024-12-15 17:25:37 +00:00
Laura Klünder
9e5ce6f829 fix can_grant, bringing up further questions though 2024-12-15 17:09:21 +00:00
Laura Klünder
10625196f2 fix locationgroup editor 2024-12-15 15:18:12 +00:00
Laura Klünder
c38384cb5c dataoverlays can have an access restriction, as a treat 2024-12-15 14:35:15 +00:00
Laura Klünder
b252cd8b86 deal with redirects without slugs [wtf?] 2024-12-15 14:12:57 +00:00
Laura Klünder
967eb36c6c fix serializing of searchable locations without slugs 2024-12-15 13:53:27 +00:00
Laura Klünder
322817354a fix more access permission old related name stuff 2024-12-14 15:19:56 +00:00
Gwendolyn
4a37e63a2d skip deferred fields
in locationgroup init to prevent infinite recursion
2024-12-13 15:19:48 +01:00
Laura Klünder
cbf3479a13 fix category_id thing with locationgroup _orig 2024-12-13 11:57:14 +00:00
Laura Klünder
e41324a4c6 remove control_panel permission, it's implicit by other permissions 2024-12-12 22:42:45 +00:00
Laura Klünder
450c9486c0 reverse manytomany field between access restrictions and their groups 2024-12-11 14:43:27 +01:00
Laura Klünder
9c72bec4e9 can_report_mistake 2024-12-09 16:09:47 +01:00
Laura Klünder
ca4008c13c don't delete changesets and mapupdates in cleareventdata 2024-12-09 15:21:20 +01:00
Laura Klünder
44671a12dc do create_multiple correctly 2024-12-05 23:38:12 +01:00
Laura Klünder
62d1773bb0 some more fun with _state.adding 2024-12-05 22:45:16 +01:00
Laura Klünder
3257704f22 one more self._state.adding! 2024-12-05 22:06:27 +01:00
Laura Klünder
1c6d8848a9 fix _orig_geometry if not set 2024-12-05 21:44:55 +01:00
Laura Klünder
768c92cf0f ony more _state.adding for register_change() 2024-12-05 21:10:15 +01:00
Laura Klünder
f884b2bdd5 fix the orig stuff some more 2024-12-05 20:54:19 +01:00
Laura Klünder
6390a51fc6 an attempt to get rid of missing _orig with changesets 2024-12-05 20:42:25 +01:00
Laura Klünder
ae2303ce22 register_change should be done correctly 2024-12-05 19:22:16 +01:00
Jenny Danzmayr
61713caf89 added missing migration 2024-12-04 23:44:10 +01:00
Laura Klünder
cd447d8490 add todo about moving ObstacleGroup 2024-12-04 15:53:00 +01:00
Laura Klünder
3ab84b6e8d remove new_serialize, this is now the new standard 2024-12-04 15:48:48 +01:00
Laura Klünder
9f609d9205 simplify serialize calls some more in routing etec 2024-12-04 15:43:03 +01:00
Laura Klünder
f2f67a1cbb route result should use more schema 2024-12-04 15:27:06 +01:00
Laura Klünder
602093d67a fix effective_slug for CustomLocation schema 2024-12-04 13:14:44 +01:00
Laura Klünder
3c4b929a31 remove old CustomLocation serialization stuff 2024-12-04 13:02:55 +01:00
Laura Klünder
907cc43214 serialize CustomLocation 2024-12-04 13:01:02 +01:00
Laura Klünder
00ec22c334 fix locationredirects breaking querysets 2024-12-04 12:42:03 +01:00
Laura Klünder
07a3c5ffa9 no need to explicitly serialize the grid 2024-12-04 12:20:27 +01:00
Laura Klünder
05890de06a all mapdata models use new_serialize now 2024-12-04 12:20:17 +01:00
Laura Klünder
40f19afc28 add locationredirect api endpoint with new_serialize 2024-12-04 12:08:19 +01:00
Laura Klünder
9debd7c845 add missing api endpoint for LabelSettings and use new_serialize 2024-12-04 11:58:20 +01:00
Laura Klünder
38c6e6a863 new_serialize for access restrictions 2024-12-04 11:45:03 +01:00
Laura Klünder
b8cc720c04 new_serialize for leavedescription, crossdescription and columns 2024-12-04 11:41:31 +01:00
Laura Klünder
fca1ca5a32 new_serialize for obstacle and lineobstacle 2024-12-04 11:35:26 +01:00
Laura Klünder
b96dcb9b50 better add_search typing 2024-12-03 19:04:18 +01:00
Laura Klünder
b96707d426 effective_icon and add_search 2024-12-03 19:00:35 +01:00
Laura Klünder
920422d359 add todos 2024-12-03 18:44:17 +01:00
Laura Klünder
b47e97bb81 new serializer for all locations 2024-12-03 18:42:33 +01:00
Laura Klünder
38b4fbe1f0 new serializer for hole, area, stair, and ramp 2024-12-03 17:18:59 +01:00
Laura Klünder
ed00cbd0e5 use new serializer for spaces and doors 2024-12-03 17:12:12 +01:00
Laura Klünder
8be5f0f9fb enforce can_access_geometry on geometry endpoints 2024-12-03 17:07:07 +01:00
Laura Klünder
a85ee24cd8 don't defer geometry if allowed 2024-12-03 17:02:02 +01:00
Laura Klünder
31ff787a29 enforce base_mapdata_accessible in building endpoint again 2024-12-03 16:57:39 +01:00
Laura Klünder
c0e6b02dc2 use new serializer for buildings 2024-12-03 16:56:55 +01:00
Laura Klünder
1210b69bbf new serializer for sources and locationgroupcategory 2024-12-03 16:12:09 +01:00