Commit graph

398 commits

Author SHA1 Message Date
Laura Klünder
e6909bc6b2 set correct edit action 2016-10-04 14:35:36 +02:00
Laura Klünder
5535ea5fb5 refactor finalize/oauth flow 2016-10-04 14:19:55 +02:00
Laura Klünder
e4b60c1ac2 merge edit_feature and add_feature into one view 2016-10-04 13:28:09 +02:00
Laura Klünder
e823392ff4 add missing closing </form> 2016-10-04 13:07:43 +02:00
Laura Klünder
817056f235 signed edit data is now a dictionary 2016-10-04 13:07:07 +02:00
Laura Klünder
9d08d92844 remove unneeded import 2016-09-29 22:07:31 +02:00
Laura Klünder
d6714ebf65 Missing data: SuspiciousOperation instead of error.html 2016-09-29 20:42:37 +02:00
Laura Klünder
5c3d194f99 remove debug 2016-09-29 20:41:16 +02:00
Laura Klünder
1a2119475a explicit reidrect_uri for github, too 2016-09-29 20:40:47 +02:00
Laura Klünder
86be4c92b5 remove loader image from oauth callback redirect (looks better) 2016-09-29 20:36:53 +02:00
Laura Klünder
838c9d6e64 editor/finalize: add commit_msg with suggestion and various improvements 2016-09-29 19:38:31 +02:00
Laura Klünder
91c2f10cf2 improve redirect forms 2016-09-29 19:38:08 +02:00
Laura Klünder
3c72056f64 fix errors with redis 2016-09-29 19:36:25 +02:00
Laura Klünder
8e5b0d8afc api: check hoster state 2016-09-29 19:35:08 +02:00
Laura Klünder
3707469eed add oauth flow for github and gitlab 2016-09-29 16:33:45 +02:00
Laura Klünder
7deb001f08 mini-migration for changed help_text 2016-09-29 16:30:46 +02:00
Laura Klünder
70936562d0 use absolute imports everywhere 2016-09-27 16:18:18 +02:00
Laura Klünder
e8c1e7006c add celery basics 2016-09-27 15:32:42 +02:00
Laura Klünder
78fc67ebdb restrict choices in package choice and hide if only one choice allowed 2016-09-26 17:23:08 +02:00
Laura Klünder
66c459ae17 redirect to /editor/finalize and show edit and signin button 2016-09-26 16:44:17 +02:00
Laura Klünder
ade73d19a2 only enable feature editing if the current form supports it 2016-09-26 15:03:15 +02:00
Laura Klünder
83ca244aed minor text fixes 2016-09-26 15:00:48 +02:00
Laura Klünder
1a5257658a direct_editing setting in c3nav.cfg 2016-09-26 14:57:04 +02:00
Laura Klünder
ddfd728544 better submit button detection 2016-09-26 14:56:53 +02:00
Laura Klünder
39c70de49c do not execute feature.delete() if DIRECT_EDITING is not enabled 2016-09-26 13:36:09 +02:00
Laura Klünder
9e36e33eaf replace default loader animation 2016-09-26 13:34:56 +02:00
Laura Klünder
990273697f fix error 500 on feature edit 2016-09-26 13:34:47 +02:00
Laura Klünder
576b33fd1a Editor: edit & delete features 2016-09-26 13:32:05 +02:00
Laura Klünder
6ce96148d7 correct feature API endpoint description 2016-09-26 11:20:28 +02:00
Laura Klünder
be62b14669 Features: store titles as a JSONField and add loadmap and dumpmap support 2016-09-26 11:18:56 +02:00
Laura Klünder
49c2270b84 editor.get_features() and various improvements 2016-09-26 10:29:26 +02:00
Laura Klünder
c2e2988ce1 disable edit on edit form send 2016-09-26 09:57:38 +02:00
Laura Klünder
9875d4f04b hide start-drawing buttons instead of disable them 2016-09-26 09:11:06 +02:00
Laura Klünder
65fa5ca044 fix editor.set_current_level 2016-09-24 21:20:19 +02:00
Laura Klünder
249f67bb19 more editor.js refactoring (get_features) 2016-09-24 20:55:57 +02:00
Laura Klünder
65759805ea refactor editor.js, allow adding holes to polygons, various fixes 2016-09-24 20:49:11 +02:00
Laura Klünder
e1a06e4659 editor: cancel button should not submit the form 2016-09-24 17:38:34 +02:00
Laura Klünder
9a5cbd5ba7 dumpmap: create directories if needed 2016-09-24 16:48:45 +02:00
Laura Klünder
6e65f8b8bd reimplement dumpmap and checkmap 2016-09-24 15:36:14 +02:00
Laura Klünder
bca976af11 loadmap: save package dir 2016-09-24 14:44:20 +02:00
Laura Klünder
cb34ed7d4e help pycharm find the models 2016-09-24 14:23:44 +02:00
Laura Klünder
8679202dbb fix import errors in Models 2016-09-24 14:19:20 +02:00
Laura Klünder
995ccffc67 rewrite loadmap implementation 2016-09-24 14:09:52 +02:00
Laura Klünder
e074f70799 add super().__init__() to FeatureType 2016-09-24 10:33:23 +02:00
Laura Klünder
6c45fded7c remove .idea folder 2016-09-23 17:59:30 +02:00
Laura Klünder
11742ad0d1 migrations were broken for postgres, so let's redo them 2016-09-23 17:17:19 +02:00
Laura Klünder
3c96a98344 multi-language feature titles 2016-09-23 17:02:32 +02:00
Laura Klünder
9f79e26671 basic feature adding in editor 2016-09-23 15:23:02 +02:00
Laura Klünder
96abc31a6c add .idea to .gitignore 2016-09-23 13:05:49 +02:00
Laura Klünder
84c75df574 Add level to Feature 2016-09-23 13:05:15 +02:00