Deprecated

hack-handler-hyena

Hyena hack handler http://github.com/nfjinjing/hack-handler-hyena

Latest on Hackage:2010.3.15

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Wang, Jinjing
Maintained by Wang, Jinjing

Note

You must set content-length in response explicitly, e.g. use the content_length middleware, otherwise, request might choke.

import Hack.Handler.Hyena
import Hack.Contrib.Middleware.ContentLength
import Hack.Frontend.Happstack
import Network.Gitit

main = do
  conf <- getDefaultConfig
  createStaticIfMissing conf
  createTemplateIfMissing conf
  createRepoIfMissing conf
  initializeGititState conf
  
  run . content_length $ serverPartToApp (wiki conf)

Changes

2010.3.15

Fix

  • merged Josh's fork, hyena respect the runWithConfig { port } flag
  • clean up code

2010.1.17

Feature complete

2009.6.23.1

Fix

  • serverName and port

2009.6.23

Feature

  • compatible with hack 5.19 and hyena 0.1

2009.5.19

Feature

  • Compatible with hack 5.19

2009.4.51

Feature

  • minimal dependency ( used to depends on hack-contrib / mps, not now )

2009.4.50

Fix

  • use showstatusmessage in Utils

2009.4.30

Init

comments powered byDisqus