Ping Chen
468fba2226
generalize type signature of GoogleEmail2.getPerson
2018-04-09 14:21:48 +09:00
Sibi Prabakaran
c04d6f9ac7
Remove MINIMAL pragma for authHttpManager
...
We now have a default implementation for it. See this for more
information:
https://github.com/yesodweb/yesod/issues/1489#issuecomment-370200663
Helps in preventing warnings like this:
```
serverside.hs:40:10: warning: [-Wmissing-methods]
• No explicit implementation for
‘authHttpManager’
• In the instance declaration for ‘YesodAuth App’
|
40 | instance YesodAuth App where
| ^^^^^^^^^^^^^
```
2018-03-04 13:20:21 +05:30
Michael Snoyman
a3f130233b
Relax a number of type signatures #1488
2018-02-20 13:51:36 +02: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
Michael Snoyman
6830a9840c
Merge branch 'better-monads' into no-transformers
2018-01-17 06:43:52 +02:00
Michael Snoyman
60f65ed267
Cleanup warnings
2018-01-15 15:09:07 +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
a16e75249a
More moving over to unliftio
2017-12-31 09:20:02 +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
Michael Snoyman
aed10fc84a
WIP
2017-12-13 14:39:59 +02:00
Michael Snoyman
61c887f501
Start converting yesod-auth over
2017-12-13 13:44:59 +02:00
Sibi Prabakaran
aff72a7365
Fix since markup
2017-12-08 15:33:15 +05:30
Sibi Prabakaran
663220f334
Fix exposed version number and also haddock syntax
2017-12-08 15:30:32 +05:30
Casey Allred
108c0c3984
merged master
2017-12-07 14:22:28 -07:00
Casey Allred
30ccfc8089
didn't mean to change this signature
2017-12-07 14:01:36 -07:00
Casey Allred
f82d08b32a
add a way to control redirection to current location when redirectLogin is called
2017-12-07 13:56:53 -07:00
Alex Greif
2c59cb7dcd
extend docs of defaultMaybeAuthId ( #1453 )
...
* extend docs of defaultMaybeAuthId
make more explicite that on each call a database access is done. This can be of relevance and sometimes redundant with other Handler functionality
* Update Auth.hs
2017-11-08 12:36:39 +00:00
Cole Brown
600d307310
Extend YesodAuthEmail to support extensible password hashing.
...
This change introduces `hashAndSaltPassword` and `verifyPassword` to the
`YesodAuthEmail` type class, allowing users to implement their own hashing
schemes (i.e. to provide compatibility with an existing database). It also
updates the default handlers to use these new functions when appropriate. The
functions have default implementation such that behavior for legacy applications
should not change.
2017-09-28 14:37:21 -04:00
Jesse Kempf
9edca8e3b5
Correct Yesod-Auth's usage of "log in" vs "login" in English.
...
"Log in" (two words) is a verb, indicating the action of, well, logging
in. "Login" (one word) is a noun, indicating the credentials used to log
in.
2017-08-30 20:40:29 -07:00
Paul Rouse
3c53acdad8
Add "@since" comments for newly exposed Yesod.Auth.Util.PasswordStore
2017-08-29 18:49:21 +01:00
Paul Rouse
464b055568
Expose Yesod.Auth.Util.PasswordStore
2017-08-29 13:40:32 +01:00
Paul Rouse
59f073a41f
Pure move of Yesod.PasswordStore to Yesod.Auth.Util.PasswordStore
2017-08-29 13:34:20 +01:00
GyuYong Jung
1569af55c7
Add Korean translation
2017-08-26 05:27:53 +09:00
Daniel Campoverde
e3041aa17b
Fix auth messages Spanish translation
2017-08-08 11:03:09 -05:00
Michael Snoyman
4b34fe9c72
Fix deprecation warning for LTS 8
2017-07-23 12:25:29 +03:00
Sibi Prabakaran
92849d863c
Port to cryptonite
2017-05-18 08:18:39 +05:30
Sibi
5a37a52080
Merge pull request #1371 from dfordivam/master
...
Japanese message for Current password
2017-04-05 07:34:47 +05:30
Divam
c1fa2645c0
Japanese message for Current password
2017-04-05 10:07:09 +09:00
mingyu guo
757514c536
Completed chineseMessage in Yesod.Auth.Message. Previously, most of the
...
messages are using simplified characters, but the google translated parts are
using traditional characters. I have fixed this as well.
2017-03-28 20:40:05 +10:30
Daniel Campoverde [alx741]
ea5e1cca26
Update emailLoginHandler 'since' version
2017-02-18 18:28:53 -05:00
Daniel Campoverde [alx741]
c5ddf55937
Update emailLoginHandler 'since' version
2017-02-18 15:14:45 -05:00
Daniel Campoverde [alx741]
c78ae95b3a
Fix email auth module
2017-02-18 15:14:45 -05:00
Daniel Campoverde [alx741]
311f7927bb
Merge branch 'master' of https://github.com/yesodweb/yesod
2017-02-18 15:14:31 -05:00
Daniel Campoverde [alx741]
276a9f1321
Add and export defaultEmailLoginHandler
2017-02-06 16:15:38 -05:00
Sibi Prabakaran
d1ec382fc6
Better haddock rendering: Since -> @since
2017-02-07 01:01:05 +05:30
Sibi Prabakaran
dddae24786
Export plugin identifier for GoogleEmail2 module
2017-02-07 01:00:00 +05:30
Sibi Prabakaran
0c3e1d2299
Derive Show for Creds type
...
Useful for doing liftIO $ print inside Yesod handlers like
authenticate.
2017-02-05 20:25:23 +05:30
Michael Snoyman
aefd074efa
Cleanup GHC 8 redundant constraints
2017-02-05 13:35:12 +02:00
Michael Snoyman
3dc2d10b30
Compile with -Wall -Werror
2017-02-05 12:09:18 +02:00
Michael Snoyman
64ed0792bc
Check mime-type for JSON bodies #1330
2017-02-02 08:10:19 +02:00
Michael Snoyman
db883f19b8
Fix some whitespace
2017-02-02 07:43:55 +02:00
Sibi Prabakaran
4330461033
Change the type signature from Text to Verkey
...
Since the other type signatures of the typeclass has VerKey instead of
Text, it would be better to use VerKey here also to maintain
consistency. Also, IMO this signature is more easy to follow ( I had to
look at source to see how the verification key was generated. )
2016-12-30 18:06:40 +05:30
Sibi Prabakaran
08f994103a
Add documentation for JSON endpoints for Yesod.Auth.Email module
2016-12-08 14:25:08 +05:30
Sibi Prabakaran
8f8c99db88
Do parseJsonBody only when form data is not found
2016-12-07 14:08:37 +05:30
Sibi Prabakaran
0255f93c22
Export croatianMessage
2016-12-06 18:44:46 +05:30
Sibi Prabakaran
47b2877c79
More Haddock fixes
2016-12-06 18:44:38 +05:30
Sibi Prabakaran
75df4e0468
Use @since for proper haddock rendering
2016-12-06 18:21:36 +05:30