1. 06 6月, 2016 1 次提交
    • T
      Add a `U2fRegistrations` table/model. · 791cc913
      Timothy Andrew 提交于
      - To hold registrations from U2F devices, and to authenticate them.
      - Previously, `User#two_factor_enabled` was aliased to the
        `otp_required_for_login` column on `users`.
      - This commit changes things a bit:
          - `User#two_factor_enabled` is not a method anymore
          - `User#two_factor_enabled?` checks both the
            `otp_required_for_login` column, as well as `U2fRegistration`s
          - Change all instances of `User#two_factor_enabled` to
            `User#two_factor_enabled?`
      - Add the `u2f` gem, and implement registration/authentication at the
        model level.
      791cc913
  2. 04 6月, 2016 1 次提交
    • C
      Replace colorize gem with rainbow. · 903946c7
      Connor Shea 提交于
      Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize.
      
      The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance.
      
      The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product.
      
      An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded.
      
      Rainbow library: https://github.com/sickill/rainbow
      Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775
      903946c7
  3. 02 6月, 2016 1 次提交
  4. 01 6月, 2016 1 次提交
  5. 31 5月, 2016 2 次提交
  6. 26 5月, 2016 1 次提交
  7. 24 5月, 2016 2 次提交
  8. 20 5月, 2016 1 次提交
  9. 16 5月, 2016 1 次提交
  10. 11 5月, 2016 3 次提交
  11. 10 5月, 2016 2 次提交
  12. 04 5月, 2016 1 次提交
  13. 02 5月, 2016 2 次提交
  14. 01 5月, 2016 1 次提交
  15. 29 4月, 2016 2 次提交
  16. 27 4月, 2016 1 次提交
  17. 25 4月, 2016 1 次提交
  18. 23 4月, 2016 1 次提交
    • R
      Add letter_opener_web gem · 702380f1
      Robert Speicher 提交于
      Sent emails in the development environment will no longer automatically
      be opened in the browser. If a sent email needs to be viewed, it can be
      found at the `/rails/letter_opener` route.
      702380f1
  19. 19 4月, 2016 1 次提交
  20. 18 4月, 2016 2 次提交
  21. 13 4月, 2016 1 次提交
  22. 11 4月, 2016 2 次提交
  23. 09 4月, 2016 1 次提交
  24. 07 4月, 2016 1 次提交
  25. 06 4月, 2016 2 次提交
  26. 04 4月, 2016 1 次提交
    • Y
      Cache Banzai projects/objects using RequestStore · 57bde0ce
      Yorick Peterse 提交于
      This was originally suggested by @ayufan and modified to be a bit
      cleaner and use RequestStore instead of a regular Hash.
      
      By caching the output of the two methods involved the number of queries
      is reduced significantly. For example, for an issue with 200 notes (of
      which 100 reference a number of merge requests) this cuts down the
      amount of queries from around 6300 to around 3300.
      57bde0ce
  27. 26 3月, 2016 1 次提交
  28. 25 3月, 2016 1 次提交
  29. 21 3月, 2016 1 次提交
    • C
      Update Rubocop from 0.35.1 to 0.38.0. · 6274136c
      connorshea 提交于
      Discussed in #14233.
      
      See [their releases](https://github.com/bbatsov/rubocop/releases) for
      more info.
      
      Changes:
      - Enable DisplayCopNames for lint output.
      - Default behavior for `Alias` changed, set to enforce `prefer_alias_method`.
      - Enabling Rails cops changed to new syntax.
      - Remove StyleGuides and move Descriptions to comments.
      - Add missing cops.
      - Add TODOs for cops that should be enabled in the future.
      - Set TargetRubyVersion to 2.1.
      6274136c
  30. 20 3月, 2016 1 次提交