Commit Graph

8 Commits

Author SHA1 Message Date
Felipe Lessa
9d33cb07aa Fix warning. 2015-05-28 01:33:21 -03:00
Felipe Lessa
80f121f57b Throw exceptions from persistent's {insert,replace}Session.
Now all tests are green for serversession-backend-persistent.
2015-05-28 00:48:44 -03:00
Felipe Lessa
8a6df8cc6c Add persistent storage tests to using SQLite and PostgreSQL.
Currently failing tests:

  1) SqlStorage on PostgreSQL insertSession throws an exception if a session already exists
  2) SqlStorage on PostgreSQL replaceSession throws an exception if a session does not exist
  3) SqlStorage on SQLite insertSession throws an exception if a session already exists
  4) SqlStorage on SQLite replaceSession throws an exception if a session does not exist
2015-05-28 00:38:49 -03:00
Felipe Lessa
95194a09ca Fix URL references. 2015-05-26 01:00:20 -03:00
Felipe Lessa
c2afd3e1a5
Support for idle timeouts, absolute timeouts and non-persistent cookies. 2015-05-25 19:48:12 -03:00
Felipe Lessa
d462d61b32 Use ConnectionPool type synonym, same as Yesod's scaffold. 2015-05-25 18:54:20 -03:00
Felipe Lessa
fe0e29e06e Fix serversession-frontend-yesod except for expiration. 2015-05-25 16:26:36 -03:00
Felipe Lessa
71aff2dd94 Separate into three different packages.
serversession and serversession-backend-persistent build,
serversession-frontend-yesod is broken.
2015-05-23 01:42:13 -03:00