Conflicts: snap.cabal src/Snap/Snaplet/HeistNoClass.hs test/snap-testsuite.cabal
Mostly incoporating feedback from @gregorycollins on my original pull request. I have: * Simplified the documentation for `wrapSite` to be more direct, and removed a very contrived example. * Slightly amended the documentation for runSnaplet as it doesn't return a set of messages at all, but rather a single Text value. * Rewrote the documentation for serveSnaplet as requested.
* wrapSite now clarifies that it wraps the base snaplet, not just the current snaplet. * runSnaplet now correctly shows the string "devel", instead of trying to link to the `devel` identifier. * serveSnaplet clearly documents both parameters, providing a hint that defaultConfig can be used. Also removed the FIXME comment.
List <loggedInUser> as a splice added by `addAuthSplices`.
This reverts commit 987be67.
ISessionManager typeclass functions are low level are not intended for use by end users of Session or any of its backends. Since some functions have names that clash with Prelude exports, it is better to expose them from a separate module that's meant to be used by backend devs.
…u to switch between different config file sets with a -e option on the command line. The new default config filename is now devel.cfg instead of snaplet.cfg.
…rom a config file.
…fig files work as expected.
installation, and fix the tests accordingly.
…d of the project root. This breaks compatibility but is the correct behavior for when the heist snaplet is used somewhere other than at the top level.
…oo many prefixes.
…ctions that were registered before the exception was thrown.