1. 14 Dec, 2020 5 commits
  2. 13 Dec, 2020 15 commits
    • Alex Kalderimis's avatar
      Add filtering to epic issues resolver · 2ef928ca
      Alex Kalderimis authored
      2ef928ca
    • Alex Kalderimis's avatar
      Fix N+1 in Epic.issues · f1f96540
      Alex Kalderimis authored
      This uses the caching_array_resolver to eliminate the N+1 for
      Epic.issues.
      
      The filtering by accessibility is removed since we have authorization to
      do that for us, which is tested in the request specs.
      f1f96540
    • Alex Kalderimis's avatar
      Review: Apply suggested changes · 7370f60f
      Alex Kalderimis authored
      7370f60f
    • Alex Kalderimis's avatar
      Changes in response to reviewer comments · 4e501c94
      Alex Kalderimis authored
      This updates some module doc comments, changes some variable names, uses
      `global_id_of` in a few more places, and adds a new use of `before_all`.
      4e501c94
    • Alex Kalderimis's avatar
      Link to new issue in pending spec · cc54581b
      Alex Kalderimis authored
      cc54581b
    • Alex Kalderimis's avatar
      Use kwarg for clarity · dbb0c4de
      Alex Kalderimis authored
      dbb0c4de
    • Alex Kalderimis's avatar
      Remove custom pagination spec · f304ff90
      Alex Kalderimis authored
      Prefer to use the pagination shared examples
      f304ff90
    • Alex Kalderimis's avatar
      Remove dead code · 1b99ac21
      Alex Kalderimis authored
      1b99ac21
    • Alex Kalderimis's avatar
      Prepare tests for framework authorization changes · 7d1278ad
      Alex Kalderimis authored
      This mostly adds connection methods in preparation for the
      graphql helper changes.
      
      None of the changes in this commit should cause any observable
      effects on application behaviour.
      
      This includes
      
      - removal of pagination tests from resolver specs (resolvers do not -
        currently - know enough of their arguments to make this work). At the
        moment we need to run all our pagination specs at the request
        integration level.
      
        This is the same for N+1 specs must always be run in request specs,
        since otherwise they are unreliable.
      7d1278ad
    • Dylan Griffith's avatar
      Merge branch 'filter-params-jwt' into 'master' · 4106da77
      Dylan Griffith authored
      Add jwt to filter parameters
      
      See merge request gitlab-org/gitlab!49358
      4106da77
    • Thong Kuah's avatar
      Merge branch 'am-modifying-files-rb-to-retry-on-rsync-error' into 'master' · 8f938429
      Thong Kuah authored
      Retry rsync when source files vanish during backup
      
      See merge request gitlab-org/gitlab!48568
      8f938429
    • Adam Mulvany's avatar
      a54f011e
    • Thiago Figueiró's avatar
      8a9c99f1
    • Michael Kozono's avatar
      Merge branch 'api-support-for-deployment-frequency' into 'master' · 27aa2c6c
      Michael Kozono authored
      Adds API support for Project Deployment Frequency
      
      See merge request gitlab-org/gitlab!48265
      27aa2c6c
    • 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
  3. 12 Dec, 2020 1 commit
  4. 11 Dec, 2020 19 commits