History for dmpopidor / app / models
2017-01-24
@briley
added unit tests for options and option_warnings
briley committed on 24 Jan 2017
@xsrust
sections belong to phases, not versions
xsrust committed on 24 Jan 2017
@xsrust
updated phase so that it dosent delete a template when destroyed
xsrust committed on 24 Jan 2017
2017-01-21
@Brian Riley
finished guidance_groups test. started on guidance tests
Brian Riley committed on 21 Jan 2017
2017-01-20
@Brian Riley
put validation back in place that ensures a question can only have a single answer within a plan
Brian Riley committed on 20 Jan 2017
2017-01-13
@Brian Riley
fixed merge conflict in seeds.rb file. installed substance-rails gem and updated code to swap in the substance-forms text-area for tinymce on the answer section of the edit plans page
Brian Riley committed on 13 Jan 2017
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