History for dmpopidor / app / models / user.rb
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
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
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
@briley
switched User->Language relationship in Model from has_one to belongs_to
briley committed on 2 Nov 2016
2016-11-01
@xsrust
updated user permissions conversion to migrate org_admin details properly
xsrust committed on 1 Nov 2016
2016-10-27
@briley
updated omniauth callback handler for orcid
briley committed on 27 Oct 2016
@briley
ignored wicked_pdf.rb initializer because it will likely need to be server specific. Updated from_omniauth method on User
briley committed on 27 Oct 2016
@briley
Added user_identifiers back to the User.rb object and added comments to new function
briley committed on 27 Oct 2016
2016-10-26
@briley
resolving merge conflicts during rebase
briley committed on 26 Oct 2016
2016-10-25
@briley
setup dynamic omniauth provider structures and tied it into devise
briley committed on 25 Oct 2016
@xsrust
modifying relationship between users and organisations \n -users now belong_to organisation \n -organisations now have_many users \n -removed the depricated user_org_roles structure with migration \n -moved data out of that structure into the existing organisation_id field of users to complete relationship \n -re-evaluated functions to do with organisation_id field, as it was used as a placeholder before
xsrust committed on 25 Oct 2016
2016-10-24
@Brian Riley
Added a new identifier_schemes table and corresponding user_identifiers join table. Added the initial ORCID identifier scheme to the seeds.db file. Updated the locales file to include corresponding identifier tooltip language, logos, and initial connection message. Updated user profile page to dynamically display identifiers
Brian Riley committed on 24 Oct 2016
2016-10-18
@Jimmy Angelakos
Merge branch 'master' of https://github.com/DMPRoadmap/roadmap into postgresql
Jimmy Angelakos committed on 18 Oct 2016
2016-10-07
@xsrust
updated the update_user_permissions function to make it more performant
xsrust committed on 7 Oct 2016
2016-10-06
@briley
added nil check to user model's keep token method
briley committed on 6 Oct 2016
2016-10-04
@briley
Fixed typos: changed all change_org_detials to change_org_details
briley committed on 4 Oct 2016
2016-09-29
@briley
Updated association between User and Organisation to reflect the removed user_org_roles table. Each User now belongs_to an Organisation.
briley committed on 29 Sep 2016