Luite Stegeman
0fcb55960c
use options library for command line options
2012-04-05 20:59:59 +02:00
Michael Snoyman
487e5c9bc4
Don't test for tiny
2012-04-04 07:12:05 +03:00
Luite Stegeman
0ee840da44
use Cabal to determine location of ar'
2012-04-04 03:42:25 +02:00
Luite Stegeman
0b9edf6282
properly configure programs
2012-04-04 03:08:58 +02:00
Luite Stegeman
c097d289f8
use Cabal to determine program locations
2012-04-04 02:27:41 +02:00
Luite Stegeman
0c60da3472
nonblocking waitForProcess
2012-04-04 01:03:05 +02:00
Luite Stegeman
740f4d3843
default to nonthreaded, OS X doesn't like it
2012-04-03 22:49:34 +02:00
Luite Stegeman
9194e45f3b
fix warnings (and disable some)
2012-04-03 21:07:18 +02:00
Luite Stegeman
69ce5fea57
make it work with GHC 7.0
2012-04-03 20:26:20 +02:00
Luite Stegeman
1cb7a494a9
rebuild application with GHC API (incomplete, only tested on linux, GHC 7.4.1 required)
2012-04-03 18:41:40 +02:00
Michael Snoyman
43d938bbe7
Switch from BSD3 to MIT
2012-04-03 10:45:51 +03:00
Michael Snoyman
ddde7e1676
yesod devel prints error messages too
2012-04-03 09:49:22 +03:00
Michael Snoyman
fc29c153ed
Removed dates from version numbers
2012-04-03 07:57:43 +03:00
Michael Snoyman
c00aa5971b
yesod devel: hide "Loading package" messages
2012-04-03 07:45:13 +03:00
Michael Snoyman
4d7355cf33
Merge remote-tracking branch 'origin/master' into HEAD
2012-04-02 20:28:11 +03:00
Michael Snoyman
8639c54339
NoMonomorhpismRestriction in scaffolding
2012-04-02 18:33:30 +03:00
Michael Snoyman
94a844f9fe
yesod devel handles Vim better
2012-04-02 18:33:14 +03:00
Michael Snoyman
1b985796ec
Better generateFormPost
2012-04-02 18:32:53 +03:00
gregwebs
db55170dff
fix import warnings
2012-04-02 07:35:30 -07:00
Michael Snoyman
fa1a03d420
Scaffolder: always use App as sitearg
2012-04-02 17:24:39 +03:00
gregwebs
0020feff62
still need to invoke cabal on 7.4
2012-04-02 07:11:19 -07:00
gregwebs
1ccbf5ce06
fix yesod devel file finding breakage
2012-04-02 06:47:41 -07:00
gregwebs
26a78f41ce
Merge branch 'master' of github.com:yesodweb/yesod
2012-04-01 11:06:18 -07:00
gregwebs
3fbe4c8f62
ignore lower case directories
2012-04-01 07:19:14 -07:00
gregwebs
8b3adbb01e
use hs-source-dirs, no hamlet deps in 7.4
...
* pass along hs-source-dirs to the dependency finders
* 7.4 tracks hamlet dependencies already
2012-04-01 06:58:23 -07:00
gregwebs
0c6a319ae6
use setLogger
2012-03-30 09:16:53 -07:00
Luite Stegeman
9071875e67
properly hide other packages when running yesod --dev devel
2012-03-30 08:50:25 +02:00
Luite Stegeman
10f3f81920
add # to prevent fusing words at line breaks (only one actual problem on line 5)
2012-03-29 17:45:46 +03:00
Michael Snoyman
03cf2d170c
Fix a warning
2012-03-29 09:03:22 +02:00
Michael Snoyman
6e17c1ae17
Fixed scaffolding; removed tiny; added bootstrap.css
2012-03-29 08:43:37 +02:00
Michael Snoyman
37ad3c045b
Merge remote-tracking branch 'origin/master'
...
Conflicts:
yesod-test/yesod-test.cabal
2012-03-29 07:47:38 +02:00
Michael Snoyman
25ec577449
transformers 0.3
2012-03-28 16:23:00 +02:00
Michael Snoyman
a42d4d6282
Remove unneeded line from scaffolding
2012-03-28 13:35:26 +02:00
Michael Snoyman
0131750a42
Updated scaffolded version bounds
2012-03-28 07:44:19 +02:00
Michael Snoyman
64b8a7be0f
Build yesod-test
2012-03-28 07:43:36 +02:00
gregwebs
4545b2a91d
fix need form import
2012-03-26 11:18:24 -07:00
gregwebs
127ddf7181
scaffolding fixes
...
breakup getApplication into makeFoundation and makeApplication
that way tests can re-use makeFoundation
2012-03-26 09:23:35 -07:00
gregwebs
a3cdb27ff0
hlint
2012-03-26 09:23:07 -07:00
gregwebs
2bb39530d6
fix RootR -> HomeR
2012-03-25 08:43:25 -07:00
Michael Snoyman
c8668c549c
Updated scaffolding dependencies
2012-03-25 10:13:46 +02:00
Michael Snoyman
bed6aa629a
Removed modernizr
2012-03-25 10:08:22 +02:00
Michael Snoyman
22cd28b8f4
shakespeare 1.0 bump
2012-03-20 17:30:06 +02:00
Michael Snoyman
b0b755cd80
Merge remote-tracking branch 'origin/master'
...
Conflicts:
yesod/scaffold/Handler/Home.hs.cg
yesod/scaffold/config/routes.cg
yesod/scaffold/project.cabal.cg
yesod/yesod.cabal
2012-03-20 17:01:06 +02:00
gregwebs
32d11e886d
more testing cleanup
2012-03-16 23:21:46 -07:00
gregwebs
494b2be299
cleanup test branch
2012-03-16 23:21:45 -07:00
Nubis
7803cbb10e
deleted old tests module
2012-03-16 23:21:45 -07:00
Nubis
a7ce59cd2a
integrated scaffold and improved scaffolded site
2012-03-16 23:21:45 -07:00
Nubis
b13a3d3858
integrated yesod tests to scaffolder. still work in progress
2012-03-16 23:21:45 -07:00
Michael Snoyman
0257c9a0de
Fix scaffolded cabal file
2012-03-15 18:44:42 +02:00
Michael Snoyman
937d2e7c2c
Remove email code from scaffolding ( #204 )
2012-03-15 18:43:33 +02:00
Michael Snoyman
072df2f06a
Merge branch 'master' into beta
...
Conflicts:
yesod/scaffold/project.cabal.cg
yesod/scaffold/tiny/project.cabal.cg
2012-03-15 14:33:12 +02:00
Greg Weber
94f85edea2
use #ifdef not #if
2012-03-14 09:27:29 -07:00
Greg Weber
28cf60e6e7
Merge branch 'master' of github.com:yesodweb/yesod
2012-03-14 09:26:45 -07:00
Greg Weber
14104c4adf
Merge pull request #290 from asmyers/updated-heroku-code
...
Updated Heroku code for Yesod 0.10.2.1
2012-03-14 08:41:23 -07:00
Greg Weber
bc7e8f3643
be clear that we are using the yesod-core version
2012-03-14 08:37:53 -07:00
Greg Weber
437a82d6c4
scaffold version bounds for shakespeare-text
2012-03-14 08:34:49 -07:00
Michael Snoyman
ee81979430
Merge remote-tracking branch 'origin/master' into beta
2012-03-13 15:14:49 +02:00
Luite Stegeman
344a884656
improve makeSessionBackend comment in scaffold
2012-03-13 11:09:18 +01:00
Luite Stegeman
00b9acd98d
merge master branch
2012-03-13 11:02:33 +01:00
Andrew Myers
65a0c0f198
Updated Heroku code for Yesod 0.10.2.1
2012-03-12 19:02:27 -04:00
Greg Weber
6c406f89d5
use proper GHC version number. 704 means 7.4
2012-03-12 13:58:57 -07:00
Michael Snoyman
0b9ced7f6c
Updated favicon
2012-03-12 16:23:06 +02:00
Michael Snoyman
c65053ec64
Simplified host/port/approot settings, solves #274
2012-03-12 15:35:43 +02:00
Michael Snoyman
c3a9c845e9
More Root to Home fixes
2012-03-12 14:59:28 +02:00
Michael Snoyman
5b07edd2db
RootR to HomeR #267
2012-03-12 13:42:04 +02:00
Michael Snoyman
cbd0719f37
conduit 0.3
2012-03-12 13:40:04 +02:00
Michael Snoyman
b5f2e4863d
Remove some QQ hacks #288
2012-03-12 08:50:15 +02:00
Greg Weber
096a84cec1
version bumps for new shakespeare
2012-03-11 23:12:24 -07:00
Greg Weber
6394483c31
allow newer version of shakespeare(-text)
2012-03-11 12:13:33 -07:00
Greg Weber
30f6348e56
get rid of StaticFiles import warnings
2012-03-01 11:03:49 -08:00
Greg Weber
92d3af002e
Merge pull request #282 from milaz/patch-1
...
Enable all necessary extensions for `ghci ./main.hs` to work in a scaffolded project
2012-03-01 10:57:29 -08:00
Greg Weber
3f8bc5b79d
version bump
2012-03-01 10:37:46 -08:00
Greg Weber
3290f5339e
< 7.4, not <= 7.4 for (<>)
2012-03-01 10:24:44 -08:00
Greg Weber
42cfed8c81
version bump
2012-03-01 10:05:17 -08:00
Greg Weber
031d38d392
fix yesod --dev devel. closes #283
2012-03-01 08:52:15 -08:00
Greg Weber
3d59a32ef3
bump wai-extra
2012-02-29 13:13:06 -08:00
Greg Weber
9ecaa4a54c
version bump
2012-02-29 11:01:39 -08:00
Michael Lazarev
5a9dee949d
Enable all necessary extensions for ghci ./main.hs to work in a scaffolded project
2012-02-29 22:40:00 +04:00
Greg Weber
c2ee1d4cbe
7.4 ships with (<>) = mappend
2012-02-29 09:42:50 -08:00
Tom Streller
0361f01dd2
Added StaticFiles to Import.hs
2012-02-28 21:01:01 +01:00
Tom Streller
f941dad48d
Added StaticFiles to Import
2012-02-28 20:48:34 +01:00
Tom Streller
65a64f5ab5
removed double occurence in scaffolded cabal file
2012-02-28 19:28:47 +01:00
Greg Weber
ca20827bc5
fix use analytics varialbe in google tracking
2012-02-28 08:50:56 -08:00
Michael
b28ea24b1c
Remove a few more unsafe functions from Import
2012-02-28 14:36:02 +02:00
Greg Weber
d602606bb6
don't use Yepnope for google analytics
...
it is already at the bottom of the body
2012-02-25 15:23:38 -08:00
Jonathan Grochowski
a304c0daa5
Remove CRLF line endings from modernizr.js
...
This is a minor pet peeve, but the modernizr.js included in the scaffold
has CRLF line endings in the repository, and thus any scaffolded sites.
This appears to be the only affected file in this repo.
2012-02-24 17:01:28 -08:00
Greg Weber
e1d584cf1f
pass through args to yesod devel
2012-02-16 19:03:37 -08:00
Michael Snoyman
221c5a35c7
EmptyDataDecls in scaffolding (needed by GHC 7.4)
2012-02-16 06:58:15 +02:00
Michael Snoyman
a98c73a4c9
Fix a warning
2012-02-16 06:58:01 +02:00
Luite Stegeman
16fe5330c0
Merge pull request #266 from khanage/master
...
handle persistFileWith in yesod devel
2012-02-12 09:08:55 -08:00
Khan Thompson
2c597fe01f
Revert "Adding a comment to the models config file for the scaffolded site to help avoid gotcha"
...
This reverts commit f1474f4432 .
2012-02-13 03:21:28 +11:00
Khan Thompson
68e8bfd2c1
Add in handling for the persistFileWith case in determining dependent files for the yesod devel server
2012-02-13 03:19:01 +11:00
Greg Weber
651a1f8abd
more flexible js loading
...
* write your own async jsLoader widget.
* Suport loading from the bottom of body tag.
Bottom of the page is actually the best default until you profile your
application.
2012-02-12 08:11:45 -08:00
Khan Thompson
f1474f4432
Adding a comment to the models config file for the scaffolded site to help avoid gotcha
2012-02-13 01:09:01 +11:00
Luite Stegeman
2d3e10b372
Check cabal build exit code, don't try to start application if build failed
2012-02-11 04:26:26 +01:00
Luite Stegeman
f2d7b0bda0
Bugfixes and better error reporting for yesod devel
2012-02-11 03:56:07 +01:00
Luite Stegeman
b5b27f2b15
Make session storage configurable
2012-02-10 19:22:31 +01:00
Michael Snoyman
51f81e894e
Remove redundant footer ( #260 )
2012-02-09 23:50:49 +02:00
Michael Snoyman
b26868cd28
Version bumps
2012-02-09 15:20:15 +02:00
Michael Snoyman
4dd9880389
Approot
2012-02-09 09:08:06 +02:00
Greg Weber
a26ad237dd
derive Show for Extra
2012-02-08 17:35:59 -08:00
Luite Stegeman
e9b34edf67
update tiny scaffold WAI version to 1.1
2012-02-02 15:41:59 +01:00
Luite Stegeman
b039ed9118
exclude buggy fast-logger
2012-02-01 14:21:10 +01:00
Michael Snoyman
9ce1e08a75
Fix scaffolded devel.hs
2012-02-01 14:38:16 +02:00
Michael Snoyman
068003cb36
Slightly improved yesod init
2012-02-01 13:13:19 +02:00
Michael Snoyman
c691a0143b
Merge https://github.com/chreekat/yesod
2012-02-01 13:07:52 +02:00
Michael Snoyman
767233d76e
Scaffolding uses newest shakespeare-js
2012-02-01 12:56:22 +02:00
Bryan Richter
53a54fcf03
Restores prompts to not having a final newline
...
Also, since "done" isn't a prompt, just uses putStr for that message. It's got
an extra newline now, but imho that looks nicer anyway.
2012-01-31 19:35:07 -08:00
Bryan Richter
a0f8c45b4f
Cleans up ends of scaffold files
...
Scaffolding.CodeGen.codegenDir no longer removes the final eol. Input files that
had extra eols have had them removed. With these changes, the generated files
are now more identical to the inputs:
$ diff foo/LICENSE scaffold/LICENSE.cg
4c4
< Copyright 2012, foo. All rights reserved.
---
> Copyright ~year~, ~name~. All rights reserved.
Additionally, initial commits of changes to a new project's files aren't
littered with "\ No newline at end of file". Maybe other people don't have this
problem, but vim auto-adds eols to files that lack them...
commit ce34468190ea87b91eb3b1a9b7987f40d49cf97e
Author: Bryan Richter <bryan.richter@gmail.com>
Date: Fri Jan 27 22:59:57 2012 -0800
Adds newlines to files that need em.
Foundation.hs | 2 +-
Handler/Root.hs | 2 +-
Import.hs | 2 +-
config/models | 2 +-
config/postgresql.yml | 2 +-
config/settings.yml | 2 +-
<and so on>
2012-01-31 11:32:06 -08:00
Michael Snoyman
c58a938e63
Test => Testing
2012-01-31 16:16:58 +02:00
Greg Weber
8b92389bc0
update shakespeare-js to 0.11
2012-01-31 09:10:19 -03:00
Michael Snoyman
d349b9ecd6
logHandle => logCallback
2012-01-31 13:38:24 +02:00
Michael Snoyman
d10912cf0f
MySQL scaffolding support ( #247 )
2012-01-31 07:16:14 +02:00
Michael Snoyman
8155a5c45b
Scaffolding fixes for persistent 0.8
2012-01-31 06:54:17 +02:00
Michael Snoyman
2f38ddaff3
Temporarily remove sessionIpAddress ( #243 )
2012-01-31 06:53:47 +02:00
Michael Snoyman
cd2ee40856
Merge remote-tracking branch 'origin/master'
2012-01-29 07:46:16 +02:00
Michael Snoyman
95200463c6
GHC 7.4 deps
2012-01-28 19:44:07 +02:00
Bryan Richter
9290a11ab2
Removes use of deprecated logHandleDev.
2012-01-26 21:40:31 -08:00
Bryan Richter
60faea0aba
Bump wai-extra deps for scaffold projects
2012-01-26 20:55:17 -08:00
Greg Weber
8c35873291
isDevel -> isCabalDev, print runghc command
2012-01-26 12:31:00 -03:00
Michael Snoyman
9b92215819
WAI 1.1
2012-01-26 15:56:13 +02:00
Michael Snoyman
cdd21df335
Fixed warnings
2012-01-24 04:59:29 +02:00
Michael Snoyman
c1265e9bb3
Tiny scaffolded warning
2012-01-24 04:43:46 +02:00
Michael Snoyman
3c44df1ccf
devel.hs is a normal scaffolded file
2012-01-24 04:43:29 +02:00
Michael Snoyman
d0f9bc471e
Fix cabal file
2012-01-23 22:08:04 +02:00
Michael Snoyman
abd23e57df
withDevelAppPort to getApplicationDev, no more Dynamic
2012-01-23 21:58:39 +02:00
Michael Snoyman
adecd25bc3
authPlugins takes master site as argument ( #233 )
2012-01-22 20:41:11 +02:00
Michael Snoyman
e6577832b4
Scaffolding uses boilerplate ( #234 )
2012-01-22 20:32:44 +02:00
patrick brisbin
dad03b3524
adjust scaffold to silence Route warning, fixes #216
2012-01-20 14:34:41 -05:00
Michael Snoyman
88882861cf
Get rid of an undefined in scaffolding
2012-01-19 19:18:46 +02:00
Michael Snoyman
97be0d1b90
Merge pull request #230 from sol/clickable-repository-urls
...
Use HTTP repository URLs
2012-01-18 04:01:58 -08:00
Michael Snoyman
45a43ae5ee
Scaffolding fixes
2012-01-18 13:37:40 +02:00
Simon Hengel
5c2f2b11c3
Use HTTP repository URLs
...
That way they get linked from Hackage.
2012-01-18 09:45:31 +01:00
Michael Snoyman
30690eb62f
Added missing import statement
2012-01-17 09:11:18 +02:00
Issac Trotts
dd73e6ca01
Use wai-logger in warpDebug.
...
This solves issue 205: https://github.com/yesodweb/yesod/issues/205
2012-01-16 13:43:06 -08:00
Michael Snoyman
eba8bc316f
Scaffolding: match persistent renames
2012-01-15 12:41:13 +02:00
Greg Weber
080de0a4e1
development/production logger. dev flushes
2012-01-13 00:23:16 -03:00
Michael Snoyman
97cface838
yesod-default: switch from cmdargs, support for PORT env variable
2012-01-12 10:12:30 +02:00
Michael Snoyman
bd6671b264
Less inversion of control
2012-01-12 09:52:06 +02:00
Michael Snoyman
6d30eabd7c
Scaffolding provides Manager
2012-01-10 11:57:08 +02:00
Michael Snoyman
13e1179409
Switch to BrowserId/GoogleEmail for scaffolded site
2012-01-02 21:04:09 +02:00
Greg Weber
16da67f87f
update heroku instructions
2012-01-02 07:47:48 -03:00
Michael Snoyman
a1b051ccca
A bunch of scaffolding changes
2011-12-30 13:30:24 +02:00
Michael Snoyman
61f0c26e9f
MonadLift
2011-12-30 13:30:24 +02:00
Greg Weber
d31d9ca4d8
add production env to Procfile
2011-12-29 13:58:13 -03:00
Michael Snoyman
8e623d04a6
Merge branch 'beta'
2011-12-29 12:01:21 +02:00
Michael Snoyman
c953851f92
Fix a typo
2011-12-28 22:29:18 +02:00
Michael Snoyman
c90cf34ef5
data-object-yaml to yaml 0.5
2011-12-28 17:07:53 +02:00
Greg Weber
b6be4efafe
-O2 for production in scaffold cabal
...
maybe there was a reason why not to use O2?
2011-12-28 08:38:22 -03:00
Michael Snoyman
7036402b0a
Initial cabal file update for 0.10, everything is broken
2011-12-27 15:54:49 +02:00
Greg Weber
8e1ca187b3
better error message for devel flags
2011-12-27 10:34:23 -03:00
Michael Snoyman
74b1dc4a77
Proper lower bound on wai-extra
2011-12-27 10:59:10 +02:00
Michael Snoyman
3e6235a8ac
More scaffolding fixes
2011-12-26 12:26:10 +02:00
Michael Snoyman
0f0820b8d0
Fix broken scaffolding
2011-12-26 11:54:02 +02:00
Greg Weber
1840eec7dc
take logging out of default and into scaffold
...
requires the DEVELOPMENT CPP define to choose the logger
2011-12-26 00:32:36 -03:00
Greg Weber
72d02b829e
Warp imports for devel dist/devel.hs
2011-12-25 23:09:00 -03:00
Greg Weber
4fe8111867
use RequestLogger - Debug is deprecated
2011-12-25 22:39:25 -03:00
Greg Weber
00cf9f2953
remove old TODO
2011-12-25 22:28:26 -03:00
Greg Weber
630124149a
fix yesod devel should also check for library-only
2011-12-25 22:27:05 -03:00
Greg Weber
9206d60481
fix scaffold: writeLogMsg -> logMsg
2011-12-25 14:11:55 -03:00
Greg Weber
3cfc5f4f31
give the real version number
2011-12-25 14:04:45 -03:00
Greg Weber
6af1329fdf
site -> web application
2011-12-25 10:52:10 -03:00
Greg Weber
8bc3873080
use fast-logger/wai-logger
2011-12-24 23:19:16 -03:00
Michael Snoyman
bba851b8cf
Fix a broken build
2011-12-20 16:26:08 +02:00
Michael
5fdab3b731
Bind to IPv4 by default
2011-12-20 15:57:15 +02:00
Michael Snoyman
157d098da2
DEV -> DEVELOPMENT
2011-12-14 19:01:54 +02:00
Michael Snoyman
4ed96e82ac
production -> dev, devel -> library-only, debug -> reload
2011-12-14 09:18:27 +02:00
Michael Snoyman
49f2da73ee
Deprecate Yesod.Config; more configurable config in yesod-default
2011-12-14 09:18:27 +02:00
Michael Snoyman
f74956e582
Use monad-control 0.2 for MongoDB
2011-12-05 13:24:40 +02:00
Michael Snoyman
37ab6737ee
monad-control 0.3 for yesod package
2011-12-05 11:20:36 +02:00
Michael Snoyman
ae4a3dbe9c
attoparsec 0.10 fix
2011-11-29 08:09:53 +02:00
Michael Snoyman
09d41c8e36
Test -> Testing in YAML config files
2011-11-29 00:19:22 +02:00
Michael Snoyman
3aa567a631
Handler is now RWS
2011-11-29 00:15:20 +02:00
Greg Weber
6fe7991fa1
improve overviews
2011-11-28 07:23:22 -06:00
Michael Snoyman
298c0f25cd
Version bumps
2011-11-28 14:58:56 +02:00
Michael Snoyman
1d4f1948af
Relaxed upper bounds
2011-11-27 15:50:02 +02:00
Greg Weber
236d55f00b
fix yesod mega
2011-11-26 10:44:56 -06:00
Greg Weber
c8af14b750
align yesod dependencies
2011-11-23 08:44:47 -06:00
Greg Weber
9391126712
bump yesod version command to 0.9.3
2011-11-22 15:19:03 -06:00
Michael Snoyman
e4fd390cf8
Scaffolding has nicer Form datatype
2011-11-10 21:30:34 +02:00
Michael Snoyman
6d2c5355ba
Added missing robots.txt to cabal
2011-10-30 16:07:48 +02:00
Michael Snoyman
35d18b31ff
Proper QQ in Settings
2011-10-23 15:40:05 +02:00
Greg Weber
88c34972b9
fix boilerplate-wrapper codegen
2011-10-20 06:35:44 -07:00
Greg Weber
5ccd598d0b
change boilerplate-layout to boilerplate-wrapper
2011-10-19 20:29:38 -07:00
Greg Weber
edab547eb7
update to latest html5 boilerplate
2011-10-18 07:22:50 -07:00
Greg Weber
9c57f4bfd9
Merge branch 'master' of github.com:yesodweb/yesod
2011-10-18 06:59:08 -07:00
Pascal Wittmann
0452ee4527
configuration of robots.txt via config/robots.txt
2011-10-15 11:00:02 +02:00
Michael Snoyman
22bf832cbb
Scaffolding: define extensions in cabal file
2011-10-14 11:12:29 +02:00
Michael Snoyman
39692f8379
Fixes for templates folder
2011-10-14 11:12:29 +02:00
Michael Snoyman
23139a579d
Import.hs in scaffolding
2011-10-14 11:12:29 +02:00
Michael Snoyman
7e37608df9
Scaffolding: unified templates folder
2011-10-14 11:12:29 +02:00
Greg Weber
7b801c279b
add comment
2011-10-09 16:34:21 -07:00
patrick brisbin
2ffb5007fe
fix filename mismatch in scaffolder
2011-10-06 21:45:17 -04:00
Michael Snoyman
e5426f8696
Yesod version bump
2011-10-05 14:35:44 +02:00
Luite Stegeman
1f88d34c0c
fix bulleted lists, typo
2011-10-04 17:15:08 +03:00
Joachim Breitner
c7889b5e1d
Allow disabling the threaded runtime via a cabal flag
2011-09-28 11:06:41 +02:00
patrick brisbin
bdd3639938
update scaffold to import provided handlers
2011-09-27 17:27:48 -04:00
Greg Weber
affeaee3f7
more Heroku instruction improvements
2011-09-25 19:46:18 -07:00
Greg Weber
06a83daec1
update Heroku deploy instructions
2011-09-25 18:22:26 -07:00
Michael Snoyman
933f0086d2
Scaffolding uses PersistConfig
2011-09-24 21:51:44 +03:00
Michael Snoyman
2fd9f18cf2
Faster scaffold.sh
...
cabal configure runs much faster than cabal install.
2011-09-24 21:38:35 +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
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
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
Michael Snoyman
05ca4bc907
Proper disable-library-profiling
2011-09-22 12:02:08 +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
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
patrick brisbin
a6e7924e7c
New Scaffold! hurrah!
2011-09-21 18:52:57 -04:00
patrick brisbin
48bc765915
Merge branch 'master' into default-main
2011-09-19 16:15:09 -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
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