History for dmpopidor / app / models / user.rb
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
2016-11-10
@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
@Ray Carrick
profile save crashing
Ray Carrick committed on 10 Nov 2016
2016-11-09
@briley
Added domain to the identifier_Scheme table. Added unit and functional tests for the identifier_scheme functionality
briley committed on 9 Nov 2016
2016-11-08
@briley
added identifier_Schemes table check to user.rb model. Both ActiveAdmin and Devise attempt to initialize the object during a rake command which forces a 'table does not exist' error.
briley committed on 8 Nov 2016
@briley
fixed merge conflicts
briley committed on 8 Nov 2016
@briley
Updated routes to check for the existence of the new identifier_schemes table because rake db:migrate initializes the Rails app and devise tries to make use of the new table
briley committed on 8 Nov 2016
2016-11-04
@Brian Riley
Removed logo from identifier_schemes db table and added it to yaml locales. Added more entries for to the locales for oauth. Added red 'x' removal link for oauths on profile page. updated registrations controller so that users hitting the oauth handler that are not already signed in are brought to a registration page with a new user record that is connected to the oauth identifier
Brian Riley committed on 4 Nov 2016
2016-11-03
@briley
added additional locale message for identifier schemes and a remove icon
briley committed on 3 Nov 2016
2016-11-02
@briley
resolved rebase merge conflicts
briley committed on 2 Nov 2016
@briley
fixed issue with settings data saved to the DB using an old version of the gem. stripped html tags from question text for display in the export form.
briley committed on 2 Nov 2016
@briley
tidied up new tests and fixtures. Commented out old tests that were failing. Updated relationship between TokenPermissionType and Organisation so that token_permission_type.organisations works
briley committed on 2 Nov 2016