Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 7, 2012
  1. @qnikst

    remove additional URL decoding

    qnikst authored
Commits on Apr 20, 2012
Commits on Mar 29, 2012
  1. Updated for happstack 7.

    authored
    * Removed dependency on happstack-util; depend on base64-bytestring
      instead.
Commits on Jun 11, 2011
Commits on Apr 23, 2011
  1. Migrated to happstack-6.

    authored
    API changes:
    
    * Removed withInput.
    * Replace fileContents with filePath in Params.
    
    Fixes:
    
    * uploadForm.js:  Remove prefix with path when populating wikiname field.
Commits on Apr 13, 2011
  1. @gwern
Commits on Mar 30, 2011
  1. Added authentication-required field.

    authored
    * 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
Commits on Jul 24, 2010
Commits on Mar 21, 2010
  1. Fixed URL encoding for pages.

    authored
    Note: we don't want to use + for space; that breaks the
    Ctrl-R cache expiration.
Commits on Mar 8, 2010
Commits on Mar 7, 2010
  1. urlForPage -- revert back to using + for spaces.

    authored
    (This time, by setting the first parameter of encString to True.)
    This seems necessary if redirection is to work properly.
Commits on Feb 27, 2010
  1. Changed urlForPage so spaces become %20, not +.

    authored
    The +s work fine in firefox, but technically +s are only
    for spaces in the query part of a URL, so this is a more
    robust encoding.
Commits on Dec 12, 2009
Commits on Dec 2, 2009
Commits on Oct 29, 2009
  1. Code reformatting to avoid warnings.

    John MacFarlane authored
Commits on Oct 24, 2009
  1. safify, replace unsafe last last with lastNote, which at least gives …

    Thomas Hartman authored
    …a meaningful error message
  2. use case expression instead of unsafe tail.

    Thomas Hartman authored
Commits on Aug 23, 2009
  1. Haddock changes.

    authored
  2. Added haddocks to Framework.

    authored
  3. Major routing changes.

    authored
    Instead of "?edit", "?upload", "?diff", "?history", etc.,
    we now use prefixed paths: "/_edit/", "/_upload", etc.
    This makes it possible to exclude robots from these pages
    using robots.txt (which allows only prefix matches).
Commits on Aug 22, 2009
Commits on Aug 18, 2009
  1. Improved getWikiBase to properly handle all cases.

    authored
    Including:  /_feed/a/b, foo/bar (no leading slash), etc.
Commits on Aug 16, 2009
  1. Added some headings to exports.

    authored
  2. More hlint changes.

    authored
Commits on Aug 1, 2009
  1. Major architectural revision of authentication system.

    authored
    + Now the currently logged in user is taken from the
      REMOTE_USER request header.
    
    + This can be set externally (as by mod_auth_cas) or
      by a gitit filter that runs before the other wiki handlers.
    
    + This gitit filter, withUser, is set in config and will
      differ depending on whether we're using form authentication
      (in which case the user will be extracted from a session)
      or http authentication (in which case it will be extracted
      from the "authorization" request header).  (When we're
      using gitit with an external system that sets REMOTE_USER,
      we can set this to id.)
    
    + Config also specifies authHandler, which includes handlers
      for urls like _login and _logout.  This can be set to use
      the form-based authentication handlers or a pared-down
      logout handler for HTTP authentication.
    
    + The requireUser combinator checks that a user is logged
      in before running a handler; if not, we divert to the _login
      page with a 'destination' parameter with the URL to return to.
      This replaces the old ifLoggedIn.
    
    + A GET parameter is now used for 'destination', rather than a
      cookie.  Also, we try not to rely on 'referer' except as a
      fallback.
Commits on Jul 20, 2009
  1. Changed config to take user handlers rather than AuthenticationMethod.

    authored
    + Config sets these appropriately.
    + They can be specified in a calling program.
    + The login/out box is now no longer hidden when non-form authentication
      is used.
Commits on Jul 11, 2009
Commits on Jul 10, 2009
  1. Fixed merge on edit conflicts (mostly).

    authored
    We're still not getting the informational message
    when the merge is automatic.
Commits on Jul 7, 2009
  1. Have getPage fail if page name not valid.

    authored
    This is a more robust way to filter out e.g. '/*?edit'.
Commits on Jul 6, 2009
  1. Disallow page names containing '..', '?', or '*'.

    authored
    Reason:  darcs filestore doesn't allow you to create pages
    with '?' or '*' in the name; git filestore allows you to
    create them, but causes havoc when you try to delete them
    (treating them as wildcards).
Commits on Jul 2, 2009
  1. Redirect /wiki to /wiki/ when gitit served at /wiki.

    authored
    Reason:  if the base url is /wiki, and you are browsing /wiki,
    then wikilinks that are relative URLS will not work correctly.
    For example, "Help" will take you to /Help rather than
    /wiki/Help.  The simple solution is to ensure that users
    are always at /wiki/ rather than /wiki.
    
    This has no effect when gitit is being served at the root url.
    
    Thanks to MightyByte for pointing out the problem.
Commits on Jun 25, 2009
  1. Changed discuss pages from foo:discuss -> @foo.

    authored
    Reason:  colons not allowed in windows filenames, and
    darcs doesn't allow them by default.
    
    Resolves Issue #53.
Commits on Jun 24, 2009
  1. @mightybyte
Something went wrong with that request. Please try again.