History for dmpopidor / app / models / template.rb
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
2017-12-06
@briley
Added ability to set template visibility for funders ...
briley committed on 6 Dec 2017
2017-11-27
@Jose Lloret
concern to validate and parse an array of object links. DMPRoadmap/roadmap#819 ...
Jose Lloret committed on 27 Nov 2017
2017-11-16
@xsrust
Fix conflicts with merging dev into CDL
xsrust committed on 16 Nov 2017
2017-11-06
@Jose Lloret
Default templates placed before funder templates with dynamic plural. DMPRoadmap/roadmap#612 ...
Jose Lloret committed on 6 Nov 2017
2017-10-24
@xsrust
updated default template selection logic, added helper function to find default template
xsrust committed on 24 Oct 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-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-06-02
@Jimmy Angelakos
Updated translation strings & added :migrated attribute access to template model
Jimmy Angelakos committed on 2 Jun 2017
2017-05-26
@xsrust
bugfixes to allow tests to work
xsrust committed on 26 May 2017
@xsrust
updated org-admin and plan create pages to reflect schema change
xsrust committed on 26 May 2017
2017-05-16
@xsrust
updated super admin to use annotations and model files accordingly
xsrust committed on 16 May 2017
@xsrust
Merge remote-tracking branch 'upstream/development' into annotations
xsrust committed on 16 May 2017
@xsrust
merged development into annotations
xsrust committed on 16 May 2017
2017-05-12
@Brian Riley
added answer partials back to plans dir even though they don't appear to be use in the UI. Added integration tests for template selection on create plan page
Brian Riley committed on 12 May 2017
2017-05-11
@xsrust
began updating org-admin display of suggested_answers
xsrust committed on 11 May 2017
2017-05-04
@briley
added new create plan page
briley committed on 4 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 tests to work with updated controller
Brian Riley committed on 21 Apr 2017
2017-04-20
@briley
switched helper scopes to class methods because scopes return all if nothing was found since we were using .first
briley committed on 20 Apr 2017
@briley
trying to add default scoping for template
briley committed on 20 Apr 2017
2017-04-19
@briley
Added scoped helper queries that return the current template version, the published template, and the available dmptemplate_ids for a given org
briley committed on 19 Apr 2017
2017-04-18
@briley
added a test that searches for missing translations. Added specific error messages for model validations. Added some devise controlled error messages to pot/po files DMPRoadmap/roadmap#236
briley committed on 18 Apr 2017
2017-03-03
@xsrust
created a to_hash method for templates to help remove data access from views
xsrust committed on 3 Mar 2017
2017-02-08
@briley
Merge branch 'final_schema' of https://github.com/CDLUC3/roadmap into final_schema
briley committed on 8 Feb 2017
@xsrust
customizations generate new templates or template versions
xsrust committed on 8 Feb 2017
2017-02-07
@briley
removed references to organisation_id in several models and replaced with .org.id
briley committed on 7 Feb 2017
@briley
added some missing unit tests. fixed typo on Template.has_customisations? method
briley committed on 7 Feb 2017
2017-02-03
@xsrust
init commit of deep_copy for templates [untested]
xsrust committed on 3 Feb 2017