Commit graph

895 commits

Author SHA1 Message Date
Alp Mestanogullari
217f9e97e3 Merge pull request #179 from haskell-servant/jkarni/stack-dep-update
Update stack for servant-example dependency changes.
2015-08-01 21:02:54 +02:00
Julian K. Arni
307d2a648f Update stack for servant-example dependency changes. 2015-08-01 20:18:47 +02:00
Julian Arni
38ca8d54d0 Merge pull request #177 from codedmart/methodHead
Respond with Head to all Get requests
2015-08-01 20:16:42 +02:00
Brandon Martin
050aa21b9d Response with Head to all Get requests
Signed-off-by: Brandon Martin <zmbmartin@gmail.com>
2015-08-01 07:58:56 -06:00
Julian Arni
e15caf0d35 Merge pull request #175 from codedmart/nixFixes
convenience scripts and nix updates
2015-07-30 16:31:46 +02:00
Brandon Martin
b40094d01c convenience scripts and nix updates 2015-07-30 08:09:29 -06:00
Julian Arni
522a7dc961 Merge pull request #165 from haskell-servant/jkarni/bump-warp
Bump warp upper bound.
2015-07-30 10:44:35 +02:00
Alp Mestanogullari
3dc304b8d7 Merge pull request #173 from freezeboy/axios
servant-js: Add support for the Axios JS library
2015-07-29 14:10:41 +02:00
Alp Mestanogullari
dc902e2f58 Merge pull request #171 from freezeboy/transform-function-name
Replace functionName with an array, and use functionRenamer to build …
2015-07-29 12:03:18 +02:00
Freezeboy
116d7bf22b Add capture in function name 2015-07-28 19:47:41 +02:00
Freezeboy
4cab814e17 Add urlPrefix support for Axios 2015-07-28 16:47:19 +02:00
Freezeboy
2c0fe980eb Rename also function name transformer for Axios 2015-07-28 16:46:00 +02:00
Freezeboy
3f538b547d CamelCase for Angular Service 2015-07-28 16:43:09 +02:00
Freezeboy
ef13160d8b Rename functionRenamer and default to CameCase 2015-07-28 16:41:07 +02:00
Alp Mestanogullari
4ff9697ed7 Merge pull request #172 from freezeboy/add-url-prefix
Add urlPrefix to CommonGeneratorOptions
2015-07-28 15:53:48 +02:00
Alp Mestanogullari
eed8acd948 Merge pull request #162 from codedmart/socketIOExample
add a chat example based on chat example from engine-io, to demonstrate how to integrate engine-io/websockets in a servant app
2015-07-28 15:52:07 +02:00
Freezeboy
915ed652e1 Upgrading tests for Axios 2015-07-28 15:44:55 +02:00
Freezeboy
60d94be0e9 Add a configuration mapping to Axios 2015-07-28 15:06:00 +02:00
Brandon Martin
dda0616989 quick chat example base on chat example from engine-io 2015-07-28 05:52:02 -06:00
Freezeboy
522dc3c2cb Axios fix the request body 2015-07-28 11:33:36 +02:00
Freezeboy
b085e63aa7 Removing output from test 2015-07-28 01:27:20 +02:00
Freezeboy
17ca343b45 Update example with Axios version 2015-07-28 01:25:00 +02:00
Julian K. Arni
1c9d5baa99 Bump versions to 0.5 2015-07-27 22:26:49 +02:00
Freezeboy
3ff1f5c953 Update tests for Axios 2015-07-27 16:49:52 +02:00
Freezeboy
2e2eac6543 Let example support Axios 2015-07-27 16:34:00 +02:00
Freezeboy
4362112f31 Add preliminary Axios support 2015-07-27 16:29:08 +02:00
Freezeboy
8b927e7f0d Add urlPrefix to CommonGeneratorOptions 2015-07-27 15:21:58 +02:00
Freezeboy
c01ad63112 Replace functionName with an array, and use functionRenamer to build the real function name 2015-07-27 13:55:30 +02:00
Sönke Hahn
e24cb9ddf6 add stack file 2015-07-26 17:25:07 +08:00
Alp Mestanogullari
2cf2d08cd3 Merge pull request #163 from haskell-servant/servant-mock
new package: servant-mock, to generate mock servers from API types
2015-07-24 15:45:08 +02:00
Alp Mestanogullari
b11fe341d4 Merge pull request #161 from haskell-servant/new-js-codegen
New Javascript code-generation
2015-07-23 22:37:25 +02:00
Alp Mestanogullari
710c560de8 Merge pull request #160 from haskell-servant/jkarni/fix-is-elem-header
Fix IsElem for Header.
2015-07-23 13:50:53 +02:00
Alp Mestanogullari
d3fa61c041 servant-js testsuite code cleanup 2015-07-23 13:47:44 +02:00
Julian K. Arni
42d73d10e6 Bump warp upper bound.
To < 3.2.
2015-07-23 13:31:37 +02:00
Julian K. Arni
29e3c1a45a Fix isElem for Header.
The intention was obviously to ignore them, but we weren't doing so
    correctly.
2015-07-23 13:24:26 +02:00
Alp Mestanogullari
fe0e526aa1 haddocks for Servant.Mock 2015-07-23 13:00:37 +02:00
Alp Mestanogullari
d6a7f5c856 actually fix the build on 7.8, hopefully 2015-07-22 22:08:56 +02:00
Alp Mestanogullari
248033ad81 fix build on 7.8 2015-07-22 22:06:46 +02:00
Alp Mestanogullari
349cc1089b transformers bound 2015-07-22 21:49:24 +02:00
Alp Mestanogullari
87c3bd590e first shot at Servant.Mock 2015-07-22 21:22:42 +02:00
Alp Mestanogullari
6257712687 add changelog entries for the work done on servant-js 2015-07-22 19:36:42 +02:00
Alp Mestanogullari
a2a4665951 clean up servant-js significantly, simplify the API of the library a lot and document @freezeboy's sweet generators from #159 a bit in the main module of the library, Servant.JS along with how people should use the library. 2015-07-22 19:25:02 +02:00
Alp Mestanogullari
0f15cb7328 fix servant-js import in examples/tutorial 2015-07-22 19:25:02 +02:00
Alp Mestanogullari
eabf13ebdb rename servant-jquery to servant-js, Servant.JQuery to Servant.JS 2015-07-22 19:25:02 +02:00
Freezeboy
688bc7520e Revert "Replace <> with interpolate QQ"
This reverts commit 7fb4471b00.
2015-07-22 19:25:01 +02:00
Freezeboy
a50d36c786 Replace <> with interpolate QQ 2015-07-22 19:25:01 +02:00
Freezeboy
ce43317eeb Add some haddock, rename 'functionName' 2015-07-22 19:25:01 +02:00
Freezeboy
294143af1d Modifying T9.hs accordingly with new js gen
Simply import JQuery generators
And change the jsForAPI call
2015-07-22 19:25:01 +02:00
Freezeboy
f9de958fda Adding a generic way to generate js variants
Support is added for Vanilla XMLHttpRequest, JQuery and Angular.
Angular generators contain Top Level Functions or with a simple Service.
2015-07-22 19:25:01 +02:00
Alp Mestanogullari
f7d25c5b35 Merge pull request #156 from haskell-servant/jkarni/overlappable-alt-doc
Make HasDocs instance for :<|> overlappable.
2015-07-21 16:17:03 +02:00