History for dmpopidor / app / models
2017-05-12
@Brian Riley
fixed merge conflicts after rebase
Brian Riley committed on 12 May 2017
@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-10
@briley
fixed tests
briley committed on 10 May 2017
@Jimmy Angelakos
Replace UC3 -> CDL - fixes #245
Jimmy Angelakos committed on 10 May 2017
2017-05-09
@briley
fixed merge conflicts
briley committed on 9 May 2017
2017-05-08
@Jimmy Angelakos
Fixed failing functional & translation tests
Jimmy Angelakos committed on 8 May 2017
2017-05-04
@briley
added new create plan page
briley committed on 4 May 2017
2017-04-28
@Brian Riley
fixed merge conflict in schema.rb
Brian Riley committed on 28 Apr 2017
2017-04-27
@Brian Riley
updated org model's instituions scope to return correct org_type DMPRoadmap/roadmap#150
Brian Riley committed on 27 Apr 2017
2017-04-26
@Brian Riley
Merge branch 'remove-settings' into development
Brian Riley committed on 26 Apr 2017
@Brian Riley
Merge branch 'fix-template-controller' into development
Brian Riley committed on 26 Apr 2017
@Brian Riley
Removed remaining pieces of the plan_list settings DMPRoadmap/roadmap#248
Brian Riley committed on 26 Apr 2017
@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
@Jose Lloret
section association sorted by number rather than id. DMPRoadmap/roadmap#269 ...
Jose Lloret 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
removed the devise confirmation requirement DMPRoadmap/roadmap#254
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
@xsrust
created model for annotation
xsrust 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
@xsrust
Merge branch 'development' of https://github.com/DigitalCurationCentre/roadmap into development
xsrust committed on 20 Apr 2017
@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
@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
@briley
added line to convert User to User.id on plan role assignment functions
briley committed on 19 Apr 2017
@briley
Removed exclamation mark from uniq as it modifies the variable directly (instead of copying) and returns nil instead of an empty string if the array is empty
briley committed on 19 Apr 2017
@briley
Added line to grab the first phase for the template if none is specified on the record
briley committed on 19 Apr 2017
@Brian Riley
Merge branch 'development' into development
Brian Riley authored on 19 Apr 2017 GitHub committed on 19 Apr 2017
@xsrust
ensure correct guidance groups display for plan editing
xsrust committed on 19 Apr 2017
@xsrust
fixes guidance group selection for plans
xsrust committed on 19 Apr 2017
2017-04-18
@briley
removed validate on User.password/email from user model because it conflicts with Devise's validation rules
briley committed on 18 Apr 2017