Commit Graph

1289 Commits

Author SHA1 Message Date
Michael Snoyman
b589057be2 Added openid.hs sample for yesod-auth 2011-09-24 21:21:38 +03:00
Michael Snoyman
ddea64b458 OpenID: Google and Yahoo login buttons 2011-09-24 20:47:03 +03:00
patrick brisbin
94f4548adc This reverts commit 22ca2af421. 2011-09-23 09:23:44 -04:00
patrick brisbin
22ca2af421 Remove defaultRunner, @snoyberg already has it in Utils 2011-09-23 09:16:47 -04:00
Michael Snoyman
b8f1ee151d Added test files to tarballs 2011-09-23 15:07:00 +03:00
Michael Snoyman
6c58728ad3 Better scaffolded cabal file 2011-09-23 10:16:54 +03:00
Michael Snoyman
0d88bbf741 modernizr.js in scaffolded site 2011-09-23 09:48:42 +03:00
Michael Snoyman
ea75eb6bfb Fix yepnope typo 2011-09-23 09:43:39 +03:00
Michael Snoyman
1f3df69787 yepnopeJs 2011-09-23 09:22:06 +03:00
Michael Snoyman
c9bb4fe622 Merge remote-tracking branch 'origin/master'
Conflicts:
	yesod-default/yesod-default.cabal
2011-09-23 08:40:37 +03:00
Michael Snoyman
0f3f6bd6cb runWaiApp 2011-09-23 08:31:47 +03:00
Michael Snoyman
40143c6391 widgetFile* provided by yesod-default 2011-09-23 08:13:30 +03:00
Michael Snoyman
6a949e7f29 Remove YesodAuthEmail from scaffolding 2011-09-23 07:02:31 +03:00
patrick brisbin
33e0f37400 Add defaultRunner (not scaffold not updated) 2011-09-22 22:40:31 -04:00
Michael Snoyman
70b54929bf Merge pull request #140 from bjornbm/testable-internals
Nonce/session terminology fixed for unit tests too (secure/unsecure –> enabled/disabled)
2011-09-22 19:37:57 -07:00
patrick brisbin
62030bee5a Use new test runner from scripts
* Create scaffold_test.sh which holds actual tests (still calls
  scaffold.sh)
* Move rm/unregister of foobar to setup/teardown functions
* run.sh now prints deprecation warning and calls ../scripts/runtests
2011-09-22 13:54:32 -04:00
patrick brisbin
8a615e1493 update scripts 2011-09-22 13:53:57 -04:00
Björn Buckwalter
5d9c068a8e Merge branch 'master' of https://github.com/yesodweb/yesod into testable 2011-09-22 22:28:46 +08:00
Björn Buckwalter
ab98799e8d Alter nonce terminology in tests too. 2011-09-22 22:23:41 +08:00
Michael Snoyman
05ca4bc907 Proper disable-library-profiling 2011-09-22 12:02:08 +03:00
Rune
d77972ab60 added customErrorMessage to Yesod.Form.Functions to allow the user to overwrite the parse-error messages on fields. 2011-09-22 11:54:32 +03:00
Michael Snoyman
189b3d2bab Included messages in scaffolded site 2011-09-22 09:50:12 +03:00
Michael Snoyman
ecca686b73 Cassius -> Lucius 2011-09-22 09:37:22 +03:00
Michael Snoyman
eb42fbd976 staticFilesList 2011-09-22 09:26:36 +03:00
Michael Snoyman
31dd38d103 Unified homepage between main and tiny scaffolding 2011-09-22 09:07:59 +03:00
Michael Snoyman
8c094f154f Fixed settings.yml.cg 2011-09-22 09:02:27 +03:00
Michael Snoyman
29ce11cd5a Quicker builds on development 2011-09-22 09:01:27 +03:00
Michael Snoyman
9815fe8891 tiny/Foundation uses addStaticContentExternal 2011-09-22 08:59:52 +03:00
Michael Snoyman
bb7f7c82f2 normalize is a Lucius file 2011-09-22 08:55:18 +03:00
Michael Snoyman
632bb4c7ed addStaticContentExternal 2011-09-22 08:44:57 +03:00
Michael Snoyman
1dbbfc8d06 More explicit config error messages; fix defaultArgConfig 2011-09-22 07:32:50 +03:00
patrick brisbin
a6e7924e7c New Scaffold! hurrah! 2011-09-21 18:52:57 -04:00
patrick brisbin
a20c28dfad add Staging to match scaffolded ymls 2011-09-21 18:52:27 -04:00
patrick brisbin
b13875b8a6 make sqlite db a Text 2011-09-21 18:52:08 -04:00
patrick brisbin
cfb11cca89 Remove -text dep, make Postgresql work... 2011-09-21 17:29:55 -04:00
patrick brisbin
df52b8a340 Fix merge conflict, exposed modules 2011-09-21 16:31:09 -04:00
patrick brisbin
372f6268d6 updated scripts repo 2011-09-21 16:29:14 -04:00
patrick brisbin
8f02508500 Finalizing Yesod.Config
* Split DbConfig into separate types to ease scaffolding
* Add safeRead and type sig on withYaml...
* Add documentation
2011-09-21 16:19:46 -04:00
Björn Buckwalter
39ef74cb10 Altered nonce comment (modeled after encryptKey).
I note that for `key' == Nothing` it should probably hold that
`session' == []` as implemented in defaultYesodRunner, so perhaps the
comment regarding ignoring pre-existing `nonceKey` is redundant. But
a custom `yesodRunner` could arguably violate this invariant(?).
2011-09-21 22:31:59 +08:00
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
patrick brisbin
ca55a891c8 Rewrite AppConfig loader
* Remove AppEnv
* Add logic to set approort smartly in most cases
* Refactor YAML parser
* Update yesod-default to match

There's still much todo...
2011-09-20 22:55:31 -04:00
Michael Snoyman
d2e93341c0 OptionList 2011-09-20 10:25:26 +03:00
patrick brisbin
48bc765915 Merge branch 'master' into default-main 2011-09-19 16:15:09 -04:00
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