Joe Nelson and GitHub
74227d3c2b
Use env interpolation in config ( #826 )
2017-05-24 22:50:09 -05:00
Diogo Biazus and Joe Nelson
728e40c96c
Update hspec-wai to 0.8.0 ( #799 )
2017-02-14 21:18:01 -08:00
Pi3r and Joe Nelson
1d8318ce26
Increase lower and upper bound for optparse-applicative ( #794 )
2017-02-03 10:00:13 -08:00
Joe Nelson
a61c783e2d
Add link to config docs in message
2017-01-22 16:18:41 -08:00
Trevor Basinger and Joe Nelson
e364cbc3ff
Support binary (b64) JWT secrets ( #772 )
2016-12-11 09:01:03 -08:00
Joe Nelson and GitHub
4df853eff9
Take config path as first param, not flag
...
Include example config in usage message
2016-11-17 22:45:59 -08:00
SteveBash
4064a7b984
Fix fatal error on postgres unsupported version, also fix #577 format of supported version
2016-10-29 13:38:19 -05:00
Joe Nelson and GitHub
9233d90075
Read settings from config file ( #714 )
2016-10-20 08:34:57 -07:00
Joe Nelson and GitHub
74e68408e6
Bring packages up to date ( #722 )
...
* Bring packages up to date
* New LTS includes deps now
Use stack to select most versions
* Alphabetize packages
* Strip down packages
Switch tests to protolude
* Appease cabal check with base version constraint
2016-10-19 22:25:58 -07:00
Joe Nelson
06363ccc77
WIP: add argument for custom pre-request handler
2016-09-27 00:19:05 -07:00
Joe Nelson
62ed9e2c4d
Do not require jwt secret, but die on auth without it
2016-09-24 21:28:08 -07:00
Joe Nelson
449480bf01
Require JWT secret, remove default, optionally read from file
...
Fixes #474 , fixes #495 when file is used
2016-09-24 21:28:08 -07:00
Diogo Biazus and Joe Nelson
6f737056a2
Protolude completion in library and executable ( #697 )
2016-08-21 15:10:19 -07:00
Jacky Hu
1fef1991ef
Add proxy awareness for OpenAPI spec generation
...
Proxy uri from command line options takes precedence over host and port
2016-07-07 19:20:40 +08:00
Jacky Hu
e571cb9fcb
Ability to set addresses to listen on
...
Fixes #461
2016-06-18 10:46:02 +08:00
Jacky Hu
563c5fa778
Make hostname configurable
2016-06-18 10:18:43 +08:00
Jacky Hu
cf4e157de7
Provide a swagger2 spec for the dynamic API
...
Related issue: #144
2016-06-18 10:18:43 +08:00
Ruslan Talpa
40eec0b2ff
code beautify using stylish-haskell
2016-02-29 14:53:41 +02:00
Joe Nelson
17acd134c7
Suppress server logging in test mode
2016-02-22 17:48:33 -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
a044398552
Adjust usage message to indicate required arguments
2016-02-04 16:27:54 -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
calebmer
bacc899fb4
Change default schema #389
2015-12-13 16:36:32 -05:00
Joe Nelson
cbbb1871bb
Add --max-rows option (no automated tests yet)
...
Fixes #288
2015-12-05 19:03:18 -08:00
Joe Nelson
87c946ef52
Treat JWT as a Secret, not String
2015-11-19 09:58:41 -08:00
calebmer
2f6254f44c
Rename DbStructure names
2015-11-12 15:01:23 -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
28b7b80bbb
remove PUT from cors
2015-11-04 16:22:13 +02:00
Ruslan Talpa
609f1aabca
Merge remote-tracking branch 'begriffs/v3' into v3
2015-10-16 11:34:10 +03:00
calebmer
de43ac52c4
Rename connection string metavar
2015-10-11 16:47:09 -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
6ba4dc4617
Fix for #302
2015-10-08 11:33:42 +03: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
Diogo Biazus
3020812f71
Adds basic haddock comments on Config module
2015-10-05 21:14:18 -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
Ruslan Talpa
812135d1e5
cleanup suggested by @begriffs
2015-10-01 10:30:41 +03:00
Ruslan Talpa
c42832f1c5
code cleanup
2015-09-25 11:51:37 +03:00
Ruslan Talpa
a7b883c922
moved db structure detection at the beginning (2 tests failing)
2015-09-22 16:56:19 +03:00
Joe Nelson
35f05f6fe1
Standardize indentation
2015-09-06 16:13:11 -07:00
Sridhar Ratnakumar
c3ad87ffaf
Make postgrest usable as a library
2015-05-19 23:40:39 -07:00