Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
  2. Sep 03, 2019
    • Jan Provaznik's avatar
      Create an event on epic actions · 243bd020
      Jan Provaznik authored and Thong Kuah's avatar Thong Kuah committed
      Creates new event when an epic is created, closed, reopened or
      commented.
      243bd020
    • Andreas Brandl's avatar
      Preload routes information · 53801b12
      Andreas Brandl authored
      This fixes a high frequency N+1 issue:
      
      `RoutableActions#find_routable!` is used across many controllers to
      retrieve e.g. the Project or Namespace by path. The `#find_routable!`
      method calls `#ensure_canonical_path` which in turn retrieves
      `#full_path` from the given Routable.
      
      This in turn triggers a lookup on `routes`, leading to a high frequency
      of these queries:
      
      ```sql
      SELECT  "routes".* FROM "routes" WHERE "routes"."source_id" = $1 AND
      "routes"."source_type" = $2 LIMIT $3
      ```
      
      This is unnecessary as we already join `routes` in
      `Routable#find_by_full_path` anyways.
      Unverified
      53801b12
    • Etienne Baqué's avatar
      Added relationships between Release and Milestone · a43ab8d6
      Etienne Baqué authored and Andreas Brandl's avatar Andreas Brandl committed
      Modified schema via migrations.
      Added one-to-one relationship between the two models.
      Added changelog file
      a43ab8d6
    • Shinya Maeda's avatar
      Add pipeline.type key to PipelineEntity · 8c21610c
      Shinya Maeda authored
      This commit adds pipeline.type key to PipelineEntity.
      This key will be used in MR widget in the next iteration.
      8c21610c
    • Igor Drozdov's avatar
      Stub DetectRepositoryLanguagesWorker for all tests · 8dcddb98
      Igor Drozdov authored
      It performs an expensive operation, but isn't required in
      most of tests
      8dcddb98
  3. Sep 02, 2019
  4. Aug 31, 2019
  5. Aug 30, 2019
  6. Aug 29, 2019
  7. Aug 28, 2019
    • Felipe Artur's avatar
      Save board lists collapsed setting · 8f6a433c
      Felipe Artur authored
      Persists if a board list is collapsed for each user.
      8f6a433c
    • Victor Zagorodny's avatar
      Update CE files for GSD projects filter · e4fbd94c
      Victor Zagorodny authored
      A new param with_security_reports was added to
      GET /groups/:id/projects API and the code to
      support this logic in GroupProjectsFinder and
      Project model. Also, a DB index was added to
      ci_job_artifacts table to speed up the search
      of security reports artifacts for projects
      e4fbd94c
    • Patrick Derichs's avatar
      Return NO_ACCESS if user is nil · 59995d15
      Patrick Derichs authored
      59995d15
    • Patrick Derichs's avatar
      Filter out old system notes for epics · c9b4dc67
      Patrick Derichs authored
      c9b4dc67
    • Stan Hu's avatar
      Fix moving issues API failing when text includes commit URLs · 29ce13e9
      Stan Hu authored
      When a issue is moved from one project to another, all associated
      Markdown text is rewritten in the context of the new project. If the
      note contained a link to a commit URL, `CommitRewriter#rewrite` would
      fail because `Commit#link_reference_pattern` would match `nil` `commit`
      values in the HTML generated from the Markdown. These `nil` values were
      passed along to `Project#commits_by` because `Commit#reference_valid?`
      was always returning `true`.
      
      To prevent this issue from happening, we tighten up the check for
      `Commit#reference_valid?` to look for valid SHA values.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66666
      29ce13e9
    • Igor Drozdov's avatar
      Change the way totalNotes is calculated · 72544449
      Igor Drozdov authored
      totalNotes is only used to prerender a number of
      skeleton containers until real notes are loaded
      
      issuable.discussions makes multiple requests, so
      too expensive for this
      
      This commit uses mere notes for this and sends
      actual totalNotes number if it's less than 10;
      otherwise it sends 10 - it allows us to avoid
      bunch of skeleton prerenderings, which are not
      necessary since they doesn't fit into the whole
      screen and disappear quite fast
      72544449
    • Arun Kumar Mohan's avatar
      Add Issue and Merge Request titles to Todo items · 4ca32c2b
      Arun Kumar Mohan authored
      Only displays the todo body if the todo has a note.
      This is to avoid redundant Issue or Merge Request titles
      displayed both in the Todo title and body.
      4ca32c2b
  8. Aug 27, 2019
  9. Aug 26, 2019
  10. Aug 24, 2019
  11. Aug 23, 2019
Loading