BigW Consortium Gitlab

  1. 03 Jun, 2016 2 commits
  2. 02 Jun, 2016 1 commit
  3. 01 Jun, 2016 1 commit
    • Refactor Participable · 580d2501
      Yorick Peterse authored
      There are several changes to this module:
      
      1. The use of an explicit stack in Participable#participants
      2. Proc behaviour has been changed
      3. Batch permissions checking
      
      == Explicit Stack
      
      Participable#participants no longer uses recursion to process "self" and
      all child objects, instead it uses an Array and processes objects in
      breadth-first order. This allows us to for example create a single
      Gitlab::ReferenceExtractor instance and pass this to any Procs. Re-using
      a ReferenceExtractor removes the need for running potentially many SQL
      queries every time a Proc is called on a new object.
      
      == Proc Behaviour Changed
      
      Previously a Proc in Participable was expected to return an Array of
      User instances. This has been changed and instead it's now expected that
      a Proc modifies the Gitlab::ReferenceExtractor passed to it. The return
      value of the Proc is ignored.
      
      == Permissions Checking
      
      The method Participable#participants uses
      Ability.users_that_can_read_project to check if the returned users have
      access to the project of "self" _without_ running multiple SQL queries
      for every user.
  4. 24 May, 2016 1 commit
  5. 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
  6. 19 Apr, 2016 1 commit
  7. 15 Apr, 2016 1 commit
  8. 14 Apr, 2016 1 commit
  9. 13 Apr, 2016 1 commit
  10. 12 Apr, 2016 3 commits
    • Test the `Issue#to_branch_name` method. · 66ca8018
      Timothy Andrew authored
    • Augment the tests for `Issue#related_branches` · 91034af3
      Timothy Andrew authored
      - Test the case where we have a referenced merge request that's being
      - excluded as a "related branch"
      - This took a while to figure out, especially the
        `create_cross_references!` line.
    • Refactor `Issue#related_branches` · 5d88de09
      Timothy Andrew authored
      - Previously, the controller held the logic to calculate
        related branches, which was:
      
        `<branches ending with `issue.iid`> - <branches with a merge request referenced in the current issue>`
      
      - This logic belongs in the `related_branches` method, not in the
        controller. This commit makes this change.
      
      - This means that `Issue#related_branches` now needs to take a `User`.
        When we find the branches that have a merge request referenced in the
        current issue, this is limited to merge requests that the current user
        has access to.
      
      - This is not directly related to #14566, but is a related refactoring.
  11. 23 Mar, 2016 1 commit
  12. 19 Mar, 2016 2 commits
    • Tweaked performance of Issue#related_branches · 41b8d226
      Yorick Peterse authored
      Requesting the branch names of a repository works even when it's empty,
      thus there's no need to explicitly check for an empty repository.
      Removing this check cuts down the amount of Git operations which in turn
      cuts down request timings a bit. The regular expression used to compare
      branches was also moved out of the loop so it's created only once.
    • Soft delete issuables · 212e83ba
      Zeger-Jan van de Weg authored
  13. 18 Mar, 2016 1 commit
    • \#to_branch_name now uses the iid as postfix · 70ca3370
      Zeger-Jan van de Weg authored
      Given the branch name 'mep-mep' with an iid being 1,
      the current way, master's way, would yield a branch name of
      1-mep-mep. The problem for larger projects however would be that
      a developer might forget what iid the issue was.
      
      When this developer would try to tab complete it would:
      - Or result in 20+ branches possibly
      - Or start with the wrong digit, try again with digit++
        - Would see 20 branches, repeat
      
      Thus the obvious way of solving this is letting the dev tab complete
      on the issue title, which is easier to remember.
  14. 17 Mar, 2016 1 commit
  15. 15 Mar, 2016 3 commits
  16. 10 Mar, 2016 1 commit
  17. 09 Dec, 2015 1 commit
  18. 16 Oct, 2015 1 commit
  19. 12 Oct, 2015 1 commit
  20. 06 Sep, 2015 1 commit
  21. 22 Jun, 2015 1 commit
  22. 26 May, 2015 2 commits
  23. 16 Apr, 2015 1 commit
  24. 12 Feb, 2015 1 commit
  25. 06 Oct, 2014 1 commit
    • Add specs for tasks · fecd9c0c
      Vinnie Okada authored
      Add tests for the new task list functionality in the Markdown parser and
      in issues and merge requests.
  26. 26 Jun, 2014 1 commit
  27. 09 Apr, 2014 1 commit
  28. 25 Aug, 2013 1 commit
    • Link issues from comments and automatically close them · c8a115c0
      ash wilson authored
      Any mention of Issues, MergeRequests, or Commits via GitLab-flavored markdown
      references in descriptions, titles, or attached Notes creates a back-reference
      Note that links to the original referencer. Furthermore, pushing commits with
      commit messages that match a (configurable) regexp to a project's default
      branch will close any issues mentioned by GFM in the matched closing phrase.
      If accepting a merge request would close any Issues in this way, a banner is
      appended to the merge request's main panel to indicate this.
  29. 21 Aug, 2013 1 commit
  30. 29 Jul, 2013 1 commit
  31. 19 Jun, 2013 1 commit
  32. 15 Mar, 2013 1 commit
  33. 18 Feb, 2013 1 commit