Skip to content
Snippets Groups Projects
  1. Nov 04, 2019
  2. Nov 01, 2019
  3. Oct 16, 2019
  4. Oct 08, 2019
  5. Oct 07, 2019
  6. Oct 04, 2019
  7. Sep 13, 2019
  8. Sep 06, 2019
    • Krasimir Angelov's avatar
      Add skeleton Pages internal API · 477ba2b3
      Krasimir Angelov authored
      Basic `/internal/pages` endpoint that will be used for Pages virtual
      domains internal API. The endpoint is currently behind feature flag and
      provides authetication similar to how Workhorse is authenticating with
      the GitLab.
      477ba2b3
  9. Aug 29, 2019
    • Patrick Bajao's avatar
      Set default authorized_keys_file · 95ffd22f
      Patrick Bajao authored
      This is the same as gitlab-shell's default. This is to ensure
      that it's always set.
      
      It needs to be the same as gitlab-shell's default because we
      don't set a default value in omnibus-gitlab. If users don't
      set the value of that config in their install and they upgraded,
      we must ensure that it's still going to point to the same
      authorized keys file.
      95ffd22f
  10. Aug 27, 2019
  11. Aug 20, 2019
    • Diego Louzán's avatar
      feat: SMIME signed notification emails · 0dcb9d21
      Diego Louzán authored
      - Add mail interceptor the signs outgoing email with SMIME
      - Add lib and helpers to work with SMIME data
      - New configuration params for setting up SMIME key and cert files
      0dcb9d21
  12. Aug 07, 2019
    • Stan Hu's avatar
      Add support for Content-Security-Policy · 5fbbd3dd
      Stan Hu authored and Ash McKenzie's avatar Ash McKenzie committed
      A nonce-based Content-Security-Policy thwarts XSS attacks by allowing
      inline JavaScript to execute if the script nonce matches the header
      value. Rails 5.2 supports nonce-based Content-Security-Policy headers,
      so provide configuration to enable this and make it work.
      
      To support this, we need to change all `:javascript` HAML filters to the
      following form:
      
      ```
      = javascript_tag nonce: true do
        :plain
          ...
      ```
      
      We use `%script` throughout our HAML to store JSON and other text, but
      since this doesn't execute, browsers don't appear to block this content
      from being used and require the nonce value to be present.
      Unverified
      5fbbd3dd
  13. Aug 01, 2019
  14. Jul 24, 2019
  15. Jul 22, 2019
  16. Jul 10, 2019
  17. Jul 08, 2019
  18. Jul 02, 2019
    • Mayra Cabrera's avatar
      Includes logic to persist namespace statistics · dfdfa913
      Mayra Cabrera authored
      - Add two new ActiveRecord models:
        - RootNamespaceStoragestatistics will persist root namespace statistics
        - NamespaceAggregationSchedule will save information when a new update
      to the namespace statistics needs to be scheduled
      - Inject into UpdateProjectStatistics concern a new callback that will
      call an async job to insert a new row onto NamespaceAggregationSchedule
      table
      - When a new row is inserted a new job is scheduled. This job will
      update call an specific service to update the statistics and after that
      it will delete thee aggregated scheduled row
      - The RefresherServices makes heavy use of arel to build composable
      queries to update Namespace::RootStorageStatistics attributes.
      - Add an extra worker to traverse pending rows on
      NAmespace::AggregationSchedule table and schedule a worker for each one
      of this rows.
      - Add an extra worker to traverse pending rows on
      NAmespace::AggregationSchedule table and schedule a worker for each one
      of this rows
      dfdfa913
  19. Jun 28, 2019
  20. Jun 27, 2019
  21. Jun 26, 2019
  22. Jun 24, 2019
    • vshushlin's avatar
      Renew Let's Encrypt certificates · a7764d0e
      vshushlin authored and Nick Thomas's avatar Nick Thomas committed
      Add index for pages domain ssl auto renewal
      Add PagesDomain.needs_ssl_renewal scope
      Add cron worker for ssl renewal
      Add worker for ssl renewal
      Add pages ssl renewal worker queues settings
      a7764d0e
  23. Jun 20, 2019
    • Yorick Peterse's avatar
      Backport gitlab.yml.example from EE · 0e415647
      Yorick Peterse authored
      To make this happen, we need to conditionally add the group_saml
      strategy when running tests, but only on EE. This requires some changes
      to Gitlab.ee? so that it can be used before/without loading the Rails
      environment. We also have to change how we require a few files, so this
      can run outside of Rails.
      Verified
      0e415647
  24. May 29, 2019
    • Jan Provaznik's avatar
      Add Puma sampler · a5adc6a0
      Jan Provaznik authored
      This sampler gathers Puma-specific metrics which can be used by
      Prometheus then.
      a5adc6a0
  25. May 01, 2019
  26. Apr 30, 2019
  27. Apr 29, 2019
    • Sean McGivern's avatar
      Don't allow a relative_url_root of '/' · 56515020
      Sean McGivern authored
      This will fail in a few ways:
      
      1. We might end up having a path (not a URL) starting with `//`, which
         will be interpreted by browsers as a protocol-relative URL.
      2. Issue, MR, snippet, etc. reference parsing will look for URLs at
         `http://gitlab.example.com//project/...`, with the double slash
         preventing single slashes from working.
      
      In general, it doesn't seem like there's a valid case for this.
      56515020
  28. Apr 05, 2019
    • mksionek's avatar
      Add part of needed code · 64858317
      mksionek authored
      Add columns to store project creation settings
      
      Add project creation level column in groups
       and default project creation column in application settings
      
      Remove obsolete line from schema
      
      Update migration with project_creation_level column existence check
      
      Rename migrations to avoid conflicts
      
      Update migration methods
      
      Update migration method
      64858317
  29. Mar 27, 2019
    • Nick Thomas's avatar
      Allow external diffs to be used conditionally · 0e831b0b
      Nick Thomas authored
      Since external diffs are likely to be a bit slower than in-database
      ones, add a mode that makes diffs external after they've been obsoleted
      by events. This should strike a balance between performance and disk
      space.
      
      A background cron drives the majority of migrations, since diffs become
      outdated through user actions.
      Verified
      0e831b0b
  30. Mar 19, 2019
    • Patrick Bajao's avatar
      Integrate Gitlab::Keys with Gitlab::Shell · 26dadbc9
      Patrick Bajao authored and Nick Thomas's avatar Nick Thomas committed
      In this commit, some methods that aren't being used
      are removed from `Gitlab::Shell`. They are the ff:
      - `#remove_keys_not_found_in_db`
      - `#batch_read_key_ids`
      - `#list_key_ids`
      
      The corresponding methods in `Gitlab::Keys` have been
      removed as well.
      26dadbc9
  31. Mar 04, 2019
    • 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
  32. Feb 27, 2019
  33. Feb 05, 2019
  34. Jan 09, 2019
  35. Dec 07, 2018
  36. Nov 29, 2018
    • Imre (Admin)'s avatar
      Add config to disable impersonation · bd3a4840
      Imre (Admin) authored
      Adds gitlab.impersonation_enabled config option defaulting to true to
      keep the current default behaviour.
      
      Only the act of impersonation is modified, impersonation token
      management is not affected.
      Unverified
      bd3a4840
  37. Oct 31, 2018
  38. Oct 30, 2018
  39. Oct 05, 2018
Loading