Commit graph

887 commits

Author SHA1 Message Date
Laura Klünder
b062e76b7a track object deletion 2017-06-13 03:39:12 +02:00
Laura Klünder
e84028ffa8 create changes on wrapped model save 2017-06-13 03:31:10 +02:00
Laura Klünder
4269f64326 remove DIRECT_EDITING setting 2017-06-13 00:13:10 +02:00
Laura Klünder
2f0b7d13d6 fix form validation on ModelMultipleChoiceField 2017-06-13 00:12:55 +02:00
Laura Klünder
2739132019 isort 2017-06-12 23:45:08 +02:00
Laura Klünder
344ab790a3 wrap around ORM in editor api 2017-06-12 23:33:59 +02:00
Laura Klünder
7e78bf0550 wrap around entire django ORM in all editor views 2017-06-12 22:56:39 +02:00
Laura Klünder
9e58a662e0 rename Change.object to Change.obj 2017-06-12 18:29:21 +02:00
Laura Klünder
ad568fdc0b fix Change.clean() regarding creation 2017-06-12 18:26:24 +02:00
Laura Klünder
64fac50f77 change author can also be null 2017-06-12 18:15:45 +02:00
Laura Klünder
cf4ad3dcae fix sticky submit buttons 2017-06-12 18:12:43 +02:00
Laura Klünder
8000c00e2a editor: check for duplicate redirect slugs with a single query 2017-06-12 18:02:40 +02:00
Laura Klünder
f55ea561bd get changeset for session/user and show it in ediutr in top right corner 2017-06-12 17:22:38 +02:00
Laura Klünder
172189a90b ChangeSet author can be null 2017-06-12 16:59:57 +02:00
Laura Klünder
2770628315 move editor noscript message 2017-06-12 15:51:20 +02:00
Laura Klünder
2fccf4222d move responsive switch to subheader 2017-06-12 15:39:56 +02:00
Laura Klünder
88330bbfeb disallow delete 2017-06-12 15:16:17 +02:00
Laura Klünder
fe0c2a1b48 save should raise TypeError is saving is not allowed 2017-06-12 15:07:42 +02:00
Laura Klünder
b4c640254f dont add changes to finished changesets 2017-06-12 15:06:51 +02:00
Laura Klünder
7f4c917872 add missing self 2017-06-12 15:06:42 +02:00
Laura Klünder
690785fd4d call full_clean on change object save 2017-06-12 15:01:36 +02:00
Laura Klünder
17e965e26e change objects can not be edited 2017-06-12 14:59:56 +02:00
Laura Klünder
bd7c8161d6 coplete Change model for editor 2017-06-12 14:52:08 +02:00
Laura Klünder
ee34d16b67 create models Change and ChangeSet for editor 2017-06-12 13:20:26 +02:00
Laura Klünder
845cce3cc2 check migrations in .travis.yml 2017-06-11 16:24:58 +02:00
Laura Klünder
1a30cb325e improve queries in editor views 2017-06-11 15:37:25 +02:00
Laura Klünder
61fa8276b2 remove invalid h3 tag 2017-06-11 15:24:52 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +02:00
Laura Klünder
1498b7aeb0 rename Section back to Level 2017-06-11 14:43:14 +02:00
Laura Klünder
27ff35e785 remove old attribute in html 2017-06-11 13:53:48 +02:00
Laura Klünder
faa577de32 fix section svg renderer 2017-06-11 13:51:05 +02:00
Laura Klünder
3773a13c46 show object title when asking to confirm deleting 2017-06-11 13:34:53 +02:00
Laura Klünder
7e9c2bad5d fix eidt spaces view on secondary sections 2017-06-11 13:33:00 +02:00
Laura Klünder
d01732e589 show spaces from other sections in space view and hightlight space better 2017-06-11 13:26:35 +02:00
Laura Klünder
6a8b7e33ae Space.outside not means „only outside of building“, so False means nothing 2017-06-11 13:18:25 +02:00
Laura Klünder
aa1e419f56 don't show areas in editor section view 2017-06-11 12:56:37 +02:00
Laura Klünder
c7fa53be5d highlight secondary layers when they're active for editing 2017-06-11 12:55:55 +02:00
Laura Klünder
e63ce7f1ea fix minor javascript issues 2017-06-11 12:47:36 +02:00
Laura Klünder
eeaaf3f135 fix editing spaces 2017-06-11 12:44:11 +02:00
Laura Klünder
3dc66dc9b8 fix creation of new geometries in editor 2017-06-11 12:36:10 +02:00
Laura Klünder
bf95b1c9cc highlight sections on top 2017-06-11 12:29:12 +02:00
Laura Klünder
528570b09d dont zoom on section change 2017-06-11 02:25:07 +02:00
Laura Klünder
306f543887 remove button on top right in edit view, we now have position:sticky 2017-06-11 02:14:45 +02:00
Laura Klünder
6f13be9b8b use position:sticky for form submit buttons in editor 2017-06-11 02:13:13 +02:00
Laura Klünder
70a956a945 fix alignment of buttons beside H3 tags 2017-06-11 01:28:01 +02:00
Laura Klünder
cae31c3993 edit sections on top of other sections 2017-06-11 01:19:37 +02:00
Laura Klünder
5836219503 move subsection control beside section control 2017-06-11 00:54:03 +02:00
Laura Klünder
745510ff99 fix error 500 when editing a section 2017-06-11 00:02:40 +02:00
Laura Klünder
3e02958b37 subsection selector 2017-06-11 00:00:25 +02:00
Laura Klünder
b4862b0062 remove debug output 2017-06-10 23:21:29 +02:00