Changelog of @hackage/gitit 0.10

Version 0.10 released 30 May 2012

  • Changed 'readFileUTF8' so it doesn't encode filename on ghc 7.4.

  • Upgraded for compatibility with blaze-html 0.5. Closes #299.

  • Improved categories. Files are now read strictly to avoid a 'too many open files' error. 'Page' now exports 'readCategories' instead of 'extractCategories'.

  • Require filestore 0.5. This brings in (a) correct handling of unicode paths when compiled under GHC 7.4, and (b) a 'limit' parameter for 'history'. The limit parameter is essential when gitit is used with very large repositories; otherwise history commands would have to parse the entire log. Handler functions that use 'history' have been updated to use the optional 'limit' parameter.

  • Atom feeds are now limited to 200 entries, to prevent server overload.

  • Indicate size of default logo picture in README. Closes #291.

  • Added a README section on restricting access. Closes #292.

Version 0.9.0.1 released 15 Feb 2012

  • Fixed bug in fromEntities that caused text to be lost in the page source after semicolons. Thanks to Perry Wagle for reporting the bug.

  • Updated code to run on happstack 7.

  • Removed dependency on happstack-util; depend on base64-bytestring instead.

  • Updated gitit.cabal to include footnotes.js (Ben Sinclair).

Version 0.9 released 29 Feb 2012

  • Gitit now uses the latest pandoc (1.9.x) and happstack-server (6.6.x), and compiles on ghc 7.4.1.

  • Added Docx, AsciiDoc, and DZSlides as export formats.

  • HTML slide show exports are now "self-contained": they embed all required js, css, and images, so they can be used offline.

  • Allow spaces in usernames (Juraj Hercek).

  • Improve PDF/RTF exports containing images in the wiki. Wikidata paths are translated to absolute ones, so pandoc/pdflatex can find them (Juraj Hercek).

  • Protect against XSS in slide show exports. Previous versions of gitit sanitized wikipages, but not HTML slide shows.

  • Table of contents is now in a div with ID TOC, so it can be styled.

  • Removed letter and word spacing from print.css.

  • Added s5 directory to static. This is needed by pandoc 1.9.

  • Updated Interwiki plugin (gwern).

  • Added fromEntities to Types, since decodeCharacterReferences is no longer exported from Pandoc. Added dependency on tagsoup.

  • Provided FromReqURI instance for [String], since this is not automatic with recent happstack.

