1. 12 Apr, 2019 1 commit
  2. 05 Apr, 2019 1 commit
  3. 04 Apr, 2019 1 commit
  4. 02 Apr, 2019 1 commit
    • Patrick Bajao's avatar
      Download a folder from repository · 6766a0a1
      Patrick Bajao authored
      Add `GetArchiveRequest` to git-archive params.
      
      Modifies `Git::Repository#archive_metadata` to append `path`
      to `ArchivePrefix` so it'll not hit the cache of repository archive
      when it already exists.
      6766a0a1
  5. 27 Mar, 2019 1 commit
    • Gabriel Mazetto's avatar
      Upgrade `gitlab-markup` to 1.7.0 · e5af7d83
      Gabriel Mazetto authored
      The new version requires `python3` to be available. In omnibus
      installation this is already a reality as we are currently pathing
      previous `gitlab-markup` version to use `python3` instead of `python2`.
      
      We are now requiring `python3` with the gem without having to patch it.
      
      As a consequence to also make it easy to use it in development, we've
      introduced a `Pipfile` and `Pipfile.lock`, working similarly to
      `Gemfile` and `Gemfile.lock`, and added documentation on how to use
      them.
      e5af7d83
  6. 25 Mar, 2019 1 commit
  7. 19 Mar, 2019 2 commits
  8. 18 Mar, 2019 1 commit
  9. 13 Mar, 2019 1 commit
  10. 12 Mar, 2019 1 commit
  11. 08 Mar, 2019 4 commits
  12. 06 Mar, 2019 1 commit
    • Patrick Bajao's avatar
      Accept force option on commit via API · de5aef3b
      Patrick Bajao authored
      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
  13. 04 Mar, 2019 1 commit
    • Drew Blessing's avatar
      Allow raw `tls_options` to be passed in LDAP configuration · f6350fac
      Drew Blessing authored
      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
  14. 01 Mar, 2019 3 commits
  15. 25 Feb, 2019 1 commit
    • Oswaldo Ferreira's avatar
      Support merge to ref for merge-commit and squash · 1ad69967
      Oswaldo Ferreira authored
      Adds the ground work for writing into
      the merge ref refs/merge-requests/:iid/merge the
      merge result between source and target branches of
      a MR, without further side-effects such as
      mailing, MR updates and target branch changes.
      1ad69967
  16. 22 Feb, 2019 1 commit
  17. 17 Feb, 2019 1 commit
  18. 15 Feb, 2019 1 commit
  19. 11 Feb, 2019 1 commit
  20. 08 Feb, 2019 1 commit
  21. 06 Feb, 2019 1 commit
  22. 04 Feb, 2019 1 commit
  23. 31 Jan, 2019 3 commits
    • Yorick Peterse's avatar
      Fix requiring the rubyzip Gem · b124fbf3
      Yorick Peterse authored
      In commit 6fa5fd85 the `require: false`
      was removed to ensure the Gem was loaded at run time. Unfortunately, the
      `require` necessary for the rubyzip Gem is "zip" and not "rubyzip". As a
      result, Bundler would not require the Gem. This meant that we would
      still run into constant errors when referring to `Zip::File`.
      b124fbf3
    • Stan Hu's avatar
      Fix uninitialized constant with GitLab Pages deploy · fc5ebc3c
      Stan Hu authored
      pages:deploy step was failing with the following error:
      
      ```
      unitialized constant SafeZip::Extract::Zip
      ```
      
      Since license_finder already pulls in rubyzip, we can make it
      a required gem. We also use the scope operator to make the reference to
      Zip::File explicit.
      fc5ebc3c
    • Kamil Trzciński's avatar
      Extract GitLab Pages using RubyZip · 66744469
      Kamil Trzciński authored
      RubyZip allows us to perform strong validation of
      expanded paths where we do extract file.
      
      We introduce the following additional checks
      to extract routines:
      
      1. None of path components can be symlinked,
      2. We drop privileges support for directories,
      3. Symlink source needs to point within the target directory,
         like `public/`,
      4. The symlink source needs to exist ahead of time.
      66744469
  24. 30 Jan, 2019 4 commits
  25. 29 Jan, 2019 1 commit
    • Stan Hu's avatar
      Fix uninitialized constant with GitLab Pages deploy · 6fa5fd85
      Stan Hu authored
      pages:deploy step was failing with the following error:
      
      ```
      unitialized constant SafeZip::Extract::Zip
      ```
      
      Since license_finder already pulls in rubyzip, we can make it
      a required gem. We also use the scope operator to make the reference to
      Zip::File explicit.
      6fa5fd85
  26. 25 Jan, 2019 1 commit
    • Thong Kuah's avatar
      Use http_max_redirects opt to replace monkeypatch · f234aef9
      Thong Kuah authored
      http_max_redirects was introduced in 4.2.2, so upgrade kubeclient.
      
      The monkey-patch was global so we will have to check that all instances
      of Kubeclient::Client are handled.
      
      Spec all methods of KubeClient
      
      This should provide better confidence that we are indeed disallowing
      redirection in all cases
      f234aef9
  27. 22 Jan, 2019 1 commit
    • Kamil Trzciński's avatar
      Extract GitLab Pages using RubyZip · 1a8100cf
      Kamil Trzciński authored
      RubyZip allows us to perform strong validation of
      expanded paths where we do extract file.
      
      We introduce the following additional checks
      to extract routines:
      
      1. None of path components can be symlinked,
      2. We drop privileges support for directories,
      3. Symlink source needs to point within the target directory,
         like `public/`,
      4. The symlink source needs to exist ahead of time.
      1a8100cf
  28. 17 Jan, 2019 2 commits
    • Brett Walker's avatar
      Update to nokogiri 1.10.1 · 800220bd
      Brett Walker authored
      800220bd
    • Andrew Newdigate's avatar
      Conditionally initialize the global opentracing tracer · 57a8859a
      Andrew Newdigate authored
      This change will instantiate an OpenTracing tracer and configure it
      as the global tracer when the GITLAB_TRACING environment variable is
      configured. GITLAB_TRACING takes a "connection string"-like value,
      encapsulating the driver (eg jaeger, etc) and options for the driver.
      
      Since each service, whether it's written in Ruby or Golang, uses the
      same connection-string, it should be very easy to configure all
      services in a cluster, or even a single development machine to be
      setup to use tracing.
      
      Note that this change does not include instrumentation or propagation
      changes as this is a way of breaking a previous larger change into
      components. The instrumentation and propagation changes will follow
      in separate changes.
      57a8859a