Commit graph

4642 commits

Author SHA1 Message Date
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
Laura Klünder
93e7b92647 fix more serializer save stuff 2024-12-05 19:04:29 +01:00
Laura Klünder
caa515bbe2 remove save_m2m thingy 2024-12-05 18:57:08 +01:00
Laura Klünder
915b527fd7 fix occupieduniquevalues thing 2024-12-05 18:39:12 +01:00
Laura Klünder
cd47f06110 delete a locationslug submodel, don't make it two deletions 2024-12-05 18:38:50 +01:00
Laura Klünder
30eb14a650 make sure the actual object's save() method is called 2024-12-05 18:33:41 +01:00
Laura Klünder
d1fa0b449b deleting objects with references in changeset needs to work 2024-12-05 18:18:55 +01:00
Laura Klünder
500332a691 add todo for delete multiple objects 2024-12-05 18:06:30 +01:00
Laura Klünder
deb7f8b94e why not show titles of related objects in changeset details, sounds nice 2024-12-05 17:45:52 +01:00
Laura Klünder
1c33db4c79 look at "title" field instead of "titles" 2024-12-05 17:20:20 +01:00
Laura Klünder
16ebe2882d another place to not get confused with many_to_many fields 2024-12-05 17:05:13 +01:00
Laura Klünder
e1ab9d348f don't get confused with manytomanyfields and operationdependency 2024-12-05 16:46:31 +01:00
Laura Klünder
168de89543 remove done situation debug statement 2024-12-05 14:26:57 +01:00
Laura Klünder
78bff89f1b show text if changeset is empty 2024-12-05 14:21:33 +01:00
Laura Klünder
089c3e3f85 fix get_ref_and_pre_change_values if already inside of prev 2024-12-05 14:20:11 +01:00
Laura Klünder
69d93ddf38 if restoring a deleted object … potentially remove from changeset 2024-12-05 14:14:58 +01:00
Laura Klünder
bcff9796ee fix changeset restore deleted object 2024-12-05 14:14:04 +01:00
Laura Klünder
90de2396df fix stuff about object deletion in changeset 2024-12-05 14:07:06 +01:00
Laura Klünder
95b8800907 get on_delete in editor properly 2024-12-05 13:54:36 +01:00
Laura Klünder
02837c2e4c remove debug statement 2024-12-05 13:48:54 +01:00
Laura Klünder
e9062f14c3 no can_delete check needed 2024-12-05 13:43:47 +01:00
Laura Klünder
87ba5973c8 again, wouldn't it be nice to be able to create objects in the editor?! 2024-12-05 13:16:04 +01:00
Laura Klünder
28223c8960 fix uniqueValueDependency logic in the editor 2024-12-05 13:14:13 +01:00
Laura Klünder
f2e92c1958 sure would be nice to be able to create objects in the editor, huh? 2024-12-05 13:14:13 +01:00
Jenny Danzmayr
15f2eab217 fixed serialization of lazy attributes that evaluate to None
Without this `None` is returned as the string 'None'.
Needed by at least the I18nField
2024-12-05 03:25:16 +01:00
Jenny Danzmayr
61713caf89 added missing migration 2024-12-04 23:44:10 +01:00
Jenny Danzmayr
4f953d2ba1 lamdas are not allowed as a default value for a SchemaField 2024-12-04 23:43:34 +01:00
Jenny Danzmayr
8151d901fd docker: fixed missing libmemcached 2024-12-04 20:46:02 +01:00
Jenny Danzmayr
a5ae6c13ca added libcairo to docker container 2024-12-04 20:20:27 +01:00
Jenny Danzmayr
e7218a249f fixed typo in requirements filename 2024-12-04 20:12:59 +01:00
Jenny Danzmayr
3b21392f4c use pygobject instead of pgi for docker container
pgi doesn't work anymore/ It's unclear why we used it in the first place
instead of pygobject.
2024-12-04 20:09:22 +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
c1eb47a0e0 fewer explicit serialize() calls 2024-12-04 15:44:53 +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