BigW Consortium Gitlab

  1. 28 Sep, 2016 2 commits
    • Allow Member.add_user to handle access requesters · ec0061a9
      Rémy Coutable authored
      Changes include:
      
      - Ensure Member.add_user is not called directly when not necessary
      - New GroupMember.add_users_to_group to have the same abstraction level as for Project
      - Refactor Member.add_user to take a source instead of an array of members
      - Fix Rubocop offenses
      - Always use Project#add_user instead of project.team.add_user
      - Factorize users addition as members in Member.add_users_to_source
      - Make access_level a keyword argument in GroupMember.add_users_to_group and ProjectMember.add_users_to_projects
      - Destroy any requester before adding them as a member
      - Improve the way we handle access requesters in Member.add_user
        Instead of removing the requester and creating a new member,
        we now simply accepts their access request. This way, they will
        receive a "access request granted" email.
      - Fix error that was previously silently ignored
      - Stop raising when access level is invalid in Member, let Rails validation do their work
      Signed-off-by: 's avatarRémy Coutable <remy@rymai.me>
  2. 08 Sep, 2016 1 commit
    • Exclude some pending or inactivated rows in Member scopes · 9521edb4
      Nick Thomas authored
      An unapproved access request should not give access rights, and blocked users
      should not be considered members of anything.
      
      One visible outcome of this behaviour is that owners and masters of a group or
      project may be blocked, yet still receive notification emails for access
      requests. This commit prevents this from happening.
  3. 18 Aug, 2016 1 commit
  4. 09 Aug, 2016 1 commit
  5. 04 Aug, 2016 2 commits
  6. 02 Aug, 2016 1 commit
  7. 01 Aug, 2016 1 commit
  8. 26 Jul, 2016 1 commit
  9. 01 Jul, 2016 1 commit
  10. 29 Jun, 2016 1 commit
    • Reduce overhead and optimize ProjectTeam#max_member_access performance · e21c7d37
      Stan Hu authored
      The previous implementation would load the entire team member list and their
      respective attributes. Now we only search for the user's specific
      access level.
      
      In gitlab-com/operations#42, this reduces the overall overhead of rendering
      the issue from 28% to 20%.
      
      First step of optimizing #19273
  11. 18 Jun, 2016 1 commit
  12. 16 Jun, 2016 2 commits
  13. 14 Jun, 2016 3 commits
  14. 03 Jun, 2016 2 commits
  15. 01 Jun, 2016 1 commit
  16. 19 May, 2016 1 commit
  17. 09 May, 2016 1 commit
    • Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen authored
      In 8278b763 the default behaviour of annotation
      has changes, which was causing a lot of noise in diffs. We decided in #17382
      that it is better to get rid of the whole annotate gem, and instead let people
      look at schema.rb for the columns in a table.
      
      Fixes: #17382
  18. 06 May, 2016 1 commit
  19. 11 Apr, 2016 1 commit
  20. 30 Mar, 2016 6 commits
  21. 09 Feb, 2016 2 commits
  22. 20 Jan, 2016 1 commit
  23. 17 Nov, 2015 1 commit
  24. 12 Nov, 2015 3 commits
  25. 11 Nov, 2015 1 commit
  26. 03 Nov, 2015 1 commit