Julian K. Arni
1c9d5baa99
Bump versions to 0.5
2015-07-27 22:26:49 +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
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
Julian K. Arni
5db91c9ecb
Cabal file fixes
2015-07-09 23:34:21 +02:00
Alp Mestanogullari
13edc014b7
clarify some variable names in the examples + semantic html pedantry
2015-06-18 12:32:00 +02:00
Andres Loeh
e83397a1db
Fix the auth combinator example.
...
This change adapt the auth combinator example to the new router code.
In general, the server interpretation of user-written combinators will
be affected by the new routing code.
The change here also introduces a change in functionality: previously,
wrong authentication triggered a "hard failure", whereas we now trigger
a "soft failure", which is recoverable. For the simple example, this
does not make a lot of difference.
In general, I think having a soft failure is the right option to take
here, although we want a more general story about the relative
priorities of different error codes.
2015-06-04 13:12:21 +02:00
Julian K. Arni
0b3291970f
Bump to 0.4.1
2015-05-29 16:24:08 +02:00
Julian K. Arni
7976468a32
Add servant bounds for servant-examples.
2015-05-28 11:22:43 +02:00
Julian K. Arni
15a39b8a7b
Upper bounds to base for servant-examples
2015-05-10 14:38:23 +02:00
Alp Mestanogullari
39d114ab12
getting-started -> tutorial
2015-05-10 13:39:18 +02:00
Alp Mestanogullari
4653744706
examples: use 'random' instead of 'probable' for GS9
2015-05-10 12:20:02 +02:00
Alp Mestanogullari
e0f4ed6426
adapt examples to baseurl fix
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
a403eee488
examples: don't depend on pandoc & servant-pandoc, just serve a markdown file
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
616b203792
examples: add GS10
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
77b15e9cdc
examples: add GS9
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
0000189760
examples: add GS8
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
c892aae429
examples: add GS7
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
ec95cb0355
examples: add GS6
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
1d3eefaf48
examples: add GS5
2015-05-09 18:11:04 +02:00
Alp Mestanogullari
e81ac8fbc5
examples: add GS4
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
f3002b36da
examples: tweak GS3
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
3edc067c66
servant-examples: add GS3
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
66456cafa2
refactor a bit + add GS2
2015-05-09 18:11:03 +02:00
Alp Mestanogullari
2b23253a8d
first getting-started example
2015-05-09 18:11:03 +02:00
Julian K. Arni
b81ea9eee2
Bump everything to 0.4
2015-05-09 17:28:52 +02:00
Brandon Martin
7c24c2a5a3
remove unsed type and clean up
...
merge master and fix conflicts
2015-05-08 15:53:09 -06:00
Julian K. Arni
92d65aaf49
-Wall fixes
2015-05-03 13:36:51 +02:00
Alp Mestanogullari
4c86c7395c
add an auth combinator example
2015-04-24 14:00:57 +02:00
Alp Mestanogullari
e371fb886f
add an example to show how to apply a WAI middleware
2015-04-24 12:37:33 +02:00
Alp Mestanogullari
ac73b825f0
fix tab warning
2015-04-23 17:10:43 +02:00
Alp Mestanogullari
29632c4ac2
add an example on how to derive client functions for Hackage
2015-04-23 13:07:52 +02:00