+ Store cached pages as bytestrings, not Html, for better space efficiency. + Added a Cache data structure that keeps track of total cache size as well as the map of cached pages. + Added maxCacheSize to config; cache expires old pages when needed to keep under this limit. This addresses the ballooning memory use problem caused by caching in large wikis.
Thanks to Simon Michael for the patch.
Thanks to Gwern Brandwen for the suggestion.
+ Removed Gitit.Git and Gitit.Shell + Added dependeny on new filestore library. + Removed need for HAppS state; instead, use an IORef for state. + Revised Gitit to use filestore insntead of Gitit.Git. + Removed comment in README about deleting _local.
Instead of storing a single static salt, we now randomly generate a separate salt for each user, and store the salt with the hashed password. Note: gitit users who upgrade to this version will have to delete their gitit-users file and regenerate it by having users create their accounts again.
+ Modified Gitit.Git, so that arguments to shell commands are converted to UTF-8 and the output is converted back to unicode strigs. + In addition, gitLsTree now returns just a list of files, rather than the raw output of 'git ls-tree'. Since git outputs filenames with UTF-8 high characters with surrounding double-quotes and octal-escaped characters, gitLsTree parses these and converts them to regular haskell unicode strings. + Added a module Gitit.HAppS that exports some wrappers around HAppS functions for better handling of UTF-8. + Added a module Gitit.HStringTemplate that exports a new version of setAttribute that handles UTF-8 properly. + Made a few other changes to Gitit.hs for proper handling of UTF-8 in paths, forms, and elsewhere. Pages can now have UTF-8 names, provided the file system supports UTF-8 pathnames. + Version bump to 0.3.4.
- Added data/template.html (default template). - Added configuration field for templateFile. - Copy template file if it doesn't exist on wiki initialize. - Removed unneeded logo, wiki title, footer config options. These things can now be changed by changing the template. - Added HStringTemplate to cabal file dependencies. - Use an IORef (initialized with unsafePerformIO) to store the page template. Compile the page template on startup. - Don't display tabs in print css. - Fixed bottom border on selected tabs in screen css. - Updated README.
Bumped version to 0.1.1.