Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Sep 02, 2019
  3. Aug 30, 2019
  4. Aug 28, 2019
  5. Aug 27, 2019
  6. Aug 23, 2019
    • Scott Hampton's avatar
      Change misleading pipeline status tooltip · f093ceb4
      Scott Hampton authored and Mayra Cabrera's avatar Mayra Cabrera committed
      Some pipeline status icon tooltips were showing
      "Commit: ..." which customers found to be
      misleading since it was not the commit that was
      failing but the pipeline.
      
      We are changing all status icon tooltips to say
      "Pipeline: ..." instead of "Commit: ..." now.
      f093ceb4
    • Stan Hu's avatar
      Remove N+1 SQL query loading project feature in dashboard · 29e60b06
      Stan Hu authored
      Projects that have a pipeline may need to check whether the user has
      permission to read the build (`can?(current_user, :read_build,
      project)`), which requires checking the `project_features` table.
      This would cause an N+1 SQL query for each project.
      
      This change also has a beneficial side effect that may avoid a race
      condition. When a user deletes a project, the project is queued for
      deletion and the user is redirected back to the dashboard page. However,
      the following may happen:
      
      1. The dashboard page may load this deleted project in the list of
      20 projects.
      2. The view will load the project pipeline status from the cache and
      attempt to show each project.
      3. When the view encounters the deleted project, it calls
      `can?(current_user, :read_build, project)` to determine whether to
      display the pipeline status.
      4. Sidekiq deletes the project from the database.
      5. However, since the deleted project is still loaded in memory, it will
      attempt to call `project.project_feature.access_level`.
      6. Since `project_feature` was not eager loaded, a lazy `SELECT` call is
      made to the database.
      7. This `SELECT` call returns nothing, and the user sees a 500 error.
      
      By eager loading `project_feature`, we can ensure that we have a
      consistent view and avoid records from being deleted later.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66482
      29e60b06
    • Winnie Hellmann's avatar
      8d5fac4f
  7. Aug 22, 2019
    • Denys Mishunov's avatar
      Always pre-select "Start a new merge request" · 371e1ed3
      Denys Mishunov authored and Paul Slaughter's avatar Paul Slaughter committed
      One exception: there is an existing MR for the current branch and the
      branch is non-default and non-protected.
      
      Extended mock_data for ide/stores to have different types of branches:
      default, protected and regular
      
      Cleaned new MR checkbox view
      371e1ed3
    • Scott Hampton's avatar
      Update GitHub CI/CD import page to use PAT only · 56294b4e
      Scott Hampton authored and Mayra Cabrera's avatar Mayra Cabrera committed
      Oauth2 tokens are causing issues with mirroring
      repos, because it effectively limits the number
      of repos you can mirror. Personal Access
      Tokens do not have this problem.
      
      This change removes the OAuth2 option from
      the import page for CI/CD only, and only
      provides the personal access token form.
      56294b4e
  8. Aug 21, 2019
  9. Aug 20, 2019
  10. Aug 19, 2019
  11. Aug 17, 2019
  12. Aug 16, 2019
  13. Aug 15, 2019
  14. Aug 14, 2019
  15. Aug 13, 2019
  16. Aug 12, 2019
    • Markus Koller's avatar
      Load search result counts asynchronously · 49c83155
      Markus Koller authored
      Querying all counts for the different search results in the same request
      led to timeouts, so we now only calculate the count for the *current*
      search results, and request the others in separate asynchronous calls.
      Verified
      49c83155
  17. Aug 10, 2019
  18. Aug 09, 2019
  19. Aug 08, 2019
Loading