Commit graph

627 commits

Author SHA1 Message Date
Alp Mestanogullari
327006e25f add an example for servant-jquery: a shared counter whose value is updated via a button in an HTML page 2014-11-25 19:42:52 +01:00
Alp Mestanogullari
9923d1773e document the example some more with some tweaks. push the correspinding updated generated docs too 2014-11-25 18:13:18 +01:00
Alp Mestanogullari
d36f27a5be Add a README for the example 2014-11-25 17:57:11 +01:00
Alp Mestanogullari
52c24c8b35 Merge branch 'jkarni/qq-docs' into new-impl 2014-11-25 17:39:30 +01:00
Alp Mestanogullari
ae8cca6fb4 fix renaming woes 2014-11-25 17:35:17 +01:00
Julian K. Arni
dee47654f9 Rename ApiQuasiQuoting.
And fix haddocks for it.
2014-11-25 16:35:56 +01:00
Julian K. Arni
63584d52b7 QQ and safe links documentation. 2014-11-25 16:10:59 +01:00
Alp Mestanogullari
e3af6a6af3 uri-encode capture values in the generated javascript code for servant-jquery 2014-11-25 15:58:08 +01:00
Alp Mestanogullari
5435dd4032 Haddocks for the StaticFiles module 2014-11-25 15:48:30 +01:00
Alp Mestanogullari
06d8c8005a first shot for jquery codegen based on a servant API type 2014-11-25 01:36:34 +01:00
Alp Mestanogullari
5b5f530406 fix Docs haddocks 2014-11-24 16:22:55 +01:00
Alp Mestanogullari
d6464d9dc4 remove useless import in example 2014-11-22 19:26:58 +01:00
Alp Mestanogullari
60c7addb5e more haddocks 2014-11-22 19:19:21 +01:00
Alp Mestanogullari
f983734975 haddocks for BaseUrl 2014-11-22 18:59:44 +01:00
Alp Mestanogullari
77d52083f1 haddocks for all 3 forms of query params (phew) 2014-11-22 18:53:02 +01:00
Alp Mestanogullari
c47f4ae002 haddocks for ReqBody 2014-11-22 18:16:55 +01:00
Alp Mestanogullari
e9f2de1162 add an example for Raw using serveDirectory 2014-11-22 18:06:59 +01:00
Alp Mestanogullari
1f3ec7ceaa haddocks for Raw 2014-11-22 18:04:19 +01:00
Alp Mestanogullari
92ddcf4380 haddocks for :> 2014-11-22 17:56:45 +01:00
Alp Mestanogullari
15adc964e4 add examples for Put and Post 2014-11-22 17:56:35 +01:00
Alp Mestanogullari
44974baf79 haddocks for Put 2014-11-22 17:47:34 +01:00
Alp Mestanogullari
95d34587a3 haddocks for Post 2014-11-22 17:45:59 +01:00
Alp Mestanogullari
1dd253d2a0 haddocks for Get 2014-11-22 17:41:35 +01:00
Alp Mestanogullari
54ba4596f6 haddocks tweak 2014-11-22 17:29:52 +01:00
Alp Mestanogullari
c0b7c65de2 haddocks tweak 2014-11-22 17:29:22 +01:00
Alp Mestanogullari
e7a0d70780 Haddocks for Delete 2014-11-22 17:27:41 +01:00
Alp Mestanogullari
c945915f1d fix haddocks 2014-11-22 15:58:52 +01:00
Alp Mestanogullari
e9ebb0f10b More haddocks for Capture 2014-11-22 15:55:50 +01:00
Alp Mestanogullari
407349c245 More haddocks for :<|> 2014-11-22 15:08:25 +01:00
Alp Mestanogullari
d461726b9a -Wall police 2014-11-22 14:35:03 +01:00
Alp Mestanogullari
dacea018a7 preliminary readme 2014-11-22 13:54:24 +01:00
Alp Mestanogullari
f36e488f9e Merge pull request #36 from alpmestan/some_refactorings
Client instance for Raw, API documentation serving, some refactoring.
2014-11-14 13:17:31 +01:00
Sönke Hahn
102c752268 removed Servant.Docs.printMarkdown 2014-11-14 19:54:38 +08:00
Alp Mestanogullari
e7b72561ee Merge pull request #35 from alpmestan/static_files_shahn
Static files shahn
2014-11-14 11:12:47 +01:00
Julian K. Arni
d8ab4ec418 Switch from hspec2 to hspec ~ 2. 2014-11-14 09:14:08 +01:00
Julian K. Arni
108f24a5e7 Allow comments in API QQ.
Closes #29.
2014-11-13 18:22:26 +01:00
Sönke Hahn
49c301d26e html's verbatim is called pre 2014-11-13 20:50:36 +08:00
Sönke Hahn
286b1db836 Client Raw: returns Right (status, body) even for failure statuses 2014-11-13 20:36:36 +08:00
Sönke Hahn
eff31f7485 implemented 'instance HasClient Raw' 2014-11-13 19:57:53 +08:00
Sönke Hahn
9ee7373608 cabal: remove -Werror to allow deprecation warnings 2014-11-13 19:56:44 +08:00
Sönke Hahn
8d92d66e00 refactored Servant.Docs.ToSample 2014-11-13 19:55:03 +08:00
Alp Mestanogullari
4f62dceb78 Merge pull request #34 from alpmestan/jkarni/qq-parser
Switch to Parsec for QQ parsing
2014-11-13 11:59:30 +01:00
Sönke Hahn
69041cc39e S.Docs: added instance ToSample () 2014-11-13 15:11:32 +08:00
Sönke Hahn
82ff0a6ad7 added Servant.Utils.StaticFiles.serveDocumentation 2014-11-13 14:54:10 +08:00
Sönke Hahn
fc3c2c4128 fixup cabal file 2014-11-13 14:54:10 +08:00
Sönke Hahn
d8b0e4c7e5 add S.Utils.StaticFiles 2014-11-13 14:54:10 +08:00
Julian K. Arni
614c06b6e5 Switch to Parsec for QQ parsing 2014-11-12 11:34:33 +01:00
Alp Mestanogullari
e862fc7271 Merge pull request #33 from alpmestan/add_raw
Servant re-exports Servant.API.Raw
2014-11-12 11:08:45 +01:00
Sönke Hahn
656f80acad Servant re-exports Servant.API.Raw 2014-11-12 12:55:23 +08:00
Sönke Hahn
c8def821a1 Re-export Proxy(..) from module Servant 2014-11-11 15:58:35 +08:00