Commit graph

  • 3704025324
    fix typo patch-1 Valentin Boettcher 2019-10-04 14:46:59 +02:00
  • 65bad8e0a1
    Set a default content type. Valentin Boettcher 2019-10-04 13:35:50 +02:00
  • 0bb74d0610 Fix the style warnings and an error of generate-env in Lack.Test. master Eitaro Fukamachi 2019-08-29 16:21:08 +09:00
  • 69512a4867 Don't run tests on ECL, CLISP and ABCL. Eitaro Fukamachi 2019-08-29 16:20:51 +09:00
  • e004344f37 Fix the test of Lack.Request for the latest http-body. fix/39-request-without-content-type Eitaro Fukamachi 2019-08-29 16:10:17 +09:00
  • 06bfefe2d3 Make :content-type optional. Eitaro Fukamachi 2019-08-29 16:09:55 +09:00
  • a6d0a11ca3 Fix Lack.Request not to raise an error when there's the request body without Content-Type header. (fixes #39) Eitaro Fukamachi 2019-08-29 15:57:49 +09:00
  • 8ddb653007 Make generate-env allow to take :COOKIES key argument. fix/lack-test-cookies Eitaro Fukamachi 2019-03-18 17:01:19 +09:00
  • 3d21b5b622 Merge branch 'cxxxr-fix-csrf-token-check' Eitaro Fukamachi 2019-03-18 16:16:03 +09:00
  • 805c0b99c0 Replace 'string=' by 'equal' for preventing from TYPE-ERROR when it's other than a string. Eitaro Fukamachi 2019-03-18 16:15:17 +09:00
  • 023444ea8f fix csrf token check cxxxr 2019-03-18 16:09:11 +09:00
  • abff8efeb0
    Merge pull request #37 from knobo/master Eitaro Fukamachi 2018-11-09 19:13:09 +09:00
  • efb03abf2d Responce could also be a pathname Knut Olav Bøhmer 2018-11-09 10:19:58 +01:00
  • 6fdfec6112 Fix a symbol conflict in test. Eitaro Fukamachi 2018-10-26 23:05:01 +09:00
  • 4dae26e752 Fix lack.test's request to work in case when 'content' is not a cons. Eitaro Fukamachi 2018-10-26 22:49:35 +09:00
  • 2a9fc540cf Set body-parameters only when the parsed data is an alist. Eitaro Fukamachi 2018-10-26 22:41:54 +09:00
  • 4bd5dca97a Delete lack.test:response. Eitaro Fukamachi 2018-09-20 06:33:39 +09:00
  • 3365430862 Add 'testing-app' & 'request' for writing easily and support cookie-jar & redirection. Eitaro Fukamachi 2018-09-20 05:59:13 +09:00
  • a6962b1fb6 Make downcased strings in headers. Eitaro Fukamachi 2018-09-19 23:29:08 +09:00
  • 7bae407558 Decode URI in generate-env. Eitaro Fukamachi 2018-09-19 23:16:38 +09:00
  • 4fac568329 Allow 'content' of types other than alist in lack.test:generate-env. Eitaro Fukamachi 2018-09-19 22:53:39 +09:00
  • 17756b63fd
    Merge pull request #27 from mtstickney/delayed_session_control Eitaro Fukamachi 2018-09-05 10:56:11 +09:00
  • 74dfb10bfe
    Merge pull request #30 from TurtleWarePL/fix-unclosed-db Eitaro Fukamachi 2018-09-05 10:53:49 +09:00
  • d0e8add464
    Merge pull request #35 from fukamachi/fix/request-raw-body Eitaro Fukamachi 2018-09-03 18:01:27 +09:00
  • 96d08811e3 Replace ENV's raw-body by a circular-stream in lack.request:make-request in case when parsing more than twice. fix/request-raw-body Eitaro Fukamachi 2018-09-03 17:54:58 +09:00
  • 84472bc475 Finalize session state after running delayed responses. Matthew Stickney 2017-01-23 01:00:26 -05:00
  • 50c4f1bbbb Add test for session expiration in delayed response. Matthew Stickney 2017-01-23 00:53:55 -05:00
  • dee83e31f4
    Merge pull request #34 from slyrus/mime-lookup-2 Eitaro Fukamachi 2018-07-30 09:57:07 +09:00
  • b4ffadaa12 use mimes:mime-lookup instead of mimes:mime Cyrus Harmon 2017-08-21 16:04:55 -07:00
  • b2d8e03065 Merge branch 'master' of github.com:fukamachi/lack Eitaro Fukamachi 2018-07-24 14:43:14 +09:00
  • bde4285756 Change the default session key for CSRF token (Lack.Middleware.Csrf). Eitaro Fukamachi 2018-07-24 14:42:05 +09:00
  • 6809745e7a
    Merge pull request #33 from mtstickney/quicklisp_symbol_usage Eitaro Fukamachi 2018-07-20 15:35:26 +09:00
  • 6e2c315b32 Don't refer directly to symbols in systems we don't depend on. Matthew Stickney 2018-07-05 14:46:22 -04:00
  • 2c1c0df583 Change the option name of CSRF token to ':session-key'. Eitaro Fukamachi 2018-04-12 17:23:32 +09:00
  • 9ae2c5df7c Allow to change the key of CSRF token in a session. Eitaro Fukamachi 2018-04-12 17:20:55 +09:00
  • 23c372594b
    Merge pull request #31 from 40ants/uri-scheme-for-request Eitaro Fukamachi 2018-01-09 18:04:18 +09:00
  • 04bc3a37a9 Add :sqlite as a dependency to t-lack-session-store-dbi. Eitaro Fukamachi 2018-01-09 17:36:00 +09:00
  • f8354ed740 Add :hunchentoot as a dependency for clack.test. Eitaro Fukamachi 2018-01-09 17:30:59 +09:00
  • e98d629115 Use clack.test:localhost to test a lack app. Eitaro Fukamachi 2018-01-09 17:21:17 +09:00
  • ac7e7eff66 Fix a test of lack.request. Body parameters would be ignored if Content-Length is NIL. Eitaro Fukamachi 2018-01-09 17:16:19 +09:00
  • 3a4827e62d Now request object has slot uri-scheme, accessible as request-uri-scheme. Alexander Artemenko 2018-01-06 16:36:28 +03:00
  • 67f6d4dc9e Bugfix: make it possible to close the DB connection Tomek Kurcz 2017-11-28 14:05:40 +01:00
  • 19b9f1baa3 Do not parse raw-body if there's no Content-Length or Transafer-Encoding isn't chunked. Eitaro Fukamachi 2017-07-07 11:53:22 +09:00
  • 824436ac3c Add tests for lack-request. Eitaro Fukamachi 2016-12-03 15:38:48 +09:00
  • be1a4b5434 Revert "Use sblint-reviewdog." reviewdog2 Eitaro Fukamachi 2016-10-28 10:11:44 +09:00
  • 3e55b0e077 Add a stupid code. Eitaro Fukamachi 2016-10-28 09:54:20 +09:00
  • d5a346d6c3 Use sblint-reviewdog. Eitaro Fukamachi 2016-10-28 09:54:17 +09:00
  • ae77300db5 Tweak .travis.yml. reviewdog Eitaro Fukamachi 2016-10-28 09:16:21 +09:00
  • becdc0afa4 Use sblint-reviewdog script. Eitaro Fukamachi 2016-10-28 00:53:46 +09:00
  • b5014592f7 Use sblint-for-ci.sh. Eitaro Fukamachi 2016-10-27 17:31:09 +09:00
  • 619e1f31fd Fix the -efm and quote the line. Eitaro Fukamachi 2016-10-27 17:11:59 +09:00
  • a7f8f647e9 Fix -efm. Eitaro Fukamachi 2016-10-27 17:01:58 +09:00
  • 715c829ef4 Fix the efm. Eitaro Fukamachi 2016-10-27 16:56:21 +09:00
  • ff6119d37b Don't run sblint in before_script. Perhaps the pwd isn't at the project directory. Eitaro Fukamachi 2016-10-27 16:29:38 +09:00
  • fd8b0d0809 sblint -v Eitaro Fukamachi 2016-10-27 16:23:37 +09:00
  • 954d2dac73 Verbose option for SBLint. Eitaro Fukamachi 2016-10-27 11:39:08 +09:00
  • 714381f48a Disable caching. Eitaro Fukamachi 2016-10-27 04:50:05 +09:00
  • c6fb6e10f3 Run reviewdog. Eitaro Fukamachi 2016-10-27 04:15:37 +09:00
  • 2eccbdbc12 Add a stupid code for testing reviewdog. Eitaro Fukamachi 2016-10-27 03:35:44 +09:00
  • 2b09c189f0 Enable reviewdog. Eitaro Fukamachi 2016-10-27 02:56:47 +09:00
  • 32358fdad0 Add request-content for getting the whole request body from raw-body. circular-raw-body Eitaro Fukamachi 2016-10-17 20:27:32 +09:00
  • 3940e86e8e Use circular-streams for wrapping raw-body. Eitaro Fukamachi 2016-10-17 10:35:33 +09:00
  • 4e3dd0b4a8 Add stream-element-type for writer-stream. Eitaro Fukamachi 2016-09-28 16:45:30 +09:00
  • c8b6b003d4 Mention Lack.Util.Writer-Stream in README. Eitaro Fukamachi 2016-09-27 14:12:54 +09:00
  • 8c6ba6f41d Delete a dependency of lack.util on Alexandria. writer-stream Eitaro Fukamachi 2016-09-27 12:36:36 +09:00
  • 6159d4a5ff Add lack.util.writer-stream for treating delayed responding writer as a stream. Eitaro Fukamachi 2016-09-27 12:35:57 +09:00
  • 82dd7c4b24 Change Lack.Response to add 'body' when it exists even if it doesn't at first. Eitaro Fukamachi 2016-09-24 02:25:48 +09:00
  • 2ddd6089d4 Mention :start and :end keyword of 'writer' function for streaming. Eitaro Fukamachi 2016-09-24 02:25:17 +09:00
  • 92848f6dde Merge pull request #23 from fukamachi/fix-response-no-body Eitaro Fukamachi 2016-09-23 02:10:08 +09:00
  • 3ef262381f The latest Clack & Jonathan are not necessary anymore. fix-response-no-body Eitaro Fukamachi 2016-09-22 21:46:05 +09:00
  • 1db8798811 Fix lack.response not to add NIL as the body when only 2 values are given to make-response. Eitaro Fukamachi 2016-09-22 21:33:23 +09:00
  • b5fa81bb85 Add :url-scheme to the README. Eitaro Fukamachi 2016-09-02 10:47:12 +09:00
  • ca42dd7b41 Merge pull request #19 from fukamachi/session-store-dbi-timestamps Eitaro Fukamachi 2016-08-23 22:11:25 +09:00
  • 17d15c7102 Add :record-timestamps to dbi-store for recording created_at & updated_at. Eitarow Fukamachi 2016-08-23 22:01:50 +09:00
  • ac68b5c167 Merge pull request #18 from fukamachi/original-session-cookie-key Eitaro Fukamachi 2016-08-16 13:31:55 +09:00
  • 618435d8ed Allow to change the cookie key of Lack Session (the default is 'lack.session') original-session-cookie-key Eitarow Fukamachi 2016-08-16 13:05:13 +09:00
  • 54a1a8f7ea Fix a test of lack.session.store.redis. Eitaro Fukamachi 2016-02-11 21:44:04 +09:00
  • 9ff8959571 Stop executing a meaningless UPDATE query when the session isn't changed. tweak-session Eitaro Fukamachi 2016-02-11 21:35:17 +09:00
  • d06ba3737c Add default keys to lack.session.options. Eitaro Fukamachi 2016-02-11 21:34:56 +09:00
  • 524f4c3fe1 Add tests for Lack.Session.Store.Redis. Eitaro Fukamachi 2016-02-09 22:50:40 +09:00
  • 6a07817137 Update .travis.yml. lack-session-store-redis Eitaro Fukamachi 2016-02-09 22:22:34 +09:00
  • 7ab8ac79e6 Add lack.session.store.redis for storing session data in Redis. Eitaro Fukamachi 2016-02-09 21:55:31 +09:00
  • 0ec31a24a6 Suppress loading messages in find-package-or-load. Eitaro Fukamachi 2016-02-08 16:17:46 +09:00
  • 1c6f0f7ebc Merge pull request #17 from PuercoPop/patch-1 Eitaro Fukamachi 2016-01-23 12:08:04 +09:00
  • 95b0679252 Correct response format Javier Olaechea 2016-01-18 16:34:13 -05:00
  • c50562b144 Change the build status badge. Eitaro Fukamachi 2015-11-19 19:32:44 +09:00
  • 1905bfb718 Merge pull request #16 from fukamachi/fix-session-store-dbi Eitaro Fukamachi 2015-11-19 19:28:02 +09:00
  • 4f07c50b6c Fix an error when storing UTF-8 data to DBI session store. Eitaro Fukamachi 2015-11-19 18:05:04 +09:00
  • 114b513c89 Add tests for serializing/deserializing UTF-8 sessions in DBI. Eitaro Fukamachi 2015-11-19 18:02:26 +09:00
  • 3a74575651 Show warnings when deserializing a session failed. Eitaro Fukamachi 2015-11-19 18:02:07 +09:00
  • 783fd017e5 Merge pull request #15 from farmerpat/readme_update Eitaro Fukamachi 2015-11-08 14:29:52 +09:00
  • bb470b23fa clarify README example Patrick Connelly 2015-11-07 23:19:17 -05:00
  • 6abe0323ab Merge pull request #14 from mtstickney/fix_session_leak Eitaro Fukamachi 2015-10-10 05:28:29 +09:00
  • 760d065e51 Don't leak sessions when changing session id. Matthew Stickney 2015-10-08 23:29:24 -04:00
  • 13677d3ad2 Fix not to expire sessions permanently (fixes #13). fix-session-expire Eitaro Fukamachi 2015-10-09 14:07:23 +09:00
  • e28c6dc34b Merge pull request #12 from fukamachi/session-keep-empty Eitaro Fukamachi 2015-09-26 19:14:28 +09:00
  • d4cdb5315d Add :keep-empty option to Lack.Middleware.Session for preventing from sending Set-Cookie header until the session is used. session-keep-empty Eitaro Fukamachi 2015-09-26 15:45:38 +09:00
  • 8d6fe23e38 Merge pull request #11 from fukamachi/efficient-session Eitaro Fukamachi 2015-09-26 15:26:37 +09:00
  • 0d4c0a1ad8 Don't send Set-Cookie header if the cookie already exists. efficient-session Eitaro Fukamachi 2015-09-26 14:52:27 +09:00
  • d49b740a33 Add :new-session t to lack.session.options if no session is stored yet. Eitaro Fukamachi 2015-09-26 14:23:55 +09:00