Joe Nelson
|
c094e5a0fc
|
Merge pull request #489 from diogob/apply_range_headers_to_rpc
Apply range headers to rpc
|
2016-02-26 12:10:33 -08:00 |
|
Joe Nelson
|
3b23c4aa5b
|
Merge pull request #503 from begriffs/one-tx-per-client
Reduces pool resource locking (2)
|
2016-02-26 10:11:47 -08:00 |
|
Joe Nelson
|
d466ea45ff
|
Add changelog entry
Nice work guys, this took a lot of cooperation
|
2016-02-26 10:06:54 -08:00 |
|
Joe Nelson
|
7ba5363d25
|
Upgrade hasql to fix prepared statement problem
|
2016-02-26 08:18:47 -08:00 |
|
Joe Nelson
|
f28b03f419
|
Allow new hasql-transaction to do rollbacks
|
2016-02-25 20:13:03 -08:00 |
|
Joe Nelson
|
de772b9246
|
Modified the concurrent test to illustrate problem with prepared statement
|
2016-02-22 20:58:44 -08:00 |
|
Joe Nelson
|
c28b26d949
|
Run QueryLimitedSpec with its own server flags
|
2016-02-22 19:21:39 -08:00 |
|
Joe Nelson
|
c02dd4aa98
|
Enable real threads in test
|
2016-02-22 17:53:10 -08:00 |
|
Joe Nelson
|
b0974a4e36
|
Reset db between each test suite
|
2016-02-22 17:50:00 -08:00 |
|
Joe Nelson
|
17acd134c7
|
Suppress server logging in test mode
|
2016-02-22 17:48:33 -08:00 |
|
Joe Nelson
|
d4a4bbf966
|
Roll back on db errors
|
2016-02-22 16:52:50 -08:00 |
|
Joe Nelson
|
7b7babd1d1
|
Fix frozen tests
Problem found by @ruslantalpa
|
2016-02-22 08:41:31 -08:00 |
|
Joe Nelson
|
072a6ce4c7
|
Bump hasql to 0.19.8
|
2016-02-21 18:37:17 -08:00 |
|
Joe Nelson
|
d5c1438c6e
|
Use hasql-transaction
Also use hspec before-wrapper
|
2016-02-21 18:05:25 -08:00 |
|
Joe Nelson
|
30e5032ade
|
Use lower optimization to speed up regular dev builds
|
2016-02-21 14:11:46 -08:00 |
|
Joe Nelson
|
d7fe59f0b0
|
WIP: share server code between tests and program
- Share server code in Main
- Switch to hasql-pool
- Use pool in tests
- DRY up test runner
|
2016-02-21 12:22:18 -08:00 |
|
Joe Nelson
|
8a006f07a7
|
Show error text more clearly
|
2016-02-20 18:11:46 -08:00 |
|
Joe Nelson
|
52e689b830
|
Add concurrent test for "transaction in progress"
MonadBaseControl wizardry courtesy of @jwiegley
|
2016-02-20 17:45:55 -08:00 |
|
Joe Nelson
|
6b4b763bc4
|
Merge pull request #494 from begriffs/test-raw-cabal
Ensure plain cabal can determine a build plan
|
2016-02-15 11:46:31 -08:00 |
|
Joe Nelson
|
6b1c8b3e39
|
Ensure plain cabal can determine a build plan
For those wishing to use postgrest as a library
|
2016-02-14 22:17:26 -08:00 |
|
Joe Nelson
|
f3293cfac1
|
Do not name import of void directly as it is used conditionally
|
2016-02-12 23:15:09 -08:00 |
|
Joe Nelson
|
0dd8a498b2
|
v0.3.0.4
|
2016-02-12 20:45:03 -08:00 |
|
Joe Nelson
|
f9b8e6879d
|
Merge pull request #492 from begriffs/threaded
Do not block threads on libpq ffi
|
2016-02-12 20:32:40 -08:00 |
|
Joe Nelson
|
e73a4c66bc
|
Do not block threads on libpq ffi
Fixes #445
|
2016-02-12 14:43:00 -08:00 |
|
Joe Nelson
|
fc3c885bb6
|
Merge pull request #491 from begriffs/payload-error
Ensure payload parse errors are not suppressed
|
2016-02-11 16:39:13 -08:00 |
|
Joe Nelson
|
8b3d224b80
|
Ensure payload parse errors are not suppressed
Fixes #490
|
2016-02-11 16:24:02 -08:00 |
|
Joe Nelson
|
ce6e52e9ba
|
Merge pull request #487 from motiz88/nitpick
Minor proofreading in InsertSpec
|
2016-02-08 08:23:22 -08:00 |
|
Joe Nelson
|
f7926e9f28
|
Merge pull request #486 from begriffs/improved-usage
Adjust usage message to indicate required arguments
|
2016-02-06 18:02:09 -08:00 |
|
Joe Nelson
|
f65557573c
|
Match new config param order in tests
|
2016-02-05 09:39:43 -08:00 |
|
Joe Nelson
|
4dec445b82
|
Add example db connection string to usage
|
2016-02-05 09:30:42 -08:00 |
|
Joe Nelson
|
ccb3eba9e3
|
Reorder arg list, note that schema is not required
|
2016-02-05 09:27:24 -08:00 |
|
Joe Nelson
|
56426b896a
|
Changelog entry
|
2016-02-04 16:38:35 -08:00 |
|
Joe Nelson
|
7702d38267
|
Update docs to note rquired arguments
|
2016-02-04 16:34:36 -08:00 |
|
Joe Nelson
|
a044398552
|
Adjust usage message to indicate required arguments
|
2016-02-04 16:27:54 -08:00 |
|
Joe Nelson
|
17db68ae2d
|
Merge branch 'feature/options-not-found-error'
|
2016-02-03 11:44:36 -08:00 |
|
Joe Nelson
|
e53fb10483
|
Fix lint
|
2016-02-03 11:36:17 -08:00 |
|
Joe Nelson
|
945ef61188
|
Merge pull request #483 from begriffs/rpc-post-only
Issue http 405 for anything but POST on RPC
|
2016-02-03 11:16:51 -08:00 |
|
Joe Nelson
|
f990a519a5
|
More extensive tests
|
2016-02-02 16:45:54 -08:00 |
|
Joe Nelson
|
2149bea8e3
|
Merge pull request #485 from motiz88/patch-1
Document default order direction correctly, fix #484
|
2016-02-02 15:47:14 -08:00 |
|
Joe Nelson
|
31f46d5220
|
Direct stack download is faster than apt-get
|
2016-02-01 23:40:02 -08:00 |
|
Joe Nelson
|
a0ef4eae4d
|
Issue http 405 for anything but POST on RPC
Fixes #481
|
2016-02-01 22:52:57 -08:00 |
|
Joe Nelson
|
aec11e34a7
|
Merge pull request #480 from eGullGolf/issue169
Explain how to connect without a password through Unix socket
|
2016-02-01 12:55:42 -08:00 |
|
Joe Nelson
|
c6d47eeb77
|
Merge pull request #478 from pra85/patch-1
Typo in Readme.md
|
2016-01-30 20:07:06 -08:00 |
|
Joe Nelson
|
20573632d7
|
Merge pull request #476 from begriffs/stack-ci
Switch to Stack on CircleCI
|
2016-01-29 14:34:27 -08:00 |
|
Joe Nelson
|
03468c83df
|
Merge pull request #477 from sscarduzio/patch-3
#475
|
2016-01-29 10:10:49 -08:00 |
|
Joe Nelson
|
e6e324e8ff
|
Trim unused packages
|
2016-01-28 17:32:38 -08:00 |
|
Joe Nelson
|
2175ae4d28
|
Build test deps in cacheable phase
|
2016-01-28 16:36:45 -08:00 |
|
Joe Nelson
|
c887f2b3b4
|
Move ghc-options in stack config and out of cabal file
|
2016-01-28 14:03:44 -08:00 |
|
Joe Nelson
|
1a3c54793d
|
Build only haddocks for postgrest, not deps
|
2016-01-28 14:00:33 -08:00 |
|
Joe Nelson
|
4679e2a514
|
Haddock coverage report not working, removing for now
|
2016-01-28 13:17:49 -08:00 |
|
Joe Nelson
|
e02dc2e92e
|
Remove redundant do
|
2016-01-27 18:51:53 -08:00 |
|
Joe Nelson
|
536acec820
|
Turn down warning level a little
|
2016-01-27 17:31:57 -08:00 |
|
Joe Nelson
|
55da918240
|
Build with stack on CI and use harsher setttings
|
2016-01-27 16:12:48 -08:00 |
|
Joe Nelson
|
f3d4d1fb60
|
Merge pull request #472 from begriffs/hasql-19
Upgrade to Hasql 19
|
2016-01-27 14:59:08 -08:00 |
|
Joe Nelson
|
dac31c4f2e
|
Use newer LTS to avoid potential aeson problem
|
2016-01-27 11:00:40 -08:00 |
|
Joe Nelson
|
677c73cfe5
|
New versions of Warp do not export Connection
|
2016-01-24 18:09:21 -08:00 |
|
Joe Nelson
|
b85fc37130
|
Protect against nulls that choke our decoder
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
f634b7fe98
|
Rollback test connection on errors
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
75ebd1bd24
|
Derp, it is "commit" not "end"
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
cbb2ba7d42
|
Appease hlint
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
616541aaee
|
Use reorder-goals in CI to make vanilla cabal work
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
bbf8365cd2
|
Upgrade hasql
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
a0b390e735
|
Avoid possibilities of null for our chosen decoder
|
2016-01-24 18:09:20 -08:00 |
|
Joe Nelson
|
1f557a92a4
|
Pass query args properly
|
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
|
8b13e7dd73
|
Header cannot be null even when it is n/a
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
3be04d7f30
|
Upgrade hasql to fix connection error
|
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 |
|
Joe Nelson
|
3844f3ee96
|
The app compiles but totally untested
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
cb3977679d
|
App.hs compiles (dubiously)
Removed query body is no longer a maybe value
|
2016-01-24 18:09:19 -08:00 |
|
Joe Nelson
|
6122bc4108
|
Middleware compiles
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
abc30d5170
|
DbStructure compiles
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
4b515c5df4
|
WIP: converting DbStructure
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
2d5210464a
|
WIP: converting dbstructure
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
684b11badb
|
WIP: converting DbStructure
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
7b92449343
|
QueryBuilder compiles with hasql 19
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
72cd6c37bd
|
Change some import statements and Session types
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
d6102cc908
|
Use the correct Error types for hasql 0.19
|
2016-01-24 18:09:18 -08:00 |
|
Joe Nelson
|
5faa80b172
|
Merge pull request #470 from sscarduzio/patch-1
The correct HTTP status code for integrity constraint violation is 509, fixes #469
|
2016-01-24 15:31:55 -08:00 |
|
Joe Nelson
|
301d9b6a86
|
Merge pull request #468 from guido4000/patch-1
Rename endpoint for consistent endpoint names
|
2016-01-21 08:25:59 -08:00 |
|
Joe Nelson
|
9ba603660e
|
Merge pull request #466 from diogob/adds_multiple_insert_section
Adds section about multiple insertion/update to api/writing docs [#405]
|
2016-01-20 21:13:29 -08:00 |
|
Joe Nelson
|
03bec64097
|
Merge pull request #450 from daurnimator/patch-1
docs/examples/users.md: pgcrypto includes uuidv4 generation
|
2016-01-20 18:28:03 -08:00 |
|
Joe Nelson
|
4fcc0fbc94
|
Merge pull request #464 from eGullGolf/issue463
Add step to install libpq-dev when building from source on Ubuntu
|
2016-01-19 11:25:26 -08:00 |
|
Joe Nelson
|
860e437078
|
Merge pull request #459 from motiz88/tentative-fix-458
pgFmtLit: Change condition for using E"..." syntax
|
2016-01-15 09:14:35 -08:00 |
|
Joe Nelson
|
0d9d74dc1c
|
Merge pull request #454 from ruslantalpa/fix_453
fix #453 by sending the request to the db (instead of using the cached data)
|
2016-01-13 20:29:05 -08:00 |
|
Joe Nelson
|
c93c4d8c30
|
Merge pull request #452 from manufaktor/patch-1
Set login permission for authenticator role
|
2016-01-09 10:15:35 -08:00 |
|
Joe Nelson
|
2c1f9e7eac
|
v0.3.0.3
|
2016-01-08 18:27:14 -08:00 |
|
Joe Nelson
|
92df3d3243
|
Merge pull request #448 from chrishepner/readme-typo-fix
Fix README typo
|
2016-01-07 10:04:30 -08:00 |
|
Joe Nelson
|
a0b4cd6bf9
|
Add link to Caleb's awesome client
|
2016-01-01 22:42:33 -08:00 |
|
Joe Nelson
|
943c38125f
|
Reorganized examples in docs menu
|
2015-12-30 17:30:44 -08:00 |
|
Joe Nelson
|
4b637bb54e
|
Move permissions statements into user example
This makes it self-contained
Shorten blog permissions to compensate
|
2015-12-30 17:26:03 -08:00 |
|
Joe Nelson
|
576a38c407
|
Merge pull request #435 from davidthewatson/document-python-requests-jwt
Document python requests jwt
|
2015-12-30 13:36:42 -08:00 |
|
Joe Nelson
|
48f9ce114e
|
Merge pull request #433 from calebmer/hotfix/consistent-escape
Consistent read query escaping
|
2015-12-29 13:07:26 -08:00 |
|
Joe Nelson
|
651daa00d7
|
Merge pull request #439 from ruslantalpa/master
Fix bug in many-many relation detection
|
2015-12-26 08:26:54 -08:00 |
|
Joe Nelson
|
437a592c65
|
Merge pull request #434 from elimisteve/patch-1
examples/start.md: Fixed typo
|
2015-12-21 22:24:45 -08:00 |
|
Joe Nelson
|
7bf65a95d8
|
Merge pull request #432 from diogob/external_auth_example
External auth example
|
2015-12-20 13:30:14 -08:00 |
|
Joe Nelson
|
b26fbaf4db
|
Merge pull request #427 from ruslantalpa/fix_407_week_authenticator_role
Fix errors in tests when setting authenticator to noinherit #407
|
2015-12-19 09:34:24 -08:00 |
|
Joe Nelson
|
f1fbc98040
|
Merge pull request #429 from diogob/renames_v1schema_to_schema
Renames v1schema in app.json to make consistent with current parameter semantics
|
2015-12-18 14:16:03 -08:00 |
|