An error occurred fetching the project authors.
  1. 18 Dec, 2020 1 commit
  2. 17 Dec, 2020 1 commit
  3. 16 Dec, 2020 2 commits
  4. 15 Dec, 2020 8 commits
  5. 14 Dec, 2020 1 commit
    • Patrick Bajao's avatar
      Sort merge request diff files directory first · f61c6587
      Patrick Bajao authored
      Each file browser and the diffs we show under the "Changes"
      tab need to be consistent to prevent confusion.
      
      Whenever we create a merge request diff, we create and store
      `MergeRequestDiffFile` records and we keep the `relative_order`
      of each file.
      
      In order for the new sorting order to persist, we will sort the
      diff files on:
      
      - when a `MergeRequestDiff` is created
      - when we load merge request diffs
      
      Then we persist/update the `relative_order` of each file.
      f61c6587
  6. 13 Dec, 2020 1 commit
    • Amy Troschinetz's avatar
      Add API support for deployment frequency · be88cb17
      Amy Troschinetz authored
      **app/models/deployment.rb:**
      Select deployments that were created within a datetime range.
      
      **ee/app/finders/analytics/deployments_finder.rb:**
      Find successful deployments for a project within a datetime range.
      
      **ee/changelogs/unreleased/api-support-for-deployment-frequency.yml:**
      Changelog.
      
      **ee/lib/api/analytics/project_deployment_frequency.rb:**
      API for getting deployment frequencies for projects.
      
      **ee/lib/ee/api/api.rb:**
      Mount the new deployment frequency API.
      
      **ee/lib/ee/api/entities/analytics/deployment_frequency.rb:**
      Shape of deployment frequency API responses.
      
      **ee/spec/requests/api/analytics/project_deployment_frequency_spec.rb:**
      Test API.
      
      **ee/spec/finders/analytics/deployments_finder_spec.rb:**
      Test deployments finder.
      
      **spec/models/deployment_spec.rb:**
      Test created_between method.
      
      **doc/user/project/index.md:**
      Adds some docs for the new licensed feature flag.
      
      **doc/api/project_analytics.md:**
      Adds some docs for the API.
      
      **ee/app/models/license.rb:**
      Adds new licensed feature flag for project analytics.
      
      **ee/app/policies/ee/project_policy.rb:**
      Adds new policies for the new project analytics feature flag.
      
      **ee/spec/policies/project_policy_spec.rb:**
      Test for new project analytics policy and feature flag.
      
      **db/structure.sql:**
      **db/migrate/
      20201211042306_add_deployments_finder_by_finished_at_index.rb:**
      **db/schema_migrations/20201211042306:**
      
      Adding new index to make the deployments finder query fast.
      be88cb17
  7. 11 Dec, 2020 2 commits
  8. 10 Dec, 2020 6 commits
  9. 09 Dec, 2020 3 commits
  10. 08 Dec, 2020 9 commits
  11. 07 Dec, 2020 1 commit
  12. 06 Dec, 2020 1 commit
    • Grzegorz Bizon's avatar
      Check if build trace is corrupted by comparing size · 7e06c823
      Grzegorz Bizon authored
      This commit adds support for incrementing a Prometheus counter in case
      of detecting a malformed / corrupted build log. We store a bytesize of a
      build log in the ci_build_pending_states table and compare it to the
      size calculated using stored build trace chunks.
      
      If CRC32 checksum of a build log is invalid and a bytesize differs too,
      we increment `corrupted` build logs counter and send an appropritate log
      to Sentry.
      7e06c823
  13. 04 Dec, 2020 2 commits
    • Mike Kozono's avatar
      Add verification indexes for package files · 0884f078
      Mike Kozono authored
      For queries produced by these methods specifically:
      
      - Packages::PackageFile.verification_pending_batch
      - Packages::PackageFile.verification_failed_batch
      - Packages::PackageFile.needs_verification_count
      
      Since they are always running, at least every minute, and potentially
      with high concurrency (depending on admin settings).
      0884f078
    • Alexandru Croitor's avatar
      Scope board to current iteration · 7b1d1016
      Alexandru Croitor authored
      Allow for issue boards scoping to an iteration. For that we need to
      store the iteration to which the board is scoped into iteration_id
      on boards table. This change also allows issue filtering on CURRENT
      iteration, that is being calculated based on Date.today
      7b1d1016
  14. 03 Dec, 2020 2 commits