Skip to content
Snippets Groups Projects
  1. Jan 24, 2018
  2. Dec 22, 2017
  3. Oct 07, 2017
    • Jacopo's avatar
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      Jacopo authored
      Replaces all the explicit include metadata syntax in the specs (tag:
      true) into the implicit one (:tag).
      Added a cop to prevent future errors and handle autocorrection.
      0ce67858
  4. Sep 05, 2017
    • Rubén Dávila's avatar
      Optimize SQL queries used in Groups::GroupMembersController#create · 66cfb901
      Rubén Dávila authored
      The following optimizations were performed:
      
      - Add new association to GroupMember and ProjectMember
      
        This new association will allow us to check if a user is a member of a
        Project or Group through a single query instead of two.
      
      - Optimize retrieving of Members when adding multiple Users
      66cfb901
  5. Aug 02, 2017
  6. Jul 27, 2017
  7. Jun 21, 2017
  8. Apr 28, 2017
  9. Apr 21, 2017
  10. Feb 23, 2017
  11. Feb 10, 2017
  12. Jan 26, 2017
  13. Nov 18, 2016
  14. Nov 11, 2016
  15. Oct 03, 2016
  16. Sep 28, 2016
    • Rémy Coutable's avatar
      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: default avatarRémy Coutable <remy@rymai.me>
      ec0061a9
  17. Sep 22, 2016
  18. Sep 08, 2016
    • Nick Thomas's avatar
      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.
      9521edb4
  19. Aug 10, 2016
  20. Aug 02, 2016
  21. Jul 27, 2016
  22. Jul 01, 2016
  23. Jun 18, 2016
  24. Jun 16, 2016
  25. Jun 14, 2016
  26. Jun 03, 2016
  27. May 09, 2016
  28. Feb 09, 2016
  29. Dec 09, 2015
  30. May 03, 2015
  31. Apr 14, 2015
  32. Feb 12, 2015
Loading