BigW Consortium Gitlab

  1. 07 Oct, 2017 1 commit
    • 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.
  2. 05 Sep, 2017 1 commit
    • 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
  3. 02 Aug, 2017 1 commit
  4. 27 Jul, 2017 2 commits
  5. 21 Jun, 2017 1 commit
  6. 28 Apr, 2017 1 commit
  7. 21 Apr, 2017 1 commit
  8. 23 Feb, 2017 2 commits
  9. 10 Feb, 2017 1 commit
  10. 26 Jan, 2017 1 commit
  11. 18 Nov, 2016 1 commit
  12. 11 Nov, 2016 1 commit
  13. 03 Oct, 2016 1 commit
  14. 28 Sep, 2016 1 commit
    • 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>
  15. 22 Sep, 2016 1 commit
  16. 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.
  17. 10 Aug, 2016 1 commit
  18. 02 Aug, 2016 1 commit
  19. 27 Jul, 2016 1 commit
  20. 01 Jul, 2016 1 commit
  21. 18 Jun, 2016 1 commit
  22. 16 Jun, 2016 2 commits
  23. 14 Jun, 2016 2 commits
  24. 03 Jun, 2016 2 commits
  25. 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
  26. 09 Feb, 2016 1 commit
  27. 09 Dec, 2015 1 commit
  28. 03 May, 2015 1 commit
  29. 14 Apr, 2015 4 commits
  30. 12 Feb, 2015 1 commit
  31. 29 Jan, 2015 1 commit
    • Update shoulda-matchers · ed17adfb
      Robert Speicher authored
      This outdated gem was the cause of those annoying MiniTest errors.
      
      Also updates one use of `ensure_inclusion_of` which was deprecated in
      favor of `validate_inclusion_of`.
  32. 14 Sep, 2014 1 commit