Commit Graph

58 Commits

Author SHA1 Message Date
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
João Cristóvão
feee2d7de8 requireAuthId does not need YesodAuthPersist master 2014-07-14 10:57:54 +01: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
arpunk
167b29db8d Remove deprecated RepHtml content type 2014-02-24 23:18:46 -05:00
Greg Weber
d817d37c9c yesod-auth: user defined layout 2014-01-08 14:35:13 -08:00
Greg Weber
153654adb9 yesod-auth: send json responses 2014-01-08 12:19:45 -08:00
jp.rider63
df9a8136a6 renamed to onErrorHtml 2013-12-22 22:13:59 -05:00
jp.rider63
ed0e551d17 updated onHtmlError documentation 2013-12-22 01:06:57 -05:00
jp.rider63
b57ac44d9c Added type constraint to onHtmlError. Modified plugins to support this
changed type
2013-12-22 01:02:30 -05:00
jp.rider63
e17523b8f2 attempt at adding onError to auth typeclass 2013-12-20 12:49:30 -05:00
Michael Snoyman
0b4a7185c6 Add some docs 2013-12-17 15:55:28 +02:00
Michael Snoyman
04893d6b0a Export credsKey 2013-12-04 05:26:51 +02:00
Greg Weber
0c9abba5c1 BrowserID: don't use an exception on failure 2013-05-09 11:45:19 -05:00
Greg Weber
604d93512b auth plugins should send JSON response
previously they always redirected
2013-05-09 11:42:34 -05:00
Michael Snoyman
7010292840 Add link to yesod-auth-account 2013-04-25 09:06:11 +03:00
Michael Snoyman
d79fe24d4d Fixes after merge 2013-04-24 22:00:56 +03:00
Michael Snoyman
98ededba28 Merge remote-tracking branch 'origin/yesod1.2'
Conflicts:
	yesod-auth/Yesod/Auth.hs
	yesod-auth/yesod-auth.cabal
	yesod-core/yesod-core.cabal
	yesod-static/Yesod/Static.hs
	yesod-static/yesod-static.cabal
	yesod/yesod.cabal
2013-04-24 19:00:03 +03:00
Michael Snoyman
dfd50f8649 AuthEntity 2013-04-11 09:54:46 +03:00
Michael Snoyman
f29bdbed0e YesodAuthPersist 2013-04-11 09:43:40 +03:00
Michael Snoyman
0d4102d20a Version bump 2013-04-09 11:26:06 +03:00
Kirilll Zaborsky
f6b12764e4 Added haddocks to setCreds/clearCreds 2013-04-09 10:53:49 +04:00
Kirilll Zaborsky
f5f84e830d Added clearCreds symmetric to setCreds function 2013-04-09 09:25:30 +04:00
Michael Snoyman
7748a190f9 Get rid of maybeAuthIdRaw #486 2013-03-24 14:24:41 +02:00
Michael Snoyman
b5a1d76a40 maybeAuthId checks that ID is valid #486 2013-03-24 09:30:39 +02:00
Michael Snoyman
fb4045ea45 Warning cleanup 2013-03-20 11:46:32 +02:00
Michael Snoyman
9c4cd573b4 Everything compiles 2013-03-14 09:28:51 +02:00
Michael Snoyman
099b96f178 Everything compiles 2013-03-13 13:35:11 +02:00
Michael Snoyman
df7c897ee2 cached used in maybeAuth 2013-03-11 11:52:32 +02:00
Michael Snoyman
eecda0c80e Removed conditional compilation 2013-03-11 11:46:05 +02:00
Michael Snoyman
e2cd292877 yesod-auth doesn't use redirects for JSON requests (fixes #479) 2013-03-11 11:37:45 +02:00
Michael Snoyman
8246aa4c1e Whole repo compiles 2013-03-11 11:25:26 +02:00
Greg Weber
613adc8a3d expand 's' to 'sub' 2013-01-14 07:36:34 -08:00
Greg Weber
0cb1752067 m stands for monad, use master 2013-01-14 07:34:09 -08:00
Michael Snoyman
7c72f11b21 Addressed some yesod-auth FIXMEs 2013-01-02 14:13:56 +02:00
Michael Snoyman
fb02d71d73 Persistent 1.1 2012-11-27 16:57:46 +02:00
Michael Snoyman
f6dd0b56b9 maybeAuthId is now part of YesodAuth typeclass 2012-11-26 15:33:39 +02:00
Michael Snoyman
3ecbf43f5d $newline 2012-07-01 20:59:37 +03:00
Michael Snoyman
67ae9c739b Merge commit 'e4e2dd75cc86909d66062a7655b8cbc3a959932d'
Conflicts:
	yesod-auth/Yesod/Auth.hs
	yesod-auth/Yesod/Auth/BrowserId.hs
	yesod-auth/Yesod/Auth/Dummy.hs
	yesod-auth/Yesod/Auth/Email.hs
	yesod-auth/Yesod/Auth/HashDB.hs
	yesod-auth/Yesod/Auth/OpenId.hs
	yesod-auth/Yesod/Auth/Rpxnow.hs
	yesod-form/Yesod/Form/Fields.hs
	yesod-form/Yesod/Form/Functions.hs
	yesod-form/Yesod/Form/Jquery.hs
	yesod-form/Yesod/Form/Nic.hs
	yesod-form/Yesod/Helpers/Crud.hs
	yesod-newsfeed/Yesod/AtomFeed.hs
	yesod-newsfeed/Yesod/RssFeed.hs
2012-03-25 11:07:12 +02:00
Pascal Wittmann
f4e743e50d removed QQ hacks from yesod-auth 2012-03-15 22:08:19 +01:00
Michael Snoyman
4cc468ca3b Beginning of old widget function deprecation, not complete 2012-03-13 06:36:27 +02:00
Michael Snoyman
cbd0719f37 conduit 0.3 2012-03-12 13:40:04 +02:00
Michael Snoyman
26fe38a9f4 maybeAuth/requireAuth use Entity 2012-01-31 13:02:18 +02:00
Michael Snoyman
adecd25bc3 authPlugins takes master site as argument (#233) 2012-01-22 20:41:11 +02:00
Michael Snoyman
e6577832b4 Scaffolding uses boilerplate (#234) 2012-01-22 20:32:44 +02:00
Michael Snoyman
14f17a1373 yesod-auth - login/logout generalization (#228) 2012-01-18 08:24:50 +02:00
Michael Snoyman
0ca5e4878e Avoid use of error (#220) 2012-01-17 09:06:06 +02:00
Michael Snoyman
1b3eb2b282 yesod-auth on authenticate 1.0.0 2012-01-10 11:38:59 +02:00
Michael Snoyman
69f2f7b3e7 Updated yesod-auth for redirect changes 2012-01-07 22:08:29 +02:00
Michael Snoyman
69a5d0e0ed Whole repo builds with new yesod-routes 2012-01-05 15:27:16 +02:00
Michael Snoyman
61f0c26e9f MonadLift 2011-12-30 13:30:24 +02:00