Commit Graph

4340 Commits

Author SHA1 Message Date
Michael Snoyman
7151b63a4d Merge pull request #1281 from sru-systems/openbsd-wxneeded
Link yesod-bin with wxneeded on OpenBSD.
2016-09-26 14:43:26 +03:00
Martijn Rijkeboer
0017b4441b Link yesod-bin with wxneeded on OpenBSD. 2016-09-26 13:40:28 +02:00
Michael Snoyman
856e60eb9b Version bump 2016-09-25 14:34:38 +03:00
Michael Snoyman
06a6fbd127 Merge pull request #1278 from Dridus/except-instances
Add instance of MonadHandler and MonadWidget for ExceptT
2016-09-25 14:33:43 +03:00
Ross MacLeod
09c37eb916 Use #if MIN_VERSION_transformers(0,4,0) instead of __GLASGOW_HASKELL__ >= 710 2016-09-22 13:27:25 -04:00
Ross MacLeod
6de5d8f829 missed making the import of ExceptT conditional on GHC version as well 2016-09-22 13:23:10 -04:00
Ross MacLeod
58fb977276 Only emit MonadHandler and MonadWidget instance for ExceptT when GHC version >= 7.10, since that's the first version tied to transformers-0.4.0.0 which introduced ExceptT 2016-09-22 13:00:09 -04:00
Ross MacLeod
ee100d7be0 Add instance of MonadHandler and MonadWidget for ExceptT 2016-09-21 14:41:30 -04:00
Michael Snoyman
d1495bad85 Fix add-handler (fixes #1273) 2016-09-04 08:55:10 +03:00
Michael Snoyman
a04d2b25ba Version bump 2016-09-02 12:39:01 +03:00
Michael Snoyman
8ac7cd5e50 Merge branch 'master' of github.com:yesodweb/yesod 2016-09-02 12:38:08 +03:00
Michael Snoyman
ba740608d6 Version bump 2016-09-02 12:31:30 +03:00
Maximilian Tagher
85f6a64180 Merge pull request #1272 from amitaibu/travis-badge
Add travis badge to README
2016-09-01 15:54:29 -07:00
Amitai Burstein
e4ec72aa34 Add travis badge to README
Also change the header to H1
2016-09-01 19:54:18 +03:00
Michael Snoyman
33fd9de0b1 Merge pull request #1271 from amitaibu/bodyNotContains
Add bodyNotContains function
2016-09-01 16:35:03 +03:00
Amitaibu
827040f279 Fix error 2016-09-01 15:22:25 +03:00
Amitaibu
6ddfd07032 Add since tag 2016-09-01 14:20:29 +03:00
Amitaibu
ac0229dff0 Bump cabal version and export function 2016-09-01 14:19:38 +03:00
Amitaibu
21e0ef11ba Add bodyNotContains function 2016-09-01 14:09:10 +03:00
Michael Snoyman
92c3a08eb1 Merge pull request #1270 from kevin147147/patch-1
Translation bug in german message
2016-09-01 12:59:51 +03:00
kevin147147
e27cebb8a5 Translation bug in german message
missing space
2016-09-01 11:55:44 +02:00
Michael Snoyman
87afb38635 Version bump for #1268 2016-08-29 07:04:34 +03:00
Michael Snoyman
0881364f93 Merge pull request #1268 from CthulhuDen/issue-1266
cached and cachedBy will not overwrite global state changes
2016-08-29 07:03:48 +03:00
Cthulhu
fbaf502858 cached and cachedBy will not overwrite global state changes 2016-08-28 19:02:11 +03:00
Michael Snoyman
e5b3cf6dc7 Version bump 2016-08-28 14:59:55 +03:00
Michael Snoyman
4a5f4ab0e9 Merge pull request #1267 from hotwirestudios/master
Added support for aeson's toEncoding function (>= 0.11) to sendStatusJSON
2016-08-28 07:40:50 +03:00
Alexander Lippling
8822fa37a8 Added support for aeson's toEncoding function (>= 0.11) to sendStatusJSON 2016-08-28 01:06:23 +02:00
Bryan Richter
111b017f58 Explain what sslOnlyMiddleware really does (#1262)
Doc updated per
<https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security>.

I was tipped off to the discrepancy when my site worked totally fine over
http, in spite of the claim, "This middleware makes a site functionally
inaccessible over vanilla http in all standard browsers."
2016-08-24 08:24:32 -07:00
Maximilian Tagher
2ec13368f5 Merge pull request #1248 from yesodweb/fixCsrfPath
Default CSRF tokens to the root path "/"
2016-08-16 07:27:14 -07:00
Maximilian Tagher
e6287362ad Default CSRF tokens to the root path "/"
* The default path of cookies is the current path making the request
  * e.g. an AJAX request made from http://example.com/foo/bar would be /foo
  * This causes multiple CSRF tokens to build up as you navigate a site
  * This will cause errors if the CSRF tokens have different values, and an invalid token is sent.
* Closes #1247
2016-08-16 07:25:41 -07:00
Michael Snoyman
d2482bf178 Version bump 2016-08-14 15:44:53 +03:00
Michael Snoyman
10b8ee70e7 Merge branch 'master' of github.com:yesodweb/yesod 2016-08-14 15:43:55 +03:00
Michael Snoyman
24ffaf90d4 Version bump 2016-08-14 15:42:01 +03:00
Michael Snoyman
25cb163e11 Relax upper bounds for persistent 2.6 2016-08-14 15:41:17 +03:00
Maximilian Tagher
9fb876e383 Merge pull request #1258 from bitemyapp/master
What I did to avoid the duplicate cookie problem
2016-08-13 21:18:49 -04:00
Michael Snoyman
cc6cc2939e Fix ChangeLog and @since comments 2016-08-10 15:18:41 +03:00
Michael Snoyman
f6891b0373 Merge branch 'BL/samesite' of https://github.com/bobjflong/yesod into bobjflong-BL/samesite 2016-08-10 15:17:25 +03:00
Michael Snoyman
dae1a34d4c Version bump for #1259 2016-08-10 08:48:57 +03:00
Michael Snoyman
f4b4602500 Merge branch 'add-pretty-assert' of https://github.com/bitemyapp/yesod 2016-08-10 08:42:09 +03:00
Michael Snoyman
629d4c49a4 Version bump for #1257 2016-08-10 08:42:04 +03:00
Michael Snoyman
159da2e953 Merge pull request #1257 from ran-lasgalen/urlParamRenderOverride
urlParamRenderOverride method for Yesod class
2016-08-10 08:38:56 +03:00
Chris Allen
13d9f58db7 Added assertEq, deprecated assertEqual
use assertEq instead
2016-08-10 00:08:24 -05:00
Artem Chuprina
83299bf1be urlParamRenderOverride method for Yesod class
this method replaces urlRenderOverride because the latter lacks support for query string
2016-08-09 22:54:24 +03:00
Chris Allen
a3f4974750 Merge branch 'master' of git://github.com/yesodweb/yesod 2016-07-22 10:50:22 -05:00
Michael Snoyman
9ce2770813 Merge pull request #1250 from MaxGabriel/documentCsrfMiddlewareUsage
Document recommended usage of the CSRF middleware
2016-07-14 18:05:45 +03:00
Maximilian Tagher
0eb8ab3050 Document recommended usage of the CSRF middleware
* Closes #1246
2016-07-14 07:56:31 -07:00
Sibi
65433b2fa4 Merge pull request #1249 from Vlix/patch-1
Updated some Dutch translations.
2016-07-13 00:26:04 +05:30
Felix Paulusma
76726063e4 Updated some Dutch translations. 2016-07-12 17:19:09 +02:00
Chris Allen
5e4cefc9ad path, not value 2016-07-08 14:25:47 -05:00
Chris Allen
4a0caeb05c deleting cookie before adding to avoid duplicates for a test 2016-07-08 13:38:39 -05:00