Commit Graph

246 Commits

Author SHA1 Message Date
Greg Hale
9d8be360e8 Bump dependencies, nix shell cleanup 2020-02-17 20:26:38 -05:00
Greg Hale
817ced4910 use cachix 2019-04-14 12:30:52 -04:00
Greg Hale
d23b07efad dont run SHA tests on ghcjs 2019-04-12 20:24:32 -04:00
Ben Kolera
491dd803ce Bumping to latest reflex platform (reflex-dom 0.5 and reflex 0.6) 2019-04-12 16:07:07 +10:00
Greg Hale
ba8d4f8a26 dev cleanup 2019-03-05 08:11:53 -05:00
Greg Hale
d64362d0cc
Merge pull request #76 from marcotoniut/master
`fanReqResult` (and tagged alternative)
2019-01-09 20:21:16 -05:00
Marco Toniut
f6d2b36f06 fanReqResult (and tagged alternative) 2019-01-09 21:34:19 -03:00
Greg Hale
9a3b58cdc7
Merge pull request #74 from imalsogreg/nixify-ci
Add selenium tests to travis CI
2018-10-28 12:32:10 -04:00
Greg Hale
013eab13ac Add selenium tests to travis CI, update build documentation 2018-10-28 11:54:13 -04:00
Greg Hale
2bd57a1124
Merge pull request #72 from jappeace/master
Increase some version ranges to allow building with new reflex-platform
2018-10-18 21:11:16 -04:00
Jappie Klooster
263d844273 Increase range of servant version 2018-10-11 15:06:49 +02:00
Jappie Klooster
34362d2d51 Bump base and exceptions 2018-10-11 15:04:13 +02:00
Jappie Klooster
e42b0978e1 Bump servant version 2018-10-11 15:00:39 +02:00
Greg Hale
cc2d9b1f4f
Merge pull request #70 from imalsogreg/nixify-ci
Nixify ci
2018-09-15 16:33:39 -04:00
Greg Hale
990660bdb3
Merge pull request #69 from srhb/nixify-ci
Nixify ci
2018-09-15 16:10:59 -04:00
Sarah Brofeldt
fbf5e3e09c Use a nix builder instead of cabal-install
Caching was tried bit the travis cache mechanism is actually slower than
redownloading and rebuilding.

Added an alternative start to a cabal-based builder for compatibility
This requres the reflex reunification branch (or at least 18.09 from
some source.)

