Skip to content
Snippets Groups Projects
  1. Feb 28, 2020
  2. Oct 22, 2019
  3. Jul 25, 2019
    • Thong Kuah's avatar
      Frozen string cannot change encoding · d4ef3be3
      Thong Kuah authored
      This was shown in specs but surely this will be happening in application
      code as well if this method is passes a frozen string.
      
      We were also trying to force_encode a OmniAuth::AuthHash which had the
      very confusing behaviour of returning nil when it was sent a method that
      it did not define. Fix that by only force_encoding a String.
      d4ef3be3
  4. Jul 24, 2019
  5. Mar 12, 2019
    • Yorick Peterse's avatar
      Backport try_megabytes_to_bytes from EE · ae9838d0
      Yorick Peterse authored
      EE adds this method to Gitlab::Utils, which is also required by our
      SimpleCov helper. This prevents us from injecting EE modules into
      Gitlab::Utils, because the necessary bits for this are not yet in place.
      
      To work around this we just backport try_megabytes_to_bytes, as there's
      no particular reason to keep this in EE only.
      Unverified
      ae9838d0
  6. Jan 04, 2019
    • Kamil Trzcińśki's avatar
      Add config_options|variables to BuildMetadata · 0103d5be
      Kamil Trzcińśki authored
      These are data columns that store runtime configuration
      of build needed to execute it on runner and within pipeline.
      
      The definition of this data is that once used, and when no longer
      needed (due to retry capability) they can be freely removed.
      
      They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking
      support for json datatype on old enough version).
      0103d5be
  7. Dec 10, 2018
  8. Dec 05, 2018
  9. Nov 28, 2018
  10. Nov 27, 2018
  11. Nov 23, 2018
  12. Nov 22, 2018
  13. Nov 07, 2018
    • Douglas Barbosa Alexandre's avatar
      Add a helper method to append path to a base URL · 5c519d11
      Douglas Barbosa Alexandre authored
      In Ruby 2.4, `URI.join("http://test//", "a").to_s` will
      remove the double slash, however it's not the case in
      Ruby 2.5. Using chomp should work better for the intention,
      as we're not trying to allow things like ../ or / paths
      resolution.
      
      This helper method append path to host, making sure
      there's one single slash as path separator.
      5c519d11
  14. Oct 22, 2018
  15. Apr 12, 2018
  16. Apr 04, 2018
    • Eric Eastwood's avatar
      Add custom additonal email text to all emails · a6c7d805
      Eric Eastwood authored
      Fix https://gitlab.com/gitlab-org/gitlab-ee/issues/4474
      
      Conflicts:
      	db/schema.rb
      	ee/app/controllers/ee/admin/application_settings_controller.rb
      	ee/app/helpers/ee/application_settings_helper.rb
      	ee/app/models/ee/application_setting.rb
      	ee/app/models/license.rb
      	ee/app/views/layouts/service_desk.html.haml
      	ee/app/views/notify/approved_merge_request_email.html.haml
      	ee/app/views/notify/service_desk_new_note_email.text.erb
      	ee/app/views/notify/service_desk_thank_you_email.text.erb
      	ee/app/views/notify/unapproved_merge_request_email.html.haml
      	ee/lib/ee/api/entities.rb
      	ee/spec/controllers/admin/application_settings_controller_spec.rb
      	ee/spec/models/application_setting_spec.rb
      	ee/spec/requests/api/settings_spec.rb
      	lib/api/settings.rb
      	spec/mailers/previews/notify_preview.rb
      a6c7d805
  17. Mar 06, 2018
  18. Jan 17, 2018
    • Robert Speicher's avatar
      Merge branch... · 791ca43f
      Robert Speicher authored
      Merge branch '41293-fix-command-injection-vulnerability-on-system_hook_push-queue-through-web-hook' into 'security-10-3'
      
      Don't allow line breaks on HTTP headers
      
      See merge request gitlab/gitlabhq!2277
      
      (cherry picked from commit 7fc0a6fc096768a5604d6dd24d7d952e53300c82)
      
      073b8f9c Don't allow line breaks on HTTP headers
      791ca43f
  19. Dec 01, 2017
  20. Aug 31, 2017
  21. Aug 15, 2017
  22. May 25, 2017
  23. Nov 01, 2016
  24. Aug 19, 2016
  25. Aug 15, 2016
  26. May 02, 2015
  27. Nov 06, 2014
  28. Nov 05, 2014
Loading