Commit Graph

19 Commits

Author SHA1 Message Date
patrick brisbin
fed3f0c0fa Fix logical error 2011-09-11 00:35:34 -04:00
patrick brisbin
dcb27df1fc Be a little more configurable 2011-09-11 00:17:07 -04:00
patrick brisbin
86c8abb853 Limit exports 2011-09-11 00:16:43 -04:00
patrick brisbin
d3c7ccebe1 Provide sane defaults with less scaffolding
Yesod.Settings provides the typical definitions for AppConfig,
AppEnvironment, and loadConfig (read from YAML).

Yesod.Main provides a single defaultMain function which accepts your
usual withSiteArg function and runs via Warp calling the now provided
loadConfig to figure out what to do.

Note: Yesod re-exports Y.Settings and Y.Main -- This is probably not the
right thing to do since it would cause collisions with users not using
the provided functionality (including all existing users).
2011-09-10 23:21:35 -04:00
Luite Stegeman
f4a3569d37 Add UndecidableInstances to fix compile with GHC 6.12 2011-09-02 17:05:13 +03:00
Michael Snoyman
d1bb17304a Builds properly with stricter rules 2011-08-28 11:02:32 +03:00
Michael Snoyman
9b9b021705 IsString SomeMessage instance 2011-08-23 16:48:17 +03:00
Michael Snoyman
bab00d13fa TH defines Widget and Handler type synonyms 2011-08-22 19:33:17 +03:00
Greg Weber
d859e5c3f9 fix Coffeescript types 2011-08-22 08:38:41 -07:00
Michael Snoyman
507ad4a772 Better ToWidget* instances 2011-08-22 17:07:08 +03:00
Greg Weber
659e120024 #ifGHC7 [hamlet| -> [HAMLET| 2011-08-20 06:42:33 -07:00
Michael Snoyman
67c1c55e41 clientsession 0.7 2011-08-19 10:36:57 +03:00
Michael Snoyman
a4bfb2a0ca Mirror naming changes in shakespeare 2011-08-18 17:59:25 +03:00
Michael Snoyman
3f5c8f1dd3 Move SomeMessage to yesod-core 2011-08-09 19:23:59 +03:00
Michael Snoyman
f6ab5c05dc Everything building with Hamlet 0.10, scaffolding not fixed yet 2011-08-09 16:48:24 +03:00
Michael Snoyman
ccb9bba8cd ToWidget* classes 2011-08-09 13:02:14 +03:00
Greg Weber
4b6147aa1a add Logger to scaffolding 2011-08-04 14:14:00 -07:00
Michael Snoyman
d55fd0fc64 Fix Yesod.Logger location 2011-07-24 07:47:22 +03:00
Michael Snoyman
2dc10de435 Add 'yesod-core/' from commit '982d6185bee75b078bee92bd8a2e8743707f1922'
git-subtree-dir: yesod-core
git-subtree-mainline: cd5ee0fb12
git-subtree-split: 982d6185be
2011-07-22 08:59:56 +03:00