History for dmpopidor / app / models / phase.rb
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-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-02-15
@Ray Carrick
mege in head changes
Ray Carrick committed on 15 Feb 2017
@Ray Carrick
trying to reduce data access queries. Needs more work
Ray Carrick committed on 15 Feb 2017
2017-02-14
@xsrust
Merge branch 'final_schema' of https://github.com/DigitalCurationCentre/roadmap into final_schema
xsrust committed on 14 Feb 2017
@xsrust
removed slugs unique requirement from phases ** may break other code
xsrust committed on 14 Feb 2017
2017-02-08
@briley
some cleanup of irrelevant objects (e.g. removal of remaining OrganisationType)
briley committed on 8 Feb 2017
2017-02-03
@xsrust
init commit of deep_copy for templates [untested]
xsrust committed on 3 Feb 2017
2017-01-31
@briley
fixed unit tests for phases
briley committed on 31 Jan 2017
2017-01-26
@briley
added some more attr_accessible attributes for new fields. finished up seed.rb file.
briley committed on 26 Jan 2017
@briley
resolved merge conflicts
briley committed on 26 Jan 2017
2017-01-24
@briley
cleaned up tests
briley committed on 24 Jan 2017
@briley
finsihed phase unit tests. added all unit tests that i forgot to add in prior commits
briley committed on 24 Jan 2017
@briley
added unit test for phases and updated readme with links out to wiki docs
briley committed on 24 Jan 2017
@xsrust
updated phase so that it dosent delete a template when destroyed
xsrust committed on 24 Jan 2017
2016-12-20
@briley
attempted to add some unit tests for Answers but the data will be changing so much that it did not make sense to continue at this point. Created tests for Language
briley committed on 20 Dec 2016
2016-12-12
@xsrust
made necissary changes to allow the app to display the splash/login screen
xsrust committed on 12 Dec 2016
2016-12-08
@xsrust
began changing models to reflect the new model names and relationships, additionally deleting some old/unused models which no longer apply in the new schema.
xsrust committed on 8 Dec 2016
@xsrust
added migration to add foreign keys. Also needed to remove the temporary models, and update existing models to reflect the new relationships
xsrust committed on 8 Dec 2016
2016-11-03
@xsrust
fixed bug where templates were not based on most recent version, causing organizational customizations of templates to not show up to the end user
xsrust committed on 3 Nov 2016
2016-08-17
@Brian Riley
Merging current stable development branch into master (#23) ...
Brian Riley authored on 17 Aug 2016 GitHub committed on 17 Aug 2016
2016-06-03
@Marta Ribeiro
DMPonline4 - RAILS 4.0 (#4) ...
Marta Ribeiro authored on 3 Jun 2016 Brian Riley committed on 3 Jun 2016