summary |
shortlog | log |
commit |
commitdiff |
tree
HEAD ⋅ prev ⋅ next
Tatsuhiko Miyagawa [Wed, 23 Nov 2011 01:56:19 +0000]
Merge pull request #7 from tokuhirom/master
Test::Exception have a xs deps.
Tokuhiro Matsuno [Mon, 21 Nov 2011 23:58:36 +0000]
use Test::Fatal instead of Test::Exception. Since Test::Exception have a XS deps.
Tatsuhiko Miyagawa [Tue, 29 Mar 2011 20:49:07 +0000]
Checking in changes prior to tagging of version 0.14.
Changelog diff is:
diff --git a/Changes b/Changes
index c65a04f..00decc7 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Plack::Middleware::Session
+0.14 Tue Mar 29 13:48:42 PDT 2011
+ - Support get_dbh callback in Store::DBI (kazeburo)
+
0.13 Wed Dec 22 08:56:52 PST 2010
- Added WARNINGS to deprecate request parameter based session state from the default state
- Added 'change_id' option for paranoids against session fixation (s-aska, nihen)
Masahiro Nagano [Wed, 23 Mar 2011 07:24:35 +0000]
support get_dbh callback
Masahiro Nagano [Wed, 23 Mar 2011 07:09:24 +0000]
remove prepare_dbh, use prepare_cached
Tatsuhiko Miyagawa [Wed, 22 Dec 2010 16:58:09 +0000]
Checking in changes prior to tagging of version 0.13.
Changelog diff is:
diff --git a/Changes b/Changes
index 53f99b6..c65a04f 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension Plack::Middleware::Session
+0.13 Wed Dec 22 08:56:52 PST 2010
+ - Added WARNINGS to deprecate request parameter based session state from the default state
+ - Added 'change_id' option for paranoids against session fixation (s-aska, nihen)
+
0.12 Wed Jul 7 15:54:05 PDT 2010
- Improved documents (markstos, haarg)
- Support httponly option (haarg)
Tatsuhiko Miyagawa [Wed, 22 Dec 2010 16:56:47 +0000]
Added docs to deprecate parameter based session ID retrieval
s-aska [Fri, 29 Oct 2010 06:43:15 +0000]
fix Session Fixation
Tatsuhiko Miyagawa [Fri, 10 Dec 2010 17:15:45 +0000]
typo
Tatsuhiko Miyagawa [Fri, 10 Dec 2010 17:12:31 +0000]
Added a note about using Plack::Request
Tatsuhiko Miyagawa [Wed, 7 Jul 2010 22:54:50 +0000]
Checking in changes prior to tagging of version 0.12.
Changelog diff is:
diff --git a/Changes b/Changes
index 1e3c6bc..53f99b6 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension Plack::Middleware::Session
+0.12 Wed Jul 7 15:54:05 PDT 2010
+ - Improved documents (markstos, haarg)
+ - Support httponly option (haarg)
+
0.11 Sat Feb 27 02:40:29 PST 2010
- Added Session::Store::DBI by lestrrat
Graham Knop [Wed, 7 Jul 2010 09:06:30 +0000]
allow setting httponly flag via Session::Cookie middleware option
Graham Knop [Wed, 7 Jul 2010 09:04:49 +0000]
document httponly cookie option
Graham Knop [Wed, 7 Jul 2010 08:52:45 +0000]
fix some typos and spelling mistakes
Mark Stosberg [Fri, 2 Apr 2010 01:20:23 +0000]
Fix typos: s/CORE/CODE/, s/mdoule/module/
Tatsuhiko Miyagawa [Sat, 27 Feb 2010 10:42:03 +0000]
Checking in changes prior to tagging of version 0.11. Changelog diff is:
diff --git a/Changes b/Changes
index da5ed78..1e3c6bc 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Plack::Middleware::Session
+0.11 Sat Feb 27 02:40:29 PST 2010
+ - Added Session::Store::DBI by lestrrat
+
0.10 Mon Feb 22 19:03:17 PST 2010
- Make this a non-dev release now Plack 0.9910 is out
Tatsuhiko Miyagawa [Fri, 26 Feb 2010 06:38:33 +0000]
fixed docs
Tatsuhiko Miyagawa [Fri, 26 Feb 2010 06:24:19 +0000]
remove use DBI since it SHOULD be called outside and it makes mock testing easier
lestrrat [Fri, 26 Feb 2010 05:39:29 +0000]
update test code
lestrrat [Fri, 26 Feb 2010 05:39:04 +0000]
make the user pass in dbh instead of connect_info. Add docs
lestrrat [Fri, 26 Feb 2010 02:28:04 +0000]
implement DBI store
lestrrat [Fri, 26 Feb 2010 01:57:37 +0000]
missing dep
Tatsuhiko Miyagawa [Tue, 23 Feb 2010 03:15:23 +0000]
Checking in changes prior to tagging of version 0.10. Changelog diff is:
diff --git a/Changes b/Changes
index 692a13c..da5ed78 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension Plack::Middleware::Session
+0.10 Mon Feb 22 19:03:17 PST 2010
+ - Make this a non-dev release now Plack 0.9910 is out
+
0.09_03 Tue Feb 2 20:42:56 PST 2010
- Fixed so the default Cookie path is now correctly set to '/'
You can override that by setting path = undef in psgix.session.options.
Tatsuhiko Miyagawa [Wed, 3 Feb 2010 04:45:58 +0000]
Checking in changes prior to tagging of version 0.09_03. Changelog diff is:
diff --git a/Changes b/Changes
index 56d41c5..692a13c 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for Perl extension Plack::Middleware::Session
+0.09_03 Tue Feb 2 20:42:56 PST 2010
+ - Fixed so the default Cookie path is now correctly set to '/'
+ You can override that by setting path = undef in psgix.session.options.
+ (Reported by tomyhero)
+
0.09_02 Sat Jan 30 23:13:50 PST 2010
- Fixed a bug in Cookie serialization where it breaks the response headers
generated by applications (tomyhero)
Tatsuhiko Miyagawa [Wed, 3 Feb 2010 04:40:19 +0000]
Fixed a bug where path is not set to / by default.
If you want to set a cookie for only the current URL, you should set
# delete won't work
$env->{'psgi.session.options'}->{path} = undef;
Tatsuhiko Miyagawa [Sun, 31 Jan 2010 07:16:22 +0000]
Checking in changes prior to tagging of version 0.09_02. Changelog diff is:
diff --git a/Changes b/Changes
index d7db684..56d41c5 100644
--- a/Changes
+++ b/Changes
@@ -1,13 +1,17 @@
Revision history for Perl extension Plack::Middleware::Session
+0.09_02 Sat Jan 30 23:13:50 PST 2010
+ - Fixed a bug in Cookie serialization where it breaks the response headers
+ generated by applications (tomyhero)
+
0.09_01 Sat Jan 30 13:39:21 PST 2010
- * Reworked the internal code and API a lot, so Session persistence
+ - Reworked the internal code and API a lot, so Session persistence
and retrieval are handled in a more stateless way
- * INCOMPATIBLE: psgix.session is now a hash reference rather than an object.
+ - INCOMPATIBLE: psgix.session is now a hash reference rather than an object.
If you need an object like before, do:
use Plack::Session; $session = Plack::Session->new($env);
- * Added Plack::Middleware::Session::Cookie which uses CookieStore
- * Updated Cookie handling code to work with Plack 0.99 and later
+ - Added Plack::Middleware::Session::Cookie which uses CookieStore
+ - Updated Cookie handling code to work with Plack 0.99 and later
0.03 Thurs. Jan. 7, 2009
* Plack::Middleware::Session
Tatsuhiko Miyagawa [Sun, 31 Jan 2010 07:13:07 +0000]
Fixes the use of Plack::Respose->new
Tatsuhiko Miyagawa [Sat, 30 Jan 2010 21:45:32 +0000]
Checking in changes prior to tagging of version 0.09_01. Changelog diff is:
diff --git a/Changes b/Changes
index 30759bd..d7db684 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,14 @@
Revision history for Perl extension Plack::Middleware::Session
+0.09_01 Sat Jan 30 13:39:21 PST 2010
+ * Reworked the internal code and API a lot, so Session persistence
+ and retrieval are handled in a more stateless way
+ * INCOMPATIBLE: psgix.session is now a hash reference rather than an object.
+ If you need an object like before, do:
+ use Plack::Session; $session = Plack::Session->new($env);
+ * Added Plack::Middleware::Session::Cookie which uses CookieStore
+ * Updated Cookie handling code to work with Plack 0.99 and later
+
0.03 Thurs. Jan. 7, 2009
* Plack::Middleware::Session
- change plack.session to psgix.session (plack.session is
Tatsuhiko Miyagawa [Sat, 30 Jan 2010 09:36:13 +0000]
Added 'httponly' to Cookie state options.
Support passing runtime configurations from psgix.session.options to
override domain, path, expires etc. from the apps.
Tatsuhiko Miyagawa [Sat, 30 Jan 2010 08:57:23 +0000]
Accept expires as seconds since new Plack::Response ditches CGI::Simple::Cookie.
Added docs and tests for it. Fixes gh-2
Tatsuhiko Miyagawa [Sat, 30 Jan 2010 01:39:44 +0000]
avoid perl warnings
Tatsuhiko Miyagawa [Fri, 29 Jan 2010 01:46:00 +0000]
Make it work the new Plack::Request (in Plack 1.0)
Tatsuhiko Miyagawa [Mon, 11 Jan 2010 11:12:18 +0000]
remove session_class and psgix.session per discussion on IRC :)
Plack::Session as a library goes to where Plack::Request goes.
Stevan Little [Sun, 10 Jan 2010 16:23:52 +0000]
removing the test for the cookie middleware that wont work cause thats not how that middleware works
Stevan Little [Sun, 10 Jan 2010 03:29:48 +0000]
adding in tests for the raw HASH session
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 20:50:10 +0000]
Moved Plack::Request and Plack::Response use to individual State:: subclasses.
Refactored Cookie State to remove code duplicates.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 20:39:07 +0000]
Always renew timestamp in Cookie Session
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 20:32:45 +0000]
Pass $env in more Middleware APIs so subclasses can do more things flexibly in the runtime.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 20:04:22 +0000]
s/cleanup/remove/ in Store API
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 20:02:37 +0000]
Refactored Middleware::Session to call ->state and ->store inside more
abstract methods so Cookie can override them easily without creating
an inline state/store objects.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 19:44:01 +0000]
Remove $session->commit, and hence remove manager to make Session
object really stateless.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 19:08:45 +0000]
Simplified the accessor code and consructor. Also simplified documents.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 18:48:21 +0000]
Rewrote all the tests and now all tests pass!
(Skips the null store tests since it doesn't make much sense now.)
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 17:49:45 +0000]
Some cleanup of the code.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 17:18:48 +0000]
Make psgix.session a hash reference and plack.session an (optional)
session object. Moved around the code a lot from Plack::Session to
Middleware::Session to make Plack::Session a plain Perl object.
Tests are failing atm. Going to fix this...
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 16:17:49 +0000]
Added Session::Cookie middleware which utilizes Cookie as both state and store.
Fixes gh-1
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 16:14:39 +0000]
Reworked Session to make the expiration a store's responsibility and
fix the bug in state where it handles expires as an object state.
psgi.streaming is supported in most Plack servers especially
Standalone, so there's no need to depend on AnyEvent in the test.
Added $session->commit now that all write code to the database is
delayed till the finalization phase.
Tatsuhiko Miyagawa [Sat, 9 Jan 2010 06:09:38 +0000]
Huge rewrite of the code: $session->get, ->set etc. do not read from
store as it's called anymore. Session is instantiated in the request
initialization, and committed to the data store in the finalization
phase.
This is more "normal" in terms of web application programming to read,
handle and commit session; imagine you have two concurrent requests
updates multiple keys with multiple ->set() call: the previous
implmentation would update one key from a request and another key from
another. That said, we *might* still need some kind of locking if we
want to provide stricter race condition guard for concurrent requests
with the identical session ids.
Deprecated lots of methods like ->persist, ->delete,
->get_session_id_from_request and changed the API params for ->fetch,
->store etc. Store modules need to be updated but the changes are not
so big.
Stevan Little [Thu, 7 Jan 2010 22:09:48 +0000]
0.03 release
Stevan Little [Thu, 7 Jan 2010 20:49:47 +0000]
Merge branch 'master' of git@github.com:stevan/plack-middleware-session
Stevan Little [Thu, 7 Jan 2010 20:49:28 +0000]
s/plack.session/psgix.session/
Tatsuhiko Miyagawa [Tue, 5 Jan 2010 09:02:54 +0000]
use lock_* for advisory locking
Stevan Little [Sat, 19 Dec 2009 19:21:25 +0000]
pre-0.02 commit
Tatsuhiko Miyagawa [Sat, 19 Dec 2009 18:08:29 +0000]
Do not destroy callback interface (clkao)
franck cuny [Sat, 19 Dec 2009 16:44:53 +0000]
fix typo
Stevan Little [Fri, 18 Dec 2009 15:31:50 +0000]
fixing the mis-named dependency
Stevan Little [Tue, 15 Dec 2009 18:55:43 +0000]
version 0.01
Stevan Little [Tue, 15 Dec 2009 18:53:28 +0000]
update example to use Plack::Request->session, add docs about where we store session
Stevan Little [Mon, 14 Dec 2009 04:24:44 +0000]
Adding some additional docs and VERSION, AUTHORITY stuff
Stevan Little [Mon, 14 Dec 2009 02:52:51 +0000]
adding test for custom session subclass
Stevan Little [Sun, 13 Dec 2009 18:27:00 +0000]
adding in the dump_session method to the Store classes
Stevan Little [Sun, 13 Dec 2009 18:01:27 +0000]
allow session class to be configurable
Stevan Little [Sun, 13 Dec 2009 06:26:03 +0000]
doc cleanup
Masahiro Chiba [Sun, 13 Dec 2009 06:15:44 +0000]
remove Store::CHI
Masahiro Chiba [Sun, 13 Dec 2009 06:06:51 +0000]
add Store::Cache
Stevan Little [Sun, 13 Dec 2009 05:30:42 +0000]
adding the validation step into the docs
Stevan Little [Sun, 13 Dec 2009 05:24:36 +0000]
refactoring chiba++ commit so we only extract session id once
Masahiro Chiba [Sun, 13 Dec 2009 04:01:42 +0000]
no temporary variable
Masahiro Chiba [Sun, 13 Dec 2009 03:44:04 +0000]
s/check/validate/
Masahiro Chiba [Sun, 13 Dec 2009 03:36:46 +0000]
oops
Masahiro Chiba [Sun, 13 Dec 2009 03:35:23 +0000]
check wrong format request session_id
Tatsuhiko Miyagawa [Sun, 13 Dec 2009 03:40:10 +0000]
inflate store/state with strings like "store => 'File'" with autoloading.
Tatsuhiko Miyagawa [Sun, 13 Dec 2009 03:08:32 +0000]
use TMPDIR env if it's defined in Store::File
Stevan Little [Sun, 13 Dec 2009 02:12:19 +0000]
bunch more docs
Stevan Little [Sun, 13 Dec 2009 01:20:37 +0000]
forgot to rename psgix.session to plack.session in the example
Stevan Little [Sun, 13 Dec 2009 01:11:42 +0000]
improved Store::File based on stuff in Store::CHI, ... added Store::Null and tests
Masahiro Chiba [Sat, 12 Dec 2009 22:52:04 +0000]
make temporary directory by myself
Masahiro Chiba [Sat, 12 Dec 2009 22:49:27 +0000]
add test for Store::CHI
Stevan Little [Sun, 13 Dec 2009 00:43:30 +0000]
to make git include the t/tmp dir
Stevan Little [Sat, 12 Dec 2009 21:50:41 +0000]
rename psgix.session to plack.session
Stevan Little [Sat, 12 Dec 2009 21:38:28 +0000]
re-usable test suite and Store::File added
Stevan Little [Sat, 12 Dec 2009 18:23:47 +0000]
rename dist to Plack::Middleware::Session for consistency
Stevan Little [Sat, 12 Dec 2009 17:01:23 +0000]
adding Makefile.PL, Changes, README and such
Stevan Little [Sat, 12 Dec 2009 16:55:24 +0000]
docs, docs and more docs
Stevan Little [Sat, 12 Dec 2009 16:05:57 +0000]
tests for State::Cookie
Stevan Little [Sat, 12 Dec 2009 15:28:47 +0000]
preliminary docs added, improved support for subclassing and sid_generator callback for ::State
Masahiro Chiba [Sat, 12 Dec 2009 09:07:55 +0000]
add CHI store
Tatsuhiko Miyagawa [Sat, 12 Dec 2009 06:38:17 +0000]
kill the debug lines
Tatsuhiko Miyagawa [Sat, 12 Dec 2009 06:34:40 +0000]
Fixed I generation to use SHA1 instead of sequential. Added sane defaults to Middleware.
Stevan Little [Sat, 12 Dec 2009 02:26:07 +0000]
Middleware added, cookie state added, and example psgi app
Stevan Little [Fri, 11 Dec 2009 01:10:27 +0000]
as minimalist as I could possibly be