An error occurred fetching the project authors.
  1. 02 Jul, 2019 1 commit
    • 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
  2. 28 Jun, 2019 1 commit
  3. 27 Jun, 2019 1 commit
  4. 26 Jun, 2019 1 commit
  5. 24 Jun, 2019 1 commit
    • Vladimir Shushlin's avatar
      Renew Let's Encrypt certificates · a7764d0e
      Vladimir Shushlin authored
      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
  6. 20 Jun, 2019 1 commit
    • 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.
      0e415647
  7. 29 May, 2019 1 commit
    • 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
  8. 01 May, 2019 1 commit
  9. 30 Apr, 2019 2 commits
  10. 29 Apr, 2019 1 commit
    • 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
  11. 05 Apr, 2019 1 commit
    • Gosia Ksionek's avatar
      Add part of needed code · 64858317
      Gosia Ksionek 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
  12. 27 Mar, 2019 1 commit
    • 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.
      0e831b0b
  13. 19 Mar, 2019 1 commit
    • Patrick Bajao's avatar
      Integrate Gitlab::Keys with Gitlab::Shell · 26dadbc9
      Patrick Bajao authored
      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
  14. 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
  15. 27 Feb, 2019 1 commit
  16. 05 Feb, 2019 1 commit
  17. 09 Jan, 2019 1 commit
  18. 07 Dec, 2018 1 commit
  19. 29 Nov, 2018 1 commit
    • Imre Farkas's avatar
      Add config to disable impersonation · bd3a4840
      Imre Farkas 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.
      bd3a4840
  20. 31 Oct, 2018 1 commit
  21. 30 Oct, 2018 1 commit
  22. 05 Oct, 2018 1 commit
  23. 13 Sep, 2018 1 commit
  24. 06 Sep, 2018 1 commit
  25. 31 Aug, 2018 1 commit
    • Stan Hu's avatar
      Bump unauthenticated session time from 1 hour to 2 hours · 19e56902
      Stan Hu authored
      Users who have their system clocks configured inconsistently due to Daylight
      Savings may see a GitLab session cookie that immediately expires, resulting in
      a 422 error. To avoid these errors, we can bump the unauthenticated session
      time from 1 hour to 2 hours so they have time to login and get the default 7-day
      session.
      
      Closes #50393
      19e56902
  26. 25 Jul, 2018 1 commit
  27. 24 Jul, 2018 1 commit
  28. 23 Jul, 2018 1 commit
  29. 18 Jul, 2018 2 commits
    • Stan Hu's avatar
      Limit the TTL for anonymous sessions to 1 hour · c559c43d
      Stan Hu authored
      By default, all sessions are given the same expiration time configured in the
      session store (e.g. 1 week). However, unauthenticated users can generate a lot
      of sessions, primarily for CSRF verification. It makes sense to reduce the TTL
      for unauthenticated to something much lower than the default (e.g. 1 hour) to
      limit Redis memory. In addition, Rails creates a new session after login,
      so the short TTL doesn't even need to be extended.
      
      Closes #48101
      c559c43d
    • Imre Farkas's avatar
      Delete UserActivities and related workers · c62fce98
      Imre Farkas authored
      c62fce98
  30. 11 Jul, 2018 1 commit
  31. 02 Jul, 2018 1 commit
  32. 27 Jun, 2018 2 commits
  33. 20 Jun, 2018 1 commit
  34. 06 Jun, 2018 4 commits