Commit graph

1295 commits

Author SHA1 Message Date
Laura Klünder
51f589835b respect object with only changed redirect slugs in changeset view and count 2017-06-29 13:20:35 +02:00
Laura Klünder
defd7b1da3 Revert "Revert "move LocationRedirect changes into their targets""
This reverts commit 043732b88d8babafecd449a464865eb4beb86186.
2017-06-27 19:52:21 +02:00
Laura Klünder
acad981b32 Revert "move LocationRedirect changes into their targets"
This reverts commit 48baf5f66831a9889e075b7803eab1fddffe8b00.
2017-06-27 19:29:59 +02:00
Laura Klünder
a987e4fa46 move LocationRedirect changes into their targets 2017-06-27 19:25:44 +02:00
Laura Klünder
331ad002ed fix ChangedObject m2m on existing objects 2017-06-27 19:13:44 +02:00
Laura Klünder
ffe31dcd81 call fill_changes_cache on get_created_pks 2017-06-27 19:09:06 +02:00
Laura Klünder
557242d3fe fix delete objects exclusion 2017-06-27 18:59:10 +02:00
Laura Klünder
2565fcf970 fix problems with unsaved objects in filtering 2017-06-27 18:57:53 +02:00
Laura Klünder
57b31986cf fix problems with LocationRedirect 2017-06-27 18:56:54 +02:00
Laura Klünder
3e73da779b fix some issues with unsaved changesets 2017-06-27 18:54:12 +02:00
Laura Klünder
fec524731d fix some linter stuff 2017-06-27 17:10:22 +02:00
Laura Klünder
a6a0bd53dd fix last_update 2017-06-27 17:08:37 +02:00
Laura Klünder
0e92161dd0 fix shadowed name 2017-06-27 17:07:54 +02:00
Laura Klünder
85c5d3c8fc fix get_created_object 2017-06-27 17:07:20 +02:00
Laura Klünder
1c17b201f5 ChangedObject.select_related('content_type') 2017-06-27 17:03:25 +02:00
Laura Klünder
733065838b fix m2m__pk filter 2017-06-27 16:39:10 +02:00
Laura Klünder
1ce641de48 Revert "space groups in editor space view"
This reverts commit dfca1eb744f322b7a2a8013916ef233416ba244f.
2017-06-27 16:36:11 +02:00
Laura Klünder
0f2d63f9ff space groups in editor space view 2017-06-27 16:26:50 +02:00
Laura Klünder
eb326a3694 ChangedObject m2m implementation 2017-06-27 16:10:28 +02:00
Laura Klünder
15e0b3cad2 get_changed_object: instance as argument instead of model and pk 2017-06-27 14:57:43 +02:00
Laura Klünder
eaab9ba670 ChangedObject: save objects and delete objects 2017-06-27 14:42:30 +02:00
Laura Klünder
e02245cc62 remove author from wrappers 2017-06-27 13:11:31 +02:00
Laura Klünder
63cff64599 fallback for lookup in deleted_existing 2017-06-27 03:28:39 +02:00
Laura Klünder
c57505812f remove author and creation icon from changeset.html 2017-06-27 03:25:24 +02:00
Laura Klünder
8ea300c1a6 fix changeset.html (changed_objects!) 2017-06-27 03:25:05 +02:00
Laura Klünder
9d5811bc15 replace Change with ChangedObject (wrapper integration still missing) 2017-06-27 03:21:23 +02:00
Laura Klünder
0ef51ac147 change default of geometryfield / support for null values 2017-06-26 23:23:39 +02:00
Laura Klünder
769b643374 restore should not collide with delete 2017-06-25 18:29:30 +02:00
Laura Klünder
fc873d990c move delete before group_changes, too 2017-06-25 18:27:44 +02:00
Laura Klünder
3597abc632 call group_changes only if restore was not queried 2017-06-25 18:26:17 +02:00
Laura Klünder
259f7a14b9 confirm before restoring changes 2017-06-25 18:26:08 +02:00
Laura Klünder
609fb88c72 create restore button basic functionality 2017-06-25 18:19:01 +02:00
Laura Klünder
7d768875d5 move changeset history view into changeset_detail 2017-06-25 17:59:18 +02:00
Laura Klünder
0a3675b9ef don't allow restoring "create"-changes. 2017-06-25 17:56:05 +02:00
Laura Klünder
fe86e62e98 rename restore button to "restore original" 2017-06-25 17:54:35 +02:00
Laura Klünder
b85ecae12f only show restore button if can_edit 2017-06-25 17:51:11 +02:00
Laura Klünder
0b7f4d2a13 exclude deleted objects when filtering by related objects 2017-06-25 17:46:53 +02:00
Laura Klünder
9c006e076f only show the undo button in history for deleting stuff 2017-06-25 17:22:04 +02:00
Laura Klünder
d86b31d0e9 don't show undo button in history, this may be confusing 2017-06-25 17:20:54 +02:00
Laura Klünder
74adaf68ba fix css on button hover (tooltip) 2017-06-25 16:29:51 +02:00
Laura Klünder
4e79279241 show roblems and restore buttons in changeset history, too 2017-06-25 16:19:59 +02:00
Laura Klünder
79220c39f9 add has_no_effect check to changes and replace undo button icon 2017-06-25 16:12:57 +02:00
Laura Klünder
1d479c4eba allow undoing changes on created objects 2017-06-25 16:12:04 +02:00
Laura Klünder
289297294e validate changes and add button to restore them 2017-06-25 15:36:51 +02:00
Laura Klünder
cd7d131750 Change.field 2017-06-25 14:13:06 +02:00
Laura Klünder
1e0c122cfe only subtract holes from their respective spaces 2017-06-25 12:42:17 +02:00
Laura Klünder
2484535214 remove old code 2017-06-25 12:18:47 +02:00
Laura Klünder
ba3a912b6a add add_current_model and get_field_value to utils.py 2017-06-25 12:17:22 +02:00
Laura Klünder
7c5ad70781 object save needs to be atomic transaction so entire object is saved 2017-06-25 11:51:49 +02:00
Laura Klünder
7a2854317e fix error when creating new objects 2017-06-25 11:40:22 +02:00