Michael Snoyman
aed169b43f
Merge branch 'update-persistent' of https://github.com/DanBurton/yesod
2018-10-14 10:47:23 +03:00
Michael Snoyman
b16084ed34
Configuration for persistent 2.9
2018-10-14 10:45:45 +03:00
Michael Snoyman
7f07325dc4
Merge branch 'master' of https://github.com/iand675/yesod
2018-10-14 10:44:18 +03:00
Dan Burton
bff8200ae4
Updated changelogs and versions for #1561
2018-10-11 14:21:17 -04:00
Dan Burton
132abccff2
Compile with ghc 8.6 by pushing MonadFail usage into IO
2018-10-11 13:53:35 -04:00
Dan Burton
90423f5bc7
Downgrade yesod-persistent version bump to patch level
2018-10-11 12:56:49 -04:00
Dan Burton
49dcfe02af
Merge branch 'master' of https://github.com/iand675/yesod into update-persistent
2018-10-11 12:54:52 -04:00
Michael Snoyman
84f77fe34a
Merge pull request #1558 from whittle/routes-file-line-continuations
...
In the route syntax, allow trailing backslashes to indicate line continuation.
2018-10-09 05:24:15 +03:00
Jason Whittle
ee260e24cb
Update changelog with a link to PR #1558 .
2018-10-08 18:04:16 -04:00
Jason Whittle
ca602d11bf
Bump minor version.
2018-10-08 16:56:20 -04:00
Jason Whittle
4e4efd1627
In the route syntax, allow trailing backslashes to indicate line continuation.
2018-10-08 16:47:06 -04:00
Michael Snoyman
6a9bcc292d
Remove unneeded version bumps
2018-10-08 10:20:49 +03:00
Michael Snoyman
55e0ca4bc3
Add PrimMonad instances
...
Pointed out at: https://stackoverflow.com/q/52692508/369198
2018-10-08 08:19:32 +03:00
Michael Snoyman
1c2cb0c717
Merge pull request #1554 from oddvars/oddvars-typo-patch
...
minor typos
2018-09-14 08:29:19 +03:00
oddvars
41101b20dd
minor typos
...
fixed typo and escaped backslash for haddock
2018-09-13 16:42:52 +02:00
Michael Snoyman
2af5d9c64c
Relax yaml upper bound
2018-08-20 10:11:42 +03:00
Michael Snoyman
67c223d76b
Minor cabal file improvements
2018-08-20 10:11:42 +03:00
Steven Leiva
3ebd8f91a5
Merge pull request #1550 from StevenXL/set-x-xss-protection
...
Set X-XSS-Protection to 1; mode=block.
2018-08-06 15:46:31 -05:00
Steven Leiva
4015ef2919
Set X-XSS-Protection to 1; mode=block.
2018-08-03 14:17:11 -05:00
Chris Allen
826a607571
Merge pull request #1548 from yesodweb/MaxGabriel-patch-1
...
Explain how requireCheckJsonBody can prevent CSRF
2018-08-02 10:30:41 -05:00
Maximilian Tagher
1f05d2c72f
Explain how requireCheckJsonBody can prevent CSRF
2018-07-31 21:22:39 -07:00
Michael Snoyman
6f76b5ff91
Merge pull request #1544 from nmk/master
...
Do not lose selected value in `selectFieldHelper` when validation fails
2018-07-29 10:21:35 +03:00
Nickolay Kolev
073c9fabd4
Do not lose selected value in selectFieldHelper when validation fails
2018-07-26 20:44:26 +02:00
Steven Leiva
db1ff95520
Merge pull request #1540 from StevenXL/error-406
...
Fix Improper 406 Responses
2018-07-24 07:36:16 -05:00
Steven Leiva
266c436f18
selectRep chooses first rep if no matches found.
...
The `selectRep` documentation indicates that it choose the first
representation provided if no representation matches.
This was only partially correct, as `selectRep` required that no
representation matched **and** that the `Content-Type` header of the
response was empty.
This led to a problem because `defaultErrorhandler` relies on
`selectRep`, and when `selectRep` was unable to find a suitable
representation, it would "swallow" the original error that resulted in
`defaultErrorhandler` being called, and set a status 406 for all cases.
2018-07-19 21:32:02 -05:00
Michael Snoyman
1c51a93a45
Relax upper bounds
2018-07-11 08:20:20 +03:00
Michael Snoyman
04393855e5
Merge branch 'master' of github.com:yesodweb/yesod
2018-07-10 11:56:46 +03:00
Michael Snoyman
b7a3385a89
Merge pull request #1537 from kikaiteam/fix_forgot_pass_endpoint
...
AuthEmail: Fix forgot-password endpoint
2018-07-10 11:56:28 +03:00
Michael Snoyman
6fb09cfa5a
Merge pull request #1538 from kikaiteam/improve_auth_email_doc
...
AuthEmail: no-op, improve doc format
2018-07-10 11:55:46 +03:00
Michael Snoyman
074dc11678
Merge pull request #1539 from h-3-0/patch-1
...
Fix typo
2018-07-10 02:13:38 +03:00
Henri Jones
c221aa3aaa
Fix typo
2018-07-09 22:47:48 +01:00
hainq
72ad3082ce
AuthEmail: no-op, improve doc format
2018-07-09 18:24:11 +07:00
hainq
d38affbe6d
yesod-auth: update changelog & bump version
2018-07-09 17:52:07 +07:00
hainq
0c136f14eb
AuthEmail: Fix forgot-password endpoint
...
This is a quick fix for PR#1524.
Currently, defining `emailPreviouslyRegisteredResponse` will prevent
`sendConfirmationEmail` from happening, even when `registerHelper` is
called from `postForgotPasswordR`.
2018-07-09 17:34:15 +07:00
Michael Snoyman
c1344a577f
Fix version bump
2018-07-09 13:12:40 +03:00
Michael Snoyman
71d951c09b
Correct the version bump (previous unreleased changes)
2018-07-09 13:10:55 +03:00
Michael Snoyman
e125795de3
Merge pull request #1536 from kikaiteam/support_more_email_register_flows
...
AuthEmail: Immediately register with a password
2018-07-09 12:55:08 +03:00
hainq
bd9d0f9922
yesod-auth: Bump version & Update Changelog
2018-07-09 14:06:53 +07:00
hainq
6a64debfa0
Redirect to afterVerificationWithPass when account was registered with a password
2018-07-09 14:02:10 +07:00
hainq
54b1d3d3ff
AuthEmail: Immediately register with a password
...
Register endpoint: Support an optional "password" param that can be used
to set new accounts' password immediately.
2018-07-09 14:02:10 +07:00
Michael Snoyman
ea182bb464
Merge pull request #1534 from yesodweb/reduce-deps
...
Reduce deps
2018-07-04 09:34:31 +03:00
Michael Snoyman
182abd89bf
Drop some deps
2018-07-03 19:01:58 +03:00
Michael Snoyman
867e7c32dc
Clean up some CPP
2018-07-03 18:57:23 +03:00
Chris Allen
df5ad82a90
Merge pull request #1530 from pythonissam/expose-selectFieldHelper
...
Expose select field helper
2018-06-24 13:24:20 -05:00
Michael Snoyman
d134c20dab
Merge pull request #1524 from StevenXL/fix-email-registration
...
Fix email registration
2018-06-24 11:39:59 +03:00
Steven Leiva
8d58a56577
Make behavior of registerHelper configurable.
...
The behavior of `registerHelper` when an email that is already-verified
tries to register is now configurable via the
`emailPreviouslyRegisteredResponse` method of the `YesodAuthEmail`
typeclass.
2018-06-23 09:56:20 -05:00
pythonissam
01802e984b
update the ChangeLog
2018-06-23 05:12:08 +00:00
Michael Snoyman
840f8faaaa
Merge pull request #1528 from ncaq/clean-appveyor
...
cleaned: appveyor: Easier to detect bugs
2018-06-20 06:22:38 +03:00
ncaq
6187c3cf09
cleaned: appveyor: Easier to detect bugs
...
* appveyor.yml conf file to simple from offcial reference
* Make the cache easier to use by commenting out
* fixed clone directory, from stack to yesod
* curl check https
* stack URL
* split build and test, So we can easy detect build or test error
* test job to single thread, So we can easy find bug of test
2018-06-20 10:49:28 +09:00
Michael Snoyman
a43e5a1cbb
Merge pull request #1526 from yesodweb/1523-fix-stalled-tests
...
1523 fix stalled tests
2018-06-19 11:24:12 +03:00