Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 2月 27, 2024
  2. 2月 26, 2024
    • Andrew Evans's avatar
      Additional cleanup for external usernames on oAuth and LDAP sign up · fdba0601
      Andrew Evans 创作于
      Currently if a user joins a GitLab instance via oAuth, LDAP, or SCIM and
      their username begins with multiple `--` characters, these characters
      are removed to ensure a valid username can be created for the new user.
      Illegal characters such as `*&^()` are removed, and illegal extensions
      such as `.git` and `.atom` are also removed.
      
      This change extends the behavior to include all leading legal
      characters: `-` , `_` and `.` . It also trims from the end of the
      potential username, and removes consecutive legal characters so the
      resulting username will pass the check for
      `Gitlab::Regex.oci_repository_path_regex` .
      
      Changelog: changed
      fdba0601
    • Avielle Wolfe's avatar
      Fix boolean and number input types · a4032ae6
      Avielle Wolfe 创作于
      Boolean and number input types were not be respected by CI
      interpolation. They were being cast to strings when interpolated by
      `gsub`. This commit fixes that by replacing the entire node with the
      input value when the interpolation block is the entire length of the
      node. In other cases, we can assume that the input is being inserted
      into a string, so it's safe for us to use `gsub` to cast the value to a
      string and perform the insertion.
      
      This commit also ensures that the ability to match and replace multiple
      interpolation blocks in a single node is not affected. A previous
      attempt to fix this bug caused an incident because it only interpolated
      the first block in a node.
      
      Changelog: fixed
      Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/434826
      a4032ae6
    • Sylvester Chin's avatar
      Revert "Use multistore pool for RepositoryCache.cache_store" · 5540a84a
      Sylvester Chin 创作于
      This reverts commit d0c26297.
      5540a84a
  3. 2月 24, 2024
    • Allison Browne's avatar
      Fix the specs to work with canceling status · 60e65fc9
      Allison Browne 创作于
      - Add spec for supports_canceling?
      - Fix pipeline feature spec and add an example
      - Fix merge train auto merge service spec
      - Consider a build retryable if canceling since
      users should not need to wait for the after_script
      to run to retry
      - Fix cancel pipeline service spec
      - Fix the cancel redundant pipelines service spec
      - Fix create pipeline service spec
      - Fix cancel redundant pipelines worker spec
      Fix 2 more specs:
      - spec/models/environment_spec.rb
      - spec/workers/ci/cancel_pipeline_worker_spec.rb
      60e65fc9
    • Oscar Tovar's avatar
      Fix feature flag valid usage examples in errors · ce92ab93
      Oscar Tovar 创作于
      The hash used to reference the example in valid_usage! used symbols to
      reference values by key. Since we were passing in a string, the lookup
      would always fail, and the example in the error message would fail to
      display as a result. To fix this, the `type` attribute is cast to a
      symbol so that we use the expected type of key (Symbol). The spec has also
      been changed to make a strict comparison, so that a regression for this
      is caught in the future.
      ce92ab93
    • Luke Duncalfe's avatar
      GitLab for Slack app: Group and instance services · b8aab89f
      Luke Duncalfe 创作于
      This is a step towards the feature of supporting the GitLab for Slack
      app integration to be configured at group and instance-level.
      
      https://gitlab.com/gitlab-org/gitlab/-/issues/391526
      
      This change adds services and controller support for group-level and
      instance-level Slack app installation via OAuth with Slack.
      
      The changes are hidden behind a feature flag.
      b8aab89f
  4. 2月 23, 2024
  5. 2月 22, 2024
  6. 2月 21, 2024
  7. 2月 20, 2024
  8. 2月 19, 2024
加载中