Michael Snoyman
f86d181377
Merge branch 'master' into yesod-1.4
2014-09-21 00:07:11 +03:00
Greg Weber
629df4a291
add required attribute
2014-09-17 12:31:42 -07:00
Greg Weber
8c2542eb8c
add required attribute
2014-09-17 09:28:26 -07:00
Greg Weber
448b33d1cc
fix confirmation email status
...
I screwed this up in a big re-factoring in 153654ad
2014-09-16 18:49:45 -07:00
Greg Weber
4f95cb9f64
Merge pull request #825 from yesodweb/confirm-email-status
...
Confirm email status
2014-09-16 20:49:05 -05:00
Greg Weber
2a30519169
fix some import warnings
2014-09-16 18:13:28 -07:00
Greg Weber
1067816b5d
fix confirmation email status
...
I screwed this up in a big re-factoring in 153654ad
2014-09-16 18:10:40 -07:00
Manuel Gómez
94331fcab9
Travis doesn't like type instance in a class
2014-09-12 13:35:00 +00:00
Manuel Gómez
9729cd9d15
Default type instance for AuthEntity
...
`AuthEntity` is now a type family associated to the `YesodAuthPersist`
class, so its old type alias definition has now become its default type
instance, which allows recovering the old behavior with minimal
boilerplate: an empty instance declaration for `YesodAuthPersist` makes
a Yesod application written with Persistent work just like before.
Unfortunately, this requires enabling `UndecidableInstances` in the
`Yesod.Auth` module since there is now a nested type family application
(as `AuthEntity` is now itself a type family).
This was tested with the scaffolded application with PostgreSQL, and it
works (given another small change to make it work with Persistent 2 due
to how `SqlPersistT` is now defined).
2014-09-12 13:18:51 +00:00
Manuel Gómez
4fd20299c1
maybeAuthPair, requireAuthPair
...
`maybeAuth` and `requireAuth` have been reverted to their original
signatures, which assume a Persistent database. `maybeAuthPair` and
`requireAuthPair` are introduced, which do the same but without that
assumption.
2014-09-12 13:14:15 +00:00
Greg Weber
ec6fd486b6
remove the id_token parameter
...
We saw this error:
Internal Server Error
key "id_token" not present
2014-09-11 13:19:20 -07:00
Manuel Gómez
086837686a
Decouple YesodAuthPersist from Persistent
2014-09-10 17:51:11 +00:00
Michael Snoyman
2b01c38d60
Added missing pragma
2014-09-08 07:11:38 +03: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
8b2297adf4
Conditional support for persistent2 branch.
...
Pinging @gregwebs. I've backported the relevant tweaks on the yesod-1.4
branch, to allow master to compile against persistent2. Whenever you're
ready to release persistent2, we can:
1. Release persistent2.
2. Release new versions of yesod packages, which will work with
persistent 1.3 and 2.0.
3. Add an upper bound in Stackage to avoid using the new persistent
libraries until they're ready for primetime.
4. Release your blog post.
yesod-1.4 should then remove the CPP here and only work with
persistent2; the biggest "breaking change" in the 1.4 release will be
remove backwards compatibility hacks for persistent, conduit,
shakespeare, and wai.
2014-08-27 11:16:08 +03:00
Michael Snoyman
30352f56ec
Some fixes for persistent2
2014-08-27 10:53:17 +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
587080dbff
Merge pull request #797 from wuzzeb/master
...
Include google person information in the credsExtra field for GoogleEmail2 auth
2014-08-17 11:20:29 +03:00
John Lenz
2a6956a85c
Small fixes to adding person info to creds extra for google auth
2014-08-15 21:17:52 -05:00
Kadzuya OKAMOTO
1fe72e8351
fixed Japanese message
2014-08-15 12:57:39 +09:00
John Lenz
8cc1accc11
Include google person information in the credsExtra field for GoogleEmail2 auth
2014-08-05 22:46:55 -05:00
Michael Snoyman
4fd1f76b17
Merge pull request #792 from geraldus/auth-minor-improvements
...
pre-baked Route Auth value
2014-08-03 13:09:35 +03:00
Артур Файзрахманов
ed53d46adc
Type signature fix
2014-08-03 16:07:16 +06:00
Артур Файзрахманов
13f0eb3895
pre-baked Route Auth value
...
Added forwardUrl alias for `PluginR "browserid" []` as in other plugins
(e.g. GoogleEmail2 and OpenID).
2014-08-03 16:02:52 +06:00
Артур Файзрахманов
30be70918f
added messages for Russian language
...
`.cabal` unchanged, need version bump
2014-07-28 23:13:31 +06:00
Michael Snoyman
575e222605
Merge branch 'patch-2' of https://github.com/cblp/yesod into yesod-1.4
2014-07-26 21:20:49 +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
9aa9bf9478
401 if API client is not authenticated
...
Server should not HTTP-redirect API client to the auth page, error 401 is more suitable.
2014-07-25 19:19:41 +04:00
João Cristóvão
feee2d7de8
requireAuthId does not need YesodAuthPersist master
2014-07-14 10:57:54 +01:00
Michael Snoyman
28c366a3b3
Add back conduit 1.0 support #757
2014-06-16 09:07:04 +03:00
Michael Snoyman
0a3ae4ef66
Merge remote-tracking branch 'origin/master' into yesod-1.4
2014-06-01 16:12:36 +03:00
Michael Snoyman
96caaf31d8
GoogleEmail2
2014-06-01 16:10:47 +03:00
Michael Snoyman
e35836bbc1
Include patched pwstore-fast implementation.
...
See: https://github.com/PeterScott/pwstore/pull/10
2014-05-11 15:43:06 +03:00
Michael Snoyman
ddc622485a
Merge pull request #735 from axel-angel/master
...
Auth.Email: modern buttons, use translation RegisterLong
2014-05-09 07:31:04 +03:00
Axel Angel
da034e7beb
Translate missing french messages
2014-05-09 00:50:13 +02:00
Axel Angel
bd1b5b1ef1
Auth.Email: modern buttons, use translation RegisterLong
2014-05-09 00:29:50 +02: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
bdcb174830
Remove pureMD5 and SHA deps
2014-03-26 15:21:37 +02:00
Michael Snoyman
c4d97b755b
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
...
Conflicts:
yesod-auth/Yesod/Auth/HashDB.hs
2014-03-25 05:31:12 +02:00
Michael Snoyman
57442abaae
Remove HashDB
2014-03-21 08:48:15 +02:00
Greg Weber
b1cdf072ad
Merge branch 'master' into auth-json-2
...
Conflicts:
yesod-auth/Yesod/Auth.hs
yesod-auth/Yesod/Auth/Email.hs
yesod-auth/yesod-auth.cabal
2014-03-20 14:38:14 -07: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
Max Cantor (MBPr)
6182ecb256
Correct Cabal Version and Added createOnClickOverride to BrowserId
2014-03-04 15:24:08 -08:00
Michael Snoyman
2af3b1b8f1
Merge remote-tracking branch 'origin/simpler-dispatch' into persistent2-simpler-dispatch
2014-03-04 13:57:51 +02:00
Michael Snoyman
13172439a9
Added missing ViewPatterns
2014-03-04 13:57:15 +02:00
Michael Snoyman
84baab6fb5
Merge remote-tracking branch 'origin/simpler-dispatch' into persistent2-simpler-dispatch
2014-03-04 13:47:21 +02:00
Felipe Lessa
6f7e8c8e04
Allow Yesod.Auth.Email handlers to be overriden.
...
The main purpose is to allow more customization of the Yesod.Auth.Email
handlers by not only changing the CSS but also the DOM.
2014-02-25 19:28:09 -03:00
Felipe Lessa
9e6db27be2
Sync normalizeEmailAddress' doc to current code.
2014-02-25 19:11:44 -03:00
Felipe Lessa
9f7031d9dd
Whitespace.
2014-02-25 19:10:02 -03:00
Felipe Lessa
71558d3342
Increase Yesod.Auth.Email pwstore strength to the recommended minimum of 14.
2014-02-25 19:08:50 -03:00