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
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
900e9476f3
Move Settings/Main out of -core
2011-09-13 21:28:33 -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
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
47b0986964
Merge branch 'master' into default-main
2011-09-11 11:55:46 -04: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
40e83beae3
Version bumps
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
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
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
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
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
Michael Snoyman
acee39587c
Fix a typo
2011-09-07 19:56:32 +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
Luite Stegeman
2a8cb7c066
add help message
2011-09-05 23:13:55 +02:00
Luite Stegeman
58a91c7634
exit application on enter
2011-09-05 23:04:48 +02:00
Luite Stegeman
ddb470b1a7
make sure that dist directory exists
2011-09-05 22:17:10 +02:00
Luite Stegeman
533a3df684
newline fix
2011-09-02 12:23:40 +02:00
Luite Stegeman
745c3d79d6
improve restarting application
2011-09-02 12:20:14 +02:00
Luite Stegeman
7a1629eaba
change recompile method, revert scaffold changes
2011-09-02 09:41:37 +02:00
Luite Stegeman
611bb89e83
handle exceptions when cleaning
2011-09-02 07:51:12 +02:00
Luite Stegeman
cb0de49010
Don't print package description
2011-09-02 07:26:49 +02:00
Luite Stegeman
f5910a50ff
improve yesod devel
2011-09-02 00:26:22 +02:00
Greg Weber
38d0a9e13f
version bumps for new release 0.9.1.1
2011-09-01 08:38:51 -07:00
Greg Weber
1e98a69319
never mind 80, just don't show port in PRODUCTION
...
Works when you don't deploy to port 80
2011-09-01 08:37:42 -07:00
Greg Weber
e6bab578fc
add completion message
2011-09-01 08:37:27 -07:00
Greg Weber
32c018f36d
fix build warnings
2011-09-01 08:28:44 -07:00
Greg Weber
3f78df0c12
tiny: don't qualify imported function
2011-09-01 05:43:15 -07:00
Greg Weber
55c86c546b
tiny: don't port to appRoot if 80
2011-09-01 05:40:36 -07:00
patrick brisbin
0c242baded
don't qulify imported functions
2011-08-31 22:56:51 -04:00
patrick brisbin
3d73acd902
only add :port to appRoot if not 80
2011-08-31 22:56:04 -04:00
Greg Weber
5b91794903
fix last new line error
2011-08-31 06:31:15 -07:00
Greg Weber
389c634324
fix copy & paste line ending error
2011-08-31 05:38:20 -07:00
Michael Snoyman
9199e0f203
Version bump
2011-08-29 09:27:05 +03:00
Michael Snoyman
97f78a1f5e
unix-compat bump
2011-08-27 21:44:31 +03:00
Greg Weber
cb0fff5d8d
stop using shelltest
...
we haven't really been reaping a benefit from it
it doesn't give easy to use output
2011-08-25 14:05:53 -07:00
Michael Snoyman
6c27e04419
yesod version bump
2011-08-25 23:15:25 +03:00
Greg Weber
813cf0881e
add -DWINDOWS to the library
2011-08-25 07:48:40 -07:00
Greg Weber
822a507f28
re-organize files for case insensitive fs
2011-08-25 06:32:35 -07:00
Greg Weber
06bda2877e
move #ifdef for static into StaticFiles
2011-08-24 22:16:59 -07:00
Greg Weber
8938401ce5
fix CPP error
2011-08-24 11:07:40 -07:00
Greg Weber
6f9b0f359c
fix stext whitespace
2011-08-24 09:49:27 -07:00
Greg Weber
773e8f517a
in development mode, log email instead of sending
2011-08-24 07:03:09 -07:00
Michael Snoyman
c10d6c7164
yesod version bump
2011-08-24 06:16:30 +03:00
Greg Weber
d7c2b16d90
temporarily ignore the shelltest
2011-08-23 10:47:30 -07:00
Greg Weber
3ec880d672
exit status for test script
2011-08-23 08:08:42 -07:00
Greg Weber
43942879a1
more scaffolding fixes
2011-08-23 07:35:38 -07:00
Greg Weber
c0a8a53ad2
fix scaffolding
2011-08-23 07:29:14 -07:00
Michael Snoyman
9d7777c397
Bump Cabal version
2011-08-23 15:08:35 +03:00
Michael Snoyman
fe7fad40b6
Fixed missing executable in yesod.cabal
2011-08-23 15:08:18 +03:00
Michael Snoyman
f526a667aa
authenticate bump
2011-08-23 13:58:18 +03:00
Michael Snoyman
606f186d30
Field -> EntityField
2011-08-23 07:11:52 +03:00
Greg Weber
7e6999ba37
fix yesod devel
2011-08-22 20:38:19 -07:00
Greg Weber
2adc337fa1
use staticDevel in scaffold
2011-08-22 20:31:22 -07:00
Greg Weber
c781ec8204
remove duplicate flag
2011-08-22 10:33:59 -07:00
Michael Snoyman
bab00d13fa
TH defines Widget and Handler type synonyms
2011-08-22 19:33:17 +03:00
Michael Snoyman
15db754294
yesod devel has debug output
2011-08-22 17:35:23 +03:00
Greg Weber
094e2d5254
rename fixes
2011-08-22 06:33:58 -07:00
Greg Weber
943f6179ab
remove hs files from config dir
2011-08-21 23:36:23 -07:00
Greg Weber
678288db13
Handler->Application, ~sitearg~.hs->Foundation.hs
2011-08-21 23:36:22 -07:00
Michael Snoyman
d535720a0b
yesod devel does not have a hard-coded port
2011-08-22 08:29:11 +03:00
Greg Weber
56a5b167a6
document version command
2011-08-21 21:03:15 -07:00
Greg Weber
9621426a59
tests/ -> test/
2011-08-20 06:50:23 -07:00
Michael Snoyman
a4bfb2a0ca
Mirror naming changes in shakespeare
2011-08-18 17:59:25 +03:00
Michael Snoyman
55f4ddd258
Remove unneeded dependencies
2011-08-18 16:21:20 +03:00
Greg Weber
8d6a952c4a
correct typo, link to docs
2011-08-17 16:52:15 -07:00
Greg Weber
0da04d3c62
better README
2011-08-17 08:56:18 -07:00
Greg Weber
b91000e756
really fix the app port
...
was missing in appRoot
2011-08-17 08:43:31 -07:00
Greg Weber
1424c53603
cleanup test dir properly
2011-08-16 23:00:45 -07:00
Greg Weber
c9d9b2deb2
add done output suggesting to run cabal install
2011-08-16 22:39:29 -07:00
Greg Weber
cbdad72a90
add version command
2011-08-16 22:39:07 -07:00
Greg Weber
2e4eeca102
use -- --hide-successes for shelltest
2011-08-16 14:14:39 -07:00
Greg Weber
06be2c0f65
fix compiler warnings
2011-08-14 19:39:32 -07:00
Greg Weber
016d6e76f5
Controller -> Handler
2011-08-14 18:57:07 -07:00
Greg Weber
d1362485ec
Controller -> Handler
2011-08-14 09:41:56 -07:00
Greg Weber
399cad216d
correct normalize.css download
2011-08-13 12:28:17 -07:00
Greg Weber
709a6892da
cleanup scaffolding config/Settings.hs
2011-08-12 21:14:53 -07:00
Greg Weber
4d09d1ee4d
fix staticRoot needs the port
2011-08-12 19:46:55 -07:00
Greg Weber
d36502dd0e
add shakespeare-text
2011-08-12 19:31:26 -07:00
Greg Weber
606a0b070b
mongoDB scaffolding
2011-08-12 00:10:50 -07:00
Greg Weber
725de4605a
fix up normailze.css commit
2011-08-11 10:47:42 -07:00
Greg Weber
aced8dc8a6
use normalize_css by default
2011-08-11 07:30:32 -07:00
Greg Weber
6ae7160cb2
upgrade to html5boilerplate 2
...
mostly just use normalize.css now
2011-08-11 07:06:42 -07:00
Michael Snoyman
2435dc0b82
Fix scaffolded site
2011-08-09 18:22:39 +03:00
Michael Snoyman
f6ab5c05dc
Everything building with Hamlet 0.10, scaffolding not fixed yet
2011-08-09 16:48:24 +03:00
Greg Weber
cb9f0c2ad3
bump wai-extra dependency
2011-08-05 08:01:16 -07:00
Greg Weber
4fccf716e8
add wai-extra 0.4.0.4 dependency
2011-08-05 06:58:08 -07:00
Michael Snoyman
be69cbb14c
yesod build passes on exit code
2011-08-05 12:04:34 +03:00
Michael Snoyman
3c9b1da592
unlessExists -> whenExists
2011-08-05 11:32:01 +03:00
Michael Snoyman
3f363b5415
Fix repo location
2011-08-05 11:31:51 +03:00
Greg Weber
b7d85095c9
mini -> tiny
2011-08-04 14:34:10 -07:00
Greg Weber
74bcb6bd58
project.hs.cg -> main.hs.cg
2011-08-04 14:26:40 -07:00
Greg Weber
0751543ca1
install a signal handler on unix
2011-08-04 14:14:14 -07:00
Greg Weber
4b6147aa1a
add Logger to scaffolding
2011-08-04 14:14:00 -07:00
Greg Weber
ef82be8f23
cabal.cg -> project.cabal.cg
2011-08-03 22:01:27 -07:00
Michael Snoyman
91c9b4a2f0
Fix PostgreSQL scaffolding
2011-08-04 07:03:33 +03:00
Greg Weber
275ec19d69
remove mongoDB from scaffold options and test
...
it is not quite working yet
2011-08-03 13:02:21 -07:00
Alexander Kojevnikov
ab7e86ad48
Fix scaffolding compiler warnings
2011-08-03 22:41:20 +08:00
Greg Weber
4a951ad39d
fix scaffolding for tiny backend
2011-08-02 21:53:35 -07:00
Greg Weber
a39b78b641
fix compiler warnings
2011-08-02 21:10:53 -07:00
Greg Weber
c59901e95e
add mongoDB to the scaffolder
...
Almost working- causes a failing test case
2011-08-02 21:10:34 -07:00
Michael Snoyman
98888152ea
Scaffolding fixes
2011-08-02 09:36:27 +03:00
Greg Weber
15142f344f
upgrade scaffold to 0.9
2011-08-01 10:33:56 -07:00
Greg Weber
9206a0554d
main.hs instead of config/project.hs
2011-08-01 09:59:28 -07:00
Greg Weber
7a8e98158f
fix compiler warning
2011-08-01 09:59:28 -07:00
Greg Weber
b9b48273d7
add a default RenderMessage for forms i18n
...
this adds the form dependency in the cabal file
2011-08-01 09:58:51 -07:00
Ian Duncan
da1dcc1206
Fixed template to take proper sitearg configuration
2011-07-24 21:38:52 -05:00
Michael Snoyman
1b403cbff4
0.9 changes
2011-07-22 09:07:47 +03:00
Michael Snoyman
a7df7531dc
Add 'yesod/' from commit '45bbb0fc93db341ecac1406234fe0e880d63ed12'
...
git-subtree-dir: yesod
git-subtree-mainline: d865dc20a1
git-subtree-split: 45bbb0fc93
2011-07-22 08:59:52 +03:00