clckwrks-0.25.5: 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
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 :: (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
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 :: (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 #

type MigrateFrom CoreState_1 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.

Instances
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 :: (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 :: Type #

(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

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

class GetAcidState m st where Source #

Methods

getAcidState :: m (AcidState st) Source #

Instances
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 #