Commit Graph

2252 Commits

Author SHA1 Message Date
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
Michael Snoyman
0c55024500 Merge remote-tracking branch 'origin/master' 2011-09-11 18:08:36 +03:00
Michael Snoyman
c6d9a69f42 Merge commit 'a065862' 2011-09-11 18:06:19 +03:00
Greg Weber
cba8a6938a show mongo backend option to the world 2011-09-11 07:19:51 -07:00
Luite Stegeman
02a2c6de02 remove obsolete Update field attribute from scaffold 2011-09-11 13:02:22 +02:00
Michael Snoyman
b00fd948bd authBrowserId' 2011-09-11 08:53:41 +03:00
Michael Snoyman
40e83beae3 Version bumps 2011-09-11 08:53:41 +03:00
Michael Snoyman
dc5d5e5e70 Finish removing submodules 2011-09-11 08:53:41 +03:00
patrick brisbin
6360cb5e62 Update scaffold to use fromArgs 2011-09-11 00:35:46 -04:00
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
Björn Buckwalter
a065862828 Merge branch 'master' of github.com:bjornbm/yesod
Conflicts:
	yesod-form/Yesod/Form/Fields.hs
2011-09-11 12:14:38 +08:00
Björn Buckwalter
9158931915 Reexport FormMessage (..) from Yesod.Form.Fields.
This amendment should make commit
9eef4829ad a non-breaking change, except
possibly causing some warnings about duplicate exports with
Yesod.Form.Types.
2011-09-11 11:45:24 +08:00
patrick brisbin
4654776fa4 Re-export new modules 2011-09-10 23:33:31 -04:00
patrick brisbin
63d34a3bb4 Update scaffold for defaultMain 2011-09-10 23:33:17 -04:00
patrick brisbin
b5a3bd4671 Add dependencies and expose new modules 2011-09-10 23:32:41 -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
patrick brisbin
c569ed5f2f Stylistic changes to scaffolded main 2011-09-10 20:49:07 -04:00
patrick brisbin
f99a64e372 Import more from Settings 2011-09-10 20:46:26 -04:00
patrick brisbin
5da5fb8174 Make logger imports and function conditional
Silences -Wall for unused imports/function if PRODUCTION is defined
2011-09-10 20:40:52 -04:00
patrick brisbin
0723c19afa Fix missing logger argument in main.hs
logger argument was omitted in the withSiteArg call if PRODUCTION is
defined
2011-09-10 20:37:11 -04:00
Michael Snoyman
cae65c95ff fileAForm* 2011-09-10 23:23:45 +03:00
Michael Snoyman
f9da3cb4d6 Remove submodules (no longer necessary) 2011-09-10 23:23:06 +03:00
Björn Buckwalter
02cf8a514d Merge branch 'master' of github.com:bjornbm/yesod 2011-09-10 23:12:21 +08:00
Björn Buckwalter
392e47e1aa Swedish FormMessages. 2011-09-10 23:06:57 +08:00
Björn Buckwalter
9eef4829ad Factor out English FormMessage rendering. 2011-09-10 22:57:09 +08:00
Greg Weber
15a03b5a30 new version of mongoDB 2011-09-10 07:30:06 -07:00
Greg Weber
a9297006f8 mongoDB works! 2011-09-10 06:19:53 -07:00
Greg Weber
cc93924d3f Merge pull request #124 from maxcan/master
Added isValidPass to the exported functions in Yesod.Auth.Email
2011-09-10 05:27:09 -07:00
Luite Stegeman
cdb091046d fix warning on Windows 2011-09-10 01:22:56 +02:00
Luite Stegeman
d342798b4f restore original yesod touch behaviour 2011-09-10 01:04:58 +02:00
Greg Weber
064b8da896 get most examples compiling under 0.9 2011-09-08 22:44:24 -07:00
Max Cantor
ad6c18cfd5 Added isValidPass export to Yesod.Auth.Email 2011-09-09 10:51:55 +08:00
Michael Snoyman
acee39587c Fix a typo 2011-09-07 19:56:32 +03:00
Michael Snoyman
8532081842 http-enumerator bump 2011-09-07 19:17:38 +03:00
Luite Stegeman
bbf9f9092b fix merge typo 2011-09-06 09:56:17 +02:00
Luite Stegeman
1f8d753300 mnerge new-devel (Greg made me do it) 2011-09-06 09:51:32 +02:00
Luite Stegeman
e25389c4dd whoops switched cabal-dev and cabal 2011-09-06 09:35:36 +02:00
Luite Stegeman
71e1e57615 wait for file changes after server has quit 2011-09-06 09:27:19 +02:00
Greg Weber
8c30ebe3c0 fix shell equality 2011-09-05 23:11:14 -07:00
Greg Weber
7ae7d274fc ignore test warnings 2011-09-05 22:36:37 -07:00
Luite Stegeman
2a8cb7c066 add help message 2011-09-05 23:13:55 +02:00