1. 01 6月, 2018 2 次提交
  2. 31 5月, 2018 1 次提交
  3. 30 5月, 2018 1 次提交
  4. 28 5月, 2018 7 次提交
  5. 24 5月, 2018 2 次提交
  6. 23 5月, 2018 2 次提交
  7. 22 5月, 2018 1 次提交
  8. 18 5月, 2018 2 次提交
  9. 14 5月, 2018 1 次提交
  10. 11 5月, 2018 1 次提交
  11. 10 5月, 2018 1 次提交
  12. 07 5月, 2018 2 次提交
  13. 04 5月, 2018 1 次提交
  14. 03 5月, 2018 2 次提交
    • B
      ec548983
    • B
      [Rails5] Fix trusted proxies · 2306e490
      blackst0ne 提交于
      There is a bug in trusted proxies: https://github.com/rails/rails/issues/5223
      This commit adds a monkey patch to fix the bug.
      
      Example of errors:
      
      ```
      1) trusted_proxies with default config preserves private IPs
          Failure/Error: expect(request.ip).to eq('10.1.5.89')
      
            expected: "10.1.5.89"
                got: nil
      
            (compared using ==)
          # ./spec/initializers/trusted_proxies_spec.rb:12:in `block (3 levels) in <top (required)>'
      
      2) trusted_proxies with default config filters out localhost
          Failure/Error: expect(request.ip).to eq('10.1.5.89')
      
            expected: "10.1.5.89"
                got: "1.1.1.1"
      
            (compared using ==)
          # ./spec/initializers/trusted_proxies_spec.rb:18:in `block (3 levels) in <top (required)>'
      ```
      2306e490
  15. 02 5月, 2018 2 次提交
  16. 30 4月, 2018 1 次提交
    • B
      Define custom base controller for Doorkeeper · 0f593b1c
      Bob Van Landuyt 提交于
      Since we only need the `can?` view helpers there, it's better to
      include those in a separate controller.
      
      If we inherit from `ApplicationController` we also need to deal with
      authentication, that needs to be done in some, but not all doorkeeper controllers.
      0f593b1c
  17. 27 4月, 2018 1 次提交
  18. 26 4月, 2018 2 次提交
  19. 25 4月, 2018 2 次提交
  20. 24 4月, 2018 1 次提交
  21. 23 4月, 2018 4 次提交
  22. 19 4月, 2018 1 次提交