1. 04 7月, 2016 1 次提交
  2. 03 7月, 2016 1 次提交
  3. 02 7月, 2016 1 次提交
  4. 01 7月, 2016 6 次提交
  5. 30 6月, 2016 2 次提交
  6. 29 6月, 2016 3 次提交
  7. 27 6月, 2016 1 次提交
  8. 25 6月, 2016 1 次提交
  9. 24 6月, 2016 3 次提交
  10. 23 6月, 2016 1 次提交
    • C
      Replace Haml with Hamlit. · 80f576bb
      connorshea 提交于
      Hamlit is a library that's faster than Haml while implementing most of its features: https://github.com/k0kubun/hamlit
      
      Not sure if this breaks anything, but as far as I can tell most things work the same. No obvious regressions that I've been able to find.
      80f576bb
  11. 22 6月, 2016 1 次提交
  12. 21 6月, 2016 1 次提交
  13. 17 6月, 2016 1 次提交
  14. 16 6月, 2016 3 次提交
  15. 15 6月, 2016 1 次提交
  16. 13 6月, 2016 3 次提交
  17. 12 6月, 2016 1 次提交
    • S
      Fix Error 500 when viewing a blob with binary characters after the 1024-byte mark · 0fdfd2dd
      Stan Hu 提交于
      Here was the problem:
      
      1. When determining whether a given blob is viewable text, gitlab_git reads the first 1024 bytes and checks with Linguist whether it is a text or binary file.
      2. If the blob is text, GitLab will attempt to display it.
      3. However, if the text has binary characters after the first 1024 bytes, then GitLab will attempt to load the entire contents, but the encoding will be ASCII-8BIT since there are binary characters.
      4. The Error 500 results when GitLab attempts to display a mix UTF-8 and ASCII-8BIT.
      
      To fix this, we load as much data as we are willing to display so that the detection will work properly. Requires
      an update to gitlab_git: gitlab-org/gitlab_git!86
      
      Closes #13826
      0fdfd2dd
  18. 10 6月, 2016 1 次提交
  19. 08 6月, 2016 2 次提交
  20. 07 6月, 2016 4 次提交
  21. 06 6月, 2016 2 次提交
    • T
      Update the `browser` gem. · e5823f36
      Timothy Andrew 提交于
      - Need the `mobile?` detection (that the new version provides) for the
        U2F registration/ authentication flow
      e5823f36
    • 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