Commit graph

175 commits

Author SHA1 Message Date
Eitaro Fukamachi
3ef262381f The latest Clack & Jonathan are not necessary anymore. 2016-09-23 01:14:55 +09:00
Eitaro Fukamachi
1db8798811 Fix lack.response not to add NIL as the body when only 2 values are given to make-response. 2016-09-23 01:14:55 +09:00
Eitaro Fukamachi
b5fa81bb85 Add :url-scheme to the README. 2016-09-02 10:47:26 +09:00
Eitaro Fukamachi
ca42dd7b41 Merge pull request #19 from fukamachi/session-store-dbi-timestamps
Add :record-timestamps to dbi-store
2016-08-23 22:11:25 +09:00
Eitarow Fukamachi
17d15c7102 Add :record-timestamps to dbi-store for recording created_at & updated_at. 2016-08-23 22:01:50 +09:00
Eitaro Fukamachi
ac68b5c167 Merge pull request #18 from fukamachi/original-session-cookie-key
Allow to change the cookie key of Lack Session
2016-08-16 13:31:55 +09:00
Eitarow Fukamachi
618435d8ed Allow to change the cookie key of Lack Session (the default is 'lack.session') 2016-08-16 13:13:34 +09:00
Eitaro Fukamachi
54a1a8f7ea Fix a test of lack.session.store.redis. 2016-02-11 21:44:04 +09:00
Eitaro Fukamachi
9ff8959571 Stop executing a meaningless UPDATE query when the session isn't changed. 2016-02-11 21:35:17 +09:00
Eitaro Fukamachi
d06ba3737c Add default keys to lack.session.options. 2016-02-11 21:34:56 +09:00
Eitaro Fukamachi
524f4c3fe1 Add tests for Lack.Session.Store.Redis. 2016-02-09 22:50:40 +09:00
Eitaro Fukamachi
6a07817137 Update .travis.yml. 2016-02-09 22:22:34 +09:00
Eitaro Fukamachi
7ab8ac79e6 Add lack.session.store.redis for storing session data in Redis. 2016-02-09 22:05:37 +09:00
Eitaro Fukamachi
0ec31a24a6 Suppress loading messages in find-package-or-load. 2016-02-08 16:18:16 +09:00
Eitaro Fukamachi
1c6f0f7ebc Merge pull request #17 from PuercoPop/patch-1
Correct response format
2016-01-23 12:08:04 +09:00
Javier Olaechea
95b0679252 Correct response format
A Clack response may be a bye vector not a list of them
2016-01-18 16:34:13 -05:00
Eitaro Fukamachi
c50562b144 Change the build status badge. 2015-11-19 19:32:44 +09:00
Eitaro Fukamachi
1905bfb718 Merge pull request #16 from fukamachi/fix-session-store-dbi
Fix lack-session-store-dbi to allow UTF-8 data
2015-11-19 19:28:02 +09:00
Eitaro Fukamachi
4f07c50b6c Fix an error when storing UTF-8 data to DBI session store. 2015-11-19 18:05:04 +09:00
Eitaro Fukamachi
114b513c89 Add tests for serializing/deserializing UTF-8 sessions in DBI. 2015-11-19 18:02:26 +09:00
Eitaro Fukamachi
3a74575651 Show warnings when deserializing a session failed. 2015-11-19 18:02:07 +09:00
Eitaro Fukamachi
783fd017e5 Merge pull request #15 from farmerpat/readme_update
clarify README example
2015-11-08 14:29:52 +09:00
Patrick Connelly
bb470b23fa clarify README example 2015-11-07 23:19:17 -05:00
Eitaro Fukamachi
6abe0323ab Merge pull request #14 from mtstickney/fix_session_leak
Don't leak sessions when changing session id.
2015-10-10 05:28:29 +09:00
Matthew Stickney
760d065e51 Don't leak sessions when changing session id.
Previously COMMIT was generating a new id for the session but not
communicating it to the caller, so when FINALIZE-STATE was called it
resent the old id to the client and the session was lost (the leak).

