Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type WikiHandler a = forall master. (YesodWikiAuth master, YesodPersist master, YesodPersistBackend master ~ SqlBackend) => HandlerT Informative (HandlerT master IO) a Source
class (Yesod master, RenderMessage master FormMessage) => YesodWikiAuth master where Source
Wikipage | |
|
PersistFieldSql Wikipage Source | |
PersistEntity Wikipage Source | |
PersistField Wikipage Source | |
ToBackendKey SqlBackend Wikipage Source | |
Eq (Key Wikipage) Source | |
Ord (Key Wikipage) Source | |
Read (Key Wikipage) Source | |
Show (Key Wikipage) Source | |
ToJSON (Key Wikipage) Source | |
FromJSON (Key Wikipage) Source | |
PathPiece (Key Wikipage) Source | |
PersistFieldSql (Key Wikipage) Source | |
PersistField (Key Wikipage) Source | |
data Unique Wikipage = UniquePage Text Text UTCTime Source | |
data EntityField Wikipage where
| |
data Key Wikipage = WikipageKey {} Source | |
type PersistEntityBackend Wikipage = SqlBackend Source |
type WikipageId = Key Wikipage Source
data Wikisection Source
PersistFieldSql Wikisection Source | |
PersistEntity Wikisection Source | |
PersistField Wikisection Source | |
ToBackendKey SqlBackend Wikisection Source | |
Eq (Key Wikisection) Source | |
Ord (Key Wikisection) Source | |
Read (Key Wikisection) Source | |
Show (Key Wikisection) Source | |
ToJSON (Key Wikisection) Source | |
FromJSON (Key Wikisection) Source | |
PathPiece (Key Wikisection) Source | |
PersistFieldSql (Key Wikisection) Source | |
PersistField (Key Wikisection) Source | |
data Unique Wikisection Source | |
data EntityField Wikisection where
| |
data Key Wikisection = WikisectionKey {} Source | |
type PersistEntityBackend Wikisection = SqlBackend Source |
type WikisectionId = Key Wikisection Source
Wikirel | |
|
PersistFieldSql Wikirel Source | |
PersistEntity Wikirel Source | |
PersistField Wikirel Source | |
ToBackendKey SqlBackend Wikirel Source | |
Eq (Key Wikirel) Source | |
Ord (Key Wikirel) Source | |
Read (Key Wikirel) Source | |
Show (Key Wikirel) Source | |
ToJSON (Key Wikirel) Source | |
FromJSON (Key Wikirel) Source | |
PathPiece (Key Wikirel) Source | |
PersistFieldSql (Key Wikirel) Source | |
PersistField (Key Wikirel) Source | |
data Unique Wikirel = UniqueRel (Key Wikipage) (Key Wikisection) Source | |
data EntityField Wikirel where
| |
data Key Wikirel = WikirelKey {} Source | |
type PersistEntityBackend Wikirel = SqlBackend Source |
Wikisugg | |
|
PersistFieldSql Wikisugg Source | |
PersistEntity Wikisugg Source | |
PersistField Wikisugg Source | |
ToBackendKey SqlBackend Wikisugg Source | |
Eq (Key Wikisugg) Source | |
Ord (Key Wikisugg) Source | |
Read (Key Wikisugg) Source | |
Show (Key Wikisugg) Source | |
ToJSON (Key Wikisugg) Source | |
FromJSON (Key Wikisugg) Source | |
PathPiece (Key Wikisugg) Source | |
PersistFieldSql (Key Wikisugg) Source | |
PersistField (Key Wikisugg) Source | |
data Unique Wikisugg = UniqueSugg Text Text Source | |
data EntityField Wikisugg where
| |
data Key Wikisugg = WikisuggKey {} Source | |
type PersistEntityBackend Wikisugg = SqlBackend Source |
type WikisuggId = Key Wikisugg Source
readFmt :: TextFormat -> ReaderOptions -> String -> Pandoc Source
convFmt :: TextFormat -> String -> Html Source
source :: TextFormat -> Text -> Int -> TextFormat Source
fmtNorm :: TextFormat -> TextFormat Source
fmtLang :: TextFormat -> Text Source
fmtLine :: TextFormat -> Int Source
toClassname :: Text -> [Char] Source
renderShowArticle :: YesodWikiAuth master => [Entity Wikisugg] -> Bool -> (AuthRoute -> Route master) -> (Route Informative -> Route master) -> AuthResult -> Maybe Html -> [(Int, (Text, Either Html [[Html]], TextKind))] -> [(Text, Text, UTCTime)] -> Text -> HandlerT Informative (HandlerT master IO) Html Source
renderEditArticle :: YesodWikiAuth master => [Entity Wikisugg] -> Bool -> (AuthRoute -> Route master) -> (Route Informative -> Route master) -> Route master -> Maybe Html -> Maybe (Either Html [[Html]]) -> TextKind -> PageContent (Route master) -> Text -> HandlerT Informative (HandlerT master IO) Html Source
getArticleIdR :: Text -> WikiHandler Html Source
getArticleR :: Text -> WikiHandler Html Source
data SectionData Source
SectionData | |
|
editSectionForm :: RenderMessage master FormMessage => Maybe SectionData -> Html -> MForm (HandlerT master IO) (FormResult SectionData, WidgetT master IO ()) Source
getEditR :: Text -> WikiHandler Html Source
getInsertR :: Text -> WikiHandler Html Source
getPrependR :: Text -> WikiHandler Html Source
getCreateR :: Text -> WikiHandler Html Source
postEditR :: Text -> WikiHandler Html Source
postInsertR :: Text -> WikiHandler Html Source
postPrependR :: Text -> WikiHandler Html Source
postCreateR :: Text -> WikiHandler Html Source
postDownR :: Text -> WikiHandler Html Source
postUpR :: Text -> WikiHandler Html Source
postDeleteR :: Text -> WikiHandler Html Source