1. 22 Jun, 2016 3 commits
    • Douwe Maan's avatar
      Merge branch 'fix-auto-mr-close' into 'master' · a3a8798a
      Douwe Maan authored
      Fix auto-MR-close text from branch name
      
      ## What does this MR do?
      
      Fix the MR-auto-close feature if a branch name begins with an issue IID.
      
      ## Are there points in the code the reviewer needs to double check?
      
      It's one line, so check that line thoroughly 😃
      
      ## Why was this MR needed?
      
      When I create a new MR from a branch starting with an issue IID, the description doesn't get suffixed with the 'Closes #blahblah' that it should do.
      
      ## What are the relevant issue numbers?
      
      Don't think there are any.
      
      ## Screenshots (if relevant)
      
      ## Does this MR meet the acceptance criteria?
      
      - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
      
      See merge request !4836
      a3a8798a
    • Douwe Maan's avatar
      Merge branch '18871-check-improve-how-we-display-access-requesters-in-admin-area' into 'master' · 4dcf107b
      Douwe Maan authored
      Display group/project access requesters separately in admin
      
      ## What does this MR do?
      
      It displays the access requesters in a separate list in group & project members pages.
      
      It also harmonize the members counter UI to use `%span.badge` everywhere (in the admin & non-admin members views).
      
      ## Are there points in the code the reviewer needs to double check?
      
      No.
      
      ## Why was this MR needed?
      
      To not confuse access requesters with actual members.
      
      ## What are the relevant issue numbers?
      
      Closes #18871.
      
      ## Screenshots
      
      ### Group members
      
      | Before | After |
      | --------- | ---- |
      | ![group-members-before](/uploads/2f15137e073fd3a63bc2cb7b2217cb6c/group-members-before.png) | ![group-members-after](/uploads/5b643974505cfa57783fa0320d3bf8b2/group-members-after.png) |
      
      ### Project members
      
      | Before | After |
      | --------- | ---- |
      | ![project-members-before](/uploads/9c48dcd3736e42de84061b1201ee0b06/project-members-before.png) | ![project-members-after](/uploads/8e04c92ef0bba3de7e2405618632b27d/project-members-after.png) |
      
      ### Admin group members
      
      | Before | After |
      | --------- | ---- |
      | ![admin-group-members-before](/uploads/7fda8c2c94b697bea6655ba892ba45e7/admin-group-members-before.png) | ![admin-group-members-after](/uploads/ea25717001794f75939c679b80308c3a/admin-group-members-after.png) |
      
      ### Admin project members
      
      | Before | After |
      | --------- | ---- |
      | ![admin-project-members-before](/uploads/ba9d3ec52adbda6bb3d45ad9ac5243d3/admin-project-members-before.png) | ![admin-project-members-after](/uploads/3b889a029a9756e9ed2781b45c4dd9cb/admin-project-members-after.png) |
      
      ## Does this MR meet the acceptance criteria?
      
      - [x] No CHANGELOG since this is related to the original "request access" MR.
      - [ ] All builds are passing
      - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      See merge request !4798
      4dcf107b
    • Douwe Maan's avatar
      Merge branch '18755-fix-destroy-project-causes-post_decline_request-to-be-executed' into 'master' · c11006ac
      Douwe Maan authored
      Resolve "Destroying a project causes post_decline_request to be executed"
      
      ## What does this MR do?
      
      Ensure we don't send "access request declined" to access requesters when a project is deleted.
      
      ## Are there points in the code the reviewer needs to double check?
      
      I've created a service to decouple the notification sending from the AR model.
      
      ## Why was this MR needed?
      
      Because there was an issue.
      
      ## What are the relevant issue numbers?
      
      Fixes #18755, #18750.
      
      ## Does this MR meet the acceptance criteria?
      
      - [x] No CHANGELOG needed.
      - [x] Tests
        - [x] Added for this feature/bug
        - [x] All builds are passing
      - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
      - [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
      - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)
      
      See merge request !4744
      c11006ac
  2. 21 Jun, 2016 37 commits