Commit Graph

56 Commits

Author SHA1 Message Date
Michael Snoyman
d6fbe1e088 More built in support for subsites 2010-04-18 00:53:35 -07:00
Michael Snoyman
3165b253ba Converted auth helper to subsite 2010-04-16 14:28:59 -07:00
Michael Snoyman
e9a8b43595 Recent hamlet changes 2010-04-16 11:58:33 -07:00
Michael Snoyman
5f7668334a Removed Data.Object.Html and Yesod.Template 2010-04-14 12:38:58 -07:00
Michael Snoyman
572718bbd6 Split hamlet code into separate module 2010-04-14 08:49:15 -07:00
Michael Snoyman
4163c55e0d Match changes in web-routes-quasi 2010-04-13 20:54:58 -07:00
Michael Snoyman
4a8f674ba1 Minor Hamlet changes 2010-04-12 21:56:32 -07:00
Michael Snoyman
343b5a8b80 Added hamlet example 2010-04-12 00:02:39 -07:00
Michael Snoyman
ef3e7cc538 Integrated Hamlet 2010-04-11 23:17:21 -07:00
Michael Snoyman
b0e5cf56e5 Fixed helloworld 2010-04-11 13:41:32 -07:00
Michael Snoyman
3f99bf132c Send 404 response properly 2010-04-11 13:05:40 -07:00
Michael Snoyman
c181fd624e Wrote cleanupSegments 2010-04-11 12:58:48 -07:00
Michael Snoyman
45b4343747 Implemented getMethod 2010-04-11 12:56:54 -07:00
Michael Snoyman
5d14ac5e1e Proper render function; removed YesodApproot 2010-04-11 12:54:19 -07:00
Michael Snoyman
a19751622a Initial migration to web-routes-quasi 2010-04-11 12:47:52 -07:00
Snoyman
f97719a757 New README; enabled Gzip. 2010-03-07 18:56:55 -08:00
Snoyman
ef2e84668a Added yesod executable (with init) 2010-03-07 16:51:58 -08:00
Snoyman
412402cdd4 Renamed RawRequest to Request 2010-03-05 04:43:36 -08:00
Michael Snoyman
0fe88968dc Added onRequest 2010-02-25 07:42:18 +02:00
Michael Snoyman
c85a542888 Added some Web.Mime unit tests 2010-02-23 18:12:53 +02:00
Michael Snoyman
81a6e7a464 Removed Verb 2010-02-17 14:25:45 +02:00
Michael Snoyman
f07701e25d Renamed functions for getting Wai values 2010-02-17 09:26:00 +02:00
Michael Snoyman
f94a3ea7e0 applyLayout requires RawRequest 2010-02-11 21:20:40 +02:00
Michael Snoyman
784675919b Match wai renamings 2010-02-11 20:55:19 +02:00
Michael Snoyman
15712773a0 Initial port to wai and wai-extra 2010-01-31 01:30:32 +02:00
Michael Snoyman
f1184a1f66 Added ioTextToContent, fixed json/html order 2010-01-27 13:19:27 +02:00
Michael Snoyman
43c847ff93 handlers -> resources, resources -> mkResources, fix examples 2010-01-27 10:05:29 +02:00
Michael Snoyman
d1618eb3d0 hlint applied 2010-01-27 09:40:39 +02:00
Michael Snoyman
097561b7aa Moved all StringTemplate support to own module 2010-01-27 09:33:17 +02:00
Michael Snoyman
1ff54a574a applyLayout added to Yesod 2010-01-27 09:11:23 +02:00
Michael Snoyman
bfc9b224c0 Removed all FIXMEs but Test.Errors and Yesod.Template 2010-01-26 21:07:04 +02:00
Michael Snoyman
764b981f6c Changed Content data type.
Removed i18n and pushed it back into RawRequest.

Now prepared for the WAI interface, though this is less efficient for
Hack.
2010-01-26 00:16:02 +02:00
Michael Snoyman
90e197ae46 Attempting to use SendFile throughout 2010-01-25 02:21:02 +02:00
Michael Snoyman
3137ee9bee Removed reps from HasReps 2010-01-25 02:00:08 +02:00
Michael Snoyman
79b780fec2 Language GET param and cookie; simple i18n example 2010-01-25 01:47:30 +02:00
Michael Snoyman
7275d9ecfc Switch Content to be a function on language list 2010-01-25 01:46:04 +02:00
Michael Snoyman
b784ef935a Merged Yesod.Constants into Yesod.Definitions 2010-01-25 01:34:38 +02:00
Michael Snoyman
254018e3c3 Removed more from Yesod.Request, with cascading removals 2010-01-25 01:34:38 +02:00
Michael Snoyman
309757c22d Separate ErrorResponse and SpecialResponse; added SendFile 2010-01-25 01:31:09 +02:00
Michael Snoyman
405fb3ac25 Factored mime-type code into its own module 2010-01-25 00:58:55 +02:00
Michael Snoyman
b460e9d477 Does not reload template dir on each request 2010-01-24 00:56:08 +02:00
Michael Snoyman
12a43ef90b Logout redirect to approot; displayname 2010-01-05 22:35:41 +02:00
Michael Snoyman
58f9f3e054 Passed the hasArgs in Test.Errors test; ugly hacks, needs cleanup 2010-01-01 03:50:52 +02:00
Michael Snoyman
4087573088 authIdentifier (automatic login redirection) 2009-12-31 02:41:20 +02:00
Michael Snoyman
911934bff0 Basic implementation of template groups 2009-12-29 23:07:38 +02:00
Michael Snoyman
0a72e93a61 Client session duration is configurable.
Defaults to 2 hours.
2009-12-26 23:57:03 +02:00
Michael Snoyman
0c6493f5f5 Can do authentication again 2009-12-25 02:22:24 +02:00
Michael Snoyman
a7cfa5f667 Added two basic examples 2009-12-17 19:27:03 +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