Instead, generate the (possibly) new id in FINALIZE and pass it to
COMMIT and FINALIZE-STATE, which will send the new id to the client.
2015-10-09 13:32:59 -04:00
Eitaro Fukamachi
13677d3ad2 Fix not to expire sessions permanently (fixes #13). 2015-10-09 14:11:44 +09:00
Eitaro Fukamachi
e28c6dc34b Merge pull request #12 from fukamachi/session-keep-empty
Add :keep-empty option to Lack.Middleware.Session for preventing from sending Set-Cookie header until the session is used.
2015-09-26 19:14:28 +09:00
Eitaro Fukamachi
d4cdb5315d Add :keep-empty option to Lack.Middleware.Session for preventing from sending Set-Cookie header until the session is used. 2015-09-26 15:45:38 +09:00
Eitaro Fukamachi
8d6fe23e38 Merge pull request #11 from fukamachi/efficient-session
Send Set-Cookie header only when it's necessary
2015-09-26 15:26:37 +09:00
Eitaro Fukamachi
0d4c0a1ad8 Don't send Set-Cookie header if the cookie already exists. 2015-09-26 14:52:27 +09:00
Eitaro Fukamachi
d49b740a33 Add :new-session t to lack.session.options if no session is stored yet. 2015-09-26 14:25:02 +09:00
Eitaro Fukamachi
0cc7f9fb98 Fix the indentation in lack.middleware.session.state.cookie. 2015-09-26 14:14:36 +09:00
Eitaro Fukamachi
e25965ec60 Replace cl-fad by UIOP. 2015-08-27 08:01:51 +09:00
Eitaro Fukamachi
a8e8a70333 Delete circle.yml. 2015-08-20 03:15:14 +09:00
Eitaro Fukamachi
fd0ca964ae Fix lack-middleware-backtrace and tests of lack-middleware-static for CLISP support. 2015-08-20 02:57:13 +09:00
Eitaro Fukamachi
0e13680199 Stop testing with CMUCL. 2015-08-20 02:38:27 +09:00
Eitaro Fukamachi
b0ac0906ce Skip tests of lack-session-store-dbi on ECL and CLISP. 2015-08-20 02:37:37 +09:00
Eitaro Fukamachi
380d6b8f65 Move to Travis CI and add impls to run tests. 2015-08-20 02:18:25 +09:00
Eitaro Fukamachi
41e8eb51e5 Fix the branch of build status badge to 'master'. 2015-06-30 11:29:19 +09:00
Eitaro Fukamachi
870f1ef181 Change the build status badge. 2015-06-16 15:16:27 +09:00
Eitaro Fukamachi
86bc8683a1 Stop using Travis CI. 2015-06-16 15:13:25 +09:00
Eitaro Fukamachi
b8470a92e6 Use the master branch of cl-coveralls. 2015-06-16 15:07:26 +09:00
Eitaro Fukamachi
866828631f Report coverage to Coveralls from CircleCI. 2015-06-16 14:39:48 +09:00
Eitaro Fukamachi
2873156d6c Use Travis CI to report coverage to Coveralls. 2015-06-16 05:57:59 +09:00
Eitaro Fukamachi
74ad7c85ae Tweak .travis.yml and circle.yml. 2015-06-16 03:52:49 +09:00
Eitaro Fukamachi
c8b7318ee6 use run-prove command on CircleCI. 2015-06-16 03:44:26 +09:00
Eitaro Fukamachi
c4c37dced0 Use run-prove command to test. 2015-06-16 03:41:59 +09:00
Eitaro Fukamachi
89d85aad36 Support coverage report in ./run-test.ros. 2015-06-16 03:28:44 +09:00
Eitaro Fukamachi
5fceea7d90 Use the official master branch of Roswell. 2015-06-16 03:04:22 +09:00
Eitaro Fukamachi
66d7a5af70 Stop using Qlot with Clozure CL because ros:exec doesn't work with it. 2015-06-16 03:03:42 +09:00