Joe Nelson
|
cbb2ba7d42
|
Appease hlint
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
6122bc4108
|
Middleware compiles
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
87c946ef52
|
Treat JWT as a Secret, not String
|
2015-11-19 09:58:41 -08:00 |
|
Diogo Biazus
|
f47d5e52f4
|
Moves all PgQuery module to QueryBuilder
|
2015-11-14 22:54:55 -05:00 |
|
calebmer
|
62cb8e0453
|
Cleanup JWT expires
|
2015-11-11 08:34:50 -05:00 |
|
calebmer
|
aab2f0d1f1
|
Ensure JWT expires
|
2015-11-05 17:04:54 -05:00 |
|
Diogo Biazus
|
2c1236652e
|
Fixes hlint suggestions
|
2015-11-01 16:49:21 -05:00 |
|
Ruslan Talpa
|
cd3a149aa4
|
Merge remote-tracking branch 'begriffs/v3' into v3
|
2015-10-24 21:25:01 +03:00 |
|
Joe Nelson
|
7692693aae
|
Enforce GHC >= 7.10 and fix Stack warnings
|
2015-10-23 10:33:27 -07:00 |
|
Ruslan Talpa
|
f5fb78ec99
|
version changed to 3, circle ci to use ghc 7.10.1, stricter import/export in PgQuery and remove of dead code
|
2015-10-23 12:23:46 +03:00 |
|
Diogo Biazus
|
d000a6c61a
|
Eliminates SET role duplication and changes Auth module interface
|
2015-10-22 00:08:02 -04:00 |
|
Diogo Biazus
|
250a4dcfb2
|
Adds back import to make GHC 7.8 happy
|
2015-10-20 19:51:25 -04:00 |
|
Diogo Biazus
|
6e55017f96
|
Cleans and adds haddock comments
|
2015-10-20 19:48:54 -04:00 |
|
Diogo Biazus
|
2ea7bc29c6
|
Moves function from top level to where
|
2015-10-20 00:43:21 -04:00 |
|
Diogo Biazus
|
8b5f4e8556
|
Removes lenses and uses simpler approach to generate JWT claims. Also fixes the setVar to avoid the ::unknown type cast from insertableValue
|
2015-10-18 17:14:11 -04:00 |
|
Diogo Biazus
|
7ef5b7b43a
|
Simplifies pattern matching using insertableValue and quote variable as identifier.
|
2015-10-18 14:03:43 -04:00 |
|
Diogo Biazus
|
241a38e958
|
Makes JWT generation possible in RPC endpoints
Fixes SET execution to execute in separate statements as Hasql uses
prepared statements we need to send 1 commend per statement.
|
2015-10-18 02:30:32 -04:00 |
|
Diogo Biazus
|
aae55e0282
|
Make complete match agains ClaimsMap in setVar
|
2015-10-17 20:41:42 -04:00 |
|
Diogo Biazus
|
31f1a30d6f
|
Cleans imports in Middleware and define exports in Auth
|
2015-10-16 15:56:07 -04:00 |
|
Diogo Biazus
|
3add3f5b6c
|
First draft of big auth simplification
|
2015-10-16 15:55:47 -04:00 |
|
calebmer
|
8e107e5b24
|
Tolerate missing role in user creation
|
2015-10-07 20:01:46 -04:00 |
|
Ruslan Talpa
|
94b1d2815c
|
small changes suggested by @diogob
|
2015-09-29 11:40:33 +03:00 |
|
Ruslan Talpa
|
c42832f1c5
|
code cleanup
|
2015-09-25 11:51:37 +03:00 |
|
Joe Nelson
|
35f05f6fe1
|
Standardize indentation
|
2015-09-06 16:13:11 -07:00 |
|
Joe Nelson
|
1656fb9f57
|
Let the transaction reset the role and user id for us
|
2015-08-26 20:49:23 -07:00 |
|
Joe Nelson
|
594327924c
|
Set role locally in a tx to ensure it is reset after error
|
2015-08-26 20:49:23 -07:00 |
|
Federico Rampazzo
|
83f48dcd15
|
User_id support (via user_vars)
|
2015-05-24 03:26:42 +01:00 |
|
Sridhar Ratnakumar
|
c3ad87ffaf
|
Make postgrest usable as a library
|
2015-05-19 23:40:39 -07:00 |
|