Maksymilian Owsianny
0f42e0a7f0
Add documentation of 'HasForeignType'.
2015-12-02 14:10:30 +00:00
Maksymilian Owsianny
0c0c382ae6
Fix broken servant-js tests.
2015-12-02 13:22:01 +00:00
Maksymilian Owsianny
b6ee20dfe0
Fix to support GHC < 710
2015-12-02 13:02:05 +00:00
Maksymilian Owsianny
e56fc650c2
Added test spec for servant-foreign.
2015-12-02 12:28:04 +00:00
Maksymilian Owsianny
2d8db45907
Moved GenerateList to servant-foreign.
2015-12-02 11:21:37 +00:00
Maksymilian Owsianny
69f09f2622
Added lang parameter.
2015-11-29 04:53:50 +00:00
Maksymilian Owsianny
0b37222733
Fix servant-js based on changes to servant-foreign.
2015-11-28 08:24:55 +00:00
Maksymilian Owsianny
8932cb242c
Add access to types in servant-foreign.
2015-11-28 08:13:26 +00:00
Julian Arni
8bf804e292
Merge pull request #265 from liqd/foreign-internal-module
...
Foreign internal module
2015-11-23 16:56:09 -05:00
Matthias Fischmann
9b08a05502
Adjust file contents a little.
2015-11-16 18:40:15 +01:00
Matthias Fischmann
a1dcc275eb
Just rename the file.
2015-11-16 18:33:35 +01:00
Julian Arni
fdd1829c8f
Merge pull request #237 from sol/master
...
Test Hackage breakage
2015-11-05 11:39:20 -05:00
Simon Hengel
fccb01907b
Disable -Werror due to aeson-0.10.0.0 issue
2015-11-05 11:07:38 +08:00
Simon Hengel
4e53e2083b
Use tinc on travis
2015-11-05 09:32:13 +08:00
Simon Hengel
cd395a27e8
aeson-0.10.0.0 fixes
2015-11-05 09:14:07 +08:00
Julian Arni
0d8439c5cd
Merge pull request #262 from mattjbray/fix-camel-case
...
Fix camelCase
2015-11-04 17:51:59 +01:00
Julian Arni
380ad6b747
Merge pull request #261 from mattjbray/export-common-generator-options-constructors
...
servant-js: export CommonGeneratorOptions constructors
2015-11-04 17:51:40 +01:00
Matt Bray
f6ee02eb91
servant-foreign: fix camelCase
...
Previous behaviour was a bit shouty (and dashes aren't allowed in JS
variable names):
camelCase ["one", "two", "thirty-three"] => "oneTWOTHIRTY-THREE"
New behaviour:
camelCase ["one", "two", "thirty-three"] => "oneTwoThirtythree"
2015-11-04 11:27:07 +00:00
Matt Bray
aa2b56d08c
servant-foreign: add test for camelCase
2015-11-04 11:27:07 +00:00
Matt Bray
f2a91cfb1f
servant-js: export CommonGeneratorOptions constructors
...
Allow defCommonGeneratorOptions to be customized using record update
syntax.
Without the re-export, we can't do:
```
import qualified Servant.JS as SJS
myOptions =
SJS.defCommonGeneratorOptions
{ SJS.moduleName = "myModule"
, SJS.urlPrefix = "http://localhost "
}
```
2015-11-04 10:11:36 +00:00
Julian Arni
6c50beb0f8
Merge pull request #260 from freezeboy/clean-js
...
Replace servant-jquery with servant-js in remaining files
2015-11-03 19:39:54 +01:00
Freezeboy
b88981cf14
Replace servant-jquery with servant-js in remaining files
2015-11-02 19:59:46 +01:00
Julian Arni
6a4c967590
Merge pull request #218 from haskell-servant/jkarni/http-errors
...
Fix error priority and retries
2015-10-26 17:17:38 +01:00
Julian K. Arni
9c12b7839b
7.8 routing fixes, -Wall, cleanup, changelog.
2015-10-26 16:56:46 +01:00
Andres Loeh
1398d1f5e1
More systematic approach to delayed checks.
...
This introduces a `Delayed` type in `RoutingApplication.hs` that
contains a handler together with delayed checks. There are several
blocks of delayed checks, so that we can ultimately execute them in the
order we desire.
The process is documented in more detail in `RoutingApplication.hs`.
2015-10-26 16:56:25 +01:00
Julian K. Arni
ccadba81ec
Cleanup errorspec description of routing, changelog.
...
Review fixes
2015-10-26 16:55:13 +01:00
Julian K. Arni
a3b5652ab9
Refactor RouteResult.
...
Fix rerouting tests
Fix 405 > 404 issue with Capture.
Remove ServantErrWithPriority and Monoid instance
More tests
Update auth-combinator for routing changes
2015-10-26 16:54:49 +01:00
Julian K. Arni
153de01a62
Error retry tests
...
Mime[Un]Render instances for PlainText String
pragmas and formatting
2015-10-26 16:54:28 +01:00
Julian K. Arni
9c62a3b150
Error order tests
2015-10-20 12:41:32 +02:00
Julian Arni
c970b2bffe
Merge pull request #252 from haskell-servant/jkarni/removeMatrix
...
Remove matrix
2015-10-14 08:52:08 +02: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
ec55f4b981
Remove Matrix params.
...
For servant-docs, -foreign, -js, and -mock.
2015-10-13 21:37:07 +02:00
Julian K. Arni
afc76b8f6c
Remove MatrixParam.
...
In servant, servant-server, and servant-client.
2015-10-13 21:37:07 +02:00
Alp Mestanogullari
6ef59de6b4
Merge pull request #255 from haskell-servant/jkarni/bump-http-types
...
Bump upper bound for http-types.
2015-10-13 21:15:45 +02:00
Julian K. Arni
72acd1a19d
Bump upper bound for http-types.
2015-10-13 20:53:56 +02:00
Julian Arni
0cf4a5407e
Merge pull request #254 from zerobuzz/fmap-router
...
fmapRouter.
2015-10-13 09:37:28 +02:00
Matthias Fischmann
8f01efd599
Export tweakResponse from non-internal module; better haddock comment.
2015-10-12 21:58:06 +02:00
Matthias Fischmann
dd1d30843b
Test case for tweakResponse.
2015-10-12 21:58:04 +02:00
Matthias Fischmann
f953d05212
Whitespace.
2015-10-12 21:47:50 +02:00
Matthias Fischmann
d106ed9c9f
Use Functor class for functor business.
2015-10-12 21:47:47 +02:00
Matthias Fischmann
96f10add65
fmapRouter.
2015-10-12 17:06:43 +02:00
Julian Arni
80396c8e47
Merge pull request #249 from haskell-servant/jkarni/clientCodes
...
More generous acceptable status codes for servant-client
2015-10-11 22:02:54 +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
Julian K. Arni
ad39feb01e
Fix 'Delete' documentation.
2015-10-11 21:08:45 +02:00
Alp Mestanogullari
5a032383bc
update servant-server README
2015-10-10 19:31:03 +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