Version 0.8.1 released 02 Sep 2011

  • Support mathjax as a math option. Added MathJax as MathMethod, and mathjax as an option in the 'math' config field. Resolves GoogleCode 122.

  • Added xss-sanitize configuaration option. Setting it to 'no' turns off sanitization, enabling file:// URLs and other things that get filtered out by xss-sanitize.

  • Listen interface explanation on help file could be more clear (#266) (andyring)

  • Add the new configuration option 'absolute-urls'. When turned on, this makes wikilinks absolute w.r.t. the base-url. By default, they are relative. So, for example, in a wiki served at the path 'wiki', on a page Sub/Page, the wikilink 'Cactus' will produce a link to '/wiki/Cactus' if absolute-urls is on, and otherwise the relative link 'Cactus'. Patch due to lemmih.

  • Change default listen address to 0.0.0.0.

  • Serve svg file as image, not source code!

  • Page history: use 'limit' instead of restricting to past year. limit defaults to 100. If 100 are displayed, you'll get a "Show more..." link that will increase the limit. Also fixed bug that caused a 404 when no history was returned.

  • Require pandoc >= 1.8.2.

  • Allow build with happstack-server 6.2.

  • Updated for use with xss-sanitize 0.3, which uses Text. New dependency on text.

Version 0.8.0.1 released 07 Jun 2011

  • Fixed file upload problem with recent versions of directory package. (Thanks to Oliver Braun.)

  • Relaxed some version upper bounds.

Version 0.8 released 13 May 2011

  • Uses happstack 6.

  • Added textile and org export formats, textile page format.

  • Added support for RPXNow authentication, based on a patch from Pasqualino Titto Assini.

  • Added authentication-required field in config.

    • If set to 'modify', authentication is required to modify the wiki.
    • If set to 'read', atuhentication is required to view the wiki.
    • If set to 'none', authentication is never required, and pages can be edited anonymously.

    API changes:

    • currentUser moved to Authentication module
    • requireAuthentication added to Config
    • Added AuthenticationLevel type
    • requireUser renamed authenticate, parameter for AuthenticationLevel added; requireUserThat renamed authenticateUserThat
  • MathML and jsMath now work in the preview pane (Sean Seefried).

  • Use footnotes.js for fancy footnote styling (gwern).

  • Added a --listen parameter to specify the listen device (Timo B. Hübel).

  • Removed withInput.

  • Replaced fileContents with filePath in Params.

  • Fixed bug in uploadForm.js which caused a prefix to be added in the default wikiname.

Version 0.7.3.12 released 01 Feb 2011

  • Use pandoc 1.8.

  • New export formats: textile, org.

  • New page form: textile.

Version 0.7.3.11 released 28 Jan 2011

  • Allow time 1.2.

Version 0.7.3.10 released 26 Jan 2011

  • Updated for filestore-0.4.0.2. Gitit should now compile with ghc 7. Note: It may be necessary to supply the --disable-library-for-ghci flag to 'cabal install highlighting-kate'.

Version 0.7.3.9 released 25 Jan 2011

  • Removed dependency on cautious-file. It no longer seems to be actively maintained, and the current configuration does not compile on windows.

  • Removed dependency on datetime package. It is no longer maintained. Everything can be done just as well with the time package.

  • Depend on filestore >= 0.4 (without datetime dependency).

  • Bump version bounds on hslogger, network and HTTP.

  • Support for GHC 7.0 in Plugins (thanks to Max Bollingbroke).

  • Use xss-sanitize for sanitizing HTML. Previously pandoc's sanitization was used, but this will be removed in the next pandoc release. xss-sanitize is a more complete solution, and also prevents people from messing up layout by inserting unbalanced

.

  • Updated Feed module to make it decouplable from gitit.

  • jQuery.load wasn't working on Safari. Use jQuery.post instead. Also, the convert function was not always in scope. (It is only in scope when MathML is enabled?) We check if it is defined before calling it. (Thanks to Sean Seefried.)

  • Export Page module.

  • Templates are in data directory

  • Fixed bug in Subst plugin (Lars Petersen). Subst plugin could not deal with non-existing pages, resulting in an server error when trying to substitute with an absent file. This patch now creates a link to the page in order to create it.

  • Added alt attribute to logo.

  • Version 0.7.3.8 released 24 July 2010

    Version 0.7.3.7 released 24 July 2010

    Version 0.7.3.6 released 05 May 2010

    Version 0.7.3.5 released 21 Mar 2010

    Version 0.7.3.4 released 21 Mar 2010

    Version 0.7.3.3 released 21 Mar 2010

    Version 0.7.3.2 released 20 Mar 2010

    Version 0.7.3.1 released 20 Mar 2010

    Version 0.7.3 released 20 Mar 2010

    Version 0.7.2 released 02 Jan 2010

    Version 0.7.1 released 02 Jan 2010

    Version 0.7 released 20 Dec 2009

    Version 0.6.6 released 06 Nov 2009

    Version 0.6.5 released 06 Oct 2009

    Version 0.6.4 released 28 Sep 2009

    Version 0.6.3 released 27 Sep 2009

    Version 0.6.2 released 25 Aug 2009

    Version 0.6.1 released 25 Aug 2009

    Instructions for upgrading from 0.5.3:

    Summary of main changes:

    Version 0.5.3 released 1 Feb 2009

    Version 0.5.2 released 1 Feb 2009

    Version 0.5.1 released 1 Feb 2009