yesod-platform and scaffolding update

This commit is contained in:
Michael Snoyman 2014-06-09 11:01:49 +03:00
parent 1c78f86c8d
commit 0dc5d2e88e
8 changed files with 55 additions and 62 deletions

View File

@ -122,7 +122,6 @@ import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth import Yesod.Auth
import Yesod.Auth.BrowserId import Yesod.Auth.BrowserId
import Yesod.Auth.GoogleEmail
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -251,7 +250,7 @@ instance YesodAuth App where
} }
-- You can add other plugins like BrowserID, email or OAuth here -- You can add other plugins like BrowserID, email or OAuth here
authPlugins _ = [authBrowserId def, authGoogleEmail] authPlugins _ = [authBrowserId def]
authHttpManager = httpManager authHttpManager = httpManager
@ -346,7 +345,6 @@ infixr 5 <>
{-# START_FILE Model.hs #-} {-# START_FILE Model.hs #-}
module Model where module Model where
import Prelude
import Yesod import Yesod
import Data.Text (Text) import Data.Text (Text)
import Database.Persist.Quasi import Database.Persist.Quasi
@ -362,7 +360,7 @@ let mongoSettings = (mkPersistSettings (ConT ''MongoBackend))
{ mpsGeneric = False { mpsGeneric = False
} }
in share [mkPersist mongoSettings] in share [mkPersist mongoSettings]
$(persistFileWith lowerCaseSettings "config/models") $(persistFileWith upperCaseSettings "config/models")
{-# START_FILE PROJECTNAME.cabal #-} {-# START_FILE PROJECTNAME.cabal #-}
name: PROJECTNAME name: PROJECTNAME
@ -423,11 +421,11 @@ library
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, hjsmin >= 0.1 && < 0.2 , hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -129,7 +129,6 @@ import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth import Yesod.Auth
import Yesod.Auth.BrowserId import Yesod.Auth.BrowserId
import Yesod.Auth.GoogleEmail
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -260,7 +259,7 @@ instance YesodAuth App where
} }
-- You can add other plugins like BrowserID, email or OAuth here -- You can add other plugins like BrowserID, email or OAuth here
authPlugins _ = [authBrowserId def, authGoogleEmail] authPlugins _ = [authBrowserId def]
authHttpManager = httpManager authHttpManager = httpManager
@ -355,7 +354,6 @@ infixr 5 <>
{-# START_FILE Model.hs #-} {-# START_FILE Model.hs #-}
module Model where module Model where
import Prelude
import Yesod import Yesod
import Data.Text (Text) import Data.Text (Text)
import Database.Persist.Quasi import Database.Persist.Quasi
@ -427,11 +425,11 @@ library
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, hjsmin >= 0.1 && < 0.2 , hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -132,7 +132,6 @@ import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth import Yesod.Auth
import Yesod.Auth.BrowserId import Yesod.Auth.BrowserId
import Yesod.Auth.GoogleEmail
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -273,7 +272,7 @@ instance YesodAuth App where
} }
-- You can add other plugins like BrowserID, email or OAuth here -- You can add other plugins like BrowserID, email or OAuth here
authPlugins _ = [authBrowserId def, authGoogleEmail] authPlugins _ = [authBrowserId def]
authHttpManager = httpManager authHttpManager = httpManager
@ -387,7 +386,6 @@ infixr 5 <>
{-# START_FILE Model.hs #-} {-# START_FILE Model.hs #-}
module Model where module Model where
import Prelude
import Yesod import Yesod
import Data.Text (Text) import Data.Text (Text)
import Database.Persist.Quasi import Database.Persist.Quasi
@ -464,11 +462,11 @@ library
, template-haskell , template-haskell
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -129,7 +129,6 @@ import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth import Yesod.Auth
import Yesod.Auth.BrowserId import Yesod.Auth.BrowserId
import Yesod.Auth.GoogleEmail
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -260,7 +259,7 @@ instance YesodAuth App where
} }
-- You can add other plugins like BrowserID, email or OAuth here -- You can add other plugins like BrowserID, email or OAuth here
authPlugins _ = [authBrowserId def, authGoogleEmail] authPlugins _ = [authBrowserId def]
authHttpManager = httpManager authHttpManager = httpManager
@ -355,7 +354,6 @@ infixr 5 <>
{-# START_FILE Model.hs #-} {-# START_FILE Model.hs #-}
module Model where module Model where
import Prelude
import Yesod import Yesod
import Data.Text (Text) import Data.Text (Text)
import Database.Persist.Quasi import Database.Persist.Quasi
@ -427,11 +425,11 @@ library
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, hjsmin >= 0.1 && < 0.2 , hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -113,6 +113,8 @@ module Foundation where
import Prelude import Prelude
import Yesod import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth
import Yesod.Auth.BrowserId
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -351,11 +353,11 @@ library
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, hjsmin >= 0.1 && < 0.2 , hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -129,7 +129,6 @@ import Yesod
import Yesod.Static import Yesod.Static
import Yesod.Auth import Yesod.Auth
import Yesod.Auth.BrowserId import Yesod.Auth.BrowserId
import Yesod.Auth.GoogleEmail
import Yesod.Default.Config import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal) import Yesod.Default.Util (addStaticContentExternal)
import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager)) import Network.HTTP.Client.Conduit (Manager, HasHttpManager (getHttpManager))
@ -260,7 +259,7 @@ instance YesodAuth App where
} }
-- You can add other plugins like BrowserID, email or OAuth here -- You can add other plugins like BrowserID, email or OAuth here
authPlugins _ = [authBrowserId def, authGoogleEmail] authPlugins _ = [authBrowserId def]
authHttpManager = httpManager authHttpManager = httpManager
@ -355,7 +354,6 @@ infixr 5 <>
{-# START_FILE Model.hs #-} {-# START_FILE Model.hs #-}
module Model where module Model where
import Prelude
import Yesod import Yesod
import Data.Text (Text) import Data.Text (Text)
import Database.Persist.Quasi import Database.Persist.Quasi
@ -427,11 +425,11 @@ library
, shakespeare >= 2.0 && < 2.1 , shakespeare >= 2.0 && < 2.1
, hjsmin >= 0.1 && < 0.2 , hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4 , monad-control >= 0.3 && < 0.4
, wai-extra >= 2.1 && < 2.2 , wai-extra >= 3.0 && < 3.1
, yaml >= 0.8 && < 0.9 , yaml >= 0.8 && < 0.9
, http-conduit >= 2.1 && < 2.2 , http-conduit >= 2.1 && < 2.2
, directory >= 1.1 && < 1.3 , directory >= 1.1 && < 1.3
, warp >= 2.1 && < 2.2 , warp >= 3.0 && < 3.1
, data-default , data-default
, aeson >= 0.6 && < 0.8 , aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0 , conduit >= 1.0 && < 2.0

View File

@ -1,5 +1,5 @@
name: yesod-bin name: yesod-bin
version: 1.2.10 version: 1.2.10.1
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com> author: Michael Snoyman <michael@snoyman.com>

View File

@ -1,5 +1,5 @@
name: yesod-platform name: yesod-platform
version: 1.2.11 version: 1.2.12
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com> author: Michael Snoyman <michael@snoyman.com>
@ -22,7 +22,7 @@ library
, asn1-parse == 0.8.1 , asn1-parse == 0.8.1
, asn1-types == 0.2.3 , asn1-types == 0.2.3
, async == 2.0.1.5 , async == 2.0.1.5
, attoparsec == 0.11.3.4 , attoparsec == 0.12.0.0
, attoparsec-conduit == 1.1.0 , attoparsec-conduit == 1.1.0
, authenticate == 1.3.2.8 , authenticate == 1.3.2.8
, base16-bytestring == 0.1.1.6 , base16-bytestring == 0.1.1.6
@ -36,10 +36,11 @@ library
, case-insensitive == 1.2.0.0 , case-insensitive == 1.2.0.0
, cereal == 0.4.0.1 , cereal == 0.4.0.1
, cipher-aes == 0.2.7 , cipher-aes == 0.2.7
, cipher-des == 0.0.6
, cipher-rc4 == 0.1.4 , cipher-rc4 == 0.1.4
, clientsession == 0.9.0.3 , clientsession == 0.9.0.3
, conduit == 1.1.2.1 , conduit == 1.1.6
, conduit-extra == 1.1.0.3 , conduit-extra == 1.1.0.4
, connection == 0.2.1 , connection == 0.2.1
, cookie == 0.4.1.1 , cookie == 0.4.1.1
, cprng-aes == 0.5.2 , cprng-aes == 0.5.2
@ -49,7 +50,7 @@ library
, crypto-pubkey == 0.2.4 , crypto-pubkey == 0.2.4
, crypto-pubkey-types == 0.4.2.2 , crypto-pubkey-types == 0.4.2.2
, crypto-random == 0.0.7 , crypto-random == 0.0.7
, cryptohash == 0.11.4 , cryptohash == 0.11.5
, cryptohash-conduit == 0.1.1 , cryptohash-conduit == 0.1.1
, css-text == 0.1.2.1 , css-text == 0.1.2.1
, data-default == 0.5.3 , data-default == 0.5.3
@ -60,22 +61,22 @@ library
, data-default-instances-old-locale == 0.0.1 , data-default-instances-old-locale == 0.0.1
, dlist == 0.7.0.1 , dlist == 0.7.0.1
, email-validate == 2.0.1 , email-validate == 2.0.1
, entropy == 0.2.2.4 , entropy == 0.3
, esqueleto == 1.4.1 , esqueleto == 1.4.1.2
, exceptions == 0.6.1 , exceptions == 0.6.1
, fast-logger == 2.1.5 , fast-logger == 2.1.5
, file-embed == 0.0.6 , file-embed == 0.0.7
, hamlet == 1.2.0 , hamlet == 1.2.0
, hjsmin == 0.1.4.6 , hjsmin == 0.1.4.6
, hspec == 1.9.5 , hspec == 1.9.5
, hspec-expectations == 0.5.0.1 , hspec-expectations == 0.5.0.1
, html-conduit == 1.1.0.5 , html-conduit == 1.1.0.5
, http-client == 0.3.2.2 , http-client == 0.3.3
, http-client-tls == 0.2.1.1 , http-client-tls == 0.2.1.1
, http-conduit == 2.1.2 , http-conduit == 2.1.2
, http-date == 0.0.4 , http-date == 0.0.4
, http-reverse-proxy == 0.3.1.7 , http-reverse-proxy == 0.3.1.8
, http-types == 0.8.4 , http-types == 0.8.5
, language-javascript == 0.5.13 , language-javascript == 0.5.13
, lifted-base == 0.2.2.2 , lifted-base == 0.2.2.2
, mime-mail == 0.4.5.2 , mime-mail == 0.4.5.2
@ -90,17 +91,17 @@ library
, path-pieces == 0.1.3.1 , path-pieces == 0.1.3.1
, pem == 0.2.2 , pem == 0.2.2
, persistent == 1.3.1.1 , persistent == 1.3.1.1
, persistent-template == 1.3.1.3 , persistent-template == 1.3.1.4
, primitive == 0.5.3.0 , primitive == 0.5.3.0
, publicsuffixlist == 0.1 , publicsuffixlist == 0.1
, pwstore-fast == 2.4.1 , pwstore-fast == 2.4.1
, quickcheck-io == 0.1.1 , quickcheck-io == 0.1.1
, resource-pool == 0.2.2.0 , resource-pool == 0.2.3.0
, resourcet == 1.1.2.2 , resourcet == 1.1.2.2
, safe == 0.3.4 , safe == 0.3.4
, scientific == 0.3.2.1 , scientific == 0.3.2.1
, securemem == 0.1.3 , securemem == 0.1.3
, semigroups == 0.14 , semigroups == 0.15
, setenv == 0.1.1.1 , setenv == 0.1.1.1
, shakespeare == 2.0.0.3 , shakespeare == 2.0.0.3
, shakespeare-css == 1.1.0 , shakespeare-css == 1.1.0
@ -112,47 +113,47 @@ library
, skein == 1.0.9 , skein == 1.0.9
, socks == 0.5.4 , socks == 0.5.4
, stm-chans == 3.0.0.2 , stm-chans == 3.0.0.2
, streaming-commons == 0.1.2.4 , streaming-commons == 0.1.3
, stringsearch == 0.3.6.5 , stringsearch == 0.3.6.5
, system-fileio == 0.3.13 , system-fileio == 0.3.14
, system-filepath == 0.4.11 , system-filepath == 0.4.12
, tagged == 0.7.2 , tagged == 0.7.2
, tagsoup == 0.13.1 , tagsoup == 0.13.1
, tagstream-conduit == 0.5.5.1 , tagstream-conduit == 0.5.5.1
, tf-random == 0.5 , tf-random == 0.5
, tls == 1.2.7 , tls == 1.2.8
, transformers-base == 0.4.2 , transformers-base == 0.4.2
-- , transformers-compat == 0.3.3.4
, unix-compat == 0.4.1.1 , unix-compat == 0.4.1.1
, unordered-containers == 0.2.4.0 , unordered-containers == 0.2.4.0
, utf8-string == 0.3.8 , utf8-string == 0.3.8
, vector == 0.10.9.1 , vector == 0.10.11.0
, void == 0.6.1 , void == 0.6.1
, wai == 2.1.0.2 , wai == 3.0.0
, wai-app-static == 2.0.1 , wai-app-static == 3.0.0
, wai-extra == 2.1.1.1 , wai-extra == 3.0.0
, wai-logger == 2.1.1 , wai-logger == 2.1.1
, wai-test == 2.0.1.2 , wai-test == 3.0.0
, warp == 2.1.5.1 , warp == 3.0.0
, warp-tls == 2.0.5 , warp-tls == 3.0.0
, word8 == 0.0.4 , word8 == 0.0.4
, x509 == 1.4.11 , x509 == 1.4.11
, x509-store == 1.4.4 , x509-store == 1.4.4
, x509-system == 1.4.5 , x509-system == 1.4.5
, x509-validation == 1.5.0 , x509-validation == 1.5.0
, xml-conduit == 1.2.0.1 , xml-conduit == 1.2.0.2
, xml-types == 0.3.4 , xml-types == 0.3.4
, xss-sanitize == 0.3.5.2 , xss-sanitize == 0.3.5.2
, yaml == 0.8.8.2 , yaml == 0.8.8.3
, yesod == 1.2.5.2 , yesod == 1.2.5.3
, yesod-auth == 1.3.0.5 , yesod-auth == 1.3.1
, yesod-auth-hashdb == 1.3.0.1 , yesod-auth-hashdb == 1.3.0.1
, yesod-core == 1.2.15.1 , yesod-core == 1.2.15.2
, yesod-form == 1.3.9 , yesod-form == 1.3.9.1
, yesod-persistent == 1.2.2.3 , yesod-persistent == 1.2.2.3
, yesod-routes == 1.2.0.6 , yesod-routes == 1.2.0.6
, yesod-static == 1.2.3 , yesod-static == 1.2.3
, yesod-test == 1.2.1.5 , yesod-test == 1.2.2
, zlib-conduit == 1.1.0
exposed-modules: Yesod.Platform exposed-modules: Yesod.Platform