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
Michael Snoyman
307540fc04
GHC 7.6.2
2013-04-09 06:43:30 +03:00
Greg Weber
8429a66ad8
not authenticated returns 401, not 403
2013-04-03 07:47:32 -07:00
Michael Snoyman
e663e84caf
Deprecate setHeader, provide addHeader #524
2013-04-03 17:28:44 +03:00
Greg Weber
18be9bc206
accept header content negotiation
...
* look at wildcards */* and main/*
* return a 406 when nothing matches the accept header
2013-04-02 08:39:56 -07:00
Michael Snoyman
6d98103115
Generalized sendChunk* functions
2013-03-27 09:46:10 +02:00
Michael Snoyman
ae65603c4b
Generalize streaming functions
2013-03-24 22:11:59 +02:00
Michael Snoyman
f3b459e9ce
respond
2013-03-22 10:33:33 +02:00
Michael Snoyman
c16184eb40
Type-specialized versions of sendChunk
2013-03-21 11:42:20 +02:00
Michael Snoyman
968b96e0b1
sendChunk/sendFlush
2013-03-21 08:42:10 +02:00
Michael Snoyman
ff3eb746f1
Added some docs
2013-03-21 08:30:09 +02:00
Michael Snoyman
8c45b2709f
respondSource
2013-03-20 13:49:43 +02:00