Commit Graph

5202 Commits

Author SHA1 Message Date
Michael Snoyman
b1042c2b0f Compiles without warnings 2009-12-21 19:37:05 +02:00
Michael Snoyman
921dbf9b6c Ajaxified fact example 2009-12-21 16:15:35 +02:00
Michael Snoyman
7ab3b406db Added fact example and fixed a few bugs.
Added the Static and StaticFile reps.
Special responses set headers properly (redirect works).
2009-12-21 16:05:48 +02:00
Michael Snoyman
f27f6cd7e3 Fixed liftVerbMap wrt applyUrlParams 2009-12-20 22:04:50 +02:00
Michael Snoyman
3661d96f0b Removed some dependencies 2009-12-17 19:55:29 +02:00
Michael Snoyman
a7cfa5f667 Added two basic examples 2009-12-17 19:27:03 +02:00
Michael Snoyman
ac450c9513 Cleaned up a good bit of Yesod.Resource 2009-12-17 18:33:00 +02:00
Michael Snoyman
f5cb44bff1 Slimmed down Resource exports 2009-12-17 14:58:07 +02:00
Michael Snoyman
ec2d63ce07 Compiling again 2009-12-17 14:47:37 +02:00
Michael Snoyman
e5276cae46 URL params passed as args, chooseRep called 2009-12-17 14:35:39 +02:00
Michael Snoyman
f6221dacc9 Quasi-quoting generates a single function 2009-12-17 11:20:35 +02:00
Michael Snoyman
cb6f497c03 VerbMap now becomes a function in quasi-quoting 2009-12-17 10:36:10 +02:00
Michael Snoyman
aedb43fe69 Initial quasi-quoting of resources complete, still ugly code 2009-12-17 10:15:04 +02:00
Michael Snoyman
f162ac54b3 Underlying libraries: remove To/FromObject 2009-12-16 20:27:38 +02:00
Michael Snoyman
498ed1cee5 Beginning yaml -> resource map code 2009-12-15 01:50:18 +02:00
Michael Snoyman
9bf29bc335 Add nolib compile flag. 2009-12-15 01:27:34 +02:00
Michael Snoyman
1f57f38aac Removed many of the special Show instances.
Show should be for debug usage only. In general, using ConvertSuccess as
a replacement. Also now replacing some String outputs with Text outputs.
2009-12-15 01:26:57 +02:00
Michael Snoyman
603ebb3672 hlint cleanup 2009-12-14 23:48:39 +02:00
Michael Snoyman
12437533b6 TemplateFile rep 2009-12-14 23:41:20 +02:00
Michael Snoyman
c23984b154 Added Template reps 2009-12-14 20:21:45 +02:00
Michael Snoyman
998ee83a5b Fixed default chooseRep 2009-12-14 20:02:14 +02:00
Michael Snoyman
b78a16e938 Removed bad undefineds 2009-12-14 19:50:16 +02:00
Michael Snoyman
32f3ed04eb Fixed type of handlers; Resource renames 2009-12-14 09:34:01 +02:00
Michael Snoyman
52f5ab2374 Removed Yesod.Application; still have some undefineds 2009-12-14 08:58:49 +02:00
Michael Snoyman
ac54b644bc Added Yesod parameter to Handler 2009-12-13 09:50:43 +02:00
Michael Snoyman
4650cf4e92 Moved chooseRep into HasReps 2009-12-13 04:05:29 +02:00
Michael Snoyman
77dc6ed78b Completely replaced Handler type 2009-12-13 01:38:20 +02:00
Michael Snoyman
002f6ef788 Removed Data.Object.Instances 2009-12-13 00:33:08 +02:00
Michael Snoyman
00115f02d4 Removed Data.Object.Translate 2009-12-13 00:28:41 +02:00
Michael Snoyman
da3953c10c Beginning of new Rep file 2009-12-13 00:25:46 +02:00
Michael Snoyman
a70fba9426 Added Data.Object.Html with main conversions.
Has support for raw output, conversion to JSON, and use in
HStringTemplate.
2009-12-11 13:19:20 +02:00
Michael Snoyman
ab65accb44 Fixed badly named test group in Yesod.Utils 2009-12-11 13:19:09 +02:00
Michael Snoyman
2eb6f2f05b Added Approot newtype 2009-12-11 13:18:50 +02:00
Michael Snoyman
0fcfa1b9d8 Minor code fixes and massive TODO update 2009-12-11 00:35:31 +02:00
Michael Snoyman
ee64c7e894 Fixed up Setup test and TODO list 2009-12-11 00:12:58 +02:00
Michael Snoyman
b4406b6a81 Renamed to Yesod 2009-12-11 00:04:00 +02:00
Michael Snoyman
16b854df1a Pegged Hack at 2009.10.30 2009-12-06 08:21:25 +02:00
Michael Snoyman
5cf6a92c02 convertible-text and attempt package split 2009-12-06 00:46:59 +02:00
Michael Snoyman
cb7bdb6567 c-m-f to failure 2009-12-06 00:43:24 +02:00
Michael Snoyman
9483f6037e Integrated some external packages; web-encodings 0.2.0 2009-12-05 22:09:48 +02:00
Michael Snoyman
0a0e7e8f8a Content is now strict to fix memory bug 2009-11-29 01:03:11 +02:00
Michael Snoyman
decdd8c9e2 Build tests only with flag 2009-11-28 19:36:04 +02:00
Michael Snoyman
244435bc52 Error handlers get headers sent along with them.
This is a very ugly commit. Code needs massive cleanup.

Problem was that redirects could not have headers attached, which broke
authentication entirely. Required juggling the HandlerT type.
2009-11-23 23:36:49 +02:00
Michael Snoyman
3a7c803744 Most recent attempt etc changes 2009-11-17 01:57:43 +02:00
Michael Snoyman
4262ffb38f Completely migrated from Raw to Text 2009-11-15 01:30:45 +02:00
Michael Snoyman
1decaa742b Massive changes to response and handler stuff 2009-11-13 15:17:35 +02:00
Michael Snoyman
83d2d25d34 Migration to control-monad-failure 2009-11-13 15:13:36 +02:00
Michael Snoyman
8720fcd6ef Recent attempt and data-object changes 2009-10-26 07:31:07 +02:00
Michael Snoyman
e60354ebe1 data -> newtype for Identifier 2009-10-25 22:59:05 +02:00
Michael Snoyman
9fe332dc33 Switch to MonadAttempt for error handling 2009-10-21 00:58:34 +02:00