Commit graph

45 commits

Author SHA1 Message Date
Eitaro Fukamachi
e004344f37 Fix the test of Lack.Request for the latest http-body. 2019-08-29 16:10:17 +09:00
Eitaro Fukamachi
6fdfec6112 Fix a symbol conflict in test. 2018-10-26 23:05:01 +09:00
Matthew Stickney
50c4f1bbbb Add test for session expiration in delayed response. 2018-08-01 14:24:12 -04:00
Eitaro Fukamachi
e98d629115 Use clack.test:localhost to test a lack app. 2018-01-09 17:21:17 +09:00
Eitaro Fukamachi
ac7e7eff66 Fix a test of lack.request. Body parameters would be ignored if Content-Length is NIL. 2018-01-09 17:16:19 +09:00
Eitaro Fukamachi
824436ac3c Add tests for lack-request. 2016-12-03 15:38:48 +09:00
Eitaro Fukamachi
6159d4a5ff Add lack.util.writer-stream for treating delayed responding writer as a stream. 2016-09-27 12:35:57 +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
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
524f4c3fe1 Add tests for Lack.Session.Store.Redis. 2016-02-09 22:50:40 +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
114b513c89 Add tests for serializing/deserializing UTF-8 sessions in DBI. 2015-11-19 18:02:26 +09:00
Eitaro Fukamachi
13677d3ad2 Fix not to expire sessions permanently (fixes #13). 2015-10-09 14:11:44 +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
0d4c0a1ad8 Don't send Set-Cookie header if the cookie already exists. 2015-09-26 14:52:27 +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
Rudolph-Miller
5f2ffe52fe add test of lack.middleware.mount. 2015-06-11 22:18:40 +09:00
Eitaro Fukamachi
8b528cb0c0 Fix an error of lack.middleware.static in a case that the path-info contains some special characters like '?'.
This fixes fukamachi/clack#111.
2015-06-03 13:20:02 +09:00
Andrey Kutejko
823216ac40 allow session middleware to wrap delayed response 2015-05-28 13:15:52 +03:00
Eitaro Fukamachi
5ff6ffb919 Add more tests of lack-builder, mainly for old Clack middlewares. 2015-03-24 16:19:19 +09:00
Eitaro Fukamachi
10e2960413 Fix a number of test plan. 2015-03-24 16:14:24 +09:00
Eitaro Fukamachi
735cb1eee6 Add a test for inline middlewares in builder. 2015-03-24 16:08:28 +09:00
Eitaro Fukamachi
04126dbc2b Fix a warning of setting undeclared variable 'session'. 2015-03-24 16:02:03 +09:00
Eitaro Fukamachi
55fec82eda Add more tests of lack-middleware-backtrace. 2015-03-24 15:52:43 +09:00
Eitaro Fukamachi
07fb0fc836 Add tests of lack-component. 2015-03-24 15:38:18 +09:00
Eitaro Fukamachi
127aa16e32 Add tests of lack-util. 2015-03-22 22:13:21 +09:00
Eitaro Fukamachi
d4ef9abc2e Add more tests of lack-middleware-static. 2015-03-22 22:13:21 +09:00
Eitaro Fukamachi
06d0021da7 Add a test for lack.session.state. 2015-03-22 22:13:21 +09:00
Rudolph-Miller
7236640a1c accesslog with response which body is vector. 2015-03-22 21:42:44 +09:00
Eitaro Fukamachi
0acf96a5c1 Add tests of lack-session-store-dbi. 2015-03-22 16:00:20 +09:00
Eitaro Fukamachi
d08b5ca99f Add tests of lack-middleware-accesslog. 2015-03-22 15:20:22 +09:00
Eitaro Fukamachi
c40a08f895 Add tests of lack-middleware-backtrace. 2015-03-22 15:12:17 +09:00
Eitaro Fukamachi
ec22fa208f Test without HTTP requests. 2015-03-22 14:30:53 +09:00
Eitaro Fukamachi
d8c8c2b38e Fix indentations. 2015-03-22 11:18:32 +09:00
Rudolph-Miller
adba550711 fix bug with conditional middleware 2015-03-22 02:33:54 +09:00
Eitaro Fukamachi
aa55f761a0 Fix lack.builder to be able to specify a middleware identifier in hyphenated keywords. 2015-03-22 00:09:01 +09:00
Eitaro Fukamachi
0351d23d1b Add lack-middleware-auth-basic. 2015-03-22 00:07:11 +09:00
Eitaro Fukamachi
75a0286323 Fix tests of lack-middleware-csrf. 2015-03-21 01:41:40 +09:00
Eitaro Fukamachi
3b7c522907 Add lack.middleware.csrf. 2015-03-21 00:53:29 +09:00
Eitaro Fukamachi
3ab09b2f78 Add tests for lack.middleware.session. 2015-03-12 21:33:08 +09:00
Eitaro Fukamachi
b01231247e Fix a test. Hunchentoot adds 'charset=utf-8' by default. 2015-03-11 00:03:53 +09:00
Eitaro Fukamachi
3751d2ceda Add tests for lack.middleware.static. 2015-03-07 04:21:10 +09:00
Eitaro Fukamachi
1e58de2f84 Add tests for lack.builder. 2015-03-07 03:29:17 +09:00
Eitaro Fukamachi
6718359cba Initial commit. 2015-03-07 03:00:04 +09:00