History for dmpopidor / app / models
2016-10-25
@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-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
fixed broken link between organisations and users
xsrust committed on 7 Oct 2016
@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
Updated 'destroy' label on view plans page to read 'delete'
briley committed on 4 Oct 2016
@briley
Fixed typos: changed all change_org_detials to change_org_details
briley committed on 4 Oct 2016
@xsrust
removed all instances of comparing booleans to 1 or 0 for postgres compatability
xsrust 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
2016-09-09
@Brian Riley
reverted back changes to user<-->org relationship. added missing api and magic strings sections to the other locale files.
Brian Riley committed on 9 Sep 2016
@Brian Riley
Revert "Fix to bug in user model that was preventing the organisation association from working (#30)" ...
Brian Riley committed on 9 Sep 2016
2016-09-08
@Brian Riley
Removal of ajax calls from the Create Plan page (#31)
Brian Riley authored on 8 Sep 2016 GitHub committed on 8 Sep 2016
2016-09-07
@Brian Riley
Fix to bug in user model that was preventing the organisation association from working (#30) ...
Brian Riley authored on 7 Sep 2016 GitHub committed on 7 Sep 2016
2016-09-06
@Brian Riley
Commented out deprecated user.organisation_id method (#29) ...
Brian Riley authored on 6 Sep 2016 GitHub committed on 6 Sep 2016
2016-09-01
@briley
Merged branding changes from the development branch into the master branch that now contains DCC's changes to permissions/roles, internationalization and bug fixes
briley committed on 1 Sep 2016
@briley
merged DCC changes into master
briley committed on 1 Sep 2016
@xsrust
updated efficiency of update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
more merge conflicts
xsrust committed on 1 Sep 2016
@xsrust
overhaul of performance of users admin-index
xsrust committed on 1 Sep 2016
@xsrust
added docs to new function
xsrust committed on 1 Sep 2016
@xsrust
finished changes to update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
made changed to user.rb
xsrust committed on 1 Sep 2016
@xsrust
made changes to update user permissions
xsrust committed on 1 Sep 2016
@xsrust
added debug to update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
turns out we do user user_org_roles to determine organisation, re-added
xsrust committed on 1 Sep 2016
@xsrust
fixed bug in can_<do permission>? functions
xsrust committed on 1 Sep 2016
@xsrust
updated the organisation_id = (new) in user model, was causing seed to fail
xsrust committed on 1 Sep 2016
@xsrust
updated funciton to ensure no dupelicates
xsrust committed on 1 Sep 2016
@xsrust
added functionality to port users from old auth structure to new
xsrust committed on 1 Sep 2016
@xsrust
ensured users loose roles upon org changing and added depricated tags to roles
xsrust committed on 1 Sep 2016