Skip to content
Snippets Groups Projects
  1. Jul 30, 2018
    • Bob Van Landuyt's avatar
      Show the status of a user in interactions · f1d3ea63
      Bob Van Landuyt authored
      The status is shown for
      - The author of a commit when viewing a commit
      - Notes on a commit (regular/diff)
      - The user that triggered a pipeline when viewing a pipeline
      - The author of a merge request when viewing a merge request
      - The author of notes on a merge request (regular/diff)
      - The author of an issue when viewing an issue
      - The author of notes on an issue
      - The author of a snippet when viewing a snippet
      - The author of notes on a snippet
      - A user's profile page
      - The list of members of a group/user
      f1d3ea63
  2. Jun 18, 2018
  3. May 31, 2018
  4. Apr 19, 2018
  5. Apr 11, 2018
    • Bob Van Landuyt's avatar
      Correct permissions for creating merge requests from issues · 71ccfde3
      Bob Van Landuyt authored
      This could only be possible for users that can create merge requests
      within a project.
      
      So they need to be a allowed to create a branch and create a merge request.
      71ccfde3
    • Bob Van Landuyt's avatar
      Rename `create_merge_request` permissions · 8ad9c4e8
      Bob Van Landuyt authored
      So we can distinguish between the permissions on the source and the
      target project.
      
      - `create_merge_request_from` indicates a user can create a merge
        request with the project as a source_project
      - `create_merge_request_in` indicates a user can create a merge
        request with the project as a target_project
      8ad9c4e8
  6. Feb 28, 2018
  7. Feb 21, 2018
    • Sean McGivern's avatar
      Refactor IssuableFinder to extract model-specific logic · c2fc4066
      Sean McGivern authored
      By extracting a new `filter_items` method, we can override that in the
      IssuesFinder and MergeRequestsFinder separately, so we don't need checks that
      the model is the correct one, because we can just use the class we're in to know
      that.
      
      We can do the same for the VALID_PARAMS constant, by making it a class method.
      c2fc4066
  8. Feb 13, 2018
  9. Feb 01, 2018
    • Yorick Peterse's avatar
      Track and act upon the number of executed queries · cca61980
      Yorick Peterse authored
      This ensures that we have more visibility in the number of SQL queries
      that are executed in web requests. The current threshold is hardcoded to
      100 as we will rarely (maybe once or twice) change it.
      
      In production and development we use Sentry if enabled, in the test
      environment we raise an error. This feature is also only enabled in
      production/staging when running on GitLab.com as it's not very useful to
      other users.
      Unverified
      cca61980
  10. Jan 08, 2018
  11. Nov 25, 2017
  12. Nov 16, 2017
  13. Nov 07, 2017
  14. Nov 02, 2017
  15. Oct 31, 2017
  16. Oct 26, 2017
  17. Oct 03, 2017
  18. Sep 19, 2017
  19. Sep 18, 2017
    • Stan Hu's avatar
      Eliminate N+1 queries in loading discussions.json endpoint · 8690ca5c
      Stan Hu authored
      In #37955,we see that the profile had a number of N+1 queries from repeated
      access to `cross_reference_not_visible_for?`. This was optimized in previous
      versions of GitLab by rendering all notes at once, counting the number of
      visible references, and then using that number to check whether a system note
      should be fully redacted.
      
      There was also another N+1 query calling `ProjectTeam#member?`, which did not
      take advantage of an optimization in prepare_notes_for_rendering that would
      preload the maximum access level per project.
      
      Closes #37955
      8690ca5c
  20. Sep 14, 2017
  21. Sep 07, 2017
  22. Sep 06, 2017
  23. Sep 05, 2017
    • Yorick Peterse's avatar
      Re-use issue/MR counts for the pagination system · 42062a45
      Yorick Peterse authored
      This changes the issue and MR index pages so the pagination system
      re-uses the output of the COUNT(*) query used to calculate the number of
      rows per state (opened, closed, etc). This removes the need for an
      additional COUNT(*) on both pages.
      Verified
      42062a45
  24. Sep 04, 2017
  25. Aug 29, 2017
  26. Aug 18, 2017
  27. Aug 17, 2017
  28. Aug 10, 2017
  29. Jul 24, 2017
  30. Jul 21, 2017
  31. Jul 18, 2017
  32. Jul 14, 2017
  33. Jul 07, 2017
Loading