Commit graph

2925 commits

Author SHA1 Message Date
Laura Klünder
9bd2ef102c DRF does not check csrf on logged out requests, to let's require login 2018-11-22 17:33:52 +01:00
Laura Klünder
8e15e7d0a4 editor api DELETE support 2018-11-21 22:56:14 +01:00
Laura Klünder
0b6321c7e0 let's to allow_post and allow_delete differently 2018-11-21 22:44:31 +01:00
Laura Klünder
2113487c51 level and space are never fields in an EditorForm 2018-11-21 22:29:55 +01:00
Laura Klünder
70045f6fd5 geometry is geojson 2018-11-21 22:28:44 +01:00
Laura Klünder
75125ceecb editor list_objects api 2018-11-21 22:21:44 +01:00
Laura Klünder
a9438be2f3 space_detail editor API 2018-11-21 22:15:21 +01:00
Laura Klünder
46ffca598b level_detail editor api 2018-11-21 22:12:34 +01:00
Laura Klünder
5c87cb9592 editor main_index api 2018-11-21 22:07:06 +01:00
Laura Klünder
daf037d136 fix allow_post and allow_delete 2018-11-21 22:06:37 +01:00
Laura Klünder
52e684ced5 display messages in editor api 2018-11-21 22:01:53 +01:00
Laura Klünder
badda67549 editor edit API 2018-11-21 21:49:49 +01:00
Laura Klünder
9be630c0c6 some better line breaks 2018-11-21 17:59:03 +01:00
Laura Klünder
c9ce76b1df make editor api show up nicely in APIRoot 2018-11-21 01:38:57 +01:00
Laura Klünder
2a578900cc first stuff for editor API 2018-11-21 01:35:31 +01:00
Laura Klünder
07941a6126 add is_superuser to editor etag func 2018-11-21 01:29:35 +01:00
Laura Klünder
c43fcfdacb give detailed geometry for spaces with base_mapdata_accessible 2018-11-20 23:58:34 +01:00
Laura Klünder
cc9441b66b implement space exceptions for base_mapdata_access 2018-11-20 23:41:25 +01:00
Laura Klünder
93af6fb951 insert missing if for can_access_base_mapdata 2018-11-20 23:09:59 +01:00
Laura Klünder
8feda73366 remove debug 2018-11-20 23:09:44 +01:00
Laura Klünder
673767bc93 add base_mapdata_accessible field to space 2018-11-20 23:06:49 +01:00
Laura Klünder
bf761c1a1c respect base_mapdata_access in editor 2018-11-20 22:54:53 +01:00
Laura Klünder
bb1bb69d00 superusers have all permissions 2018-11-20 21:47:33 +01:00
Laura Klünder
f6a2854fa1 fix exception in _sidebar_loaded 2018-11-19 18:51:57 +01:00
Laura Klünder
4b8f9b4a7e less ugly background color 2018-11-19 00:42:47 +01:00
Laura Klünder
f0c513f445 add background color in a way that actually works 2018-11-19 00:10:58 +01:00
Laura Klünder
3ae7af1e24 add background color to <main> 2018-11-18 23:31:33 +01:00
Laura Klünder
85838f2198 sources editor: option to copy settings from other source 2018-11-18 02:00:27 +01:00
Laura Klünder
c8172c9f30 allow setting the fixed point in source positioning wizard 2018-11-17 02:07:58 +01:00
Laura Klünder
700389f3f3 fix typo 2018-11-17 01:50:18 +01:00
Laura Klünder
2e7b5ceff0 remove debug statement 2018-11-17 01:41:18 +01:00
Laura Klünder
6f25708f46 start building source positioning wizard for superusers 2018-11-17 01:40:57 +01:00
Laura Klünder
ed0d35a105 remove debug statement 2018-11-16 01:48:20 +01:00
Laura Klünder
8538d99a89 sourceimage view for superuser sources editor 2018-11-16 01:44:24 +01:00
Laura Klünder
0abc9a961c offer Select box in Sources editor for superusers 2018-11-16 01:26:44 +01:00
Laura Klünder
50b3479bb1 add test.py and test.svg to .gitignore 2018-11-16 00:53:24 +01:00
Laura Klünder
27c833b3ef fix some issues when c3nav is setup from ground up 2018-11-16 00:52:13 +01:00
Laura Klünder
417fd9514e don't use newest version of flake8/pycodestyle because they introduced a bug 2018-11-16 00:51:51 +01:00
Jenny Danzmayr
290d4cd0de add translations for wifi scan error messages 2018-11-09 22:53:49 +01:00
Jenny Danzmayr
da7ec16dd6 updated editor access permissions translations 2018-11-09 22:52:53 +01:00
Jenny
21f4f23857 added configuration option to disable user signup (#27)
added configuration option to disable user signup
2018-11-09 22:47:23 +01:00
Jenny Danzmayr
7a896073e4 fixed migrations to work around transaction limitations of SQLite 2018-10-31 21:34:06 +01:00
Laura Klünder
c79d87166b remove BSSID validator because it is no longer used 2018-09-19 22:13:06 +02:00
Laura Klünder
99141f1d49 update readme 2018-09-19 21:36:29 +02:00
Laura Klünder
a674434a98 don't use deprecated argument in Field.from_db_value() 2018-09-19 20:01:31 +02:00
Laura Klünder
ad02c7eaa7 use getboolean for boolean options 2018-09-19 19:34:34 +02:00
Laura Klünder
b88b6c3a29 add new data and editor permissions 2018-09-19 19:08:47 +02:00
Laura Klünder
8ffa982882 fix api overview 2018-09-19 17:31:36 +02:00
Laura Klünder
55013a61b6 more fixes for the editor 2018-09-18 17:38:26 +02:00
Laura Klünder
f11c8c5f22 fix editor without ajax 2018-09-18 17:07:58 +02:00