1. 31 Aug, 2019 1 commit
  2. 30 Aug, 2019 7 commits
  3. 29 Aug, 2019 4 commits
  4. 28 Aug, 2019 7 commits
    • Felipe Artur's avatar
      Save board lists collapsed setting · 4f9a44c8b8b8
      Felipe Artur authored
      Persists if a board list is collapsed for each user.
    • Victor Zagorodny's avatar
      Update CE files for GSD projects filter · 39182fb3be18
      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
    • Patrick Derichs's avatar
      Return NO_ACCESS if user is nil · ed49f772b6ec
      Patrick Derichs authored
    • Patrick Derichs's avatar
      Filter out old system notes for epics · e920ed3d08a1
      Patrick Derichs authored
    • Stan Hu's avatar
      Fix moving issues API failing when text includes commit URLs · 68bfe34a1090
      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
    • Igor Drozdov's avatar
      Change the way totalNotes is calculated · 7a036b45b31d
      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
    • Arun Kumar Mohan's avatar
      Add Issue and Merge Request titles to Todo items · 26ec3d7ea42f
      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.
  5. 27 Aug, 2019 3 commits
  6. 26 Aug, 2019 2 commits
  7. 24 Aug, 2019 1 commit
  8. 23 Aug, 2019 2 commits
  9. 22 Aug, 2019 5 commits
  10. 21 Aug, 2019 3 commits
  11. 20 Aug, 2019 2 commits
    • Luke Duncalfe's avatar
      Add service classes for mutating AwardEmoji · 1ac01388e243
      Luke Duncalfe authored
      Adding, destroying and toggling emoji previously lacked services and
      instead were performed through methods called on Awardable models.
      This led to inconsistencies where relevant todos would be marked as done
      only when emoji were awarded through our controllers, but not through
      the API. Todos could also be marked as done when an emoji was being
      Behaviour changes
      - Awarding emoji through the API will now mark a relevant Todo as done
      - Toggling an emoji off (destroying it) through our controllers will no
        longer mark a relevant Todo as done
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
    • Luke Duncalfe's avatar
      New wiki page redirects user to random slug · 3fb1ab11fe2b
      Luke Duncalfe authored
      Previously we asked a user to enter a new slug before taking them to
      the Create Page page.
      As a UX improvement, we now take them to a randomly generated URI so
      they can begin creating their new page.
  12. 19 Aug, 2019 1 commit
  13. 16 Aug, 2019 2 commits
    • Stan Hu's avatar
      Expire project caches once per push instead of once per ref · 498e707150be
      Stan Hu authored
      Previously `ProjectCacheWorker` would be scheduled once per ref, which
      would generate unnecessary I/O and load on Sidekiq, especially if many
      tags or branches were pushed at once. `ProjectCacheWorker` would expire
      three items:
      1. Repository size: This only needs to be updated once per push.
      2. Commit count: This only needs to be updated if the default branch
         is updated.
      3. Project method caches: This only needs to be updated if the default
         branch changes, but only if certain files change (e.g. README,
         CHANGELOG, etc.).
      Because the third item requires looking at the actual changes in the
      commit deltas, we schedule one `ProjectCacheWorker` to handle the first
      two cases, and schedule a separate `ProjectCacheWorker` for the third
      case if it is needed. As a result, this brings down the number of
      `ProjectCacheWorker` jobs from N to 2.
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52046
    • Stan Hu's avatar
      Fix Arel deprecation warning in clusters_hierarchy · 15f08e4d13f0
      Stan Hu authored
      As mentioned in https://github.com/rails/rails/pull/29619, this removes
      this warning message:
      Delegating join_sources to arel is deprecated and will be removed in
      Rails 6.0. (called from project_clusters_base_query at
      Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61451