Commit graph

4438 commits

Author SHA1 Message Date
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
b300e23233 add some more comments 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
Laura Klünder
55b8e6e78c some small stuff 2024-12-02 11:58:54 +01:00
Laura Klünder
aaf248a927 introducing historicobjects 2024-12-02 11:58:54 +01:00
Laura Klünder
c6a97815d7 some uuid and revertable actions stuff in operations 2024-12-02 11:58:54 +01:00
Laura Klünder
f689dd6eee add todo for changed_geometries (we wanna get rid of it) 2024-12-02 11:58:54 +01:00
Laura Klünder
c92513f0c5 only lock mapupdate for writable requests 2024-12-02 11:58:54 +01:00
Laura Klünder
b14036437a remove wrappers.py 2024-12-02 11:58:54 +01:00
Laura Klünder
eee0ff059a remove some more old code 2024-12-02 11:58:54 +01:00
Laura Klünder
e2aecc888c remove comment that does no longer apply 2024-12-02 11:58:54 +01:00
Laura Klünder
9d4a6b9d46 show edit_url in changeset view and fix some bugs 2024-12-02 11:58:54 +01:00
Laura Klünder
f04475672f display redirectslugs correctly 2024-12-02 11:58:54 +01:00
Laura Klünder
1055adb27c pre_change_values could be None if created, don't use it then 2024-12-02 11:58:54 +01:00
Laura Klünder
e81d3752a7 some bugfixes for titles in changesets 2024-12-02 11:58:54 +01:00
Laura Klünder
43b9baf03e make update/create work with LocationSlug multi-model inheritance 2024-12-02 11:58:54 +01:00
Laura Klünder
5caf705db2 .update() can't be chained 2024-12-02 11:58:54 +01:00
Laura Klünder
fe1159a8ff UpdateOBjectOperation do i18n correctly 2024-12-02 11:58:54 +01:00
Laura Klünder
76c90cd9f3 remove editpk url converter 2024-12-02 11:58:51 +01:00
Laura Klünder
c36e2a163b add @accesses_mapdata to object list view 2024-12-02 11:57:18 +01:00
Laura Klünder
0acc6cf2ae remove print statements 2024-12-02 11:57:18 +01:00
Laura Klünder
0618eb0fff optimize imports 2024-12-02 11:57:18 +01:00
Laura Klünder
37ca7eab31 store titles instead of repr in changes 2024-12-02 11:57:18 +01:00
Laura Klünder
bbce760707 add i18n logic and only store fields that have actually changed 2024-12-02 11:57:18 +01:00
Laura Klünder
c9d73e9daf lets try to display the changeset contents nicely 2024-12-02 11:57:18 +01:00
Laura Klünder
a7a5ec93e6 add todo about unique constraints 2024-12-02 11:57:18 +01:00