History for dmpopidor / app / controllers / templates_controller.rb
2017-07-10
@Brian Riley
Merge branch 'CDL-MVP' into CDL-MVP
Brian Riley authored on 10 Jul 2017 GitHub committed on 10 Jul 2017
@Keith McGrellis
Change flash notice to alert for error
Keith McGrellis committed on 10 Jul 2017
@Keith McGrellis
Adds copy template option #148
Keith McGrellis committed on 10 Jul 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
updated tests to work with new standardized success messages DMPRoadmap/roadmap#175
Brian Riley committed on 7 Jul 2017
2017-06-15
@xsrust
funder guidance now displays on customized templates
xsrust committed on 15 Jun 2017
2017-06-09
@xsrust
updated admin_index for templates to not bug for some orgs, reimplimented logic for transfering customizations, changed text according to #338
xsrust committed on 9 Jun 2017
2017-05-31
@xsrust
updated routes from put to get for admin_customize, addresses part of #370
xsrust committed on 31 May 2017
2017-05-26
@xsrust
updated org-admin and plan create pages to reflect schema change
xsrust committed on 26 May 2017
2017-05-18
@Jimmy Angelakos
Integrate/resolve PR #319 - Closes #251.
Jimmy Angelakos committed on 18 May 2017
@Jimmy Angelakos
Template versioning update.
Jimmy Angelakos committed on 18 May 2017
2017-05-17
@Jimmy Angelakos
Merge branch 'development' into template-publish-fix
Jimmy Angelakos authored on 17 May 2017 GitHub committed on 17 May 2017
2017-05-16
@briley
updated template processing so that a new version is created when the user edits a published version. Updated tests to work with this new paradigm
briley committed on 16 May 2017
@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-11
@xsrust
began updating org-admin display of suggested_answers
xsrust committed on 11 May 2017
2017-05-02
@briley
Fixes to view templates and the way templates are collected DMPRoadmap/roadmap#251
briley committed on 2 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-24
@Brian Riley
fixed pages so that they work with new controller logic DMPRoadmap/roadmap#251
Brian Riley committed on 24 Apr 2017
@Brian Riley
updated tests to work with new template logic DMPRoadmap/roadmap#251
Brian Riley committed on 24 Apr 2017
2017-04-21
@Brian Riley
Updated tests to work with updated controller
Brian Riley committed on 21 Apr 2017
@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-19
@briley
updated logic to unpublish older versions when a version is published
briley committed on 19 Apr 2017
2017-04-11
@briley
Updated test so that it does not provide a version or org so that we match what the form is doing DMPRoadmap/roadmap#191
briley committed on 11 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
updated phases and templates controllers to use new error message helper on application_controller
briley committed on 29 Mar 2017
2017-03-28
@briley
added generic 'Unable to save your changes' message for template create/update failures
briley committed on 28 Mar 2017
@briley
fixed broken route to undefined edit path and replaced with redirect to correct route
briley committed on 28 Mar 2017