Mikkel Christiansen
50c4138a5c
Take hlint suggestions.
2016-06-28 08:28:23 +02:00
Mikkel Christiansen
cc134b93de
Remove compiler warnings for unused var and unused imports.
2016-06-27 19:47:55 +02:00
Maximilian Tagher
5a5cfd6c7a
Bump version for CSRF logging changes, and improve error message.
2016-03-28 23:36:31 -07:00
Maximilian Tagher
28fbaae268
Log a warning when a CSRF error occurs
...
* Closes #1192
2016-03-28 23:35:27 -07:00
Michael Snoyman
da4948592d
Version bump
2016-03-29 09:14:02 +03:00
Murray
9dbcc95c3f
remove single message deprecated directives
2016-03-18 09:17:57 +00:00
Murray
a15070709d
allow more than one session message and add statuses
2016-03-16 18:14:40 +00:00
Sajith Sasidharan
93da4f060e
Minor doc patch - sendStatusJSON is since 1.4.18
...
I'm sure this is trivially obvious. :-)
Commit 6a60dac introduced `sendStatusJSON` on Nov 25, 2015; yesod-core 1.4.18 was uploaded to hackage on Dec 17.
2016-03-06 18:22:51 -05:00
Michael Snoyman
cf5a390cad
Add _token parameter to redirectToPost #1151
2016-01-24 14:37:44 +02:00
Ross MacLeod
1fb53dfa9e
#1142 make sendStatusJSON fully polymorphic in its return type, since it never returns
2016-01-12 11:32:20 -05:00
mrkkrp
15c1573538
‘checkCsrfHeaderNamed’ → ‘checkCsrfParamNamed’
...
Also removed trailing whitespace. Actual typo fix is on line 1318.
2015-12-11 23:00:01 +06:00
Chris Allen
ae1015b628
shorter name
2015-11-25 23:01:49 -06:00
Chris Allen
6a60dac366
JSON-specific sendResponseStatus
2015-11-25 14:49:53 -06:00
David Turner
5b4d5ced3b
Move auto-updater into YesodRunnerEnv
2015-10-10 15:58:39 +00:00
Mikkel Christiansen
a47ceec445
GHC 7.10 import warnings removed from yesod-core.
2015-08-26 14:52:39 +02:00
Maximilian Tagher
33982b2112
Add CSRF protection functions/middleware that support AJAX requests
2015-08-17 16:52:39 -07:00
Andrew Martin
c4d154b512
Added getsYesod
2015-07-23 13:29:16 -04:00
Andrew Martin
b88295cf05
stop the module import cycle
2015-06-05 13:20:03 -04:00
Andrew Martin
92aa58dee5
Make stripHandlerT and subHelper available for public use
2015-06-05 08:07:37 -04:00
Michael Snoyman
56d4b8c3ee
Version bump
2015-03-26 14:52:36 +02:00
Aleksey Uimanov
79dc6c33b9
add lookupBasicAuth and lookupBearerAuth functions
2015-03-26 17:19:53 +05:00
Thomas Dziedzic
6398206b8f
fix documentation spelling
2015-01-06 21:10:12 -08:00
Michael Snoyman
09df930de3
monad-control 1.0
2014-12-17 17:58:19 +02:00
David Turner
42f098ff64
neverExpires sets 'Expires' header to be a year from now.
2014-11-21 17:40:32 +00:00
Michael Snoyman
9a4348a0e3
Improve etag supported fpco/stackage-server#29 #868 #869
2014-11-19 11:03:55 +02:00
Michael Snoyman
b38abdba0f
notModified and setEtag
2014-11-15 20:31:27 +02:00
Greg Weber
f18d0a8bac
TypeCache typo and module exposure
2014-09-20 20:57:27 -07:00
Greg Weber
00b5781ec5
add cachedBy, like cached but adds a key
...
re-factored to a base implementation with
no Yesod dependencies in TypeCache.hs
2014-09-20 14:34:10 -07:00
Michael Snoyman
ccab062f2d
Remove all conditional compilation for Yesod 1.4 release
...
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
1e76a28f6d
withUrlRenderer
2014-08-31 02:24:08 +03:00
Yuriy Syrovetskiy
13243aba54
typo
2014-07-25 19:07:01 +04:00
Michael Snoyman
f92cdd5c41
sendWaiApplication
2014-06-15 15:48:57 +03:00
Michael Snoyman
82de52e3d2
Various additional WAI 3.0 fixes
2014-05-22 21:04:28 +03:00
Michael Snoyman
71263ae047
Initial WAI 3.0 support, one test still failing
2014-05-22 20:17:29 +03:00
Michael Snoyman
60b4684119
Drop usage of failure
2014-03-26 10:38:51 +02:00
Felipe Lessa
ddf64c1481
Helper data type for redirecting with fragment identifiers.
2014-03-19 19:52:17 -03:00
Michael Snoyman
c36dbf9302
Add missing import
2014-03-12 06:50:33 +02:00
Greg Weber
4b8cb247ce
add forkHandler. closes #680
...
Also fix import warnings in Handler
2014-03-11 18:33:45 -07:00
Greg Weber
8535f19583
use fewer imports
2014-03-11 17:14:24 -07:00
Michael Snoyman
56e42936b0
sendRawResponse
2014-03-06 16:34:27 +02:00
Greg Weber
f20c236d50
add cache-control to neverExpires
2014-02-03 16:33:29 -08:00
Michael Snoyman
d4998d2246
Temp file upload changes in wai-extra 2.0.1 #630
2013-12-13 06:45:40 +02:00
Michael Snoyman
cf0fad20bc
Merge branch 'master' of github.com:yesodweb/yesod
2013-12-03 12:34:55 +02:00
Michael Snoyman
cca38cfe03
Expand prefix on generated identifiers #625
2013-12-03 12:01:11 +02:00
Michael Snoyman
d34c3f26dc
WAI 2.0 updates
2013-11-10 16:49:26 +02:00
Michael Snoyman
366127527a
Fix some CPP
2013-08-19 13:20:44 +03:00
Michael Snoyman
2d0f560bea
wai 2.0
2013-08-19 12:51:54 +03:00
Michael Snoyman
772563c46b
lookupHeader/lookupHeaders
2013-05-30 08:31:24 +03:00
Michael Snoyman
44c5b03a6e
Deprecate hamletToRepHtml
2013-05-19 19:33:48 +03:00
Felipe Lessa
5c434b089a
Rewrite handlerToIO so that it works with Yesod 1.2.
...
Since the new YesodRequest has strict fields, handlerToIO didn't
work at all. Even if it did, it had a reference to its parent's
ResourceT's internal state, so its chances of blowing up were
quite high.
The new implementation takes a whitelist approach of taking what
we want instead of clearing what we do not want. Also, it takes
care of using a new runResourceT.
2013-05-03 21:20:31 -03:00