History for dmpopidor / app / models
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
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
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
@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
@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-04-13
@briley
updates to locking mechanism because it ActiveRecord does not catch 2 creates DMPRoadmap/roadmap#241
briley committed on 13 Apr 2017
2017-04-12
@ray.carrick
change docx export to htmltoword. Hopefully fixes: #217
ray.carrick committed on 12 Apr 2017
@ray.carrick
assign permissions on create plan. Fixes: #220
ray.carrick committed on 12 Apr 2017
2017-04-11
@ray.carrick
remove some old code
ray.carrick committed on 11 Apr 2017
2017-04-10
@ray.carrick
Add messages to create plan explaining decisions. Fixes https://github.com/DMPRoadmap/roadmap/issues/207
ray.carrick committed on 10 Apr 2017
2017-04-07
@Brian Riley
removed old reference to question from the guidance model DMPRoadmap/roadmap#227
Brian Riley committed on 7 Apr 2017
2017-04-06
@briley
added comments that break down the various bitwise combinations for refernce
briley committed on 6 Apr 2017
@briley
fixed merge conflicts after rebase
briley committed on 6 Apr 2017
@Brian Riley
Merge pull request #42 from DMPRoadmap/development ...
Brian Riley authored on 6 Apr 2017 GitHub committed on 6 Apr 2017
2017-04-05
@briley
fixed rebase issues
briley committed on 5 Apr 2017
@briley
removed template->question dropdowns on guidance pages. updated controller and JS accordingly. fixed issue with themes not being saved. DMPRoadmap/roadmap#221
briley committed on 5 Apr 2017
@xsrust
implimented new role backend according to #219
xsrust committed on 5 Apr 2017