Commit graph

56 commits

Author SHA1 Message Date
Laura Klünder
915b527fd7 fix occupieduniquevalues thing 2024-12-05 18:39:12 +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
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
69d93ddf38 if restoring a deleted object … potentially remove from changeset 2024-12-05 14:14:58 +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
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
Laura Klünder
eaffd55718 fix two typos 2024-12-02 11:58:55 +01:00
Laura Klünder
c1f137ed11 protected references should only contain protected references 2024-12-02 11:58:54 +01:00
Laura Klünder
6c4a16fc45 nullable fields shouldn't use DummyValue 2024-12-02 11:58:54 +01:00
Laura Klünder
9b6f61438a handle situation if we can't fill a dummyvalue 2024-12-02 11:58:54 +01:00
Laura Klünder
18c3faa350 collect all problems 2024-12-02 11:58:54 +01:00
Laura Klünder
cac27eb938 couldn't fully solve? solve partially 2024-12-02 11:58:54 +01:00
Laura Klünder
d329d1d411 ignore empty update operations 2024-12-02 11:58:54 +01:00
Laura Klünder
76e12a94cf report leftover dummy values 2024-12-02 11:58:54 +01:00
Laura Klünder
f803fdb5f1 start reporting collection problems with converting changeset to operations 2024-12-02 11:58:54 +01:00
Laura Klünder
fb36071bd1 add m2m operations to as_operations implementation 2024-12-02 11:58:54 +01:00
Laura Klünder
2749091168 as_operations can now create a create_multiple 2024-12-02 11:58:54 +01:00
Laura Klünder
99085a0646 update todo about cascading deletes 2024-12-02 11:58:54 +01:00
Laura Klünder
44bc2b39ce ensure things don't break if changesets refer to fields that no longer exist 2024-12-02 11:58:54 +01:00
Laura Klünder
2bc16de91e add todo about stuff having to work with migrations 2024-12-02 11:58:54 +01:00
Laura Klünder
df83be216e referenced_objects should also source data from m2m_changes 2024-12-02 11:58:54 +01:00
Laura Klünder
8a9ab6396f small refactor in as_operations to prepare for m2m 2024-12-02 11:58:54 +01:00
Laura Klünder
5474ff6ae5 add m2m todo 2024-12-02 11:58:54 +01:00
Laura Klünder
de37888d50 some more fixing, activating a changeset seems to work now… ish 2024-12-02 11:58:54 +01:00
Laura Klünder
29e73ba55c some first fixes for as_operations 2024-12-02 11:58:54 +01:00
Laura Klünder
820ccb134e final base implementation for as_operations, time to test 2024-12-02 11:58:54 +01:00
Laura Klünder
8f2997a4df improve dummy unique value creation 2024-12-02 11:58:54 +01:00
Laura Klünder
dbdd437c9b implement some more unique value and reference logic in as_operations 2024-12-02 11:58:54 +01:00
Laura Klünder
ea7aaf4294 still more as_operations implementation 2024-12-02 11:58:54 +01:00
Laura Klünder
b5472c307b fill more gaps in the as_operations implementation 2024-12-02 11:58:54 +01:00
Laura Klünder
7a22718e46 fill some gaps in as_operations 2024-12-02 11:58:54 +01:00
Laura Klünder
2c6d8a0504 split up as_operations code 2024-12-02 11:58:54 +01:00
Laura Klünder
3e58b54749 add another todo which was missing 2024-12-02 11:58:54 +01:00
Laura Klünder
5463c058b4 continue implementing as_operations. finish base, lots of todos left 2024-12-02 11:58:54 +01:00
Laura Klünder
8dc338d547 add uid to SingleOperationWithDependencies 2024-12-02 11:58:54 +01:00
Laura Klünder
c9087b549d as_operations: create a start_situation 2024-12-02 11:58:54 +01:00
Laura Klünder
6c92be0729 tiny bit more coding about the as_operations 2024-12-02 11:58:54 +01:00
Laura Klünder
c68f3bd3d6 bluh 2024-12-02 11:58:54 +01:00
Laura Klünder
ce9c87ae4c find all references and more as_operations code 2024-12-02 11:58:54 +01:00
Laura Klünder
54920a2f54 merged dependencies for mergable operations 2024-12-02 11:58:54 +01:00
Laura Klünder
c05760b767 change set apply: determine operation dependencies 2024-12-02 11:58:54 +01:00
Laura Klünder
a231b62885 some more partial work on completing PreviousObjects data 2024-12-02 11:58:54 +01:00
Laura Klünder
f2f0b9fdae fixes to make the last commit work (asside from applying changes) 2024-12-02 11:58:54 +01:00
Laura Klünder
174866c2fd mid-work commit from train 2024-12-02 11:58:54 +01:00