Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CoreState_v0 = CoreState_v0 {}
- data CoreState_1 = CoreState_1 {}
- data CoreState = CoreState {}
- coreUACCT :: Lens' CoreState (Maybe UACCT)
- coreSiteName :: Lens' CoreState (Maybe Text)
- coreSendmailPath :: Lens' CoreState (Maybe FilePath)
- coreRootRedirect :: Lens' CoreState (Maybe Text)
- coreReplyToAddress :: Lens' CoreState (Maybe SimpleAddress)
- coreLoginRedirect :: Lens' CoreState (Maybe Text)
- coreFromAddress :: Lens' CoreState (Maybe SimpleAddress)
- coreEnableOpenId :: Lens' CoreState Bool
- initialCoreState :: CoreState
- getSiteName :: Query CoreState (Maybe Text)
- setSiteName :: Maybe Text -> Update CoreState ()
- getUACCT :: Query CoreState (Maybe UACCT)
- setUACCT :: Maybe UACCT -> Update CoreState ()
- getRootRedirect :: Query CoreState (Maybe Text)
- setRootRedirect :: Maybe Text -> Update CoreState ()
- getLoginRedirect :: Query CoreState (Maybe Text)
- setLoginRedirect :: Maybe Text -> Update CoreState ()
- getFromAddress :: Query CoreState (Maybe SimpleAddress)
- setFromAddress :: Maybe SimpleAddress -> Update CoreState ()
- getReplyToAddress :: Query CoreState (Maybe SimpleAddress)
- setReplyToAddress :: Maybe SimpleAddress -> Update CoreState ()
- getSendmailPath :: Query CoreState (Maybe FilePath)
- setSendmailPath :: Maybe FilePath -> Update CoreState ()
- getEnableOpenId :: Query CoreState Bool
- setEnableOpenId :: Bool -> Update CoreState ()
- getCoreState :: Query CoreState CoreState
- setCoreState :: CoreState -> Update CoreState ()
- data GetUACCT = GetUACCT
- newtype SetUACCT = SetUACCT (Maybe UACCT)
- data GetRootRedirect = GetRootRedirect
- newtype SetRootRedirect = SetRootRedirect (Maybe Text)
- data GetLoginRedirect = GetLoginRedirect
- newtype SetLoginRedirect = SetLoginRedirect (Maybe Text)
- data GetSiteName = GetSiteName
- newtype SetSiteName = SetSiteName (Maybe Text)
- data GetFromAddress = GetFromAddress
- newtype SetFromAddress = SetFromAddress (Maybe SimpleAddress)
- data GetReplyToAddress = GetReplyToAddress
- newtype SetReplyToAddress = SetReplyToAddress (Maybe SimpleAddress)
- data GetSendmailPath = GetSendmailPath
- newtype SetSendmailPath = SetSendmailPath (Maybe [Char])
- newtype SetEnableOpenId = SetEnableOpenId Bool
- data GetEnableOpenId = GetEnableOpenId
- data GetCoreState = GetCoreState
- newtype SetCoreState = SetCoreState CoreState
- data Acid = Acid {}
- class GetAcidState m st where
- getAcidState :: m (AcidState st)
- withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a
Documentation
data CoreState_v0 Source #
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
CoreState_v0 | |
|
Instances
Eq CoreState_v0 Source # | |
Defined in Clckwrks.Acid (==) :: CoreState_v0 -> CoreState_v0 -> Bool # (/=) :: CoreState_v0 -> CoreState_v0 -> Bool # | |
Data CoreState_v0 Source # | |
Defined in Clckwrks.Acid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState_v0 -> c CoreState_v0 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState_v0 # toConstr :: CoreState_v0 -> Constr # dataTypeOf :: CoreState_v0 -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState_v0) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState_v0) # gmapT :: (forall b. Data b => b -> b) -> CoreState_v0 -> CoreState_v0 # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_v0 -> r # gmapQ :: (forall d. Data d => d -> u) -> CoreState_v0 -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState_v0 -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_v0 -> m CoreState_v0 # | |
Show CoreState_v0 Source # | |
Defined in Clckwrks.Acid showsPrec :: Int -> CoreState_v0 -> ShowS # show :: CoreState_v0 -> String # showList :: [CoreState_v0] -> ShowS # | |
SafeCopy CoreState_v0 Source # | |
Defined in Clckwrks.Acid |
data CoreState_1 Source #
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
CoreState_1 | |
|
Instances
Eq CoreState_1 Source # | |
Defined in Clckwrks.Acid (==) :: CoreState_1 -> CoreState_1 -> Bool # (/=) :: CoreState_1 -> CoreState_1 -> Bool # | |
Data CoreState_1 Source # | |
Defined in Clckwrks.Acid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState_1 -> c CoreState_1 # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState_1 # toConstr :: CoreState_1 -> Constr # dataTypeOf :: CoreState_1 -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState_1) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState_1) # gmapT :: (forall b. Data b => b -> b) -> CoreState_1 -> CoreState_1 # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_1 -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_1 -> r # gmapQ :: (forall d. Data d => d -> u) -> CoreState_1 -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState_1 -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState_1 -> m CoreState_1 # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_1 -> m CoreState_1 # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_1 -> m CoreState_1 # | |
Show CoreState_1 Source # | |
Defined in Clckwrks.Acid showsPrec :: Int -> CoreState_1 -> ShowS # show :: CoreState_1 -> String # showList :: [CoreState_1] -> ShowS # | |
SafeCopy CoreState_1 Source # | |
Defined in Clckwrks.Acid | |
Migrate CoreState_1 Source # | |
Defined in Clckwrks.Acid type MigrateFrom CoreState_1 :: Type # | |
type MigrateFrom CoreState_1 Source # | |
Defined in Clckwrks.Acid |
CoreState
holds some values that are required by the core
itself, or which are useful enough to be shared with numerous
plugins/themes.
CoreState | |
|
Instances
Eq CoreState Source # | |
Data CoreState Source # | |
Defined in Clckwrks.Acid gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState -> c CoreState # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState # toConstr :: CoreState -> Constr # dataTypeOf :: CoreState -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState) # gmapT :: (forall b. Data b => b -> b) -> CoreState -> CoreState # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState -> r # gmapQ :: (forall d. Data d => d -> u) -> CoreState -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState -> m CoreState # | |
Show CoreState Source # | |
SafeCopy CoreState Source # | |
IsAcidic CoreState Source # | |
Defined in Clckwrks.Acid acidEvents :: [Event CoreState] # | |
Migrate CoreState Source # | |
Defined in Clckwrks.Acid type MigrateFrom CoreState :: Type # migrate :: MigrateFrom CoreState -> CoreState # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # | |
Defined in Clckwrks.Monad | |
type MigrateFrom CoreState Source # | |
Defined in Clckwrks.Acid |
getLoginRedirect :: Query CoreState (Maybe Text) Source #
get the path that we should redirect to after login
setLoginRedirect :: Maybe Text -> Update CoreState () Source #
set the path that we should redirect to after login
getFromAddress :: Query CoreState (Maybe SimpleAddress) Source #
get the From: address for system emails
setFromAddress :: Maybe SimpleAddress -> Update CoreState () Source #
get the From: address for system emails
getReplyToAddress :: Query CoreState (Maybe SimpleAddress) Source #
get the Reply-To: address for system emails
setReplyToAddress :: Maybe SimpleAddress -> Update CoreState () Source #
get the Reply-To: address for system emails
setSendmailPath :: Maybe FilePath -> Update CoreState () Source #
set the path to the sendmail executable
Instances
SafeCopy GetUACCT Source # | |
QueryEvent GetUACCT Source # | |
Defined in Clckwrks.Acid | |
Method GetUACCT Source # | |
Defined in Clckwrks.Acid type MethodResult GetUACCT :: Type # type MethodState GetUACCT :: Type # | |
type MethodState GetUACCT Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetUACCT Source # | |
Defined in Clckwrks.Acid |
Instances
SafeCopy SetUACCT Source # | |
UpdateEvent SetUACCT Source # | |
Defined in Clckwrks.Acid | |
Method SetUACCT Source # | |
Defined in Clckwrks.Acid type MethodResult SetUACCT :: Type # type MethodState SetUACCT :: Type # | |
type MethodState SetUACCT Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetUACCT Source # | |
Defined in Clckwrks.Acid |
data GetRootRedirect Source #
Instances
SafeCopy GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
Method GetRootRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult GetRootRedirect :: Type # type MethodState GetRootRedirect :: Type # methodTag :: GetRootRedirect -> Tag # | |
type MethodState GetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetRootRedirect Source # | |
Defined in Clckwrks.Acid |
newtype SetRootRedirect Source #
Instances
SafeCopy SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
Method SetRootRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult SetRootRedirect :: Type # type MethodState SetRootRedirect :: Type # methodTag :: SetRootRedirect -> Tag # | |
type MethodState SetRootRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetRootRedirect Source # | |
Defined in Clckwrks.Acid |
data GetLoginRedirect Source #
Instances
SafeCopy GetLoginRedirect Source # | |
QueryEvent GetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
Method GetLoginRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult GetLoginRedirect :: Type # type MethodState GetLoginRedirect :: Type # methodTag :: GetLoginRedirect -> Tag # | |
type MethodState GetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetLoginRedirect Source # | |
Defined in Clckwrks.Acid |
newtype SetLoginRedirect Source #
Instances
SafeCopy SetLoginRedirect Source # | |
UpdateEvent SetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
Method SetLoginRedirect Source # | |
Defined in Clckwrks.Acid type MethodResult SetLoginRedirect :: Type # type MethodState SetLoginRedirect :: Type # methodTag :: SetLoginRedirect -> Tag # | |
type MethodState SetLoginRedirect Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetLoginRedirect Source # | |
Defined in Clckwrks.Acid |
data GetSiteName Source #
Instances
SafeCopy GetSiteName Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetSiteName Source # | |
Defined in Clckwrks.Acid | |
Method GetSiteName Source # | |
Defined in Clckwrks.Acid type MethodResult GetSiteName :: Type # type MethodState GetSiteName :: Type # methodTag :: GetSiteName -> Tag # | |
type MethodState GetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetSiteName Source # | |
Defined in Clckwrks.Acid |
newtype SetSiteName Source #
Instances
SafeCopy SetSiteName Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetSiteName Source # | |
Defined in Clckwrks.Acid | |
Method SetSiteName Source # | |
Defined in Clckwrks.Acid type MethodResult SetSiteName :: Type # type MethodState SetSiteName :: Type # methodTag :: SetSiteName -> Tag # | |
type MethodState SetSiteName Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetSiteName Source # | |
Defined in Clckwrks.Acid |
data GetFromAddress Source #
Instances
SafeCopy GetFromAddress Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetFromAddress Source # | |
Defined in Clckwrks.Acid | |
Method GetFromAddress Source # | |
Defined in Clckwrks.Acid type MethodResult GetFromAddress :: Type # type MethodState GetFromAddress :: Type # methodTag :: GetFromAddress -> Tag # | |
type MethodState GetFromAddress Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetFromAddress Source # | |
Defined in Clckwrks.Acid |
newtype SetFromAddress Source #
Instances
SafeCopy SetFromAddress Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetFromAddress Source # | |
Defined in Clckwrks.Acid | |
Method SetFromAddress Source # | |
Defined in Clckwrks.Acid type MethodResult SetFromAddress :: Type # type MethodState SetFromAddress :: Type # methodTag :: SetFromAddress -> Tag # | |
type MethodState SetFromAddress Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetFromAddress Source # | |
Defined in Clckwrks.Acid |
data GetReplyToAddress Source #
Instances
SafeCopy GetReplyToAddress Source # | |
QueryEvent GetReplyToAddress Source # | |
Defined in Clckwrks.Acid | |
Method GetReplyToAddress Source # | |
Defined in Clckwrks.Acid type MethodResult GetReplyToAddress :: Type # type MethodState GetReplyToAddress :: Type # methodTag :: GetReplyToAddress -> Tag # | |
type MethodState GetReplyToAddress Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetReplyToAddress Source # | |
Defined in Clckwrks.Acid |
newtype SetReplyToAddress Source #
Instances
SafeCopy SetReplyToAddress Source # | |
UpdateEvent SetReplyToAddress Source # | |
Defined in Clckwrks.Acid | |
Method SetReplyToAddress Source # | |
Defined in Clckwrks.Acid type MethodResult SetReplyToAddress :: Type # type MethodState SetReplyToAddress :: Type # methodTag :: SetReplyToAddress -> Tag # | |
type MethodState SetReplyToAddress Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetReplyToAddress Source # | |
Defined in Clckwrks.Acid |
data GetSendmailPath Source #
Instances
SafeCopy GetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
Method GetSendmailPath Source # | |
Defined in Clckwrks.Acid type MethodResult GetSendmailPath :: Type # type MethodState GetSendmailPath :: Type # methodTag :: GetSendmailPath -> Tag # | |
type MethodState GetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetSendmailPath Source # | |
Defined in Clckwrks.Acid |
newtype SetSendmailPath Source #
SetSendmailPath (Maybe [Char]) |
Instances
SafeCopy SetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
Method SetSendmailPath Source # | |
Defined in Clckwrks.Acid type MethodResult SetSendmailPath :: Type # type MethodState SetSendmailPath :: Type # methodTag :: SetSendmailPath -> Tag # | |
type MethodState SetSendmailPath Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetSendmailPath Source # | |
Defined in Clckwrks.Acid |
newtype SetEnableOpenId Source #
Instances
SafeCopy SetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
Method SetEnableOpenId Source # | |
Defined in Clckwrks.Acid type MethodResult SetEnableOpenId :: Type # type MethodState SetEnableOpenId :: Type # methodTag :: SetEnableOpenId -> Tag # | |
type MethodState SetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetEnableOpenId Source # | |
Defined in Clckwrks.Acid |
data GetEnableOpenId Source #
Instances
SafeCopy GetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
Method GetEnableOpenId Source # | |
Defined in Clckwrks.Acid type MethodResult GetEnableOpenId :: Type # type MethodState GetEnableOpenId :: Type # methodTag :: GetEnableOpenId -> Tag # | |
type MethodState GetEnableOpenId Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetEnableOpenId Source # | |
Defined in Clckwrks.Acid |
data GetCoreState Source #
Instances
SafeCopy GetCoreState Source # | |
Defined in Clckwrks.Acid | |
QueryEvent GetCoreState Source # | |
Defined in Clckwrks.Acid | |
Method GetCoreState Source # | |
Defined in Clckwrks.Acid type MethodResult GetCoreState :: Type # type MethodState GetCoreState :: Type # methodTag :: GetCoreState -> Tag # | |
type MethodState GetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodResult GetCoreState Source # | |
Defined in Clckwrks.Acid |
newtype SetCoreState Source #
Instances
SafeCopy SetCoreState Source # | |
Defined in Clckwrks.Acid | |
UpdateEvent SetCoreState Source # | |
Defined in Clckwrks.Acid | |
Method SetCoreState Source # | |
Defined in Clckwrks.Acid type MethodResult SetCoreState :: Type # type MethodState SetCoreState :: Type # methodTag :: SetCoreState -> Tag # | |
type MethodState SetCoreState Source # | |
Defined in Clckwrks.Acid | |
type MethodResult SetCoreState Source # | |
Defined in Clckwrks.Acid |
class GetAcidState m st where Source #
getAcidState :: m (AcidState st) Source #
Instances
GetAcidState m st => GetAcidState (XMLGenT m) st Source # | |
Defined in Clckwrks.Monad getAcidState :: XMLGenT m (AcidState st) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileDataState Source # | |
Defined in Clckwrks.Monad getAcidState :: ClckT url m (AcidState ProfileDataState) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) NavBarState Source # | |
Defined in Clckwrks.Monad getAcidState :: ClckT url m (AcidState NavBarState) Source # | |
(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # | |
Defined in Clckwrks.Monad | |
(Functor m, MonadIO m) => GetAcidState (ClckT url m) AuthenticateState Source # | |
Defined in Clckwrks.Authenticate.Plugin getAcidState :: ClckT url m (AcidState AuthenticateState) Source # |