aaron levin
cef2e87aa6
Update servant-client for new GADT-based auth
2015-12-24 22:19:29 +01:00
aaron levin
5bf9e62244
Consistent spacing in servant-client
2015-12-23 00:00:09 +01:00
aaron levin
4ecbf2f1b8
Fix spelling in servant-client test
2015-12-22 23:58:50 +01:00
aaron levin
e241c5198a
Fix indentation in client specs
2015-12-21 00:08:39 +01:00
Arian van Putten
dc699a93e0
Refine the jwt api
2015-12-20 22:49:50 +01:00
Arian van Putten
79ac58a33d
Solve extra merge conflicts
2015-12-20 22:41:06 +01:00
Arian van Putten
c64fa05611
Change JSON to be the bearing type of JWT auth.
...
This way both client and server can be the same API type.
2015-12-20 22:41:06 +01:00
aaron levin
4e4bbff8bc
Export AuthenticateRequest instance for BasicAuth
2015-12-20 22:41:06 +01:00
aaron levin
3fb8f6ff66
Fix spelling mistake
2015-12-20 22:41:05 +01:00
aaron levin
756cd842da
Add to changelog
2015-12-20 22:41:05 +01:00
aaron levin
948951b6e9
Add authentication to servant-client
2015-12-20 22:41:05 +01:00
Philipp Kant
da5c273640
Relaxed upper version bound for http-api-data ...
...
... in order to include http-api-data-0.2.1, which is currently in LTS
Haskell (lts-3.16).
2015-12-03 14:13:50 +01:00
Simon Hengel
4e53e2083b
Use tinc on travis
2015-11-05 09:32:13 +08:00
Julian K. Arni
c22b5d1938
Changelogs for matrix params
2015-10-13 21:46:52 +02:00
Julian K. Arni
40686be83a
Rebase fixes
2015-10-13 21:45:22 +02:00
Julian K. Arni
2a894d861c
-Wall fixes
2015-10-13 21:38:13 +02:00
Julian K. Arni
afc76b8f6c
Remove MatrixParam.
...
In servant, servant-server, and servant-client.
2015-10-13 21:37:07 +02:00
Julian K. Arni
d9594e24b4
Rebase fix.
2015-10-11 21:47:31 +02:00
Julian K. Arni
ed3f2f1811
Update changelog
2015-10-11 21:12:05 +02:00
Julian K. Arni
c2a06bc090
More generous acceptable status codes for servant-client
2015-10-11 21:12:05 +02:00
Alp Mestanogullari
444a72eac6
Merge pull request #245 from arianvp/servant-client-hspec-discover-fix
...
Fix servant-client tests to properly use hspec-discover.
2015-10-10 02:40:24 +02:00
Arian van Putten
a08e644333
Add OVERLAPPING pragma to instances in ClientSpec
2015-10-09 00:48:03 +02:00
Julian Arni
3ce7c9758a
Merge pull request #250 from fizruk/http-api-data
...
Use http-api-data
2015-10-08 23:16:09 +01:00
Nickolay Kudasov
2a7d110c17
Add version bounds for http-api-data
2015-10-08 16:21:02 +03:00
Julian K. Arni
7529d7f776
getLast (and last missing servant-client test)
2015-10-08 12:09:23 +02:00
Nickolay Kudasov
dfb5cc7713
Update changelogs
2015-10-08 01:15:30 +03:00
Nickolay Kudasov
40d2c68897
Use http-api-data package instead of ToText/FromText
2015-10-08 00:38:47 +03:00
Julian K. Arni
110196e23f
Fix path concatenation, Eq instance, for BaseUrl
2015-10-07 21:07:07 +02:00
Arian van Putten
568254d5c7
Add entry to changelog
2015-10-07 20:02:46 +02:00
Julian K. Arni
47f4cec53b
Cleanup BaseUrl tests
2015-10-07 18:01:47 +02:00
Julian K. Arni
59d8824888
remove 'hspec' call in servant-client tests
2015-10-07 17:52:23 +02:00
Arian van Putten
fce1c8d2a4
WIP: Work on fixing servant-client tests
2015-10-06 14:32:25 +02:00
Arian van Putten
b389179590
Modify BaseUrl tests and add some new BaseUrl tests to check if paths are correctly used
2015-10-05 09:44:37 +02:00
Arian van Putten
8cf4acf2fc
Fix servant-client tests to properly use hspec-discover.
...
For some reason hspec-discover wasn't enabled for servant-client,
causing test cases to be skipped and fasely reporting servant-client as
test-passing whilst it was actually supposed to fail the tests.
For example, we redefined BaseUrl recently to have a path field, but the
tests don't reflect that yet but passed anyway. Because the test case
wasn't even discovered and run.
2015-10-05 00:51:32 +02:00
Julian K. Arni
cd7906d72e
Changelog updates and 7.8 fixes.
2015-09-28 18:24:27 +02:00
Julian K. Arni
de447dfe22
Pass in Manager as argument to 'client'
2015-09-28 16:34:53 +02:00
Index Int
c5257f42ab
Depend on transformers-compat
2015-09-12 16:28:20 +03:00
Index Int
f2f7b061d2
Drop EitherT
in favor of ExceptT
2015-09-12 15:11:24 +03:00
Jonathan Lange
6a35a0ae7a
Remove auto-generated nix files
2015-09-08 20:36:54 +01:00
Jonathan Lange
a265fd31a0
Run of update-nix-files.sh
2015-09-08 20:28:47 +01:00
Taylor Fausak
4238a58f92
Fix #203 ; add path to BaseUrl
2015-08-25 08:42:13 -05:00
Julian K. Arni
6eb7add53a
stylish haskell changes
...
And import fix.
2015-08-18 00:07:12 +02:00
Julian K. Arni
98b6e85128
Contributing
2015-08-17 23:50:42 +02:00
Brandon Martin
b40094d01c
convenience scripts and nix updates
2015-07-30 08:09:29 -06:00
Julian K. Arni
1c9d5baa99
Bump versions to 0.5
2015-07-27 22:26:49 +02:00
Alp Mestanogullari
f39d57c6b3
add HttpVersion, IsSecure, RemoteHost and Vault combinators with instances for all interpretations (all but the server ones being 'ignore that combinator')
...
tighter version bounds for network
cleanup
document the new combinators
servant-server: add some tests for HttpVersion, IsSecure, RemoteHost and Vault
update changelogs
address Julian's feedback
remove vault test in servant-server
servant-server tests: -Werror friendly
2015-07-10 14:00:01 +02:00
Christian Marie
a4bf32c51a
servant-client: Hide HttpException by wrapping it in SomeException
2015-06-12 21:19:26 +10:00
Christian Marie
ad16c4f768
Merge branch 'master' into existential-error
2015-06-12 19:56:49 +10:00
Julian Arni
e8f7c69aca
Merge pull request #89 from PierreR/master
...
Use MonadThrow instead of Either in the signature of parseBaseUrl
2015-06-04 14:32:54 +02:00
Julian K. Arni
0b3291970f
Bump to 0.4.1
2015-05-29 16:24:08 +02:00