History for dmpopidor / app / models / user.rb
2017-02-08
@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
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
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
2017-02-02
@Ray Carrick
merge in changes from origin
Ray Carrick committed on 2 Feb 2017
@Ray Carrick
first port of plan creation and editing to new data model
Ray Carrick committed on 2 Feb 2017
2017-02-01
@xsrust
fixed bug with permissions constants
xsrust committed on 1 Feb 2017
2017-01-31
@briley
removed Fileupload object since its not referenced anymore. removed all of the empty test/unit/helpers files
briley committed on 31 Jan 2017
2017-01-26
@briley
started seeds.rb rebuild to work with new schema. Removed guidance_in_group association from guidance. added some attr_accessible attributes
briley committed on 26 Jan 2017
@briley
resolved merge conflicts
briley committed on 26 Jan 2017
2017-01-25
@briley
fixed merge conflicts
briley committed on 25 Jan 2017
@briley
fixed merge conflicts in branding.yml and schema.rb
briley committed on 25 Jan 2017
@xsrust
updated api templates endpoints to use new data access
xsrust committed on 25 Jan 2017
@xsrust
updated additional parts of the admin_phase view to use the new schema's data access. Additionally changed models for suggested_answer, user, guidance_group and question to better reflect the associations in the schema
xsrust committed on 25 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
2017-01-06
@xsrust
updated user model to allow signin_signout to detect permissions(admin/orgadmin)
xsrust committed on 6 Jan 2017
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
@xsrust
updates so that a user can log into the site \n updated application_controller, user model, registrations edit view, and layouts branding
xsrust committed on 12 Dec 2016
@xsrust
removed version and updated users_roles to users_perms
xsrust committed on 12 Dec 2016
@xsrust
updated theme and user models's associations
xsrust committed on 12 Dec 2016
2016-12-09
@Sam Rust
updated roles to perms as per renamed table
Sam Rust authored on 9 Dec 2016 GitHub committed on 9 Dec 2016
@Sam Rust
added new_plans relation to users through roles
Sam Rust authored on 9 Dec 2016 GitHub committed on 9 Dec 2016
2016-12-08
@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-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-15
@xsrust
removed user_statuses, user_types, and user_role_types tables and associations which referenced them
xsrust committed on 15 Nov 2016