Commit Graph

2594 Commits

Author SHA1 Message Date
patrick brisbin
0563a2d5e4 Make yesod-default installable 2011-09-19 16:10:59 -04:00
patrick brisbin
aef2992005 fix haddock parse 2011-09-19 16:10:46 -04:00
patrick brisbin
b031702a9b Add yesod-default
Still needs the cabal, Setup, etc etc but at least it compiles and is
somewhat extensible.
2011-09-19 15:15:04 -04:00
patrick brisbin
4f52f22a2c Put yesod module back as it was 2011-09-19 15:14:41 -04:00
patrick brisbin
cfb6e1e24a Move bulk of Settings/Main out of -core
Trim settings to only the AppConfig def and an AppEnv typeclass, rename
to Config but leave in -core
2011-09-19 15:12:19 -04:00
Michael Snoyman
74fbfee1c9 Option (for selectField) 2011-09-19 15:53:41 +03:00
Michael Snoyman
fe2e017680 gzipCompressFiles 2011-09-19 15:53:41 +03:00
Michael Snoyman
f6b59159e4 Merge pull request #130 from oscarpica/master
Comment rewording on 'joinPath'
2011-09-19 03:30:24 -07:00
Björn Buckwalter
c9cb50b34b Spec for "reasonably random" appearance. 2011-09-17 11:03:29 +08:00
Björn Buckwalter
7b3d69f657 TestApi: improve docs and remove Request (..). 2011-09-17 01:48:02 +08:00
Björn Buckwalter
5cec074cfb Harmonize reqCookie and acceptLang. 2011-09-17 01:19:03 +08:00
Björn Buckwalter
09017eb29a Clearer language prioritization code. 2011-09-17 01:02:26 +08:00
Björn Buckwalter
33ee15d56f Shorter more readable toChar. 2011-09-17 00:43:16 +08:00
Björn Buckwalter
4ed740724e Yesod.Internal.TestApi exports internals for tests 2011-09-17 00:13:26 +08:00
Björn Buckwalter
f925fa28ec Manual cookies to reduce dependencies. 2011-09-17 00:04:02 +08:00
Björn Buckwalter
b83029dc36 Add test suite for Yesod.Internal.Request. 2011-09-16 21:39:57 +08:00
Björn Buckwalter
817ab988e0 Comment explaining the behavior of nonce.
Someone should confirm that this the intended behavior!
2011-09-16 12:01:15 +08:00
Björn Buckwalter
4d55332afc Break out randomString for testing in isolation. 2011-09-16 11:44:03 +08:00
Björn Buckwalter
884c363ebf Pure and testable parseWaiRequest. 2011-09-16 11:43:01 +08:00
Björn Buckwalter
da11ddc1c1 Merge branch 'master' of https://github.com/yesodweb/yesod 2011-09-16 08:16:58 +08:00
Greg Weber
3a36c4e685 update submodule 2011-09-15 11:50:51 -07:00
Greg Weber
4bcfe87582 bump hspec dependency 2011-09-15 09:39:31 -07:00
Björn Buckwalter
ffefbb41b9 Aestetic reordering of composed functions. 2011-09-15 15:13:54 +08:00
Björn Buckwalter
a1d4f5ee00 Merge branch 'master' of https://github.com/yesodweb/yesod 2011-09-15 15:11:31 +08:00
Michael Snoyman
be372022ec GHC 6.12 fixes 2011-09-14 07:11:44 +03:00
patrick brisbin
f41029fd4c Add yesod dep to tiny scaffold 2011-09-13 23:07:27 -04:00
patrick brisbin
2d0d70fd60 bring comments back in 2011-09-13 21:55:11 -04:00
patrick brisbin
6de7a5e9d1 Merge branch 'master' into default-main 2011-09-13 21:29:03 -04:00
patrick brisbin
900e9476f3 Move Settings/Main out of -core 2011-09-13 21:28:33 -04:00
Michael Snoyman
ac74e83e4b Fix for GHC 6.12 2011-09-13 21:10:28 +03:00
patrick brisbin
e9570ad0ee Merge branch 'master' into default-main 2011-09-12 12:45:32 -04:00
patrick brisbin
f72a2e7c14 Updating scripts 2011-09-12 10:26:24 -04:00
patrick brisbin
5ac6be4614 Merge branch 'master' into default-main 2011-09-11 21:19:42 -04:00
patrick brisbin
03e15e2afc update readme 2011-09-11 20:25:27 -04:00
Björn Buckwalter
9a0e1a34fd Merge branch 'master' of https://github.com/yesodweb/yesod 2011-09-12 08:24:59 +08:00
patrick brisbin
e21d29b0df Add scripts submodule 2011-09-11 20:22:35 -04:00
Oscar Picasso
bd617a846e reworded 'joinPath' comments 2011-09-11 17:47:21 -04:00
patrick brisbin
2fdb24b2c1 Complete rewrite of test/run.sh
Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.

Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
2011-09-11 17:17:48 -04:00
patrick brisbin
e0bc2a78a8 Fix up scaffold.sh
Use bash -e instead of single pipeline
Unregister foobar after testing it
2011-09-11 17:17:39 -04:00
patrick brisbin
f06f11ff26 Simplify scaffold futher by using defaultDevelApp 2011-09-11 17:15:35 -04:00
patrick brisbin
41f1718387 Provide a default for withDevelAppPort 2011-09-11 16:52:54 -04:00
patrick brisbin
b9bc2ee1c5 Fix typo in the postgres yaml name 2011-09-11 15:12:06 -04:00
patrick brisbin
2aa6f989a6 Complete rewrite of test/run.sh
Output is more useful (IMO). Everything is silenced for the duration of
the tests but a count of tests/failures and any errors are output at the
end. Pass --verbose to watch stdout during the tests.

Logic is also seperated into core setup/runners and individual test
definitions. Should be more easily extensible.
2011-09-11 15:00:20 -04:00
patrick brisbin
a9ac0a11b6 Fix up scaffold.sh
Use bash -e instead of single pipeline
Unregister foobar after testing it
2011-09-11 14:59:32 -04:00
patrick brisbin
fa3fabcfba Update scaffolding with new load connection functions
Yesod.Settings provides load functions which were previously scaffolded.
They load the ConsStrs for SQL and ConnParams for Mongo.

This prevents the need for a lot of the imports in the scaffolding
settings and simplifies the existing Text import.
2011-09-11 14:57:06 -04:00
patrick brisbin
256245cd2b Add mongo connection loader 2011-09-11 13:06:53 -04:00
patrick brisbin
80314a4027 Add shakespeare-text dep 2011-09-11 12:30:31 -04:00
patrick brisbin
bd843a7acc Add typical connStr loading functions 2011-09-11 12:30:22 -04:00
Björn Buckwalter
864abd6ed1 Clean up nonce generation. 2011-09-12 00:16:01 +08:00
patrick brisbin
47b0986964 Merge branch 'master' into default-main 2011-09-11 11:55:46 -04:00