Commit graph

2109 commits

Author SHA1 Message Date
Denis Redozubov
e6e13fde84 Make servant-foreign code nicer
* non-messy imports
* got rid of most long lines (>80 chars)
* prisms for sum types and newtypes(we use lens anyway, so why not)
* consistent indentation
2016-02-11 15:26:01 +03:00
Julian Arni
761443fffe Merge pull request #357 from haskell-servant/jkarni/remove-memoReqBody
Remove memoReqBody.
2016-02-05 20:05:49 +01:00
Andres Löh
2ae504143a Merge pull request #362 from kosmikus/ks-cleanup
Various small and hopefully uncontroversial changes.
2016-01-28 12:34:30 +01:00
Andres Loeh
23a31a8935 Eta-reduce the verb-synonyms. 2016-01-28 11:46:16 +01:00
Andres Loeh
927009408b Small whitespace fix. 2016-01-28 11:08:22 +01:00
Andres Loeh
2934bac40c Small whitespace fix. 2016-01-28 11:07:59 +01:00
Andres Loeh
c532ecffd5 Small doc fix. 2016-01-28 11:07:36 +01:00
Julian K. Arni
3bd3eff488 Add test for failing 400 2016-01-26 18:47:34 +01:00
Julian K. Arni
1aeee3ef94 Remove memoReqBody. 2016-01-26 14:43:15 +01:00
Sönke Hahn
b9fb80ac5e server/config: tweak changelog 2016-01-21 18:04:00 +01:00
Sönke Hahn
09b22452aa server/config: added more documentation 2016-01-21 17:58:50 +01:00
Sönke Hahn
df09f8616e config: remove HasConfig and make HasServer take config as a parameter 2016-01-21 17:58:50 +01:00
Julian K. Arni
35bdc54dee Update changelogs 2016-01-21 17:55:02 +01:00
Julian K. Arni
b8f453127b Documentation for config. 2016-01-21 17:55:02 +01:00
Sönke Hahn
2445855203 servant-server: renaming of type variable 2016-01-21 17:55:02 +01:00
Sönke Hahn
e726db9fe7 updated stack-ghc-7.8.4.yaml 2016-01-21 17:55:02 +01:00
Sönke Hahn
2176fecfda config: added instances for all interpretations 2016-01-21 17:55:02 +01:00
Sönke Hahn
67315c4487 server: added Config machinery 2016-01-21 17:55:02 +01:00
Julian Arni
06ad05e82e Merge pull request #346 from haskell-servant/jkarni/license
Change copyright to servant contributors
2016-01-20 17:54:55 +01:00
Julian K. Arni
be36e5b313 Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
Christian Marie
9c67267071 servant-server: fix comment typo 2016-01-19 11:06:38 +11:00
Sönke Hahn
ac930ef198 ComprehensiveAPI: add some comments (and minor tweaks) 2016-01-18 20:06:45 +01:00
Sönke Hahn
14aac5fc9f servant-mock: support for response headers 2016-01-18 19:53:19 +01:00
Sönke Hahn
3fdaffa08d servant-mock: add simple test case 2016-01-18 13:51:19 +01:00
Sönke Hahn
39b0507098 servant-mock: add .ghci 2016-01-18 12:28:29 +01:00
Sönke Hahn
290e4ef1ba add RemoteHost to ComprehensiveAPI 2016-01-18 12:28:29 +01:00
Sönke Hahn
efd12053af servant-docs: add .ghci 2016-01-18 12:28:29 +01:00
Sönke Hahn
b20b8d9770 add HasClient instance for HttpVersion 2016-01-18 12:28:29 +01:00
Sönke Hahn
e5974ec94d add ComprehensiveAPI to test whether we're missing instances
Some of the combinators are commented atm, because we *are* missing combinators.
2016-01-18 12:28:29 +01:00
Julian Arni
b8d70e303a Merge pull request #330 from haskell-servant/jkarni/at-maintainers
Fix maintainer's @
2016-01-16 17:59:22 +01:00
Julian Arni
a957fefbd2 Merge pull request #332 from haskell-servant/jkarni/fix-doc-headers
Fix extra quotes in Verb headers for docs.
2016-01-16 17:59:04 +01:00
Alp Mestanogullari
e7b80e96fd Merge pull request #331 from haskell-servant/jkarni/security-issues
How to report security issues.
2016-01-16 13:34:19 +01:00
Julian K. Arni
641431d5b2 Fix extra quotes in Verb headers for docs.
Fixes #325.
2016-01-15 12:17:48 +01:00
Julian K. Arni
3bc4e17309 How to report security issues. 2016-01-15 11:50:00 +01:00
Julian K. Arni
cd101e6b23 Fix maintainer's @ 2016-01-15 11:40:56 +01:00
Julian Arni
a3339f11bf Merge pull request #328 from haskell-servant/shahn/doc-tweak
server/docs: fix formatting inconsistency
2016-01-15 11:12:46 +01:00
Sönke Hahn
c6e0ccbc2f server/docs: fix formatting inconsistency 2016-01-14 23:58:48 +01:00
Julian Arni
385ea2686b Merge pull request #326 from haskell-servant/jkarni/mock-build-example
Mock PolyKinds
2016-01-14 09:59:28 +01:00
Julian K. Arni
5a7fe76629 Add polykinds to servant-mock 2016-01-13 17:32:57 +01:00
Julian K. Arni
7f9758314e Build mock example by default.
So that CI reports errors.
2016-01-13 17:06:20 +01:00
Julian Arni
f97cbf0ce8 Merge pull request #320 from haskell-servant/add-ghci-for-servant
add servant/.ghci
2016-01-13 16:58:32 +01:00
Julian Arni
f8d030804f Merge pull request #324 from haskell-servant/jkarni/docsHeaderFix
Re-add missing Header instance for docs.
2016-01-13 16:57:15 +01:00
Julian K. Arni
37afddf3a2 Re-add missing Header instance for docs. 2016-01-11 13:37:20 +01:00
Julian Arni
357cc839b6 Merge pull request #276 from haskell-servant/jkarni/emptyWithHeaders
Consolidate verbs
2016-01-08 20:22:02 +01:00
Julian K. Arni
f9c61379c0 Refactor NoContent logic.
Now MimeRender and MimeUnrender instances are not needed.
2016-01-08 19:33:36 +01:00
Julian K. Arni
f1b6603c52 Review fixes 2016-01-08 18:03:28 +01:00
Sönke Hahn
feef8caea2 add servant/.ghci 2016-01-07 23:59:54 +01:00
Sönke Hahn
e007d8dc6d Merge pull request #318 from haskell-servant/jkarni/contributing
First pass at CONTRIBUTING
2016-01-07 18:30:42 +01:00
Julian K. Arni
32612c903c Review fixes 2016-01-07 17:19:31 +01:00
Julian K. Arni
783a849c67 Make NoContent still take an arg.
For consistency with other combinators, and to make using headers
        easier.
2016-01-07 14:30:08 +01:00