1. 02 Oct, 2018 1 commit
    • Jacopo's avatar
      Hides Close MR button on merged MR · e2056f08
      Jacopo authored
      When a Merge request is merged, shows only the Report abuse menu item
      in the dropdown menu instead of showing the close_reopen_report toggle
      with an unusable Close button.
      The Report abuse is still hidden when the author of the Merge request
      is the current_user.
      
      Hides the Reopen button on a closed and locked issue when the
      issue.author is not the current_user
      e2056f08
  2. 09 Jul, 2018 1 commit
  3. 01 Jun, 2018 1 commit
  4. 31 Jan, 2018 1 commit
  5. 22 Dec, 2017 1 commit
  6. 14 Dec, 2017 1 commit
  7. 02 Aug, 2017 1 commit
  8. 28 Jul, 2017 1 commit
    • Yorick Peterse's avatar
      Merge issuable "reopened" state into "opened" · 6ef87a20
      Yorick Peterse authored
      Having two states that essentially mean the same thing is very much like
      having a boolean "true" and boolean "mostly-true": it's rather silly.
      This commit merges the "reopened" state into the "opened" state while
      taking care of system notes still showing messages along the lines of
      "Alice reopened this issue".
      
      A big benefit from having only two states (opened and closed) is that
      indexing and querying becomes simpler and more performant. For example,
      to get all the opened queries we no longer have to query both states:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state IN ('opened', 'reopened');
      
      Instead we can query a single state directly, which can be much faster:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state = 'opened';
      
      Further, only having two states makes indexing easier as we will only
      ever filter (and thus scan an index) using a single value. Partial
      indexes could help but aren't supported on MySQL, complicating the
      development process and not being helpful for MySQL.
      6ef87a20
  9. 25 Apr, 2017 1 commit
  10. 03 Apr, 2017 2 commits
  11. 25 Jan, 2017 1 commit
  12. 12 Sep, 2016 1 commit
  13. 21 Jul, 2016 1 commit
    • Robert Speicher's avatar
      Refactor Issues::BulkUpdateService spec · 97c4a1dc
      Robert Speicher authored
      - Create fewer Issue objects; 2 is as good as 5 for these cases. This
        gives us a nice little speed improvement.
      - Don't `describe` Symbols.
      - Simplify object creation.
      - Lessen "mystery guest" antipattern
      97c4a1dc
  14. 18 Mar, 2016 1 commit
  15. 04 Mar, 2016 1 commit