mbg
89b0758dc8
Changed servant-client tests to reflect the changes to the client function
2016-03-28 14:52:33 +01:00
mbg
7379b7486a
Moved BaseUrl and Manager parameters from the client function to the Client type as discussed in #428
2016-03-28 14:51:07 +01:00
Julian K. Arni
101e138a4b
Cut 0.5 in changelogs
2016-03-19 13:26:13 +01:00
aaron levin
b3af5a8d95
Move general authentication to Experimental module
...
Removes the UndecidableInstances extension in the module containing the
HasServer instances.
2016-03-09 22:30:34 +01:00
aaron levin
29f8e64e1c
Add Experimental warnings on combinators
2016-03-09 22:30:34 +01:00
aaron levin
cd31b20cd8
Update CHANGELOG for generalized authentication support
2016-03-09 22:30:34 +01:00
aaron levin
23da4879ef
Add general auth support to servant-client
2016-03-09 22:30:34 +01:00
aaron levin
546adc391a
basic-auth: config -> context
2016-03-08 23:28:27 +01:00
aaron levin
1e703be15f
replace serve with serveWithConfig
2016-03-08 23:13:05 +01:00
aaron levin
60a536382f
Update CHANGELOG for basic authentication support
2016-03-08 23:13:05 +01:00
aaron levin
d989d15e4c
Add basic-auth support to servant-client
2016-03-08 23:13:05 +01:00
Sönke Hahn
8ef4d4543b
renaming: Config -> Context
2016-03-07 23:12:24 +08:00
Julian K. Arni
f137972e5d
Add 'serveWithConfig'.
...
And keep the old signature for 'serve'
2016-02-18 16:36:24 +01:00
Daniel Gasienica
e1947b9b40
Fix minor typo: succesful --> successful
2016-02-17 21:13:31 -08:00
Sönke Hahn
df09f8616e
config: remove HasConfig and make HasServer take config
as a parameter
2016-01-21 17:58:50 +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 K. Arni
be36e5b313
Change copyright to servant contributors
2016-01-20 16:58:29 +01:00
Sönke Hahn
ac930ef198
ComprehensiveAPI: add some comments (and minor tweaks)
2016-01-18 20:06:45 +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 K. Arni
f1b6603c52
Review fixes
2016-01-08 18:03:28 +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
Julian K. Arni
cda8bcf17c
Simplify verb combinators.
...
Create a single 'Verb' combinator with parameters for status code and
method. Make existing combinators type synonyms of 'Verb'.
2016-01-07 13:47:07 +01:00
Luigy Leon
17fcc25d87
add include header files to extra-source-files
2016-01-04 23:05:05 -05:00
Julian K. Arni
79d4f944a4
less OverlappingInstances noise
2016-01-04 13:09:11 -05: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