aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/http_digest_authentication_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove secret_token rack env and cookie upgrade codeRafael Mendonça França2019-01-171-1/+4
| | | | Now that secret_token was removed all this code is now dead.
* Turn on performance based copsDillon Welch2018-07-231-1/+1
| | | | | | | | | | | | | | | | Use attr_reader/attr_writer instead of methods method is 12% slower Use flat_map over map.flatten(1) flatten is 66% slower Use hash[]= instead of hash.merge! with single arguments merge! is 166% slower See https://github.com/rails/rails/pull/32337 for more conversation
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
| | | | | This autocorrects the violations after adding a custom cop in 3305c78dcd.
* We should call methods with `.method_name` not `::method_name`.utilum2018-02-221-4/+5
| | | | | | Found several instances. Follow up on 63d530c5e68a8cf53603744789f53ccbc7ac1a0e
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-34/+34
|
* modernizes hash syntax in actionpackXavier Noria2016-08-061-26/+26
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-60/+60
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Stop using deprecated `render :text` in testPrem Sichanugrist2015-07-171-2/+2
| | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`.
* Remove `assigns` and `assert_template`.Guo Xiang Tan2015-05-301-10/+1
|
* Typos. return -> returns. [ci skip]Lauro Caetano2013-12-031-1/+1
|
* Remove comments about removing LegacyKeyGenerator in 4.1Trevor Turk2013-04-031-1/+0
|
* Rename DummyKeyGenerator -> LegacyKeyGeneratorTrevor Turk2013-04-021-2/+2
|
* Digest auth should not 500 when given a basic header.Brad Dunbar2013-03-181-0/+8
|
* update documentation and code to use _action callbacksFrancesco Rodriguez2012-12-071-2/+2
|
* Move ensure_secret_secure to DummyKeyGeneratorSantiago Pastorino2012-11-031-1/+1
|
* Use derived keys everywhere, http_authentication was missing itSantiago Pastorino2012-11-031-1/+3
|
* Fix for digest authentication bug - issue #2301 in rails/railsArthur Smith2012-08-021-3/+4
|
* Should use an argument in http_digest_authentication_test.rbkennyj2012-03-171-1/+1
|
* Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2011-12-211-5/+36
|
* Added failing test to demonstrate digest authentication failureJarrod Carlson2011-12-201-0/+10
|
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-051-3/+2
| | | | configuration in request.env. This is another step forward removing global configuration.
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-041-2/+3
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Tweak the semantic of various URL related methods of ActionDispatch::RequestCarlhuda2010-03-031-4/+6
|
* Move session_store and session_options to the AC configuration objectCarlhuda2010-03-031-2/+3
|
* Make http digest work with different server/browser combinationsJosé Valim2009-08-091-6/+29
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* A test to show that http_authentication needs to fail authentication if the ↵nate2009-06-091-0/+14
| | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Add HTTP Authentication to the new basePratik Naik2009-05-221-4/+9
|
* Ensure HTTP Digest auth uses appropriate HTTP method [#2490 state:resolved] ↵Pratik Naik2009-05-181-3/+20
| | | | [Steve Madsen]
* Inherit TestSession from Session::AbstractStore and add indifferent access ↵Joshua Peek2009-04-261-2/+0
| | | | to Session::AbstractStore.
* Support MD5 passwords for Digest auth and use session_options[:secret] in ↵Donald Parish2009-03-121-7/+46
| | | | | | nonce [#2209 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed http digest authentication to use credentials URI passed from client. ↵Donald Parish2009-02-161-1/+10
| | | | | | [#1848 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement HTTP Digest authentication. [#1230 state:resolved] [Gregg Kellogg, ↵Gregg Kellogg2009-01-291-0/+130
| | | | | | Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Revert "HTTP Digest authentication [#1230 state:resolved]"Pratik Naik2009-01-131-73/+0
| | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control
* HTTP Digest authentication [#1230 state:resolved]Joshua Peek2008-12-281-0/+73