History for dmpopidor / app / models
2017-02-08
@briley
updted some stale references to Project and Dmptemplate. built more unit tests for Plan methods. Commented out a lot of methods that appear to be unused
briley committed on 8 Feb 2017
@briley
removed NewPlan, AdminUser models. Updated API base controller to check auth via token type and org
briley committed on 8 Feb 2017
@briley
removed org_token_permission and users_perm models. They are declared via a has_and_belongs_to_many relationship which designates the underlying table so there is no need for a model. Removed old organisation_type which has been replaced
briley committed on 8 Feb 2017
@briley
removed old Ability model which was used by the CanCan gem. added some more test coverage for Org and User
briley committed on 8 Feb 2017
@briley
removed User.org_type method and updated calls to in on some template views to use the new org.funder? instead
briley committed on 8 Feb 2017
@briley
filled in test coverage gaps. Removed duplicate User.can_grant_api_to_orgs? method
briley committed on 8 Feb 2017
@briley
Merge branch 'final_schema' of https://github.com/CDLUC3/roadmap into final_schema
briley committed on 8 Feb 2017
@briley
commented out unecessary org_token_permission model. We use a has_and_belongs_to_many relationship which defines the join table directly
briley committed on 8 Feb 2017
@xsrust
customizations generate new templates or template versions
xsrust committed on 8 Feb 2017
@xsrust
fixed minor typo in deep_copy for question
xsrust committed on 8 Feb 2017
@briley
some cleanup of irrelevant objects (e.g. removal of remaining OrganisationType)
briley committed on 8 Feb 2017
2017-02-07
@briley
commented out organisation getter/setter in user. switched calls to org
briley committed on 7 Feb 2017
@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
@briley
renamed projects_helper to plans_helper. moved template.settings tests to settings:template_test
briley committed on 7 Feb 2017
@xsrust
fixed bug where sections not editable, questions not saveable
xsrust committed on 7 Feb 2017
2017-02-06
@Ray Carrick
Merge branch 'final_schema' of https://github.com/DigitalCurationCentre/roadmap into final_schema
Ray Carrick committed on 6 Feb 2017
@Ray Carrick
move plan list settings from project to plan
Ray Carrick committed on 6 Feb 2017
2017-02-03
@Brian Riley
added a few attributes to Plan and User attr_accessible sections
Brian Riley committed on 3 Feb 2017
@Brian Riley
fixed issue with routes test
Brian Riley committed on 3 Feb 2017
@Brian Riley
updated generic deep copy test to check for uniqueness of excluded attributes (e.g. id, slug, dates, etc.). Fixed typo in Question.deep_copy. Added calls to deep_copy test for template, phase and section
Brian Riley committed on 3 Feb 2017
@Brian Riley
removed old references to the Amoeba gem which was used to clone models. Fixed typo in Question.deep_copy. Added generic test for deep_copy methods.
Brian Riley committed on 3 Feb 2017
@Brian Riley
removed old amoeba gem that was used for cloning active record models. We will use xsrust's new deep_copy methods now
Brian Riley committed on 3 Feb 2017
@xsrust
init commit of deep_copy for templates [untested]
xsrust committed on 3 Feb 2017
2017-02-02
@briley
fixed a few merge conflicts
briley committed on 2 Feb 2017
@briley
added theme unit tests and started cleanup of remaining existing tests
briley committed on 2 Feb 2017
@briley
added suggested_answer unit tests and started on template unit tests
briley committed on 2 Feb 2017
@briley
added check to role that sets access by default. added unit tests for section
briley committed on 2 Feb 2017
@briley
removed 'self.save' from the Role access_level getter and setter. Shouldn't force a save there (especially in a getter). Verified that controller calls update/save after changing the value
briley committed on 2 Feb 2017
@briley
added validations to role and unit tests
briley committed on 2 Feb 2017