Commit Graph

1219 Commits

Author SHA1 Message Date
Björn Buckwalter
4d1ea8520a Revert 33ee15d56f.
Revert to the older faster toChar. I would have just removed the
old commit from history but it seems that would call for a rebase
which I hear is a bad idea in a public branch. Thus this commit.
2011-09-21 21:53:57 +08:00
Björn Buckwalter
f23ca419e9 Merge branch 'master' of https://github.com/yesodweb/yesod into testable 2011-09-21 21:48:27 +08:00
Michael Snoyman
bea386e238 optionsPersist returns an OptionList 2011-09-21 16:37:13 +03:00
Michael Snoyman
d2e93341c0 OptionList 2011-09-20 10:25:26 +03: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
Michael Snoyman
ac74e83e4b Fix for GHC 6.12 2011-09-13 21:10:28 +03:00
patrick brisbin
f72a2e7c14 Updating scripts 2011-09-12 10:26:24 -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
Björn Buckwalter
864abd6ed1 Clean up nonce generation. 2011-09-12 00:16:01 +08: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
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
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