History for dmpopidor / app / controllers / questions_controller.rb
2017-06-12
@Jose Lloret
Fixed problem when changing question format for editing. Implemented default answer for textfield and textarea. Example answer now loads tinymce for editing too. DMPRoadmap/roadmap#414
Jose Lloret committed on 12 Jun 2017
2017-06-07
@Jose Lloret
Fixed problem when creating a question. Fixed JS to display/hide default answer. Fixed tinymce problem for example answer. DMPRoadmap/roadmap#337 ...
Jose Lloret committed on 7 Jun 2017
2017-05-16
@xsrust
updated tests to work after annotations changes
xsrust committed on 16 May 2017
@xsrust
merged development into annotations
xsrust committed on 16 May 2017
2017-05-12
@xsrust
updated org-admin interface to use annotations for template editing
xsrust committed on 12 May 2017
2017-04-26
@Brian Riley
moved some of the logic that was defaulting template attributes in the controller over to the model. Fixed tests DMPRoadmap/roadmap#251 DMPRoadmap/roadmap#273
Brian Riley committed on 26 Apr 2017
2017-04-25
@Brian Riley
moved most of the save logic from the template controller to the model. Updated the phases/section/question models to use the after_save callback to handle updating the template.dirty flag
Brian Riley committed on 25 Apr 2017
2017-04-21
@Brian Riley
Updated template controller to use new model helper methods. updates phase/section/question controllers to update template dirty flag. added new routes for customize, publish, unpublish
Brian Riley committed on 21 Apr 2017
2017-04-07
@Brian Riley
broken generic error message handler apart into separate create/update/destroy versions. updated calls within the controllers and fixed tests DMPRoadmap/roadmap#227
Brian Riley committed on 7 Apr 2017
@Brian Riley
Added obj_name param to the generic error message handler on application_controller. Updated all save error handling to render the page rather than redirect DMPRoadmap/roadmap#227
Brian Riley committed on 7 Apr 2017
2017-03-29
@briley
fixed tests for questions controller. removed exclamationpoint from save on questions controller
briley committed on 29 Mar 2017
@briley
Added questions controller tests
briley committed on 29 Mar 2017
2017-03-02
@Jose Lloret
Replaced I18n.t(...) from controllers. DMPRoadmap/roadmap#98
Jose Lloret committed on 2 Mar 2017
2017-02-24
@xsrust
Moved Actions, views, and partials for sections/phases/questions/suggested_answers out of templates, and wrote up associated authorization
xsrust committed on 24 Feb 2017