Commit Graph

185 Commits

Author SHA1 Message Date
Maximilian Tagher
e57b62235f Add more semigroups instances 2015-02-08 16:55:06 -08:00
Greg Weber
8086ca5d57 Semigroup instance for WidgetT 2015-02-08 14:09:10 -08:00
Michael Snoyman
85d4477f96 Remove defunct reference to SpecialResponse (fixes #925) 2015-02-08 07:15:16 +02:00
Thomas Dziedzic
6398206b8f fix documentation spelling 2015-01-06 21:10:12 -08:00
Michael Snoyman
b3754498ec Version bump 2014-12-20 18:25:15 +02:00
Patrick Boe
8b7c58f381 added functions to simplify application of an ssl-only policy to a site 2014-12-20 10:26:32 -05:00
Michael Snoyman
09df930de3 monad-control 1.0 2014-12-17 17:58:19 +02:00
Michael Snoyman
5f21c73d7d Changelog fix and typo correction 2014-11-30 07:39:40 +02:00
Greg Weber
05f2a7631c add Yesod.Core.Unsafe module 2014-11-29 17:45:56 -08:00
Michael Snoyman
9a64b1bdb0 MonadLoggerIO instances 2014-11-28 07:55:43 +02:00
Michael Snoyman
c95e74053b Version bump 2014-11-28 07:47:30 +02:00
patrick brisbin
21cd47cc98
Add envClientSessionBackend, ENV-based session key
This can be useful if:

1. You can't rely on a persistent file system (e.g. Heroku)
2. Your application is open source (e.g. you can't commit the key)

By keeping a consistent value in the environment variable, your users will
have consistent sessions without relying on the file system.

Usage:

    makeSessionBackend _ = fmap Just $ envClientSessionBackend 120 "SESSION_KEY"
2014-11-25 11:15:13 -05:00
Michael Snoyman
a65349612e Support time 1.5 2014-11-25 07:18:11 +02:00
Michael Snoyman
846033b176 Fix some haddocks 2014-11-23 18:54:50 +02:00
Michael Snoyman
f8b9a702b8 Add missing import 2014-11-23 12:13:25 +02:00
Michael Snoyman
0af76fa97b Only update expires time once per hour 2014-11-23 12:10:22 +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
Michael Snoyman
972e117005 More efficient token generation
Old code would create a new System.Random generator each time, which
requires going to the system entropy store. New code caches an
mwc-random gen at startup.
2014-10-20 10:34:38 +03:00
Michael Snoyman
3b310a7103 yesodWithInternalState 2014-10-07 07:42:02 +03:00
Greg Weber
7f775e1dde document cache key 2014-10-02 09:11:23 -07:00
Greg Weber
aaeafb0591 add some documentation 2014-09-30 12:22:44 -07:00
Michael Snoyman
e21bfb4d94 GHC 7.4 fixes 2014-09-30 13:45:39 +03:00
Michael Snoyman
9ce4d49d0a persistent 2.1 and warp 3.0.2 2014-09-30 06:57:38 +03:00
Michael Snoyman
3447510080 Clean up a bunch of warnings 2014-09-29 08:08:02 +03:00
Michael Snoyman
14d9b7ce71 Fix compilation error 2014-09-29 07:41:54 +03:00
Greg Weber
8fd0378c4b TypeCache documentation 2014-09-24 09:04:41 -07: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
f779004d19 Merge yesod-routes into yesod-core entirely 2014-09-07 17:34:37 +03:00
Michael Snoyman
29d7e252f1 Merge branch 'master' into yesod-1.4 2014-08-31 05:04:27 +03:00
Michael Snoyman
1e76a28f6d withUrlRenderer 2014-08-31 02:24:08 +03:00
Michael Snoyman
9471399589 Merge branch 'master' into yesod-1.4 2014-08-28 05:19:21 +03:00
Michael Snoyman
d3df218a96 conduit 1.2 patch 2014-08-27 17:34:35 +03:00
Michael Snoyman
c66ef04f17 Merge branch 'master' into yesod-1.4
Conflicts:
	yesod-form/Yesod/Form/Functions.hs
2014-08-25 20:20:16 +03:00
Michael Snoyman
05d31d6621 Add MonadActive instances 2014-07-30 11:33:38 +03:00
Michael Snoyman
e6eae8ee5a Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-routes/Yesod/Routes/Parse.hs
	yesod-routes/test/Hierarchy.hs
	yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Yuriy Syrovetskiy
13243aba54 typo 2014-07-25 19:07:01 +04:00
Michael Snoyman
21d1965774 Merge remote-tracking branch 'origin/master' into yesod-1.4 2014-06-15 15:49:51 +03:00
Michael Snoyman
f92cdd5c41 sendWaiApplication 2014-06-15 15:48:57 +03:00
Michael Snoyman
1f704e914d Fixes for WAI 2.1 2014-06-10 13:59:35 +03:00
Michael Snoyman
b93a5d1993 Merge branch 'master' into yesod-1.4
Conflicts:
	yesod-core/test/YesodCoreTest/CleanPath.hs
	yesod-persistent/yesod-persistent.cabal
2014-06-09 11:22:30 +03:00
Michael Snoyman
0a3ae4ef66 Merge remote-tracking branch 'origin/master' into yesod-1.4 2014-06-01 16:12:36 +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
cbbeb3b7f6 exceptions 0.6 2014-05-05 21:20:26 +03:00
Michael Snoyman
e9311d0e1f ToWidget instances for Css, JS 2014-04-23 16:31:13 +03:00
Michael Snoyman
fe622d5345 Merge remote-tracking branch 'origin/master' into yesod-1.4
Conflicts:
	yesod-auth/yesod-auth.cabal
	yesod-form/Yesod/Form/Fields.hs
	yesod-form/yesod-form.cabal
	yesod-persistent/Yesod/Persist/Core.hs
2014-04-18 14:33:54 +03:00