Commits on Feb 22, 2013
  1. @alexanderkjeldaas
  2. @alexanderkjeldaas

    Add support for storing role and meta data as json

    Encode empty roles/meta data as NULLs in the database
    
    Favor using Data.Text over ByteStrings for storing JSON text in the
    database.
    
    This patch requires the latest sqlite-simple version from github.
    This will be released shortly on hackage.
    alexanderkjeldaas committed with Feb 21, 2013
Commits on Feb 17, 2013
  1. Bump version bounds

    committed Feb 17, 2013
Commits on Feb 13, 2013
  1. Simplify Handler types

    committed Feb 13, 2013
Commits on Jan 28, 2013
  1. Run 'cabal update' before install

    Travis CI used to do this itself but looks like it doesn't anymore for
    non-default configs.
    committed Jan 28, 2013
  2. Bump up versions for snap-0.11

    committed Jan 28, 2013
Commits on Jan 5, 2013
  1. Merge pull request #6 from fujimura/no_pool_for_example

    Example now requires snaplet-sqlite-simple >= 0.4
    committed Jan 5, 2013
  2. @fujimura
Commits on Jan 4, 2013
  1. Version bump

    committed Jan 4, 2013
  2. Docs on multi-threading

    committed Jan 4, 2013
  3. Merge branch 'no-pool'

    committed Jan 4, 2013
  4. remove pool configuration

    committed Jan 4, 2013
Commits on Dec 30, 2012
  1. pgs -> sqlite

    committed Dec 30, 2012
  2. Make db connection a singleton

    committed Dec 30, 2012
  3. Export withSqlite

    committed Dec 30, 2012
Commits on Dec 26, 2012
  1. Add example project to CI

    committed Dec 26, 2012
  2. Add example project to CI

    committed Dec 26, 2012
  3. Move tests into the main snaplet cabal file

    This will enable travis to automatically build & run tests on pushing
    to github.
    committed Dec 26, 2012
Commits on Dec 23, 2012
  1. Use the errors package & either transformer

    More complicated error handling cases will benefit from doing this.
    This may not pay off in a small example like withLoggedInUser though.
    committed Dec 23, 2012
  2. Version bump

    committed Dec 23, 2012
  3. Bump direct-sqlite version

    committed Dec 23, 2012
Commits on Dec 11, 2012
  1. Update README.md

    committed Dec 11, 2012
Commits on Dec 10, 2012
  1. Fix library dependencies

    committed Dec 10, 2012
  2. Bump bytestring version

    committed Dec 10, 2012
Commits on Dec 8, 2012
  1. Merge branch 'snap-0.10'

    Preparing to get rid of the snap-0.10 branch
    committed Dec 8, 2012
Commits on Nov 29, 2012
  1. Add schema versioning & upgrade framework

    Add logic to figure out at what schema version the auth database is.
    If no auth tables have been created, create it and run it through
    schema migrations.
    
    This moves away from the old code of creating the snap_auth_user table
    based on the AuthTable.  This old approach wasn't very schema
    versioning friendly, so switch to explicit SQL instead.
    
    Add support for the new snap-0.10 password reset fields in the schema.
    committed Nov 29, 2012
Commits on Nov 28, 2012
  1. Add some basic db init tests

    This is all being done in preparation for later support for migrating
    the snap_auth_user from the initial version to later schema versions.
    committed Nov 29, 2012
Commits on Nov 27, 2012
  1. Remove unnecessary imports

    committed Nov 28, 2012
Commits on Nov 26, 2012
  1. Don't start a server for testing snaplet-sqlite-simple handlers

    No need to start a web server just to test simple db init / query
    functions.  So delete server init & start up code.
    committed Nov 27, 2012