Commit Graph

4563 Commits

Author SHA1 Message Date
Michael Snoyman
fe233dd958
Merge pull request #1478 from jprider63/master
Update `mkYesodWith` and refactor so that `mkYesod` uses the context parser
2018-01-29 14:57:44 +02:00
James Parker
8796310eef More documentation for mkYesod and mkYesodWith 2018-01-24 23:55:57 -05:00
Michael Snoyman
fa8e1ac00f
Switch to SubHandlerFor
This is much more consistent than suddenly using a ReaderT for subsites.
Thanks to @jprider63 for the inspiration for this, I think it cleans
things up a lot!
2018-01-24 13:01:26 +02:00
James Parker
b71bfae261 Refactor so that mkYesod and mkYesodDispatch use the context parser 2018-01-22 00:45:44 -05:00
James Parker
18910b516b Change mkYesodWith to accept separate lists for contexts and type
arguments
2018-01-22 00:19:04 -05:00
Michael Snoyman
0f09393c34
Merge branch 'simple-content-type' of https://github.com/JaSpa/yesod into better-monads 2018-01-21 11:13:05 +02:00
Janek Spaderna
492102537f [yesod] Bump version & add changelog entry 2018-01-18 12:11:43 +01:00
Janek Spaderna
7f6f1821e8 [yesod] Fix comment for contentTypeTypes & simpler implementation
In the implementation of contentTypeTypes make use of simpleContentType.
2018-01-18 12:00:46 +01:00
Michael Snoyman
6830a9840c
Merge branch 'better-monads' into no-transformers 2018-01-17 06:43:52 +02:00
Michael Snoyman
2047efd00a
Bump persistent version 2018-01-16 20:21:48 +02:00
Michael Snoyman
ad35ef9431
Deal with another sneaky exception 2018-01-16 16:10:23 +02:00
Michael Snoyman
3956110876
Fix yesod-websockets 2018-01-15 21:07:54 +02:00
Michael Snoyman
f2926e60f0
Remove some deprecated methods from the Yesod class 2018-01-15 20:52:33 +02:00
Michael Snoyman
e3bb03f9af
Missing import 2018-01-15 17:56:20 +02:00
Michael Snoyman
dff7f2372e
Switch to SIO 2018-01-15 17:38:36 +02:00
Michael Snoyman
a210ce59d7
Get it all compiling again 2018-01-15 17:08:55 +02:00
Michael Snoyman
915d9e2fa6
Finish switching header key to a CI
Fixes #1418
2018-01-15 16:47:49 +02:00
Michael Snoyman
25acc5799b
Version bumps and changelog updates 2018-01-15 15:57:36 +02:00
Michael Snoyman
89be12c147
Strictify a bunch of fields 2018-01-15 15:18:09 +02:00
Michael Snoyman
60f65ed267
Cleanup warnings 2018-01-15 15:09:07 +02:00
Michael Snoyman
1f7a2a287b
Switch to gauge 2018-01-15 11:46:38 +02:00
Michael Snoyman
8c96b4e36c
Fix benchmark compile 2018-01-15 10:48:50 +02:00
Michael Snoyman
1a1cb8a45f
Drop mwc-random 2018-01-15 10:18:16 +02:00
Michael Snoyman
aa5b80d9f8
Merge branch 'addTypeTime2' of https://github.com/MaxGabriel/yesod into better-monads 2018-01-12 00:19:54 +02:00
Michael Snoyman
6a715c06c3
Merge remote-tracking branch 'origin/guess-approot-default' into better-monads 2018-01-12 00:18:37 +02:00
Michael Snoyman
3bb654857c
Ditch ResumableSource 2018-01-12 00:09:54 +02:00
Michael Snoyman
3e06942449
Simplify YesodSubDispatch 2018-01-11 23:13:32 +02:00
Michael Snoyman
fbccfe2306
Merge branch 'better-monads' into no-transformers 2018-01-11 22:49:02 +02:00
Michael Snoyman
103c098cf8
Catch up with Data.Conduit.Combinators 2018-01-10 12:16:31 -08:00
Michael Snoyman
a16e75249a
More moving over to unliftio 2017-12-31 09:20:02 +02:00
Michael Snoyman
e2b0a5c454
Merge pull request #1474 from yesodweb/documentCustomizingCSRFByRoute
Document whitelisting certain routes to not need CSRF protection
2017-12-31 06:24:39 +02:00
Michael Snoyman
eac95935e6
Switch over to WIP conduit 1.3 2017-12-30 22:47:56 +02:00
Michael Snoyman
8a30e487b0
Merge remote-tracking branch 'origin/master' into better-monads 2017-12-30 20:41:28 +02:00
Michael Snoyman
f9a87f4022
Merge pull request #1473 from yesodweb/fix1459
Fix Haddock syntax error and test failures introduced by #1459
2017-12-30 18:13:41 +02:00
Michael Snoyman
65093b6b24
Merge branch 'master' into fix1459 2017-12-30 18:13:32 +02:00
Michael Snoyman
ed40b136ea
Fix broken Haddocks 2017-12-30 18:06:45 +02:00
Maximilian Tagher
5cdc0a39ac Document whitelisting certain routes to not need CSRF protection
This question came up on the #yesod Slack channel and I think it's moderately common; I've seen it elsewhere.
2017-12-29 23:44:08 -05:00
Maximilian Tagher
51bdb66252 Fix Haddock syntax error and test failures introduced by #1459 2017-12-29 20:20:18 -05:00
Maximilian Tagher
3bf6a89595
Update PULL_REQUEST_TEMPLATE.md 2017-12-29 20:17:48 -05:00
Maximilian Tagher
5af7fe95ec
Merge pull request #1470 from csi-adziahel/patch-1
Fix typo breaking some parsers
2017-12-28 15:23:40 -08:00
Michael Snoyman
3df82600b8
Merge pull request #1459 from pythonissam/bylabel-exact
Bylabel exact
2017-12-27 13:02:42 +02:00
kotaro
daa953ed1f Add PR link into the deprecated pragmas 2017-12-27 09:47:57 +09:00
Andrey Dyagel
8a0778a58a
Fix typo breaking some parsers 2017-12-22 16:15:13 +03:00
Michael Snoyman
5a5cd81276
Support typed-process-0.2.0.0 (fixes #1467) 2017-12-19 11:53:41 +02:00
Michael Snoyman
1b22e6a908
Further transformer cleanup 2017-12-18 17:06:46 +02:00
Michael Snoyman
8e265f6ebc
It all compiles 2017-12-18 15:04:45 +02:00
kotaro
8e52b490fe Insert deprecated pragmas for byLabel and fileByLabel 2017-12-18 14:10:12 +09:00
kotaro
8cf44ff7c8 Small fix of haddock 2017-12-18 13:34:16 +09:00
pythonissam
31903c34f8 fileByLabelExact: Created the exact version of fileByLabel 2017-12-17 08:50:48 +00:00
Michael Snoyman
aed10fc84a
WIP 2017-12-13 14:39:59 +02:00