David Turner
5b4d5ced3b
Move auto-updater into YesodRunnerEnv
2015-10-10 15:58:39 +00:00
Mikkel Christiansen
25bbda2087
Remove unused applicative.
2015-08-26 16:10:56 +02:00
Mikkel Christiansen
04cb3730a0
Replace deprecated breakByte function.
2015-08-26 15:03:14 +02:00
Mikkel Christiansen
a47ceec445
GHC 7.10 import warnings removed from yesod-core.
2015-08-26 14:52:39 +02:00
Greg Weber
1567145110
version bump yesod-core to 1.4.15
2015-08-23 17:20:42 -07:00
Greg Weber
65bc93a6d6
1.4.15 Changelog
2015-08-23 17:16:11 -07:00
Daniel Díaz
5375bacf81
Placed App after mkYesod in the RawResponse test.
2015-08-23 22:53:13 +02:00
Daniel Díaz
e77f6bd709
Do not use reify unless the type name is in scope. Assume arity 0 when the type is not in scope.
2015-08-23 22:49:04 +02:00
Daniel Díaz
8130e2b7a9
Fixed mkYesodGeneral message in changelog, and added information about splicing breaking change.
2015-08-21 21:52:35 +02:00
Michael Snoyman
0fcbbb7951
Version bump
2015-08-20 08:02:42 +03:00
Maximilian Tagher
33982b2112
Add CSRF protection functions/middleware that support AJAX requests
2015-08-17 16:52:39 -07:00
Maximilian Tagher
620440d2b6
Update yesod-core changelog for 1.4.13
2015-08-16 19:18:35 -04:00
Greg Weber
0fdb78a6f2
Merge pull request #1055 from Daniel-Diaz/master
...
mkYesodGeneral: Argument types can now be polymorphic
2015-08-16 11:51:13 -07:00
Daniel Díaz
42ec7f53e9
Depend directly on template-haskell.
2015-08-11 22:10:12 +02:00
Daniel Díaz
4897c24d3f
Use CPP to adapt to template-haskell changes according to the version of base used.
2015-08-11 22:07:28 +02:00
Michael Snoyman
09343872c4
Version bump
2015-08-11 07:50:24 +03:00
Daniel Díaz
ea62a38464
mkYesodGeneral arguments can now be monomorphic or polymorphic types. It is possible to impose class instances to polymorphic type arguments.
2015-08-10 07:23:26 +02:00
Daniel Díaz
366bfbd319
Allow Site types to have type parameters.
2015-08-06 00:35:48 +02:00
Daniel Díaz
9991e307e3
Attempt to add support for parametrized types in mkYesod.
2015-08-06 00:13:28 +02:00
Andrew Martin
c4d154b512
Added getsYesod
2015-07-23 13:29:16 -04:00
Christopher Reichert
a5a627db58
Clarify IsString instance for Widget only works with Strings.
2015-07-21 13:19:00 -05:00
Christopher Reichert
66ed314866
Document IsString instance for WidgetT.
2015-07-21 12:24:33 -05:00
Andrew Martin
4e354c9e07
Improve type inference for WidgetT IsString instance
2015-07-21 11:37:09 -04:00
Andrew Martin
00635452b9
Add IsString instance for WidgetT site m ()
2015-07-21 11:07:52 -04:00
Michael Snoyman
0b0341a280
vector 0.11
2015-07-15 19:10:17 +03:00
Michael Snoyman
add408c535
Version bump
2015-07-02 18:53:47 +03:00
Andrew
e37ccee3d7
Use a let binding for greater clarity
2015-06-30 18:30:24 -04:00
Andrew Martin
e327963912
Don't show source location for logs that don't have that information
2015-06-30 17:02:33 -04:00
Michael Snoyman
bd7659017f
Add missing ChangeLog #1019
2015-06-24 05:02:36 +03:00
Andrew Martin
edf7ada64c
Export subHelper directly rather than doing a module export
2015-06-07 08:45:38 -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
b20c19d2c5
Version bump
2015-06-04 09:43:06 +03:00
Yitzchak Gale
f3d9bb2555
Unneeded import of Data.Maybe in Yesod.Core.Class.Yesod.
2015-06-03 11:48:02 +03:00
Yitzchak Gale
95c8d40010
Fix haddock about default log level.
2015-06-03 11:45:29 +03:00
Yitzchak Gale
bef07c5e12
Fix reference to default in haddock for shouldLog.
2015-06-03 11:18:33 +03:00
Yitzchak Gale
bd161ef5f7
Export defaults for logging methods of Yesod.
2015-06-03 11:16:43 +03:00
Michael Snoyman
882956255a
Better support for multiple cookie headers
2015-04-02 16:40:14 +03:00
Michael Snoyman
56d4b8c3ee
Version bump
2015-03-26 14:52:36 +02:00
Michael Snoyman
e50ce7ca1e
Merge branch 'master' of https://github.com/s9gf4ult/yesod
2015-03-26 14:51:14 +02:00
Aleksey Uimanov
79dc6c33b9
add lookupBasicAuth and lookupBearerAuth functions
2015-03-26 17:19:53 +05:00
Michael Snoyman
e85be6f118
Use 307 redirect for cleaning paths and non-GET requests #951
2015-03-15 11:45:32 +02:00
Michael Snoyman
376b6f9c0d
Allow blaze-builder 0.4
2015-03-10 14:56:44 +02:00
Michael Snoyman
df0cf82f56
Allow path-pieces 0.2
2015-02-19 11:56:24 +02:00
Michael Snoyman
6751d24d75
Version bumps
2015-02-09 07:25:08 +02:00
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
887d7e8004
Doc update
2015-02-08 07:18:56 +02:00
Michael Snoyman
85d4477f96
Remove defunct reference to SpecialResponse ( fixes #925 )
2015-02-08 07:15:16 +02:00
Michael Snoyman
9f7f5dab1b
Version bump
2015-01-07 13:20:04 +02:00
Thomas Dziedzic
6398206b8f
fix documentation spelling
2015-01-06 21:10:12 -08:00
Michael Snoyman
bed6dafce8
Doc link updates
2014-12-21 15:23:52 +02: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
4b1758e3e3
Improved doc link
2014-12-15 23:47:29 +02:00
Michael Snoyman
94dad6e116
Corrected changelog
2014-11-30 15:42:55 +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
c5519b36ef
Rename changelog.md to ChangeLog.md (it was bugging me)
2014-11-28 07:47:52 +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
5622e96725
README.md
2014-11-23 12:18:41 +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
b15ce6b1ea
Version bump
2014-11-19 11:10:45 +02: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
ec987529ba
Version bump
2014-11-09 14:43:25 +02:00
Greg Weber
898c0a1e18
test case for toWidget* functions
2014-10-27 21:16:03 -07:00
Michael Snoyman
5a426529db
Version bump/changelog start
2014-10-20 11:53:57 +03: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
Maximilian Tagher
e49ccb7871
Document Route typeclasses
2014-10-05 15:06:23 -07:00
Michael Snoyman
dbc251b9ee
Version bump
2014-10-03 08:50:25 +03:00
Greg Weber
7f775e1dde
document cache key
2014-10-02 09:11:23 -07:00
Michael Snoyman
c91b2978be
Remove deprecated deps
2014-10-01 07:09:39 +03:00
Michael Snoyman
6fed35f9ea
Version bump
2014-10-01 07:01:02 +03:00
Greg Weber
f633734a96
expose Yesod/Routes/TH/Types.hs
2014-09-30 12:44:09 -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
a39962b72d
Add missing module for Hackage testing
2014-09-30 12:47:59 +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
Michael Snoyman
29894604e5
Merge branch 'master' into yesod-1.4
...
Conflicts:
yesod-core/yesod-core.cabal
2014-09-23 10:00:24 +03:00
Michael Snoyman
20041c0859
Version bump
2014-09-23 09:37:00 +03:00
RyanGlScott
b70790e525
Bump random upper version bounds
2014-09-22 23:43:31 -05:00
Michael Snoyman
def48d8a45
Version bumps for 1.4 release
2014-09-21 11:41:37 +03: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
598e570913
Remove deprecated packages
2014-09-07 17:41:09 +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
d6b3d2a890
conduit 1.2 version bumps
2014-08-27 18:01:02 +03:00
Michael Snoyman
d3df218a96
conduit 1.2 patch
2014-08-27 17:34:35 +03:00
Michael Snoyman
6eb1447dd9
Add missing LANGUAGE pragma
2014-08-27 08:15:47 +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
641135f011
Version bump
2014-08-25 10:38:43 +03:00
Michael Snoyman
a3ec07c359
Disable broken test
2014-08-23 21:50:38 +03:00
Michael Snoyman
05d31d6621
Add MonadActive instances
2014-07-30 11:33:38 +03:00
Michael Snoyman
6a09bc3406
Version bumps
2014-07-26 21:53:26 +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
576d1dedd2
Merge pull request #758 from AlexanderAA/master
...
Three typos
2014-06-16 08:51:27 +03:00
Alexander
a4137461e3
Update README
2014-06-16 15:43:17 +12: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
6ac697f032
Merge branch 'wai3'
...
Conflicts:
yesod-core/yesod-core.cabal
yesod-form/yesod-form.cabal
yesod-persistent/yesod-persistent.cabal
2014-06-09 10:27:32 +03:00
Michael Snoyman
ebc18ad1cd
Remove transformers upper bounds
2014-06-09 10:25:51 +03:00
Michael Snoyman
4158353070
Merge remote-tracking branch 'origin/master' into yesod-1.4
2014-06-05 15:13:15 +03:00
Michael Snoyman
0d599e463a
Version bumps
2014-06-05 06:05:47 +03:00
Michael Snoyman
a265b094ad
Merge branch 'master' of https://github.com/jprider63/yesod
...
Conflicts:
yesod-core/yesod-core.cabal
2014-06-05 06:03:07 +03:00
jp.rider63
8b1a675339
upped conduit version dependency
2014-06-03 13:57:27 -04: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
Michael Snoyman
03a39a05f7
Export defaultYesodMiddleware and authorizationCheck
2014-04-17 07:54:37 +03:00
Michael Snoyman
dfd7965b6b
Workarounds for older bytestrings
2014-04-16 14:31:54 +03:00
Michael Snoyman
e036f934f6
Add MonadCatch for WidgetT
2014-04-14 08:32:55 +03:00
Michael Snoyman
7133f75bf3
Note about strictness annotations
2014-04-10 20:36:46 +03:00
Michael Snoyman
b67d225f56
Use mplus (thanks @meteficha)
2014-04-10 20:30:14 +03:00
Michael Snoyman
4dc7a1258c
Deeply evaluate session and headers #712
2014-04-10 20:21:49 +03:00
Michael Snoyman
c44a48c8ae
Test cases for #712
2014-04-10 19:59:54 +03:00
Michael Snoyman
b8a73d9b7f
defaultMiddlewares and MonadCatch instance
2014-04-10 15:04:29 +03:00
Michael Snoyman
5a24477316
Fix some CPP
2014-04-09 07:40:38 +03:00
Michael Snoyman
7512cc2bfc
Add ToContent etc instance for Css and Javascript
2014-04-03 12:23:38 +03:00
Michael Snoyman
5edb77eb80
Use defaultShouldDisplayException
2014-03-30 09:38:36 +03:00
Michael Snoyman
76cff2ab23
MonadReader instance for HandlerT and WidgetT
2014-03-28 13:15:51 +03:00
Michael Snoyman
d764464152
conduit 1.1
2014-03-27 16:38:52 +02:00
Michael Snoyman
f0d392a53e
Version bump
2014-03-26 11:08:36 +02:00
Michael Snoyman
60b4684119
Drop usage of failure
2014-03-26 10:38:51 +02:00
Michael Snoyman
827b1d4bd2
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
2014-03-20 20:38:14 +02:00
Michael Snoyman
971da29bad
Version bumps
2014-03-20 12:26:40 +02:00
Michael Snoyman
24e8e53f64
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
...
Conflicts:
.gitignore
yesod-core/yesod-core.cabal
2014-03-20 04:14:09 +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