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