Diogo Biazus
|
91dfd47f1d
|
Adds another test case for jwt with empty claims
|
2015-10-22 23:20:16 -04:00 |
|
Diogo Biazus
|
aad19b53c7
|
Includes one test case for recovering from from 400 error and another for invalid JWT tokens
|
2015-10-22 23:12:14 -04:00 |
|
Diogo Biazus
|
d000a6c61a
|
Eliminates SET role duplication and changes Auth module interface
|
2015-10-22 00:08:02 -04:00 |
|
Diogo Biazus
|
81ee7cbd5e
|
Removes redundant do
|
2015-10-20 19:54:29 -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
|
a192cadced
|
All green :D
|
2015-10-20 19:23:12 -04:00 |
|
Diogo Biazus
|
044e3865ac
|
Removes 'Prefer: return=jwt' header and chooses jwt return based on function type
|
2015-10-20 01:03:11 -04:00 |
|
Diogo Biazus
|
2ea7bc29c6
|
Moves function from top level to where
|
2015-10-20 00:43:21 -04:00 |
|
Diogo Biazus
|
a3aba84ba8
|
Fixes linter suggestions
|
2015-10-18 20:10:26 -04:00 |
|
Diogo Biazus
|
4e9afc8096
|
Adds import needed by ghc 7.8
|
2015-10-18 20:05:34 -04:00 |
|
Diogo Biazus
|
f56efeb039
|
Reduces conde duplication assimbling response vody for RPC
|
2015-10-18 20:02:33 -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
|
275002e25d
|
Adds dbrole filter back to root path querying the database
|
2015-10-16 15:55:56 -04:00 |
|
Diogo Biazus
|
3add3f5b6c
|
First draft of big auth simplification
|
2015-10-16 15:55:47 -04:00 |
|
Joe Nelson
|
2c67b8d7ba
|
Merge pull request #316 from begriffs/clearer-errors
Clearer errors
|
2015-10-13 15:36:35 -07:00 |
|
Joe Nelson
|
6dbb69a828
|
Ensure that version error message tracks changing requirements
|
2015-10-12 17:10:57 -07:00 |
|
Joe Nelson
|
3733a84a38
|
Use type alias for clarity
|
2015-10-12 17:10:57 -07:00 |
|
Joe Nelson
|
e37b2d8c59
|
Provide detailed logging for any db errors caused internally by postgrest
|
2015-10-12 17:10:52 -07:00 |
|
Joe Nelson
|
2373a41699
|
Merge pull request #315 from calebmer/feature/pg-string-settings
Use postgres connection string instead of 5+ options
|
2015-10-12 16:22:27 -07:00 |
|
calebmer
|
2cbf2af6c7
|
Fix readme bash syntax
|
2015-10-11 16:51:52 -04:00 |
|
calebmer
|
fdcf074dfd
|
Update readme
|
2015-10-11 16:50:47 -04:00 |
|
calebmer
|
de43ac52c4
|
Rename connection string metavar
|
2015-10-11 16:47:09 -04:00 |
|
calebmer
|
f6aa93f094
|
Add details to changelog
|
2015-10-11 16:46:51 -04:00 |
|
calebmer
|
5feb334191
|
Use postgres connection string
|
2015-10-11 16:26:29 -04:00 |
|
Joe Nelson
|
3bd10004a7
|
Merge pull request #314 from calebmer/remove-versioning
Remove versioning feature
|
2015-10-11 10:35:34 -07:00 |
|
calebmer
|
02c405ad80
|
Remove versioning feature
|
2015-10-11 13:16:59 -04:00 |
|
Joe Nelson
|
2d0c4fecd8
|
Merge pull request #307 from calebmer/tolerate-missing-role
Tolerate missing role in user creation
|
2015-10-07 18:09:04 -07:00 |
|
calebmer
|
8e107e5b24
|
Tolerate missing role in user creation
|
2015-10-07 20:01:46 -04:00 |
|
Joe Nelson
|
2f551fea97
|
Merge pull request #305 from diogob/moves_minimum_pg_version_to_config
Moves minimum pg version to config
|
2015-10-06 17:58:18 -07:00 |
|
Diogo Biazus
|
adfd980a60
|
Moves minimum pg version to config, eliminates magic constant from main and improves docs.
|
2015-10-06 20:27:54 -04:00 |
|
Joe Nelson
|
f186d6bb33
|
Merge pull request #299 from fike/master
Added files in debian subdirectory.
|
2015-10-06 09:25:14 -07:00 |
|
Joe Nelson
|
180d647c70
|
Merge pull request #303 from diogob/refactor_config
Moves all config related code to PostgREST.Config module and sets default db-pass
|
2015-10-05 19:13:23 -07:00 |
|
Diogo Biazus
|
3020812f71
|
Adds basic haddock comments on Config module
|
2015-10-05 21:14:18 -04:00 |
|
Diogo Biazus
|
ed9eea3e8b
|
Imports (<>) from Data.Monoid
|
2015-10-05 18:53:44 -04:00 |
|
Diogo Biazus
|
346170220e
|
Uses empty password by default
|
2015-10-05 14:58:53 -04:00 |
|
Diogo Biazus
|
3a1f7938e8
|
Moves all config related code to PostgREST.Config module and
tweak the code to better encapsulate functionality.
|
2015-10-05 14:50:35 -04:00 |
|
Joe Nelson
|
9b222fb93d
|
Thank you @ruslantalpa
|
2015-10-04 10:10:17 -07:00 |
|
Joe Nelson
|
0f1b313d96
|
Merge pull request #295 from ruslantalpa/master
Extend the capabilities of PostgREST #280
|
2015-10-04 09:42:32 -07:00 |
|
Ruslan Talpa
|
b675276f31
|
merge new test from @diogob
|
2015-10-04 07:26:05 +03:00 |
|
Ruslan Talpa
|
c014d09072
|
Merge pull request #1 from diogob/fix_composite_fk_children
Adds a failing spec for child relation (comments) using a composite FK
|
2015-10-04 07:17:04 +03:00 |
|
Diogo Biazus
|
4dd508a628
|
Adds a failing spec for child relation (comments) using a composite foreign key (references to users_tasks)
|
2015-10-03 15:02:02 -04:00 |
|
Ruslan Talpa
|
e23a49395b
|
error formatting for parsers and relation
|
2015-10-02 11:36:56 +03:00 |
|
Fernando Ike
|
80f9685bb9
|
Fixed year dat in d/copyright
|
2015-10-01 18:15:08 -03:00 |
|
Ruslan Talpa
|
7754f96af8
|
Merge remote-tracking branch 'begriffs/master'
|
2015-10-01 22:22:14 +03:00 |
|
Joe Nelson
|
7d8523a786
|
Merge pull request #298 from diogob/fix_count_none
Fix count=none when we have filters
|
2015-10-01 10:26:25 -07:00 |
|