clckwrks-0.26.3: A secure, reliable content management system (CMS) and blogging platform
Safe HaskellNone
LanguageHaskell2010

Clckwrks.Acid

Synopsis

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.

Constructors

CoreState_v0 

Fields

Instances

Instances details
Eq CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState_v0 Source # 
Instance details

Defined in Clckwrks.Acid

Methods

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 :: forall r r'. (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 # 
Instance details

Defined in Clckwrks.Acid

SafeCopy CoreState_v0 Source # 
Instance details

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.

Instances

Instances details
Eq CoreState_1 Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState_1 Source # 
Instance details

Defined in Clckwrks.Acid

Methods

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 :: forall r r'. (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 # 
Instance details

Defined in Clckwrks.Acid

SafeCopy CoreState_1 Source # 
Instance details

Defined in Clckwrks.Acid

Migrate CoreState_1 Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MigrateFrom CoreState_1 #

type MigrateFrom CoreState_1 Source # 
Instance details

Defined in Clckwrks.Acid

data CoreState_2 Source #

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Instances

Instances details
Eq CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CoreState_2 -> c CoreState_2 #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CoreState_2 #

toConstr :: CoreState_2 -> Constr #

dataTypeOf :: CoreState_2 -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CoreState_2) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CoreState_2) #

gmapT :: (forall b. Data b => b -> b) -> CoreState_2 -> CoreState_2 #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_2 -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CoreState_2 -> r #

gmapQ :: (forall d. Data d => d -> u) -> CoreState_2 -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CoreState_2 -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CoreState_2 -> m CoreState_2 #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_2 -> m CoreState_2 #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CoreState_2 -> m CoreState_2 #

Show CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

SafeCopy CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

Migrate CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MigrateFrom CoreState_2 #

type MigrateFrom CoreState_2 Source # 
Instance details

Defined in Clckwrks.Acid

data CoreState Source #

CoreState holds some values that are required by the core itself, or which are useful enough to be shared with numerous plugins/themes.

Constructors

CoreState 

Fields

Instances

Instances details
Eq CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Data CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Methods

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 :: forall r r'. (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 # 
Instance details

Defined in Clckwrks.Acid

SafeCopy CoreState Source # 
Instance details

Defined in Clckwrks.Acid

IsAcidic CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Migrate CoreState Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MigrateFrom CoreState #

(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # 
Instance details

Defined in Clckwrks.Monad

type MigrateFrom CoreState Source # 
Instance details

Defined in Clckwrks.Acid

getSiteName :: Query CoreState (Maybe Text) Source #

get the site name

setSiteName :: Maybe Text -> Update CoreState () Source #

set the site name

getUACCT :: Query CoreState (Maybe UACCT) Source #

get the UACCT for Google Analytics

setUACCT :: Maybe UACCT -> Update CoreState () Source #

set the UACCT for Google Analytics

getRootRedirect :: Query CoreState (Maybe Text) Source #

get the path that / should redirect to

setRootRedirect :: Maybe Text -> Update CoreState () Source #

set the path that / should redirect to

getBodyPolicy :: Query CoreState (FilePath, Int64, Int64, Int64) Source #

get the BodyPolicy data for requests which can have bodies

setBodyPolicy :: (FilePath, Int64, Int64, Int64) -> Update CoreState () Source #

set the BodyPolicy data for requests which can have bodies

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

getSendmailPath :: Query CoreState (Maybe FilePath) Source #

get the path to the sendmail executable

setSendmailPath :: Maybe FilePath -> Update CoreState () Source #

set the path to the sendmail executable

getEnableOpenId :: Query CoreState Bool Source #

get the status of enabling OpenId

setEnableOpenId :: Bool -> Update CoreState () Source #

set the status of enabling OpenId

data GetUACCT Source #

Constructors

GetUACCT 

Instances

Instances details
SafeCopy GetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

QueryEvent GetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

Method GetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MethodResult GetUACCT #

type MethodState GetUACCT #

Methods

methodTag :: GetUACCT -> Tag #

type MethodState GetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

type MethodResult GetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

newtype SetUACCT Source #

Constructors

SetUACCT (Maybe UACCT) 

Instances

Instances details
SafeCopy SetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

UpdateEvent SetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

Method SetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

Associated Types

type MethodResult SetUACCT #

type MethodState SetUACCT #

Methods

methodTag :: SetUACCT -> Tag #

type MethodState SetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

type MethodResult SetUACCT Source # 
Instance details

Defined in Clckwrks.Acid

class GetAcidState m st where Source #

Methods

getAcidState :: m (AcidState st) Source #

Instances

Instances details
GetAcidState m st => GetAcidState (XMLGenT m) st Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) ProfileDataState Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) NavBarState Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, Monad m) => GetAcidState (ClckT url m) CoreState Source # 
Instance details

Defined in Clckwrks.Monad

(Functor m, MonadIO m) => GetAcidState (ClckT url m) AuthenticateState Source # 
Instance details

Defined in Clckwrks.Authenticate.Plugin

withAcid :: Maybe FilePath -> (Acid -> IO a) -> IO a Source #