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

Safe Haskell | None
Language | Haskell2010

Network.Gitit.Handlers

Synopsis

- handleAny :: Handler
- debugHandler :: Handler
- randomPage :: Handler
- discussPage :: Handler
- createPage :: Handler
- showActivity :: Handler
- goToPage :: Handler
- searchResults :: Handler
- uploadForm :: Handler
- uploadFile :: Handler
- indexPage :: Handler
- categoryPage :: Handler
- categoryListPage :: Handler
- preview :: Handler
- showRawPage :: Handler
- showFileAsText :: Handler
- showPageHistory :: Handler
- showFileHistory :: Handler
- showPage :: Handler
- showPageDiff :: Handler
- showFileDiff :: Handler
- updatePage :: Handler
- editPage :: Handler
- deletePage :: Handler
- confirmDelete :: Handler
- showHighlightedSource :: Handler
- expireCache :: Handler
- feedHandler :: Handler

# Documentation

handleAny :: Handler Source #

debugHandler :: Handler Source #

randomPage :: Handler Source #

discussPage :: Handler Source #

createPage :: Handler Source #

showActivity :: Handler Source #

goToPage :: Handler Source #

searchResults :: Handler Source #

uploadForm :: Handler Source #

uploadFile :: Handler Source #

indexPage :: Handler Source #

categoryPage :: Handler Source #

categoryListPage :: Handler Source #

preview :: Handler Source #

Responds with rendered page derived from form data.

showRawPage :: Handler Source #

Converts a `ContentTransformer` into a `GititServerPart`; specialized to wiki pages. runPageTransformer :: ToMessage a => ContentTransformer a -> GititServerPart a runPageTransformer = runTransformer pathForPage

Converts a `ContentTransformer` into a `GititServerPart`; specialized to non-pages. runFileTransformer :: ToMessage a => ContentTransformer a -> GititServerPart a runFileTransformer = runTransformer id

Responds with raw page source.

showFileAsText :: Handler Source #

Responds with raw source (for non-pages such as source code files).

showPageHistory :: Handler Source #

showFileHistory :: Handler Source #

showPage :: Handler Source #

Responds with rendered wiki page.

showPageDiff :: Handler Source #

showFileDiff :: Handler Source #

updatePage :: Handler Source #

editPage :: Handler Source #

deletePage :: Handler Source #

confirmDelete :: Handler Source #

showHighlightedSource :: Handler Source #

Responds with highlighted source code.

expireCache :: Handler Source #

feedHandler :: Handler Source #