Commit Graph

1521 Commits

Author SHA1 Message Date
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
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
Catherine Galkina
1c6927d3f5 Fix tests for servant-server 2017-06-02 18:47:28 +03:00
Catherine Galkina
e413310d0a Update changelog 2017-06-02 18:18:42 +03:00
Catherine Galkina
505ca457cc Lower Sub and Alternative infix precedence to 4 and 3 respectively 2017-06-02 18:11:05 +03:00
Oleg Grenrus
cc13d62c8c Use #warning in Setup.lhs 2017-05-24 10:22:01 +03:00
Oleg Grenrus
71ed8b3736 Merge pull request #747 from phadej/release-0.11
Release 0.11
2017-05-24 10:18:14 +03:00
Oleg Grenrus
22d0f6ccb9 Make GHC-8.0.2 stack.yaml the default 2017-05-24 08:02:57 +03:00
Oleg Grenrus
b6cfd64b5a GHC-8.2 readyness 2017-05-24 08:02:57 +03:00