1. 30 8月, 2019 7 次提交
  2. 29 8月, 2019 1 次提交
  3. 28 8月, 2019 8 次提交
  4. 27 8月, 2019 2 次提交
  5. 26 8月, 2019 1 次提交
  6. 24 8月, 2019 2 次提交
    • B
      Add support for using a Camo proxy server · ad05e488
      Brett Walker 提交于
      User images and videos will get proxied through
      the Camo server in order to keep malicious
      sites from collecting the IP address of users.
      ad05e488
    • A
      Implement validation logic to ProjectStage · 60e33885
      Adam Hegyi 提交于
      - Introducting StageEvents to define the available events
      - Define the event pairing rules, since some events are not compatible
      - Express default Cycle Analytics stages with the event structure
      60e33885
  7. 23 8月, 2019 2 次提交
  8. 22 8月, 2019 4 次提交
  9. 21 8月, 2019 5 次提交
  10. 20 8月, 2019 1 次提交
  11. 17 8月, 2019 2 次提交
    • S
      Expire project caches once per push instead of once per ref · f14647fd
      Stan Hu 提交于
      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
      f14647fd
    • S
      Fix Arel deprecation warning in clusters_hierarchy · fddff2c4
      Stan Hu 提交于
      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
      app/models/clusters/clusters_hierarchy.rb:62)
      ```
      
      Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/61451
      fddff2c4
  12. 16 8月, 2019 4 次提交
    • N
      Cache branch and tag names as Redis sets · 0eff75fa
      Nick Thomas 提交于
      This allows us to check inclusion for the *_exists? methods without
      downloading the full list of branch names, which is over 100KiB in size
      for gitlab-ce at the moment.
      0eff75fa
    • A
      Migrations for Cycle Analytics backend · ca6cfde5
      Adam Hegyi 提交于
      This change lays the foundation for customizable cycle analytics stages.
      The main reason for the change is to extract the event definitions to
      separate objects (start_event, end_event) so that it could be easily
      customized later on.
      ca6cfde5
    • N
      Only read rebase status from the model · d31b733f
      Nick Thomas 提交于
      Prior to 12.1, rebase status was looked up directly from Gitaly. In
      https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14417 , a DB
      column was added to track the status instead. However, we couldn't stop
      looking at the gitaly status immediately, since some rebases may been
      running across the upgrade.
      
      Now that we're in 12.3, it is safe to remove the direct-to-gitaly
      lookup. This also happens to fix a 500 error that is seen when viewing
      an MR for a fork where the source project has been removed.
      
      We still look at the Gitaly status in the service, just in case Gitaly
      and Sidekiq get out of sync - I assume this is possible, and it's a
      relatively cheap check.
      
      Since we atomically check and set `merge_requests.rebase_jid`, we
      should never enqueue two `RebaseWorker` jobs in parallel.
      d31b733f
    • B
      Allow disabling group/project email notifications · 3489dc3d
      Brett Walker 提交于
      - Adds UI to configure in group and project settings
      - Removes notification configuration for users when
      disabled at group or project level
      3489dc3d
  13. 15 8月, 2019 1 次提交