1. 06 3月, 2019 3 次提交
    • P
      Allow protected branch creation via web and API · e371520f
      Patrick Bajao 提交于
      This commit includes changes to add `UserAccess#can_create_branch?`
      which will check whether the user is allowed to create a branch even
      if it matches a protected branch.
      
      This is used in `Gitlab::Checks::BranchCheck` when the branch name
      matches a protected branch.
      
      A `push_to_create_protected_branch` ability in `ProjectPolicy` has been
      added to allow Developers and above to create protected branches.
      e371520f
    • K
      Use encrypted runner tokens · c5f1f7f3
      Kamil Trzciński 提交于
      This makes code to support encrypted runner tokens.
      This code also finished previously started encryption
      process.
      c5f1f7f3
    • P
      Accept force option on commit via API · de5aef3b
      Patrick Bajao 提交于
      When `force` is set to `true` and `start_branch` is set, the
      branch will be ovewritten with the new commit based on the
      `HEAD` of the `start_branch`.
      
      This commit includes changes to update the `gitaly-proto` gem.
      de5aef3b
  2. 05 3月, 2019 3 次提交
    • F
      Arbitrary file read via MergeRequestDiff · ebf16ada
      Francisco Javier López 提交于
      ebf16ada
    • N
      sidekiq: terminate child processes at shutdown · f0c52df5
      Nick Thomas 提交于
      Sidekiq jobs frequently spawn long-lived child processes to do work.
      In some circumstances, these can be reparented to init when sidekiq is
      terminated, leading to duplication of work and strange concurrency
      problems.
      
      This commit changes sidekiq so that, if run as a process group leader,
      it will forward `INT` and `TERM` signals to the whole process group. If
      the memory killer is active, it will also use the process group when
      resorting to `kill -9` to shut down.
      
      These changes mean that a naive `kill <pid-of-sidekiq>` will now do the
      right thing, killing any child processes spawned by sidekiq, as long as
      the process supervisor placed it in its own process group.
      
      If sidekiq isn't a process group leader, this new code is skipped.
      f0c52df5
    • D
      Allow raw `tls_options` to be passed in LDAP configuration · f6350fac
      Drew Blessing 提交于
      We've previously exposed ca_file and ssl_version but there are many
      possible options that can be used inside tls_options. Instead of
      exposing individual ones, simply expose the entire hash so it can
      be passed in and we won't have to add things in the future.
      f6350fac
  3. 04 3月, 2019 5 次提交
  4. 02 3月, 2019 4 次提交
  5. 01 3月, 2019 6 次提交
  6. 28 2月, 2019 2 次提交
  7. 27 2月, 2019 7 次提交
  8. 26 2月, 2019 2 次提交
    • M
      Add Maskable concern for CI variables · c9125c47
      Matija Čupić 提交于
      This adds a concern that abstracts the concept of masking a variable,
      including the RegEx for validation.
      c9125c47
    • L
      Improve GraphQL Authorization DSL · ccb4edbc
      Luke Duncalfe 提交于
      Previously GraphQL field authorization happened like this:
      
          class ProjectType
            field :my_field, MyFieldType do
              authorize :permission
            end
          end
      
      This change allowed us to authorize like this instead:
      
          class ProjectType
            field :my_field, MyFieldType, authorize: :permission
          end
      
      A new initializer registers the `authorize` metadata keyword on GraphQL
      Schema Objects and Fields, and we can collect this data within the
      context of Instrumentation like this:
      
          field.metadata[:authorize]
      
      The previous functionality of authorize is still being used for
      mutations, as the #authorize method here is called at during the code
      that executes during the mutation, rather than when a field resolves.
      
      https://gitlab.com/gitlab-org/gitlab-ce/issues/57828
      ccb4edbc
  9. 25 2月, 2019 5 次提交
  10. 23 2月, 2019 1 次提交
  11. 22 2月, 2019 2 次提交