Note that all deps but reflex-platform are currently
unused, but the constraints also specify that at least the http-api-data
submodule is out of bounds for servant-reflex.
2018-09-15 21:40:24 +02:00
Sarah Brofeldt
51fa6a6d3d Bump reflex-platform to develop as of today 2018-09-15 14:15:11 +02:00
Greg Hale
ec8723351c
Merge pull request #65 from obsidiansystems/result-handler
Add a way to wrap result events to for example handle errors uniformly
2018-06-25 16:22:10 -04:00
Ken Micklas
fc900b5d92 Add a way to wrap result events to for example handle errors uniformly 2018-06-25 15:49:36 -04:00
Greg Hale
1761f87e85
Merge pull request #59 from hamishmack/master
Fix binary results by avoiding encodeUtf8
2018-05-13 15:06:39 -04:00
Hamish Mackenzie
37461d27c8 Fix binary results by avoiding encodeUtf8
Instead of getting the response as text and then converting it to
a ByteString using encodeUtf8 this change asks for the results
as a ArrayBuffer (the underlying JavaScript structure used by
ByteString).  This should be faster for text results and will not
breaks binary results.
2018-05-02 09:49:56 +12:00
Greg Hale
115da63dbf
Merge pull request #58 from srid/update-servant
Allow newer version of servant
2018-04-01 22:55:20 -04:00
Sridhar Ratnakumar
7ad155b6ed Relax http-media as well 2018-04-01 22:35:20 -04:00
Sridhar Ratnakumar
5cd3098880 Relax version constraint on servant 2018-04-01 22:33:36 -04:00
Greg Hale
2996dbc8e0
Merge pull request #56 from obsidiansystems/response-okay-status
Treat HTTP response statuses less than 200 as errors
2018-03-06 20:07:04 -05:00
Ken Micklas
0c740120f6 Treat HTTP response statuses less than 200 as errors
In particular, browsers seem to use status 0 for errors
2018-03-06 19:22:26 -05:00
Greg Hale
6593c1ce80
Merge pull request #53 from hamishmack/jsm-clientopts
Use JSM instead of IO in ClientOptions
2018-02-01 18:14:04 -05:00
Hamish Mackenzie
6b58ef3268 Use JSM instead of IO in ClientOptions 2018-02-02 11:42:53 +13:00
Greg Hale
3b6ce36aaf
Merge pull request #52 from hamishmack/reflex-dom-core
Use reflex-dom-core instead of reflex-dom
2018-01-25 22:58:10 -05:00
Hamish Mackenzie
ee8240288f Use reflex-dom-core instead of reflex-dom 2018-01-26 16:36:08 +13:00
Greg Hale
153d3254be
Merge pull request #50 from kmicklas/patch-1
Just fix some code formatting in README.md
2017-12-11 21:44:48 -05:00
Ken Micklas
b8c9264e6e
Just fix some code formatting in README.md 2017-12-11 19:05:27 -05:00
Greg Hale
4f77a91a35 Merge pull request #49 from imalsogreg/no-duplicate-export
withCredentials is already exported
2017-10-14 15:42:03 -04:00
Elliot Cameron
a9b6d4b957 withCredentials is already exported
`withCredentials` is re-exported by `module Servant.Common.Req`. Having both triggers a duplicate-exports warning.
2017-10-09 21:30:12 -04:00
Greg Hale
2bd3c071d6 Fix overlooked queryparam escaping case 2017-09-26 00:24:29 +00:00
Greg Hale
1cf61d3fa3 Escape all path pieces and query parameters 2017-09-25 22:16:59 +00:00
Greg Hale
838a97fb57 Merge pull request #47 from imalsogreg/set-withCredentials
Add ClientOptions to support withCredentials and request debugging
Fix path part encoding bug
2017-09-25 16:47:08 -04:00
Greg Hale
001d57ec5b bump reflex-platform 2017-09-25 15:00:02 -04:00
Greg Hale
696a1c59a2 Require http-api-data with toUrlPieceEncoded 2017-09-25 14:36:25 -04:00
Greg Hale
02cc277c1f Fix path encoding bug and consolidate request-fixup logic 2017-09-25 14:22:36 -04:00
Greg Hale
a89ae84567 Add optsRequestFiuxp field to ClientOptions 2017-09-25 13:41:42 -04:00
Greg Hale
e61060b799 Oversight fix 2017-09-24 19:15:54 -04:00
Greg Hale
f336326176 Add ClientOptions to support withCredentials and request debugging 2017-09-24 18:45:34 -04:00
Greg Hale
810a32b22a Add basicauth protected endpoint to example api server and client 2017-09-20 13:57:06 -04:00
Greg Hale
bd6e66fe00 Merge branch 'master' of github.com:imalsogreg/servant-reflex 2017-08-22 08:03:42 -04:00
Greg Hale
b35b7da1db Fix license field in cabal file 2017-08-22 08:03:33 -04:00
Greg Hale
e6ffdc549e Merge pull request #41 from imalsogreg/bump-servant
Bump bounds on servant
2017-08-20 09:44:28 -04:00
3noch
11d00f3f35
Bump bounds on servant 2017-08-19 23:47:41 -04:00
Greg Hale
cab484bdb0 Merge pull request #36 from imalsogreg/servant-auth
Support servant-auth using JWT in cookies
2017-08-07 21:37:02 -04:00
3noch
564a0531ec
Support servant-auth using JWT in cookies 2017-08-07 17:54:49 -04:00