1. 17 Oct, 2019 40 commits
    • Igor's avatar
      Cleanup background migrations for any approval rules · 7a94751e
      Igor authored
      It executes all the remaining background jobs which
      migrate approval rules for projects and merge requests
      
      It also makes sure that the data migrated correctly and
      executes the code synchronously one more time
      7a94751e
    • Sean McGivern's avatar
      Merge branch 'allow-address-in-use-for-sidekiq-exporter' into 'master' · a80f8584
      Sean McGivern authored
      Allow sidekiq_exporter to fail on address in use
      
      Closes gitlab-com/gl-infra/infrastructure#8194
      
      See merge request gitlab-org/gitlab!18725
      a80f8584
    • Nick Thomas's avatar
      Merge branch '21800-parse-mentioned-users-group-projects-from-markdown' into 'master' · 01095e34
      Nick Thomas authored
      Add parsers for users, groups, projects references
      
      Closes #21800
      
      See merge request gitlab-org/gitlab!18318
      01095e34
    • Alexandru Croitor's avatar
      Add parsers for users, groups, projects references · 7544ad98
      Alexandru Croitor authored
      Add separate parsers for mentions of users, groups, projects
      in markdown content
      7544ad98
    • Rémy Coutable's avatar
      Merge branch '34102-reduce-container-cpu-request' into 'master' · ac942e3e
      Rémy Coutable authored
      Reduce cpu request for pods according to their utilization
      
      See merge request gitlab-org/gitlab!18712
      ac942e3e
    • Thong Kuah's avatar
      Merge branch... · 11286336
      Thong Kuah authored
      Merge branch '31441-make-it-easy-for-includes-to-add-jobs-at-beginning-end-of-pipeline' into 'master'
      
      Make it easy for includes to add jobs at beginning/end of pipeline
      
      See merge request gitlab-org/gitlab!18205
      11286336
    • Marius Bobin's avatar
      Add .:pre:. and .:post:. stages to pipelines · b53bd7c0
      Marius Bobin authored
      Adds two new predefined and always present stages to pipelines.
      .:pre:. will always be the first stage in a pipeline
      .:post:. will always be the last stage in a pipeline
      b53bd7c0
    • Filipa Lacerda's avatar
      Merge branch 'renovate/gitlab-packages' into 'master' · 0544ea42
      Filipa Lacerda authored
      Update dependency @gitlab/ui to v5.35.0
      
      See merge request gitlab-org/gitlab!18436
      0544ea42
    • Filipa Lacerda's avatar
      Merge branch '23315-group-level-container-registry-browser' into 'master' · 51771cb7
      Filipa Lacerda authored
      Resolve "Group level Container Registry browser"
      
      Closes #23315
      
      See merge request gitlab-org/gitlab!17615
      51771cb7
    • Nicolò Maria Mezzopera's avatar
      Add group level container registry · cc2f3c4d
      Nicolò Maria Mezzopera authored
      - ee and ce sidebar
      - view
      - js bootstrapping
      
      Finalise BE and FE features
      
      - one for project related info
      - one for group related info
      - add handling of groupPage prop
      
      Add groupPage prop and refactor render fn
      
      Generate API path to fill endpoint prop
      
      Add disableDelete and tagsPath options to store
      
      - disableDelete added to state,
      - disableDelete mutation, mutation type and action
      - modified fetchList to calculate tagsPath if not present
      
      Resolve linting errors on routes and controller
      
      - config/routes/groups.rb
      - controller/groups/container_registries_controller.rb
      
      Remove hardcoded path from BE and calc it on FE
      
      Remove wrong if in navbar haml file
      
      Refactor disableDelete to isDeleteDisabled
      
      - mutations
      - mutation types
      - getters
      - action
      - state
      - components methods
      
      Disable menu and page if feature is disabled
      
      - Model addition to check if feature is enabled
      - helper function
      - check in controller
      - disable menu partial if not enabled
      - add title to the page for breadcrumb
      - fix side menu open state
      
      Use isDeleteDisabled in components
      
      - remove image delete button
      - remove tag delete button
      - remove tags delete button
      
      Rename container_registry_feature_available
      
      - to container_registry_configured
      
      Backend unit test for new feature
      
      - model test
      - helper test
      - controller test
      
      Force config setting to true before test body
      
      Finalise frontend feature
      
      - new updated text for empty state on group
      - unit tests
      
      Update translations strings
      
      Add changelog entry
      
      Lint ruby file
      
      Apply suggestion to
      spec/frontend/registry/components/app_spec.js
      Apply suggestion to
      spec/frontend/registry/components/app_spec.js
      Add new line at the end of new haml files
      
      Move container_registry_configured to controller
      
      - from model to application_controller
      - adjusted tests
      
      Remove container_registry_configured from groups
      
      - add check in container-registries-controller
      - add check in groups_helper
      - relative tests
      
      Apply suggestion to s
      pec/frontend/registry/components/group_empty_state_spec.js
      Apply suggestion to
      spec/frontend/registry/components/project_empty_state_spec.js
      create dedicated computed for isGroupPage
      
      Add feature test for package sidebar
      
      Update snapshots along with updated test names
      
      Address missing i18n methods
      
      - feature test
      - index for the new page
      
      Implement maintainer feedback
      
      Apply suggestion to
      .../registry/components/project_empty_state.vue
      Apply suggestion to
      ../registry/components/project_empty_state.vue
      Apply suggestion to
      .../registry/components/project_empty_state.vue
      Adjust frontend tests as per review feedback
      
      Refactor repo / global delete swtich
      
      Add missing title prop to links
      
      move container registry api to api.js
      
      - add path and fn to api.js
      - unit tests for api
      - rewrite store
      
      Refactor getList to use Api.js
      
      - add projectContainerRegistryTagsPath to api
      - unit test for api
      - refactor the store
      
      Apply suggestion to config/routes/group.rb
      Remove redundant slash from api.js
      
      Use repo name to calculate api path
      
      - store name in namespace property
      - path calculation
      - comment for future notice
      
      Remove slash to test mock path
      
      Refactor container registry controller
      
      - mirror project structure
      - adjust test
      - mirror structure for JS files
      - set router
      
      Correct check for gitlab foss
      
      Implement review feedback
      
      - add check if user is allowed to see registry
      - tests
      - change to module / class syntax
      
      check if user can see registry in helper
      
      - helper function
      - tests
      
      Implement review feedback
      
      - add missing required: false
      - move row delete check to method
      - rename propsData to registryData
      
      Add sign_in to groups pacakge sidebar feature spec
      
      Fix url parsing for repository without namespace
      
      Adjust changes from 'remove to clipboard'
      
      - removed wrong template
      - removed to clipboard from template strings
      
      Update snapshots to match new copy
      
      - project empty state
      
      Reset api and api_spec to master
      
      Return group container registry from controller
      
      Refactor frontend to use controller data
      
      Pass page param to axios call
      
      Cleaner repositories_controller json function
      
      Update tests to check json generation
      
      Add  json content testing on controller
      
      - test returned json with mock data
      
      Address FE maintainer review
      
      - explicit prop binding
      - test cleanup
      - missing vuex tests
      - missing required props
      
      Add search for proj in object in Repository entity
      
      - source file
      - tests updated
      
      Align tests to review feedback
      
      Linted groups_helper_spec
      
      Add project preload in container_repository model
      
      Add with_api_entity_associations to controller
      
      Apply suggestion to
      app/controllers/groups/registry/repositories_controller.rb
      Apply suggestion to
      app/controllers/groups/registry/repositories_controller.rb
      Add new line after spec block for consistency
      
      Adjust mutation test to punctual state check
      
      - isDeleteDisabled
      - endpoint
      
      Adjust tests after master conflict resolution
      cc2f3c4d
    • Nick Thomas's avatar
      Merge branch 'sh-move-mr-diff-after-commit' into 'master' · 16d1d0aa
      Nick Thomas authored
      Reduce idle in transaction time when updating a merge request
      
      Closes #33650
      
      See merge request gitlab-org/gitlab!18493
      16d1d0aa
    • Jan Provaznik's avatar
      Merge branch 'add-plans-seeds' into 'master' · 8bcb5b5f
      Jan Provaznik authored
      Add plans to basic seed setup
      
      See merge request gitlab-org/gitlab!18299
      8bcb5b5f
    • Jeremy Jackson's avatar
      Add plans to basic seed setup · 61959246
      Jeremy Jackson authored
      61959246
    • Martin Wortschack's avatar
      Merge branch '34100-job-log-retry' into 'master' · be77ac8f
      Martin Wortschack authored
      Adds checks for null
      
      Closes #34100
      
      See merge request gitlab-org/gitlab!18597
      be77ac8f
    • Rémy Coutable's avatar
      Merge branch 'run-graphql-doc-for-ee' into 'master' · 92c346f6
      Rémy Coutable authored
      Verify graphql doc only for EE
      
      See merge request gitlab-org/gitlab!18719
      92c346f6
    • Jan Provaznik's avatar
      Verify graphql doc only for EE · 592096dc
      Jan Provaznik authored
      The reason is that this rake task always compare generated schema
      against the schema in doc which includes also EE resources.
      592096dc
    • Albert Salim's avatar
      74fea0a0
    • Albert Salim's avatar
      Reduce review-app pod default CPU requests · fa35198b
      Albert Salim authored
      Changed for pod/container:
      - minio/minio
      - nginx-ingress/controller
      - unicorn/unicorn
      fa35198b
    • Kamil Trzciński's avatar
      Merge branch 'add-sidekiq-memory-killer-metrics-prometheus' into 'master' · 147e93ac
      Kamil Trzciński authored
      Add Sidekiq memory killer prometheus metrics
      
      See merge request gitlab-org/gitlab!17994
      147e93ac
    • Lukas Eipert's avatar
      Update dependency @gitlab/ui to v5.35.0 · 042f9998
      Lukas Eipert authored
      042f9998
    • Filipa Lacerda's avatar
      Adds checks for null · eaec5360
      Filipa Lacerda authored
      Backend sends data as null, frontend
      code was not prepared and failed silently
      eaec5360
    • Kamil Trzciński's avatar
      Allow sidekiq_exporter to fail on address in use · 58eceb86
      Kamil Trzciński authored
      The https://gitlab.com/gitlab-org/gitlab/merge_requests/18575
      make the exporters to fail hard, where previously it was allowed
      to fail softly.
      
      This retains the previous behavior and properly validates that
      this is allowed.
      
      This is needed due to lack of mechanism to support shared port
      binding when running sidekiq-cluster mode.
      58eceb86
    • Dmitriy Zaporozhets's avatar
      Merge branch '13426-disable-design-mutation-abilities-when-issue-moved-or-locked' into 'master' · 1b354ed3
      Dmitriy Zaporozhets authored
      Make designs read-only if the issue has been moved, or is locked
      
      See merge request gitlab-org/gitlab!18551
      1b354ed3
    • Rémy Coutable's avatar
      Merge branch... · bae74537
      Rémy Coutable authored
      Merge branch '34102-increase-cpu-request-for-gitlab-shell-and-workhorse-in-review-apps' into 'master'
      
      Increase requested CPU for gitlab-shell, gitlab-workhorse and gitlab-runner
      
      Closes #34102
      
      See merge request gitlab-org/gitlab!18673
      bae74537
    • Marcia Ramos's avatar
      Merge branch 'docs-project-page' into 'master' · da83fd5e
      Marcia Ramos authored
      Document scenarios of different project pages
      
      See merge request gitlab-org/gitlab!18499
      da83fd5e
    • Evan Read's avatar
      Merge branch 'docs-object-storage-introduced-text' into 'master' · a7c66cac
      Evan Read authored
      Remove unneeded bullet point
      
      See merge request gitlab-org/gitlab!18720
      a7c66cac
    • Marcel Amirault's avatar
      Remove unneeded bullet point · 90f2718b
      Marcel Amirault authored
      90f2718b
    • Thong Kuah's avatar
      Merge branch 'frozen-string-enable-spec-graphql' into 'master' · 7cb49bad
      Thong Kuah authored
      Enable frozen string for spec/graphql
      
      See merge request gitlab-org/gitlab!18717
      7cb49bad
    • gfyoung's avatar
      63adac10
    • Evan Read's avatar
      Merge branch... · 2ec6f251
      Evan Read authored
      Merge branch 'docs-make-it-easy-for-includes-to-add-jobs-at-beginning-end-of-pipeline' into 'master'
      
      Add docs for .pre and .post pipeline stages
      
      See merge request gitlab-org/gitlab!18664
      2ec6f251
    • Marius Bobin's avatar
      Add docs for .pre and .post pipeline stages · c8945ed0
      Marius Bobin authored
      c8945ed0
    • Thong Kuah's avatar
      Merge branch 'frozen-string-enable-spec-frontend' into 'master' · 645fc7d9
      Thong Kuah authored
      Enable frozen string for spec/frontend
      
      See merge request gitlab-org/gitlab!18705
      645fc7d9
    • gfyoung's avatar
      5d21b4b3
    • Evan Read's avatar
      Merge branch 'fzimmer-master-patch-82067' into 'master' · d5c7cd63
      Evan Read authored
      Added beta warning to documentation
      
      See merge request gitlab-org/gitlab!18643
      d5c7cd63
    • Russell Dickenson's avatar
      Merge branch 'eread/version-text-for-instance-level-clusters' into 'master' · f0257894
      Russell Dickenson authored
      Highlight introduced version for instance-level environments
      
      See merge request gitlab-org/gitlab!18714
      f0257894
    • Evan Read's avatar
      00252448
    • Mark Lapierre's avatar
      Merge branch 'ml-qa-add-npm-registry-test' into 'master' · c7c8019a
      Mark Lapierre authored
      Add E2E test of NPM registry
      
      Closes gitlab-org/quality/testcases#220
      
      See merge request gitlab-org/gitlab!18361
      c7c8019a
    • Mark Lapierre's avatar
      Add E2E test of NPM registry · 804608a5
      Mark Lapierre authored
      * Adds a docker service to publish an NPM package
      * Adds QA selectors and page objects for the packages UI
      * Adds `Runtime::Fixtures.with_fixtures` which allows fixtures to be
        created on-the-fly
      804608a5
    • Heinrich Lee Yu's avatar
      Set new MR diff as latest even when importing · 8fea7c73
      Heinrich Lee Yu authored
      These are already set when `set_latest_merge_request_diff_ids!`
      is called in `ProjectTreeRestorer` but we do not use this when doing
      GitHub imports. So we need to do this for imports too.
      8fea7c73
    • Heinrich Lee Yu's avatar
      Update #old_version? method · e1e868cb
      Heinrich Lee Yu authored
      Fixes this to account for the latest ID not being set yet
      when this is called
      e1e868cb