History for dmpopidor / app / controllers / phases_controller.rb
2018-01-26
@Brian Riley
made template details a non-versioning update and moved template version logic to the phases controller ...
Brian Riley committed on 26 Jan 2018
2018-01-04
@briley
updated logic to retrieve guidance ...
briley committed on 4 Jan 2018
2017-12-08
@briley
Make templates page usable for Org Admins and Super Admins ...
briley authored on 27 Nov 2017 Brian Riley committed on 8 Dec 2017
@Jose Lloret
fix layout issues at sections/_edit_section.html.erb. DMPRoadmap/roadmap#894 ...
Jose Lloret committed on 8 Dec 2017
2017-11-16
@Brian Riley
Merge branch 'CDL-MVP' into issue677
Brian Riley authored on 16 Nov 2017 GitHub committed on 16 Nov 2017
@Jose Lloret
phases edit view and its sub-templates using local variables instead of instance variables. DMPRoadmap/roadmap#677 ...
Jose Lloret committed on 16 Nov 2017
@xsrust
Fix conflicts with merging dev into CDL
xsrust committed on 16 Nov 2017
2017-10-16
@briley
Fixed issues with plan duplicattion, plan visibility and plan download ...
briley committed on 16 Oct 2017
2017-09-27
@Jose Lloret
templates index view bootstrapped. DMPRoadmap/roadmap#643 ...
Jose Lloret committed on 27 Sep 2017
2017-09-12
@Jose Lloret
Optimised query to display answers plan. DMPRoadmap/roadmap#634
Jose Lloret committed on 12 Sep 2017
2017-08-17
@Jimmy Angelakos
Merge branch 'development' into CDL-MVP ...
Jimmy Angelakos committed on 17 Aug 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-07-05
@xsrust
removed n+1 queries from edit phase and show plans page
xsrust committed on 5 Jul 2017
2017-06-27
@xsrust
updated guidance selection to ignore unpublished groups/guidances
xsrust committed on 27 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
@xsrust
funder guidance now displays on customized templates
xsrust committed on 15 Jun 2017
2017-06-02
@Jose Lloret
Added method to validate answer according to each question format. Partial view for section progress. Eager loading of resources needed to calculate plan and section progress. Refactoring of code for progress plan. DMPRoadmap/roadmap#382 ...
Jose Lloret committed on 2 Jun 2017
2017-05-22
@Jimmy Angelakos
Colon separator between Guidance Group name and Guidance name - Fixes #333 ?
Jimmy Angelakos committed on 22 May 2017
2017-05-19
@xsrust
updated syntax to allow read-only view of a plan. \n app/views/phases/_answer_form_ro.html.erb probably needs a bigger re-write as the logic is horrendus and it renders the whole thing as a form...but it's not a form because it's read only and it checks to see if it's read only a bunch of times within it. but here's the quick and dirty making it work
xsrust committed on 19 May 2017
2017-05-18
@Jimmy Angelakos
Template versioning update.
Jimmy Angelakos committed on 18 May 2017
2017-04-28
@Brian Riley
fixed merge conflict in schema.rb
Brian Riley committed on 28 Apr 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 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-20
@xsrust
updated models to relfect new name for join table between plans and guidance groups. fixes #198
xsrust committed on 20 Apr 2017
2017-04-19
@xsrust
ensure correct guidance groups display for plan editing
xsrust committed on 19 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