History for dmpopidor / app / models
2017-01-11
@briley
switched visibility over to an enum. updated the project objects accordingly. Added some more unit tests. Updated locale files with visibility text
briley committed on 11 Jan 2017
@xsrust
changed Org.organisation_type to Org.type to fix conflict in running migration
xsrust committed on 11 Jan 2017
@xsrust
hacked templates landing page to work
xsrust committed on 11 Jan 2017
2017-01-10
@briley
added unit test for exported_plan. added validations to exported_plan and has_many side of relationship to user and plan
briley committed on 10 Jan 2017
@briley
removed tests for methods that should be purged from templates model (See issue #89)
briley committed on 10 Jan 2017
@briley
Added a few 'TODO:' statements indicating some methods we should remove. (Do a "grep -r 'TODO:' ./app"). Added some template and comments unit tests
briley committed on 10 Jan 2017
@briley
added validations and associations for Comment model. Also added unit test
briley committed on 10 Jan 2017
@briley
added validations to the Answer model and added unit test
briley committed on 10 Jan 2017
@briley
switched visibility to be a bit flag using FlagShihTzu instead of a lookup table. adjusted db migration. Removed all of the empty stub test files generated by the rails scaffolding mechanism.
briley committed on 10 Jan 2017
@xsrust
updated orgs_controller, views, and model
xsrust committed on 10 Jan 2017
@xsrust
updated roles_controller and model functions
xsrust committed on 10 Jan 2017
2017-01-09
@xsrust
began updating roles
xsrust committed on 9 Jan 2017
@xsrust
re-wrote data access for guidance_groups controller
xsrust committed on 9 Jan 2017
@xsrust
updated prefetching for guidances index
xsrust committed on 9 Jan 2017
@xsrust
updated guidances controller and views to reflect new schema
xsrust committed on 9 Jan 2017
2017-01-06
@xsrust
made changes to allow guidance to display
xsrust committed on 6 Jan 2017
@xsrust
updated user model to allow signin_signout to detect permissions(admin/orgadmin)
xsrust committed on 6 Jan 2017
2017-01-05
@Brian Riley
added unit test for new visibility model and updated projects test to check visibility
Brian Riley committed on 5 Jan 2017
@Brian Riley
Added visibility model, and started updating tests for public dmps controller but we need to create fixtures which is extremely difficult with the current state of the DB. Will wait for refactor before finishing tests.
Brian Riley committed on 5 Jan 2017
2017-01-04
@briley
Added initial public DMPs page to display public plans to unauthenticated users
briley committed on 4 Jan 2017
2017-01-03
@briley
fixed bug in is_test and is_public setters so that it allows both a true boolean or an int
briley committed on 3 Jan 2017
@briley
fixed equality bug in is_test and is_public setters on Projects model
briley committed on 3 Jan 2017
@briley
Added locale specific column headers for new visibility column. Made the new column NOT a default
briley committed on 3 Jan 2017
@briley
Added 'visibility' to the list of potential columns for the plan list page
briley committed on 3 Jan 2017
@briley
Added 'visibility' to the list of potential columns for the plan list page
briley committed on 3 Jan 2017
@briley
Added is_test and is_public flags to the projects table. Added unit tests for new fields. Removed unecessary attr_accessible section from projects model. Added setters for new flag fields so that only one can be true at a given time
briley committed on 3 Jan 2017
2016-12-21
@briley
added and finalized unit tests for user, token_permission_types, identifier_Schemes, user_identifiers, organisations
briley committed on 21 Dec 2016
2016-12-20
@briley
added unit tests for question format
briley committed on 20 Dec 2016
@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-19
@briley
Added test fixtures for answers, questions, question formats, and answer formats
briley committed on 19 Dec 2016