Commit graph

1374 commits

Author SHA1 Message Date
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
4f953d2ba1 lamdas are not allowed as a default value for a SchemaField 2024-12-04 23:43:34 +01:00
Laura Klünder
a88f8cea34 more stuff for not applying changesets when they have problems 2024-12-02 13:40:53 +01:00
Laura Klünder
ad252bf6c6 don't apply changesets that have problems 2024-12-02 12:11:52 +01:00
Laura Klünder
d82670a537 make apply work 2024-12-02 11:58:55 +01:00
Laura Klünder
fda3c2f85d add direct apply button to changesets and fix form button 2024-12-02 11:58:55 +01:00
Laura Klünder
435a271eab allow direct proposing of changesets as well as direct commiting 2024-12-02 11:58:55 +01:00
Laura Klünder
f9e832b24a fix propose url thingy 2024-12-02 11:58:55 +01:00
Laura Klünder
7bdbd7a376 show changeset object edit_url for applied changesets too 2024-12-02 11:58:55 +01:00
Laura Klünder
8a35e72148 no changeproblems if changeset is applied 2024-12-02 11:58:55 +01:00
Laura Klünder
e1e9b62fc0 propose parameter 2024-12-02 11:58:55 +01:00
Laura Klünder
53c2d5178e don't show "no longer exists" when that's not the case 2024-12-02 11:58:55 +01:00
Laura Klünder
eaffd55718 fix two typos 2024-12-02 11:58:55 +01:00
Laura Klünder
3b50c6f9dd bring changeset restore object feature back to life 2024-12-02 11:58:55 +01:00
Laura Klünder
e0b9ae0087 start displaying some errors in the changeset overview 2024-12-02 11:58:55 +01:00
Laura Klünder
6c5aba62ec cache as_operations 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