Commit Graph

21 Commits

Author SHA1 Message Date
Michael Snoyman
33c39662b9 Reflect wai changes for #262 2012-07-11 15:58:36 +03:00
Michael Snoyman
d38e9a8c0a FileUploadSource (#262) 2012-07-02 11:21:02 +03:00
Michael Snoyman
8fac4917b5 FileUpload (#358) 2012-07-02 11:15:02 +03:00
Michael Snoyman
ec62f6f68c nonce -> token (#214) 2012-03-16 06:39:30 +02:00
Luite Stegeman
3775552d87 improve nonce key code as per @gregwebs' suggestion 2012-03-13 11:19:16 +01:00
Luite Stegeman
b5b27f2b15 Make session storage configurable 2012-02-10 19:22:31 +01:00
Michael Snoyman
fec0d42827 lookupSessionBS/setSessionBS (#235) 2012-01-24 18:43:30 +02:00
Michael Snoyman
8ba59eac43 Two letter language codes (#195) 2012-01-07 19:02:28 +02:00
Björn Buckwalter
39ef74cb10 Altered nonce comment (modeled after encryptKey).
I note that for `key' == Nothing` it should probably hold that
`session' == []` as implemented in defaultYesodRunner, so perhaps the
comment regarding ignoring pre-existing `nonceKey` is redundant. But
a custom `yesodRunner` could arguably violate this invariant(?).
2011-09-21 22:31:59 +08:00
Björn Buckwalter
4d1ea8520a Revert 33ee15d56f.
Revert to the older faster toChar. I would have just removed the
old commit from history but it seems that would call for a rebase
which I hear is a bad idea in a public branch. Thus this commit.
2011-09-21 21:53:57 +08:00
Björn Buckwalter
5cec074cfb Harmonize reqCookie and acceptLang. 2011-09-17 01:19:03 +08:00
Björn Buckwalter
09017eb29a Clearer language prioritization code. 2011-09-17 01:02:26 +08:00
Björn Buckwalter
33ee15d56f Shorter more readable toChar. 2011-09-17 00:43:16 +08:00
Björn Buckwalter
4ed740724e Yesod.Internal.TestApi exports internals for tests 2011-09-17 00:13:26 +08:00
Björn Buckwalter
b83029dc36 Add test suite for Yesod.Internal.Request. 2011-09-16 21:39:57 +08:00
Björn Buckwalter
817ab988e0 Comment explaining the behavior of nonce.
Someone should confirm that this the intended behavior!
2011-09-16 12:01:15 +08:00
Björn Buckwalter
4d55332afc Break out randomString for testing in isolation. 2011-09-16 11:44:03 +08:00
Björn Buckwalter
884c363ebf Pure and testable parseWaiRequest. 2011-09-16 11:43:01 +08:00
Björn Buckwalter
ffefbb41b9 Aestetic reordering of composed functions. 2011-09-15 15:13:54 +08:00
Björn Buckwalter
864abd6ed1 Clean up nonce generation. 2011-09-12 00:16:01 +08:00
Michael Snoyman
2dc10de435 Add 'yesod-core/' from commit '982d6185bee75b078bee92bd8a2e8743707f1922'
git-subtree-dir: yesod-core
git-subtree-mainline: cd5ee0fb12
git-subtree-split: 982d6185be
2011-07-22 08:59:56 +03:00