Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | porting session.clear fix to master branch. [#5030 state:resolved] | Aaron Patterson | 2010-07-01 | 1 | -0/+22 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fixed that an ArgumentError is thrown when request.session_options[:id] is ↵ | Michael Lovitt | 2010-06-27 | 2 | -0/+50 | |
| | | | | | | | | read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. [#4938] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make sure that Rails doesn't resent session_id cookie over and over again if ↵ | Prem Sichanugrist | 2010-06-25 | 1 | -0/+12 | |
| | | | | | | | | it's already there [#2485 state:resolved] This apply to only Active Record store and Memcached store, as they both store only the session_id, which will be unchanged, in the cookie. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Avoid deserializing cookies too early, which causes session objects to not ↵ | José Valim | 2010-06-24 | 1 | -3/+3 | |
| | | | | be available yet. Unfortunately, could not reproduce this in a test case. | |||||
* | Sessions should not be created until written to and session data should be ↵ | Michael Lovitt | 2010-06-23 | 2 | -3/+39 | |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | The previous commit didn't work with complex domains, which is now fixed. | Rizwan Reza | 2010-06-11 | 1 | -5/+5 | |
| | ||||||
* | Add support for multi-subdomain session by setting cookie host in session ↵ | Rizwan Reza | 2010-06-11 | 1 | -0/+29 | |
| | | | | | | cookie so you can share session between www.example.com, example.com and user.example.com. [#4818 state:resolved] This reverts commit 330a89072a493aafef1e07c3558964477f85adf0. | |||||
* | Cut the fat and make session stores rely on request.cookie_jar and change ↵ | José Valim | 2010-05-18 | 2 | -2/+7 | |
| | | | | set_session semantics to return the cookie value instead of a boolean. | |||||
* | Remove deprecated methods since 2-3-stable. | José Valim | 2010-05-18 | 1 | -12/+0 | |
| | ||||||
* | Simplify cookie_store by simply relying on cookies.signed. | José Valim | 2010-05-18 | 1 | -46/+20 | |
| | ||||||
* | Cookies middleware | Joshua Peek | 2010-01-16 | 1 | -2/+2 | |
| | ||||||
* | Ruby 1.9: resolve constant lookup issues | Jeremy Kemper | 2009-11-04 | 2 | -2/+2 | |
| | ||||||
* | Start rewriting some internal tests to use the new routing dsl | Joshua Peek | 2009-10-20 | 2 | -2/+2 | |
| | ||||||
* | CookieJar#delete should return the key's value, consistent with a Hash | Jeffrey Hardy | 2009-10-14 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 2 | -2/+0 | |
| | | | | with_routing. This only affects our internal AP tests. | |||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 2 | -5/+5 | |
| | | | | open_session | |||||
* | Fix skipping memcache tests if a memcache server isn't running | Joshua Peek | 2009-09-26 | 1 | -0/+4 | |
| | ||||||
* | Move default middleware stack into initializer | Joshua Peek | 2009-09-26 | 1 | -3/+0 | |
| | ||||||
* | Clean up session integration tests so they don't reference AC::Dispatcher | Joshua Peek | 2009-09-26 | 2 | -31/+9 | |
| | ||||||
* | If session_options[:id] is requested when using CookieStore, unmarshal the ↵ | Jay Pignata | 2009-09-03 | 1 | -2/+2 | |
| | | | | | | session to access it [#2268 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Reset session in integration tests after changing routes to reload the ↵ | Joshua Peek | 2009-08-27 | 2 | -16/+19 | |
| | | | | middleware stack | |||||
* | Revert "Only save the session if we're actually writing to it [#2703 ↵ | Joshua Peek | 2009-05-30 | 1 | -8/+0 | |
| | | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d. | |||||
* | Only save the session if we're actually writing to it [#2703 state:resolved] | Johan Sörensen | 2009-05-28 | 1 | -0/+8 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Make cookie store tests pass with the new base | Pratik Naik | 2009-05-25 | 1 | -0/+3 | |
| | ||||||
* | Inherit TestSession from Session::AbstractStore and add indifferent access ↵ | Joshua Peek | 2009-04-26 | 2 | -18/+9 | |
| | | | | to Session::AbstractStore. | |||||
* | Session tests belong under dispatch folder | Joshua Peek | 2009-04-21 | 3 | -0/+435 | |