History for dmpopidor / app / models
2017-01-24
@briley
added unit tests for options and option_warnings
briley 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
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
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
2016-12-14
@briley
finished up application controller tests
briley committed on 14 Dec 2016
2016-12-12
@briley
Added magic strings and identifier schemes to new ES locale file. Updated names of magic string categories so that they match the table names
briley committed on 12 Dec 2016
2016-12-02
@Brian Riley
Resolved merge conflicts with fr.yml locale file and the user.rb model. Kept 'language_id' in the attr_accessible list and kept both the self.from_omniauth and reset_password_link methods.
Brian Riley committed on 2 Dec 2016
2016-11-22
@Ray Carrick
add a reset_password_link method for convenience
Ray Carrick committed on 22 Nov 2016
2016-11-10
@briley
Added new ORCID field to the export pages
briley committed on 10 Nov 2016
@briley
Had to remove code that was building devise omniauth connections dynamically. The timing of when the rails engine builds the routes and the models is not conducive to this approach
briley committed on 10 Nov 2016