Commit graph

2128 commits

Author SHA1 Message Date
Julian K. Arni
01f344dfbb Compiling servant-client-core 2017-09-14 09:54:13 -04:00
Julian K. Arni
35599d8b38 More reorganization 2017-09-14 09:54:13 -04:00
Julian K. Arni
95fac329a6 Rewrite servant-client.
This commit begins the reorganization of the servant-client project
    so as to allow multiple backends, and also begins some much-needed
    refactoring of the servant-client code.
2017-09-14 09:54:13 -04:00
Arnaud Bailly
b592b51ed8 provide convenience functions for ClientM-based clients 2017-09-14 09:54:13 -04:00
Arnaud Bailly
7480076c91 cleanup compiler's warnings 2017-09-14 09:54:13 -04:00
Arnaud Bailly
5e2c48b08f expose client runner as a typeclass with base implementation #798
* defined a typeclass abstracting the execution of a query
* provide ClientM-based instances for this typeclass
* changed signature of client and clientWithRoute to add proxy for
  context
* updated tests
2017-09-14 09:54:13 -04:00
Arnaud Bailly
175c9532f1 [wip] expose client runner as a typeclass 2017-09-14 09:54:13 -04:00
Arnaud Bailly
2665693529 extract module for http-client 2017-09-14 09:54:13 -04:00
Oleg Grenrus
97aa7db8b6 Merge pull request #804 from phadej/hoist-server
Add hoistServer to HasServer
2017-09-14 16:05:20 +03:00
Oleg Grenrus
822b853590 Ignore -Wno-missing-home-modules in travis 2017-09-14 14:37:07 +03:00
Oleg Grenrus
24af338dea Add hoistServer to HasServer 2017-09-14 12:04:34 +03:00
Oleg Grenrus
50be3a263b Merge pull request #767 from fierce-katie/docs-combinators
Description and Summary combinators
2017-08-16 15:31:12 +03:00
Oleg Grenrus
7fb6b707bc Merge pull request #792 from ivan-m/changelog-updates
Add Changelog entries for my recent pull requests
2017-08-01 11:57:44 +03:00
Ivan Lazar Miljenovic
36029f555f Add Changelog entries for my recent pull requests
As requests by @phadej in #790
2017-08-01 10:33:47 +10:00
Oleg Grenrus
24035ddd85 Merge pull request #790 from ivan-m/query-param-method
Document the type of endpoint a parameter belongs to
2017-07-31 11:41:13 +03:00
Oleg Grenrus
a9bc22d5c9 Merge pull request #788 from ivan-m/header-location
Move location of header information
2017-07-31 11:40:41 +03:00
Ivan Lazar Miljenovic
a2c6ef773d Changed to adding a Headers header
As per request by @phadej
2017-07-31 10:56:01 +10:00
Ivan Lazar Miljenovic
6fc4c735c4 Merge branch 'master' into query-param-method 2017-07-28 22:52:34 +10:00
Oleg Grenrus
53b352711b Merge pull request #787 from ivan-m/doc-auth-lenses
Export authentication-related types/lenses
2017-07-28 15:13:23 +03:00
Oleg Grenrus
9428eecda8 Merge pull request #791 from ivan-m/defAction-doc
Make defAction's documentation visible to Haddock
2017-07-28 12:29:57 +03:00
Ivan Lazar Miljenovic
31578b9bfa Make defAction's documentation visible to Haddock 2017-07-28 16:39:52 +10:00
Ivan Lazar Miljenovic
256ee41254 Update documentation such that it isn't just for GET 2017-07-28 16:39:05 +10:00
Ivan Lazar Miljenovic
89e0a98ac5 Document the type of endpoint a parameter belongs to
Closes #760
2017-07-28 16:31:55 +10:00
Ivan Lazar Miljenovic
7221368cdd Move location of header information
Currently, it appears after the notes, authentication and capture
information... such that if any of those exist, then the list of
header sensitivity will appear to be an item of one of the previous
ones (as they provide Markdown headers).
2017-07-28 15:32:19 +10:00
Ivan Lazar Miljenovic
8e67e26d63 Export authentication-related types/lenses
I'm assuming that they're not meant to be just in `.Internal`.
2017-07-28 15:15:16 +10:00
Oleg Grenrus
213620e56a Fix cabal category 2017-07-25 10:46:57 +03:00
Oleg Grenrus
c46dd1aff9 Bump servant-docs version to 0.11 2017-07-24 10:54:11 +03:00
JoeMShanahan
e6c492ab2c Add hackage link to the cookie package 2017-07-17 11:18:13 +01:00
JoeMShanahan
2c0aa36ae9 Reword comment so that it actually makes sense! 2017-07-17 10:51:08 +01:00
JoeMShanahan
160cda2602 Explicitly state that we're adding a dependency here 2017-07-17 10:14:42 +01:00
JoeMShanahan
c24096be16 Bring back the comment 2017-07-17 10:09:51 +01:00
Joe Shanahan
400bd564dc Look inside cookies instead of just the header 2017-07-17 09:18:34 +01:00
Alp Mestanogullari
265b4276db Merge pull request #775 from ismail-s/patch-1
Fix broken link (minor fix)
2017-07-07 10:45:24 +02:00
Ismail
2d271dc127 Fix broken link 2017-07-06 16:43:37 +01:00
Oleg Grenrus
b79a0fe0ed Merge pull request #773 from ishiy1993/improve-markdown
Improve authStr in markdown
2017-06-29 14:34:15 +02:00
ishiy
1ba7624e69 Improve authStr in markdown 2017-06-29 19:01:46 +09:00
Oleg Grenrus
70aae4c5c0 Relax bound for http-media in servant-client 2017-06-27 21:59:01 +03:00
Oleg Grenrus
5482b16dd4 Merge pull request #772 from felixonmars/patch-1
Allow http-media 0.7
2017-06-27 20:57:14 +02:00
Felix Yan
51610fab60 Allow http-media 0.7 2017-06-27 23:16:10 +08:00
Oleg Grenrus
b21ba4be1e Merge pull request #771 from chris-martin/patch-1
fix typo: "philosophy"
2017-06-20 20:43:00 +02:00
Chris Martin
fbf870ac8a typo: "philosophy" 2017-06-20 11:42:08 -04:00
Catherine Galkina
be0878cdd8 Fix tests for different GHC versions 2017-06-19 18:58:25 +03:00
Catherine Galkina
262453b0d1 Add multiline Description example 2017-06-19 16:39:05 +03:00
Catherine Galkina
272e47c3d3 Increase stack size for GHC-7.8.4 tests 2017-06-19 14:59:26 +03:00
Catherine Galkina
ec0431d930 Add instances for new combinators 2017-06-08 18:27:36 +03:00
Catherine Galkina
2e59a82d01 Add Description and Summary combinators 2017-06-08 17:35:24 +03:00
Oleg Grenrus
bb7df7b890 Merge pull request #764 from phadej/ghc-8.2.1
GHC-8.2.1 stack.yaml
2017-06-07 18:40:45 +03:00
Oleg Grenrus
8959d61173 GHC-8.2.1 stack.yaml 2017-06-07 17:29:15 +03:00
Oleg Grenrus
705285209a Remove parentheses in ContextSpec 2017-06-03 21:44:40 +03:00
Oleg Grenrus
b8510edb7d Merge pull request #762 from fierce-katie/sub-precedence-#761
Lower infix precedence for (:>) and (:<|>)
2017-06-03 21:36:31 +03:00