Daniel Larsson
|
0b2f2ae490
|
Added test cases for matrix parameters. Added some missing cases in the IsElem type family (QueryParams and QueryFlag)
|
2015-01-15 10:40:57 +01:00 |
|
Matthias Fischmann
|
92a8a78abe
|
Explicit imports in /test.
|
2015-01-06 17:57:50 +01:00 |
|
Alp Mestanogullari
|
6836eb6bcc
|
add split server-side bits into servant-server
|
2014-12-10 16:31:40 +01:00 |
|
Alp Mestanogullari
|
0dfd2434ac
|
fix build error for servant's spec
|
2014-11-27 18:50:29 +01:00 |
|
Alp Mestanogullari
|
67abcff47f
|
first shot at splitting servant into servant, servant-client and servant-docs
|
2014-11-27 18:28:01 +01:00 |
|
Alp Mestanogullari
|
ae8cca6fb4
|
fix renaming woes
|
2014-11-25 17:35:17 +01:00 |
|
Julian K. Arni
|
dee47654f9
|
Rename ApiQuasiQuoting.
And fix haddocks for it.
|
2014-11-25 16:35:56 +01:00 |
|
Alp Mestanogullari
|
60c7addb5e
|
more haddocks
|
2014-11-22 19:19:21 +01:00 |
|
Alp Mestanogullari
|
f36e488f9e
|
Merge pull request #36 from alpmestan/some_refactorings
Client instance for Raw, API documentation serving, some refactoring.
|
2014-11-14 13:17:31 +01:00 |
|
Alp Mestanogullari
|
e7b72561ee
|
Merge pull request #35 from alpmestan/static_files_shahn
Static files shahn
|
2014-11-14 11:12:47 +01:00 |
|
Julian K. Arni
|
108f24a5e7
|
Allow comments in API QQ.
Closes #29.
|
2014-11-13 18:22:26 +01:00 |
|
Sönke Hahn
|
286b1db836
|
Client Raw: returns Right (status, body) even for failure statuses
|
2014-11-13 20:36:36 +08:00 |
|
Sönke Hahn
|
eff31f7485
|
implemented 'instance HasClient Raw'
|
2014-11-13 19:57:53 +08:00 |
|
Sönke Hahn
|
8d92d66e00
|
refactored Servant.Docs.ToSample
|
2014-11-13 19:55:03 +08:00 |
|
Sönke Hahn
|
82ff0a6ad7
|
added Servant.Utils.StaticFiles.serveDocumentation
|
2014-11-13 14:54:10 +08:00 |
|
Sönke Hahn
|
d8b0e4c7e5
|
add S.Utils.StaticFiles
|
2014-11-13 14:54:10 +08:00 |
|
Sönke Hahn
|
165022a554
|
module refactoring: putting some things in Servant.Common
|
2014-11-07 19:12:27 +08:00 |
|
Sönke Hahn
|
1cd35034e9
|
module renaming: S.API.Elem -> S.Utils.Links
|
2014-11-07 16:59:36 +08:00 |
|
Sönke Hahn
|
af00035b99
|
module renaming: S.API.QQ -> S.Utils.ApiQuasiQuoting
|
2014-11-07 16:55:17 +08:00 |
|
Sönke Hahn
|
8e72c70767
|
moved S.Client.BaseUrl to S.Utils.BaseUrl
|
2014-11-07 11:58:41 +08:00 |
|
Sönke Hahn
|
93195abed6
|
put BaseUrl in it's own module
|
2014-11-07 11:09:54 +08:00 |
|
Sönke Hahn
|
f0bca3852c
|
implement BaseUrl to allow https for Clients
|
2014-11-05 20:03:57 +08:00 |
|
Julian K. Arni
|
11f82633da
|
Type safe links.
|
2014-11-04 12:24:52 +01:00 |
|
Sönke Hahn
|
fd636ead19
|
test suite: quickcheck property for a more complex client function
|
2014-10-31 15:49:58 +01:00 |
|
Sönke Hahn
|
16dbf9b188
|
Allow arbitrary JSON values (not only arrays and objects)
And added tests for QueryFlag.
|
2014-10-31 20:29:00 +08:00 |
|
Sönke Hahn
|
c2be4f3377
|
client tests: QueryParams
|
2014-10-31 20:18:31 +08:00 |
|
Alp Mestanogullari
|
0802221789
|
make QueryFlag more permissive
|
2014-10-31 13:01:12 +01:00 |
|
Sönke Hahn
|
a9eeff14bd
|
client: correctly handle exceptions on error status codes
|
2014-10-31 18:01:00 +08:00 |
|
Sönke Hahn
|
a0c675f603
|
client test suite: testing ReqBody
|
2014-10-31 18:01:00 +08:00 |
|
Sönke Hahn
|
14e6a49912
|
client test suite: tweak
|
2014-10-31 18:01:00 +08:00 |
|
Sönke Hahn
|
cb1772f0a0
|
test suite: testing Client of Capture
|
2014-10-31 18:01:00 +08:00 |
|
Sönke Hahn
|
f058a3051a
|
HasClient: changing URI to URIAuth (and adding the first client test
case)
|
2014-10-31 18:01:00 +08:00 |
|
Alp Mestanogullari
|
e774af7707
|
add tests for QueryParams and QueryFlag
|
2014-10-30 12:34:16 +01:00 |
|
Sönke Hahn
|
08e2a6a895
|
renamed Union -> Alternative
|
2014-10-30 18:37:58 +08:00 |
|
Sönke Hahn
|
be5ea82524
|
-Wall police
|
2014-10-30 15:41:18 +08:00 |
|
Julian K. Arni
|
99e790492a
|
QQ more tests and cleanup.
|
2014-10-29 14:54:13 +01:00 |
|
Julian K. Arni
|
d2f7e12bd9
|
More QQ tests.
|
2014-10-29 14:37:52 +01:00 |
|
Julian K. Arni
|
4ebd52b106
|
Some tests.
Mostly instrumentation for them.
|
2014-10-29 13:10:28 +01:00 |
|
Alp Mestanogullari
|
90ea56534b
|
add a testcase to very that we reject invalid json bodies with HTTP status 400
|
2014-10-28 16:58:46 +01:00 |
|
Alp Mestanogullari
|
812922d9b6
|
rename JsonBody to ReqBody in tests too -- this closes #11 for now
|
2014-10-28 16:32:32 +01:00 |
|
Alp Mestanogullari
|
9b375b137f
|
rename RQBody to JsonBody everywhere
|
2014-10-28 15:29:07 +01:00 |
|
Alp Mestanogullari
|
fc67c3b7aa
|
rename GetParam to QueryParam everywhere
|
2014-10-28 15:06:47 +01:00 |
|
Alp Mestanogullari
|
641ee69eba
|
improve the routing mechanism by augmenting the routing error type with some information and a sound monoid instance. this addresses #10
|
2014-10-28 14:34:28 +01:00 |
|
Sönke Hahn
|
d9eaf769d1
|
test suite: Capture strips path snippets
|
2014-10-28 17:52:47 +08:00 |
|
Sönke Hahn
|
c98c7db0df
|
Routing strips path snippets (and Raw receives modified Requests)
|
2014-10-28 17:42:49 +08:00 |
|
Sönke Hahn
|
c08ca320a9
|
test suite: Capture
|
2014-10-28 14:00:01 +08:00 |
|
Sönke Hahn
|
b749f7fbc6
|
added Servant.API.Raw (only with HasServer)
|
2014-10-28 13:42:37 +08:00 |
|
Sönke Hahn
|
207f398572
|
test suite: GetParam
|
2014-10-28 13:15:29 +08:00 |
|
Sönke Hahn
|
c393afa08e
|
test suite: Union (:<|> )
|
2014-10-27 17:10:43 +08:00 |
|
Sönke Hahn
|
d0782db08b
|
test suite: Post
|
2014-10-27 15:40:29 +08:00 |
|