Joe Nelson
|
e02dc2e92e
|
Remove redundant do
|
2016-01-27 18:51:53 -08:00 |
|
Joe Nelson
|
f634b7fe98
|
Rollback test connection on errors
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
bbf8365cd2
|
Upgrade hasql
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
51f71eb53d
|
Run queries in a transaction again
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
ac73e8d77b
|
Remove connection pooling in test
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
b9fd083c77
|
It all compiles but all requests give a postgres error
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
fec316b087
|
WIP: fixing compiler errors in specs
|
2016-01-24 18:09:19 -08:00 |
|
Ruslan Talpa
|
3cd01f9859
|
Fix failing test after test structure optimization
|
2015-12-11 10:23:11 +02:00 |
|
Joe Nelson
|
b3144aee15
|
Cache schema structure between tests for speed
Causes one test to fail
|
2015-12-10 13:36:28 -08:00 |
|
Diogo Biazus
|
4cc0189ac9
|
Prefixes all roles used in test suite with postgrest_test
|
2015-12-08 12:03:46 -05:00 |
|
Diogo Biazus
|
8b4cb4be6e
|
Replaces postgrest_authenticator for postgrest_test_authenticator
|
2015-12-08 11:53:18 -05:00 |
|
Diogo Biazus
|
6cc8ca707f
|
Separates privileges in another fixture
|
2015-12-08 11:33:22 -05:00 |
|
Diogo Biazus
|
f66f9e7c92
|
Adds -d postgrest to setup database step in SpecHelper
|
2015-12-08 11:06:50 -05:00 |
|
Diogo Biazus
|
ca3ab7babf
|
Cleanup code in SpecHelper
|
2015-12-08 01:01:38 -05:00 |
|
Diogo Biazus
|
0961524e70
|
Refactors tests to use new fixtures and remove some haskell functions that wont be necessary anymore
|
2015-12-08 00:44:49 -05:00 |
|
Joe Nelson
|
f4c73c7666
|
Test for --max-rows behavior
|
2015-12-05 19:31:53 -08:00 |
|
Joe Nelson
|
cbbb1871bb
|
Add --max-rows option (no automated tests yet)
Fixes #288
|
2015-12-05 19:03:18 -08:00 |
|
calebmer
|
b651a45734
|
Fix time fetch on initialization
|
2015-11-28 16:49:12 -05:00 |
|
Joe Nelson
|
f3d5759c1a
|
JWT is handled by middleware, do not need it in Intent
|
2015-11-19 11:20:30 -08:00 |
|
calebmer
|
ad555986d4
|
Error refactors
|
2015-11-16 17:28:39 -05:00 |
|
Joe Nelson
|
a6cfecbc29
|
Merge v3
|
2015-11-14 17:52:05 -08:00 |
|
calebmer
|
b8b073810f
|
Rename functions
|
2015-11-11 15:53:52 -05:00 |
|
calebmer
|
16af8fc61e
|
Better relations for views
- Better column synonyms detection
- Raise relations to accessible schema when possible
|
2015-11-11 09:11:57 -05:00 |
|
calebmer
|
7560fafbab
|
Refactor DbStructure
- Rename `dbstructure` to `db` in App.hs
- Rename PgStructure* to DbStructure*
- Move `DbStructure` creation to DbStructure.hs
|
2015-11-11 09:03:06 -05:00 |
|
Ruslan Talpa
|
1b402abaf2
|
Merge remote-tracking branch 'begriffs/v3' into v3
|
2015-11-10 10:22:06 +02:00 |
|
calebmer
|
c024687629
|
Remove secure flag entirely
|
2015-11-08 13:03:50 -05:00 |
|
Ruslan Talpa
|
14e806759d
|
Revert to the old way of displaying the list of tables
|
2015-11-03 09:31:56 +02:00 |
|
Ruslan Talpa
|
2e4c862d25
|
Refactor to add operators in just one place, @> and <@ operators for #338 and #181
|
2015-11-02 10:49:22 +02:00 |
|
Pierre Radermecker
|
2cfe3651b4
|
Add a test case for issue #334
|
2015-10-30 19:16:59 +01:00 |
|
Ruslan Talpa
|
f02b8381ea
|
shape the response after inserting
|
2015-10-27 13:16:14 +02:00 |
|
Diogo Biazus
|
6e55017f96
|
Cleans and adds haddock comments
|
2015-10-20 19:48:54 -04:00 |
|
Diogo Biazus
|
3add3f5b6c
|
First draft of big auth simplification
|
2015-10-16 15:55:47 -04:00 |
|
calebmer
|
5feb334191
|
Use postgres connection string
|
2015-10-11 16:26:29 -04:00 |
|
calebmer
|
02c405ad80
|
Remove versioning feature
|
2015-10-11 13:16:59 -04:00 |
|
Ruslan Talpa
|
812135d1e5
|
cleanup suggested by @begriffs
|
2015-10-01 10:30:41 +03:00 |
|
Ruslan Talpa
|
c0e17c44ba
|
all tests passing after moving table structure detection at load time
|
2015-09-23 09:38:40 +03:00 |
|
Ruslan Talpa
|
6f55e1d389
|
fix for one of the failing tests (acl for tables added)
|
2015-09-22 18:17:24 +03:00 |
|
Ruslan Talpa
|
a7b883c922
|
moved db structure detection at the beginning (2 tests failing)
|
2015-09-22 16:56:19 +03:00 |
|
Ruslan Talpa
|
9c8ac2a489
|
tests for &select= feature and support for casting columns (usefull when extracting subfields from json columns)
|
2015-09-05 15:05:53 +03: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 |
|
 Diogo BiazusandJoe Nelson
|
3b017dfdf6
|
Adds 415 response for any non-empty Accept header different from application/json or text/csv. Uses apropriate Content-Type header when sending CSV format.
|
2015-08-20 20:47:36 -07:00 |
|
Diogo Biazus
|
9d5011e864
|
Implements CSV resnponse for the appropriate accept headers
|
2015-08-14 11:04:26 -04:00 |
|
Joe Nelson
|
956f73d997
|
Regression test for situation reported in issue #203
|
2015-07-03 22:51:04 -07:00 |
|
Sridhar Ratnakumar
|
c3ad87ffaf
|
Make postgrest usable as a library
|
2015-05-19 23:40:39 -07:00 |
|
Federico Rampazzo
|
77aecc9e86
|
JWT support
|
2015-05-20 06:01:50 +01:00 |
|
Joe Nelson
|
9792b9b46a
|
Allow filtering by values inside json columns
|
2015-04-04 17:38:54 -07:00 |
|
Joe Nelson
|
5c7ee1effc
|
Fix problems caused by my rebase
|
2015-03-15 12:24:30 -07:00 |
|
 João CristóvãoandJoe Nelson
|
01c67ab793
|
Added tests for nullsfirst / nullslast
|
2015-03-15 11:37:06 -07:00 |
|
Joe Nelson
|
3d3c7277c7
|
Allow user to override schema used for v1 of api
|
2015-03-03 22:29:37 -08:00 |
|