Oleg Grenrus
3d0ffc7ada
Advertise --fast --pedantic with stack
2017-01-20 20:16:32 +02:00
Oleg Grenrus
25110fefe4
Merge pull request #679 from phadej/semigroup
...
Semigroup
2017-01-20 15:00:27 +02:00
Oleg Grenrus
6fafaec51a
Change Semigroup (ClientM a) to Alt ClientM
2017-01-20 14:26:26 +02:00
Oleg Grenrus
da1b1980eb
Add ComprehensiVeAPI test for servant-foreign
2017-01-20 00:09:54 +02:00
Oleg Grenrus
7ac095f19a
Add test illustating that query params don't affect router grouping
2017-01-19 23:07:11 +02:00
Oleg Grenrus
fdf86b0e15
Add Semigroup instances
2017-01-19 20:11:54 +02:00
Oleg Grenrus
dc4b4be42e
Improve formatting of haddock
2017-01-19 19:04:36 +02:00
Oleg Grenrus
22b4d1301d
Merge pull request #670 from phadej/pull-649
...
Throw error on param parse failure.
2017-01-19 11:44:03 +02:00
Oleg Grenrus
58e931f48a
Resolve todos
2017-01-19 11:26:50 +02:00
Philipp Balzarek
a61551b87f
update servant-server CHANGELOG.md
2017-01-19 11:09:30 +02:00
Philipp Balzarek
3a0cbdd0f6
throw 400 on query parameter parse failure
2017-01-19 11:09:30 +02:00
Oleg Grenrus
8c3291355b
Merge pull request #675 from phadej/resourcet
...
Use resourcet for resource managment
2017-01-19 10:27:07 +02:00
Oleg Grenrus
6527937e27
More robust testing, via resource state machine
2017-01-19 00:57:31 +02:00
Oleg Grenrus
d4fe0e582a
Fix stylistic issues
2017-01-19 00:57:31 +02:00
Oleg Grenrus
2caabad61a
Expose ResourceT, fix the test
2017-01-19 00:57:31 +02:00
Oleg Grenrus
091f6f4412
Add failing test
2017-01-19 00:57:31 +02:00
Oleg Grenrus
bc6ff20f4d
Use resourcet for resource managment
2017-01-19 00:57:31 +02:00
Oleg Grenrus
484bc9cb64
Merge pull request #669 from phadej/json-with-charset
...
Change JSON content type to add the charset
2017-01-18 13:48:07 +02:00
Oleg Grenrus
7793b52d23
Change JSON content type to add the charset
2017-01-18 13:40:18 +02:00
Oleg Grenrus
6d0aa92517
Merge pull request #674 from phadej/delayed-cleanup-ioref-tests
...
Delayed cleanup ioref tests
2017-01-18 10:36:12 +02:00
Oleg Grenrus
60ee1ab570
Rewrite delayed cleanup tests using IORefs
2017-01-18 10:26:23 +02:00
Alp Mestanogullari
bc13d5cd3e
warning free
2017-01-17 23:10:29 +02:00
Alp Mestanogullari
92786feead
add some basic tests for the cleanup machinery in Delayed
2017-01-17 22:29:37 +02:00
Alp Mestanogullari
5d1f03ba1a
use an ioref to store clean up actions instead of a field in Delayed, allowing early clean up registration
2017-01-17 22:29:37 +02:00
Alp Mestanogullari
7fb11dae3c
make cleanup in Delayed more resistant to exceptions
2017-01-17 22:29:37 +02:00
Alp Mestanogullari
6ab0296d62
fix a warning
2017-01-17 22:29:37 +02:00
Alp Mestanogullari
124c6de1eb
add a field in Delayed that lets us specify a clean up action that can use the result of bodyD to perform some IO clean up operation
2017-01-17 22:29:36 +02:00
Oleg Grenrus
cce0f59ec8
Merge pull request #658 from haskell-servant/file-serving
...
Revamp file serving module
2017-01-17 22:09:57 +02:00
Oleg Grenrus
c50fdefe32
Merge pull request #640 from fierce-katie/generic-client
...
Generic client
2017-01-17 17:06:17 +02:00
Catherine Galkina
af1b267726
Fix servant-client tests after rebase
2017-01-17 16:34:30 +03:00
Catherine Galkina
aa4b10c9ca
Add comments for GClientLikeP and GClientLikeL classes
2017-01-17 16:29:24 +03:00
Catherine Galkina
9d52cff1bb
Fix ghc-7.8.4 build
2017-01-17 16:29:24 +03:00
Catherine Galkina
01324754da
Update comment in Servant.Client.Generic
2017-01-17 16:29:24 +03:00
Catherine Galkina
5fa99bee93
Expand left-nested APIs by default
2017-01-17 16:29:24 +03:00
Catherine Galkina
d128faee4d
Update CHANGELOG
2017-01-17 16:29:24 +03:00
Catherine Galkina
06217ace66
Fix typos in examples
2017-01-17 16:29:24 +03:00
Catherine Galkina
682d7ead5c
Update example in Servant.Client.Generic
2017-01-17 16:29:24 +03:00
Catherine Galkina
3cc667892c
Add tests for Servant.Client.Generic
2017-01-17 16:29:24 +03:00
Catherine Galkina
31e1ceb6d0
Add Servant.Client.Generic module
2017-01-17 16:29:24 +03:00
Alp Mestanogullari
57445ac1c9
changelog entry
2017-01-17 14:15:32 +02:00
Alp Mestanogullari
6d35f3d88f
reintroduce serveDirectory (to give some time to users to change their code), but deprecate it
2017-01-17 14:14:46 +02:00
Alp Mestanogullari
c655c6e474
tutorial fix
2017-01-17 14:14:46 +02:00
Alp Mestanogullari
0a3b2272de
fix static file serving test
2017-01-17 14:14:46 +02:00
Alp Mestanogullari
8efabed5c6
Revamp static file serving module.
...
Instead of only exposing 'serveDirectory', which picks a specific static file
serving strategy (file server settings), we now expose 4 different variants each
corresponding to an variant of StaticSettings in wai-app-static.
In addition to these, we expose a more flexible 'serveDirectoryWith' function
which allows the user to specify some arbitrary StaticSettings, if the 4
existing variants do not cover a user's needs.
2017-01-17 14:14:46 +02:00
Oleg Grenrus
c09c0cfd3f
Merge pull request #667 from phadej/abstract-handler
...
Make Handler a newtype
2017-01-17 14:14:03 +02:00
Simon Hafner
b3be590dad
TypeError annotations for AllCTRender
2017-01-16 23:16:27 +01:00
Oleg Grenrus
555b60ea06
Merge pull request #345 from haskell-servant/fizruk/type-level-#305
...
Servant.API.TypeLevel
2017-01-16 14:53:07 +02:00
Oleg Grenrus
c7c6c054a5
Add Logic subsection to the export list
2017-01-16 14:36:51 +02:00
Oleg Grenrus
55c8f0b4a1
Add changelog entry
2017-01-16 13:59:24 +02:00
Oleg Grenrus
3c83f615ca
Write explicit export list in Servant.API.TypeLevel
2017-01-16 13:54:00 +02:00