Permalink
Commits on Jul 26, 2011
  1. Edited gitit.hs via GitHub

    andyring committed Jul 26, 2011
Commits on Jul 9, 2011
  1. 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.
    David committed with jgm Jul 8, 2011
Commits on Jul 5, 2011
Commits on Jun 24, 2011
  1. 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.
    jgm committed Jun 24, 2011
Commits on Jun 11, 2011
Commits on Jun 6, 2011
  1. Tweaked build-depends to help 'cabal install'.

    cabal install thinks it has to install an older version of network unless the
    network lower bound is raised.  So we raise it for ghc 7.0.3, so that
    the version of network packaged with it in the Haskell platform is used.
    This is a kludge; cabal install should be smarter, but we can work
    around it.
    jgm committed Jun 6, 2011
  2. Fixed file upload with directory-1.1.0.0.

    Previously canonicalizePath was used to determine whether
    the uploaded file would be in the static-dir or templates-dir.
    This method no longer works due to a change between
    directory-1.0.1.1 and 1.0.1.2.  Instead, we now normalize
    the wikiname and just compare prefixes.
    
    Thanks to Oliver Braun for finding the problem.
    jgm committed Jun 6, 2011
  3. Relaxed some version upper bounds.

    jgm committed Jun 6, 2011
Commits on May 14, 2011
  1. Updated CHANGES.

    jgm committed May 14, 2011
  2. Bumped version to 0.8.

    jgm committed May 14, 2011
Commits on Apr 23, 2011
  1. Migrated to happstack-6.

    API changes:
    
    * Removed withInput.
    * Replace fileContents with filePath in Params.
    
    Fixes:
    
    * uploadForm.js:  Remove prefix with path when populating wikiname field.
    jgm committed Apr 21, 2011
Commits on Apr 13, 2011
  1. Merge ../gitit

    gwern committed Apr 13, 2011
Commits on Apr 12, 2011
Commits on Apr 11, 2011
Commits on Apr 9, 2011
  1. Convert WebArchiver module to shell around archiver

    This reduces code duplication; now I have only one canonical codebase for archiving URLs.
    gwern committed Apr 9, 2011
Commits on Apr 7, 2011
  1. +New module which parses and dumps URLs to a file for use by archiver…

    … daemon
    
    Allows rate-limiting of requests; see file headers.
    gwern committed Apr 7, 2011
Commits on Apr 6, 2011
  1. Use base-url to set rpx token_url.

    This fixes a problem we previously had with authentication-method=rpx
    and authentication-required=read.  Now base-url must be set in config
    if you plan to use RPX authentication.
    jgm committed Apr 6, 2011
Commits on Apr 5, 2011
  1. CSS fix for footnotes.

    Previously, footnotes would create uneven line height.
    Thanks to gwern.
    jgm committed Apr 5, 2011
  2. Use curl instead of wget for RPX authentication.

    curl is present by default on more systems.
    jgm committed Apr 5, 2011
Commits on Apr 1, 2011
  1. Fixed option name in wget call.

    jgm committed Apr 1, 2011
  2. Added RPX support again, using stripped-down module.

    Note: wget must be in the system path, as it is used to make the
    http request.
    jgm committed Apr 1, 2011
  3. Added Network.Gitit.Rpxnow.

    This is modified from Michael Snoyman's authenticate-0.0.1 and
    http-wget-0.0.1.
    jgm committed Apr 1, 2011
Commits on Mar 30, 2011
  1. Removed RPX athentication option.

    This brought in too many external dependencies, including
    some not satisfiable with the latest Haskell Platform.
    It would be great if someone could write a lightweight RPX
    module with few dependencies.
    jgm committed Mar 30, 2011
  2. Added command line parameter to specify listen device

    Timo B. Hübel committed with jgm Aug 9, 2010
  3. Added authentication-required field.

    * 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
    jgm committed Mar 30, 2011
Commits on Mar 29, 2011