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
629d4c49a4
Version bump for #1257
2016-08-10 08:42:04 +03: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
Maximilian Tagher
0eb8ab3050
Document recommended usage of the CSRF middleware
...
* Closes #1246
2016-07-14 07:56:31 -07:00
Mikkel Christiansen
50c4138a5c
Take hlint suggestions.
2016-06-28 08:28:23 +02:00
Mikkel Christiansen
cc134b93de
Remove compiler warnings for unused var and unused imports.
2016-06-27 19:47:55 +02:00
Michael Snoyman
1036550d00
Add missing Monoid import
2016-06-23 08:15:53 +03:00
Michael Snoyman
c24d0e7f80
Allow deepseq 1.3
2016-06-22 23:01:44 +03:00
Michael Snoyman
90ecc1ebe3
Significant cleanup of runHandler
...
@nh2 This hopefully makes the logic much clearer to avoid exceptional
cases slipping through.
@gregwebs Maybe you'd like to review this?
For yesod-core 1.5: we should make as many datatypes strict-fielded as
possible in Yesod.Core.Types to make for less corner cases. Also, the
idea of an exception value itself being partial is _really_ terrifying.
2016-06-22 20:28:42 +03:00
Michael Snoyman
33ea980dba
Simplify away from returnDeepSessionMap
2016-06-22 18:45:46 +03:00
Michael Snoyman
a3d9a13abe
Proper handling of impure exceptions within HandlerError values
2016-06-22 18:24:18 +03:00
Michael Snoyman
85e7fd7e33
Version bump for #1241
2016-06-20 17:30:28 +03:00
Alexander Lippling
18cd7834d6
Added support for aeson's toEncoding function (>= 0.11)
2016-06-20 13:19:11 +02:00
Sibi
2a01710f4b
Remove outdated instruction for jsLoader ( #1238 )
2016-06-05 11:28:22 -07:00
Adam Bergmark
7f9f8b450e
yesod-core needs bytestring >= 0.10
2016-06-04 18:55:35 +02:00
Alex Greif
b85ffbaf52
fix typos
2016-05-17 17:21:03 +02:00
Bob Long
294ef285a3
remove redundant paren
2016-05-03 16:24:12 +01:00
Bob Long
6746c1c94f
fixup whitespace in docs
2016-05-03 16:23:57 +01:00
Bob Long
1834d255e6
replace pure with Just for backwards compat
2016-05-03 15:18:45 +01:00
Bob Long
9b0caaf2cf
expand documentation on lax & strict
2016-05-03 15:17:46 +01:00
Bob Long
bc7ff2f552
Add version information
2016-05-01 17:23:10 +01:00
Bob Long
aed1e27cb7
Bump cookie version in cabal file
2016-05-01 17:21:33 +01:00
Bob Long
a797c2e5d4
Add laxSameSiteSessions and strictSameSiteSessions
2016-05-01 16:31:01 +01:00
Michael Snoyman
bf0ca2bc10
Version bump
2016-04-25 16:57:40 +03:00
Michael Snoyman
18993caf3a
Merge pull request #1223 from erikd/master
...
yesod-core: Fix for a *very* late change in ghc-8.0 TH api
2016-04-24 08:23:28 +03:00
Erik de Castro Lopo
96af1e7f39
yesod-core: Fix for a *very* late change in ghc-8.0 TH api
2016-04-23 10:54:41 +10:00
Michael Snoyman
b00d372c76
Fix benchmark compilation of yesod-core
2016-04-21 20:17:05 +03:00
Erik de Castro Lopo
21d27626b2
yesod-core: Fix for ghc-7.8
2016-04-19 15:18:46 +10:00
Erik de Castro Lopo
226c381baa
yesod-core: Make it work with ghc-8.0
...
Use CPP hackery to make it compile with ghc-8.0 and ghc 7.10. If
ghc-7.10 works, I assume earlier supported versions of GHC also
work. All tests pass with both GHC versions.
Unfortunately, the TH changes force changes in the type signature
of Yesod.Routes.TH.RenderRoute.mkRouteCons from:
mkRouteCons :: [ResourceTree Type] -> ([Con], [Dec])
to
mkRouteCons :: [ResourceTree Type] -> Q ([Con], [Dec])
and I can't see a way around that.
2016-04-19 14:52:03 +10:00
Michael Snoyman
210f846af5
Merge pull request #1145 from ajnsit/hierarchical-subsites-args
...
Pass hierarchical route arguments to subsites
2016-04-12 07:27:47 +03:00
Maximilian Tagher
5a5cfd6c7a
Bump version for CSRF logging changes, and improve error message.
2016-03-28 23:36:31 -07:00
Maximilian Tagher
28fbaae268
Log a warning when a CSRF error occurs
...
* Closes #1192
2016-03-28 23:35:27 -07:00
Michael Snoyman
da4948592d
Version bump
2016-03-29 09:14:02 +03:00
Murray
9dbcc95c3f
remove single message deprecated directives
2016-03-18 09:17:57 +00:00
Murray
a15070709d
allow more than one session message and add statuses
2016-03-16 18:14:40 +00:00
Michael Snoyman
406694cd29
Version bump for #1182
2016-03-13 08:26:24 +02:00
mrkkrp
3640d75c99
Allow lines of dashes in route files
...
See #1180 .
2016-03-11 14:09:57 +06:00
Sajith Sasidharan
93da4f060e
Minor doc patch - sendStatusJSON is since 1.4.18
...
I'm sure this is trivially obvious. :-)
Commit 6a60dac introduced `sendStatusJSON` on Nov 25, 2015; yesod-core 1.4.18 was uploaded to hackage on Dec 17.
2016-03-06 18:22:51 -05:00
Chris Allen
7123b02500
typo
2016-03-01 15:13:34 -06:00
Michael Snoyman
cf5a390cad
Add _token parameter to redirectToPost #1151
2016-01-24 14:37:44 +02:00
Michael Snoyman
aa36a22834
Version bump for yesod-core
2016-01-21 09:59:45 +02:00
Anupam Jain
38680c6568
Add test for hierarchical subsite with arguments
...
Note: Needed to enable ViewPatterns for this
2016-01-19 17:06:40 +05:30
Anupam Jain
9859fe1ddb
Pass hierarchical route arguments to subsites
2016-01-19 15:21:15 +05:30
Michael Snoyman
d6cd13a423
Changelog for #1144
2016-01-14 09:34:43 +02:00
Michael Snoyman
8f2d92baab
Merge pull request #1144 from ajnsit/hierarchical-subsites
...
Allow subsites within hierarchical routes
2016-01-14 09:34:00 +02:00
Anupam Jain
0d99f94e5a
Add a testcase for nested subsites
2016-01-14 11:30:06 +05:30
Anupam Jain
a1df470d01
Allow subsites within hierarchical routes
2016-01-13 10:47:50 +05:30
Ross MacLeod
1fb53dfa9e
#1142 make sendStatusJSON fully polymorphic in its return type, since it never returns
2016-01-12 11:32:20 -05:00
Michael Snoyman
d346b8361f
Version bump ( fixes #1128 )
2015-12-19 20:08:17 +02:00
Michael Snoyman
bff65b7942
Version bump for #1122
2015-12-14 11:50:25 +02:00