gitit-0.12.1: Wiki using happstack, git or darcs, and pandoc.

Safe Haskell | None
Language | Haskell98

Network.Gitit.State

# Documentation

gititstate :: IORef GititState Source

updateGititState :: MonadIO m => (GititState -> GititState) -> m () Source

queryGititState :: MonadIO m => (GititState -> a) -> m a Source

debugMessage :: String -> GititServerPart () Source

mkUser :: String -> String -> String -> IO User Source

genSalt :: IO String Source

hashPassword :: String -> String -> String Source

authUser :: String -> String -> GititServerPart Bool Source

isUser :: String -> GititServerPart Bool Source

addUser :: String -> User -> GititServerPart () Source

adjustUser :: String -> User -> GititServerPart () Source

delUser :: String -> GititServerPart () Source

writeUserFile :: Config -> IO () Source

getUser :: String -> GititServerPart (Maybe User) Source

isSession :: MonadIO m => SessionKey -> m Bool Source

setSession :: MonadIO m => SessionKey -> SessionData -> m () Source

newSession :: MonadIO m => SessionData -> m SessionKey Source

delSession :: MonadIO m => SessionKey -> m () Source

getSession :: MonadIO m => SessionKey -> m (Maybe SessionData) Source

getConfig :: GititServerPart Config Source

getFileStore :: GititServerPart FileStore Source

getDefaultPageType :: GititServerPart PageType Source

getDefaultLHS :: GititServerPart Bool Source