History for dmpopidor / app / controllers / questions_controller.rb
2018-04-06
@Brian Riley
added base_template_org and updated write plan to show correct org in guidance tab ...
Brian Riley committed on 6 Apr 2018
2018-02-23
@briley
fixed theme saving on questions edit/add
briley committed on 23 Feb 2018
2018-02-07
@briley
propogate templates page current tab selection ...
briley committed on 7 Feb 2018
2018-01-31
@briley
fixed issue with annotation save
briley committed on 31 Jan 2018
2017-09-27
@Jose Lloret
templates index view bootstrapped. DMPRoadmap/roadmap#643 ...
Jose Lloret committed on 27 Sep 2017
2017-07-07
@Brian Riley
updated controllers to use alert instead of notice for errors DMPRoadmap/roadmap#175
Brian Riley committed on 7 Jul 2017
@Brian Riley
added generic success message and updated controllers to use it DMPRoadmap/roadmap#175
Brian Riley committed on 7 Jul 2017
2017-06-27
@xsrust
accounting for tests not always having annotations (whereas views do)
xsrust committed on 27 Jun 2017
2017-06-26
@xsrust
fixed question update logic, addresses #460
xsrust committed on 26 Jun 2017
2017-06-15
@xsrust
updated other controller actions shown to throw error by test, we render phases/admin show from other controllers, so need same instance variables defined
xsrust committed on 15 Jun 2017
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