1. 27 2月, 2018 1 次提交
    • A
      Don't enforce UTF-8 by default · 96eeea53
      Andrew White 提交于
      With the disabling of TLS 1.0 by most major websites, continuing to run
      IE8 or lower becomes increasingly difficult so default to not enforcing
      UTF-8 encoding as it's not relevant to other browsers.
      96eeea53
  2. 15 2月, 2018 1 次提交
  3. 08 2月, 2018 1 次提交
  4. 28 1月, 2018 1 次提交
  5. 22 1月, 2018 1 次提交
  6. 18 1月, 2018 1 次提交
  7. 09 1月, 2018 1 次提交
  8. 04 1月, 2018 1 次提交
  9. 13 12月, 2017 1 次提交
  10. 12 12月, 2017 1 次提交
  11. 30 11月, 2017 1 次提交
  12. 26 11月, 2017 1 次提交
    • N
      Change `form_with` to generates ids by default · 260d6f11
      npezza93 提交于
      When `form_with` was introduced we disabled the automatic
      generation of ids that was enabled in `form_for`. This usually
      is not an good idea since labels don't work when the input
      doesn't have an id and it made harder to test with Capybara.
      
      You can still disable the automatic generation of ids setting
      `config.action_view.form_with_generates_ids` to `false.`
      260d6f11
  13. 15 11月, 2017 1 次提交
    • K
      Update configuring.md · 9d87a172
      Kelly Stannard 提交于
      It was brought to my attention that the Rails guide suggests using filenames to ensure code load order, so I thought I would suggest a better alternative.
      9d87a172
  14. 10 11月, 2017 1 次提交
  15. 07 10月, 2017 1 次提交
  16. 06 10月, 2017 1 次提交
  17. 25 9月, 2017 2 次提交
    • K
      [ci skip] Attempt a new explanation for rotations. · 38308e6d
      Kasper Timm Hansen 提交于
      It's become clear to me that the use case is still a bit muddy
      and the upgrade path is going to be tough for people to figure
      out.
      
      This attempts at understanding it better through documentation,
      but still needs follow up work.
      
      [ Michael Coyne & Kasper Timm Hansen ]
      38308e6d
    • M
      Add key rotation cookies middleware · 8b0af54b
      Michael Coyne 提交于
      Using the action_dispatch.cookies_rotations interface, key rotation is
      now possible with cookies. Thus the secret_key_base as well as salts,
      ciphers, and digests, can be rotated without expiring sessions.
      8b0af54b
  18. 14 9月, 2017 1 次提交
  19. 23 8月, 2017 1 次提交
  20. 07 8月, 2017 2 次提交
  21. 16 7月, 2017 1 次提交
  22. 13 7月, 2017 1 次提交
  23. 12 7月, 2017 1 次提交
    • L
      Change sqlite3 boolean serialization to use 1 and 0 · 52e050ed
      Lisa Ugray 提交于
      Abstract boolean serialization has been using 't' and 'f', with MySQL
      overriding that to use 1 and 0.
      
      This has the advantage that SQLite natively recognizes 1 and 0 as true
      and false, but does not natively recognize 't' and 'f'.
      
      This change in serialization requires a migration of stored boolean data
      for SQLite databases, so it's implemented behind a configuration flag
      whose default false value is deprecated. The flag itself can be
      deprecated in a future version of Rails.  While loaded models will give
      the correct result for boolean columns without migrating old data,
      where() clauses will interact incorrectly with old data.
      
      While working in this area, also change the abstract adapter to use
      `"TRUE"` and `"FALSE"` as quoted values and `true` and `false` for
      unquoted.  These are supported by PostreSQL, and MySQL remains
      overriden.
      52e050ed
  24. 11 7月, 2017 1 次提交
    • L
      Protect from forgery by default · ec4a8369
      Lisa Ugray 提交于
      Rather than protecting from forgery in the generated
      ApplicationController, add it to ActionController::Base by config. This
      configuration defaults to false to support older versions which have
      removed it from their ApplicationController, but is set to true for
      Rails 5.2.
      ec4a8369
  25. 17 6月, 2017 1 次提交
  26. 28 5月, 2017 1 次提交
  27. 22 5月, 2017 1 次提交
    • M
      AEAD encrypted cookies and sessions · 5a3ba63d
      Michael Coyne 提交于
      This commit changes encrypted cookies from AES in CBC HMAC mode to
      Authenticated Encryption using AES-GCM. It also provides a cookie jar
      to transparently upgrade encrypted cookies to this new scheme. Some
      other notable changes include:
      
      - There is a new application configuration value:
        +use_authenticated_cookie_encryption+. When enabled, AEAD encrypted
        cookies will be used.
      
      - +cookies.signed+ does not raise a +TypeError+ now if the name of an
        encrypted cookie is used. Encrypted cookies using the same key as
        signed cookies would be verified and serialization would then fail
        due the message still be encrypted.
      5a3ba63d
  28. 25 4月, 2017 2 次提交
  29. 21 3月, 2017 1 次提交
  30. 04 3月, 2017 1 次提交
  31. 20 2月, 2017 1 次提交
  32. 10 2月, 2017 1 次提交
  33. 08 2月, 2017 2 次提交
  34. 30 10月, 2016 1 次提交
  35. 28 10月, 2016 1 次提交
  36. 27 10月, 2016 1 次提交