Read about our upcoming Code of Conduct on this issue

  1. 13 Nov, 2019 1 commit
  2. 12 Nov, 2019 1 commit
  3. 08 Nov, 2019 1 commit
  4. 04 Nov, 2019 1 commit
  5. 31 Oct, 2019 1 commit
  6. 22 Oct, 2019 1 commit
  7. 17 Oct, 2019 1 commit
  8. 16 Oct, 2019 1 commit
  9. 26 Sep, 2019 1 commit
  10. 13 Sep, 2019 1 commit
  11. 10 Sep, 2019 2 commits
  12. 30 Aug, 2019 1 commit
  13. 29 Aug, 2019 1 commit
  14. 24 Aug, 2019 1 commit
  15. 14 Aug, 2019 1 commit
  16. 07 Aug, 2019 1 commit
  17. 31 Jul, 2019 2 commits
    • Małgorzata Ksionek's avatar
      Add captcha if there are multiple failed login attempts · 7005864a768e
      Małgorzata Ksionek authored
      Add method to store session ids by ip
      
      Add new specs for storing session ids
      
      Add cleaning up records after login
      
      Add retrieving anonymous sessions
      
      Add login recaptcha setting
      
      Add new setting to sessions controller
      
      Add conditions for showing captcha
      
      Add sessions controller specs
      
      Add admin settings specs for login protection
      
      Add new settings to api
      
      Add stub to devise spec
      
      Add new translation key
      
      Add cr remarks
      
      Rename class call
      
      Add cr remarks
      
      Change if-clause for consistency
      
      Add cr remarks
      
      Add code review remarks
      
      Refactor AnonymousSession class
      
      Add changelog entry
      
      Move AnonymousSession class to lib
      
      Move store unauthenticated sessions to sessions controller
      
      Move link to recaptcha info
      
      Regenerate text file
      
      Improve copy on the spam page
      
      Change action filter for storing anonymous sessions
      
      Fix rubocop offences
      
      Add code review remarks
      7005864a768e
    • Reuben Pereira's avatar
      Allow blank but not nil in validations · dcff720b0310
      Reuben Pereira authored
      - The most common use case for qualified_domain_validator currently is
      to allow blank ([]) but not allow nil. Modify the
      qualified_domain_validator to support this use case.
      dcff720b0310
  18. 24 Jul, 2019 1 commit
  19. 02 Jul, 2019 1 commit
    • Stan Hu's avatar
      Add a memory cache local to the thread to reduce Redis load · 13403d840eb0
      Stan Hu authored
      Loading `ApplicationSetting` from Redis was responsible for at least 50%
      of the CPU load of the Redis cluster on GitLab.com. Since these values
      generally don't change very much, we can load this from the database and
      cache it in memory, skipping Redis altogther. We use
      `ActiveSupport::Cache::MemoryStore` as a drop-in replacement for
      `RedisCacheStore` even though we probably don't need synchronized access
      within `Thread.current`.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63977
      13403d840eb0
  20. 28 Jun, 2019 1 commit
  21. 25 Jun, 2019 1 commit
  22. 28 May, 2019 1 commit
    • Vladimir Shushlin's avatar
      Store Let's Encrypt private key in settings · 54cadc2f8ada
      Vladimir Shushlin authored
      Storing this key in secrets.yml was a bad idea,
      it would require users using HA setups to manually
      replicate secrets across nodes during update,
      it also needed support from omnibus package
      
      * Revert "Generate Let's Encrypt private key"
        This reverts commit 444959bfa0b79e827a2a1a7a314acac19390f976.
      
      * Add Let's Encrypt private key to settings
        as encrypted attribute
      
      * Generate Let's Encrypt private key
        in database migration
      54cadc2f8ada
  23. 27 Apr, 2019 1 commit
  24. 12 Apr, 2019 1 commit
  25. 11 Apr, 2019 1 commit
    • Thong Kuah's avatar
      Align UrlValidator to validate_url gem implementation. · 77da24aaafd6
      Thong Kuah authored
      Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
      Make use of the options attribute of the parent class ActiveModel::EachValidator.
      Add more options: allow_nil, allow_blank, message.
      Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
      77da24aaafd6
  26. 10 Apr, 2019 1 commit
    • Rémy Coutable's avatar
      Fix ApplicationSetting development seed · 156637f55bac
      Rémy Coutable authored
      
      
      It could happen that there's a cached (in Redis) ApplicationSetting
      record, and calling
      `Gitlab::CurrentSettings.current_application_settings` only returns it
      instead of creating a new DB record, which makes the
      `ApplicationSetting.current_without_cache.update!` call fail.
      Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
      156637f55bac
  27. 09 Apr, 2019 1 commit
  28. 05 Apr, 2019 2 commits
  29. 04 Apr, 2019 1 commit
  30. 28 Mar, 2019 1 commit
  31. 19 Mar, 2019 2 commits
  32. 18 Mar, 2019 1 commit
  33. 06 Mar, 2019 1 commit
  34. 05 Mar, 2019 1 commit
    • Horatiu Eugen Vlad's avatar
      Align EmailValidator to validate_email gem implementation. · 123c77a5d0b9
      Horatiu Eugen Vlad authored
      Renamed EmailValidator to DeviseEmailValidator to avoid 'email:' naming collision with ActiveModel::Validations::EmailValidator in 'validates' statement.
      Make use of the options attribute of the parent class ActiveModel::EachValidator.
      Add more options: regex.
      123c77a5d0b9
  35. 06 Feb, 2019 2 commits