Network.Gitit.Framework

Combinators for dealing with users

withUserFromSession

withUserFromHTTPAuth

authenticateUserThat

authenticate

getLoggedInUser

Combinators to exclude certain actions

unlessNoEdit

unlessNoDelete

Guards for routing

guardCommand

guardPath

guardIndex

guardBareBase

Functions to get info from the request

getPath

getPage

getReferer

getWikiBase

uriPath

Useful predicates

isPage

isPageFile

isDiscussPage

isDiscussPageFile

isSourceCode

Combinators that change the request locally

withMessages

Miscellaneous

urlForPage

pathForPage

getMimeTypeForExtension

validate

filestoreFromConfig