Commit Graph
4288 Commits
Author SHA1 Message Date
dsimunicandJoe Nelson 0d85152e42 Improve test db management (#747) 2016-12-01 21:06:10 -08:00
Joe Nelson 8c2a95b98e Test suite instructions from @dsimunic 2016-11-30 21:21:57 -08:00
Joe NelsonandGitHub 6c009b71d3 Add constraint for vanilla cabal builds (#752) 2016-11-30 19:33:44 -08:00
Joe NelsonandGitHub 0f66e99f78 Merge pull request #745 from diogob/moves_request_error_handling_to_user_api_request
Moves request error handling to user api request
2016-11-30 09:17:56 -08:00
Diogo Biazus 6c275fcec2 Coalesce types UniformObjects and Payload into the new PayloadJSON 2016-11-27 23:55:26 -05:00
Diogo Biazus 16ac034aab Tidy up postgrest function body 2016-11-27 23:55:19 -05:00
Diogo Biazus b158b4924e Use rightToMaybe instead of case 2016-11-27 23:55:14 -05:00
Diogo Biazus 98ada3f9ee Change nesting of if clause making code more symetrical 2016-11-27 23:55:07 -05:00
Diogo Biazus 090a62a2c8 Removes error case from Payload type. Now we don't build a payload when the parsing fails. 2016-11-27 23:55:02 -05:00
Diogo Biazus 654ac6e62e Move function to conver ApiRequestError to a Http Response to the Error module. 2016-11-27 23:54:58 -05:00
Diogo Biazus fec769c80e Move range validation to userApiRequest. 2016-11-27 23:54:52 -05:00
Diogo Biazus 6a02d9efd5 Remove PayloadParseError matcher from main app case since now we validate the request before building an ApiRequest. 2016-11-27 23:54:48 -05:00
Diogo Biazus b8ddc30252 Remove ActionInappropriate constructor from type Action since now we validate the request before building an ApiRequest. 2016-11-27 23:54:37 -05:00
Diogo Biazus 47c4fbc8ef Introduce the type ApiRequestError and make userApiRequest return an Either ApiRequestError ApiRequest 2016-11-27 23:54:23 -05:00
Joe Nelson 5b95d22e2a Base nginx conf from Ruslan 2016-11-27 12:28:10 -08:00
Joe Nelson 5a31320a8b TeX description 2016-11-25 15:02:00 -08:00
Joe Nelson 6a2ba25414 Custom CSS 2016-11-25 15:01:52 -08:00
Joe Nelson b35ffd4931 First draft of resource embedding 2016-11-21 23:04:06 -08:00
Joe Nelson 455dc5c8bc OpenAPI overview 2016-11-20 22:41:05 -08:00
Joe Nelson dacf39404e Singular or plural 2016-11-20 22:03:04 -08:00
Joe Nelson 216550e959 Content negotiation 2016-11-20 21:39:35 -08:00
Joe Nelson 2a77ff5714 Schema cache rewrite 2016-11-20 16:37:18 -08:00
Joe Nelson 684a9f9566 Spell check, WIP Circle CI for sphinx 2016-11-20 14:26:50 -08:00
dsimunicandJoe Nelson ae40641963 Introduce new 'Prefer' header, params=single-object (#739) 2016-11-20 14:14:39 -08:00
Joe Nelson 79de60db58 The -c param is no more 2016-11-20 11:18:29 -08:00
Joe Nelson d1d6001a6d Alternate url structure 2016-11-19 12:04:10 -08:00
Raphael SchmittandJoe Nelson 954252ed16 corrected url (#24) 2016-11-18 09:22:51 -08:00
Joe NelsonandGitHub 4df853eff9 Take config path as first param, not flag
Include example config in usage message
2016-11-17 22:45:59 -08:00
Joe Nelson aed5618d28 Suggest pg-safeupdate rather than nginx 2016-11-13 22:44:18 -08:00
Joe Nelson 8258631b03 Schema reloading 2016-11-13 18:11:50 -08:00
Joe Nelson 0ae281f15f Debugging steps (sql logging, ngrep) 2016-11-13 17:19:13 -08:00
Diogo BiazusandJoe Nelson 41c1cf6e01 Reduce app function (#733)
Simplify the big app function
2016-11-10 20:42:00 -08:00
Joe Nelson e5d4697507 Config section in admin page 2016-11-02 21:51:37 -07:00
Joe NelsonandGitHub c3822da2d2 Merge pull request #728 from steve-chavez/master
Fix fatal error on postgres unsupported version, also fix #577 format…
2016-10-31 23:06:02 -07:00
Joe Nelson d38bfc8cf3 Notes for future admin section 2016-10-31 22:50:38 -07:00
Joe Nelson 5919a37197 Remove signups and user editing
Too complicated for this section
2016-10-31 22:43:41 -07:00
Joe NelsonandGitHub 0fa072d04c Merge pull request #726 from phanimahesh/nix-integration
add nix.packages to stack.yaml
2016-10-30 22:21:13 -07:00
Joe NelsonandGitHub 6dba37be47 Merge pull request #729 from jhr007/master
Update Contributing.md "Build from source link"
2016-10-29 22:57:32 -07:00
jhr007andGitHub fce84397f4 Update "Build from source link" 2016-10-29 18:46:39 -05: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 2c53cb4fae Fix highlighting, typo in current_user 2016-10-28 17:54:32 -07:00
Joe Nelson 8a606f7223 Discuss group/user roles 2016-10-28 17:18:41 -07:00
Joe NelsonandGitHub d78ef56314 Merge pull request #725 from begriffs/count-star
count(*) is faster than count(1)
2016-10-26 22:09:43 -07:00
J Phani Mahesh 37d3c851cf add nix.packages to stack.yaml
postgrest depends on postgres and zlib. When using stack's nix
integration, these dependencies must be specified explicitly.

Note that `--nix` must be passed to stack, or `nix.enable:true` must
be set in `stack.yaml` to enable using nix while building.
2016-10-26 15:49:53 +05:30
Joe Nelson 267c482cfe Use plpgsql language type when applicable 2016-10-24 15:26:40 -07:00
Joe Nelson fda3e58619 Fix code block lexing 2016-10-24 15:23:44 -07:00
Joe Nelson d152689038 More about schema isolation 2016-10-24 14:50:22 -07:00
Joe Nelson f882954019 SQL user management section 2016-10-24 14:23:44 -07:00
Joe NelsonandGitHub fbf345fc68 Fix hyphenation 2016-10-24 10:07:28 -07:00
Joe Nelson 9dddd144a4 count(*) is faster than count(1) 2016-10-23 20:44:42 -07:00