Michael Snoyman
bcd2b7da84
default-extensions
2021-02-14 09:29:16 +02:00
Michael Snoyman
b861f18008
cabal-version for Hackage
2021-02-14 08:38:54 +02:00
ncaq
ecbedcc5b4
added: version bumps and changelog
2021-02-13 00:12:02 +09:00
ncaq
fc77ca238e
updated: lts to 15
2020-04-13 23:46:49 +09:00
Michael Xavier
79c0365052
Whoops, I changes the wrong suite's stack size.
2018-10-19 09:32:43 -07:00
Michael Xavier
72c555d170
Bump to serversession-backend-persistent 1.0.4
2017-05-17 18:29:48 -07:00
Casey Allred
2300580717
auth id set to default of null to prevent yet another mysql error
2017-04-28 15:14:47 -06:00
Michael Xavier
78fd564eec
Update package maintainer
...
I don't see a way to set multiple maintainers on the project. I don't
have a roadmap or vested interest in all of these packages but for the
time being I'm the active maintainer of these projects.
2017-03-08 09:29:59 -08:00
Michael Xavier
1ac6f2726b
serversession-backend-persistent 1.0.3
2017-03-03 15:43:38 -08:00
Michael Xavier
f73de7c791
Add blank changelogs for all projects
...
For future releases we'll update these. I have a few packages that
need releases so that'll be the start.
2017-03-03 15:41:27 -08:00
Michael Xavier
399463f8c5
Get building on nightly with ghc 8
2017-02-08 18:34:51 -08:00
Michael Xavier
6edd459223
Wall-werror all the things
2017-02-01 18:20:55 -08:00
Casey Allred
37590b9e3e
limit the session key as per the the definition comment 'The ID of a session. Always 18 bytes base64url-encoded as 24 characters.' using 30 characters to be conservative
2017-01-23 21:33:02 +00:00
Felipe Lessa
c334f3bd07
serversession-backend-persistent-1.0.2
2015-12-31 15:45:16 -02:00
Felipe Lessa
01b277b11e
New .travis.yml using stack instead of cabal-meta.
2015-12-31 15:25:41 -02:00
Felipe Lessa
8f24238065
serversession-backend-persistent-1.0.1
2015-06-24 11:14:32 -03:00
Felipe Lessa
7b9e83366b
Allow persistent-2.2.
2015-06-24 11:14:11 -03:00
Felipe Lessa
da120b20ef
Use qualified imports for persistent example section.
...
The scaffold namespace is too poluted.
2015-06-01 13:14:20 -03:00
Felipe Lessa
774bc18fa1
Force the test suites to use a lot less memory.
...
Works fine on my machine using GHC 7.10 with these limits. Note that
I've activated the in-place compaction GC.
2015-05-31 23:22:21 -03:00
Felipe Lessa
0cca9cd086
Use HashMap for SessionMap.
...
It's a bit faster and uses a bit less memory.
2015-05-31 23:09:02 -03:00
Felipe Lessa
4ff73d87d8
Travis: Use PostgreSQL 9.3.
...
The persistent test is failing and I have no idea why, as it's not
displaying any error message. This commit changes a few things with
PostgreSQL just to see if they make any difference.
Note that the persistent test suite passes with flying colors both
before and after this commit on my machine using PostgreSQL 9.4.2.
2015-05-31 16:30:44 -03:00
Felipe Lessa
4e3f27cb36
Setup.lhs x 7.
2015-05-31 14:56:39 -03:00
Felipe Lessa
16c4248355
More GHC 7.8 fixes (import mempty, derive Typeable).
2015-05-31 14:36:33 -03:00
Felipe Lessa
f0e1005f18
Add Applicative imports for GHC 7.8.
2015-05-31 12:57:52 -03:00
Felipe Lessa
3e33c58af0
Generalize session data (huge commit).
2015-05-31 11:07:23 -03:00
Felipe Lessa
faae95312a
Use cereal for 2x improvement in time and space for persistent.
...
Now the peak memory usage of the persistent test suite sits at
2 GiB (752 MB max residency). It also uses a lot less CPU time.
2015-05-28 13:34:45 -03:00
Felipe Lessa
ec4623da34
Do not run large data tests in parallel.
...
Brings peak memory usage of the persistent test suite from 6 GiB to
4 GiB. Still very bad, though.
2015-05-28 13:02:54 -03:00
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