Commit Graph

549 Commits

Author SHA1 Message Date
Michael Snoyman
309d3c0f26 yesod devel displays "app not loaded" message
In order to achieve this, yesod devel listens on port 3000 and reverse
proxies to port 3001. An environment variable is set to tell the app to
listen on port 3001.
2012-11-05 12:14:45 +02:00
Michael Snoyman
b961fb8d5f Ignore the fay folder (#445) 2012-11-05 12:14:45 +02:00
Michael Snoyman
bdbb73f94d Check for import changes in Shakespeare files (#413) 2012-11-05 12:14:45 +02:00
Michael Snoyman
83264153fc Remove lens (I'm afraid of hitting Cabal hell) 2012-11-05 11:41:53 +02:00
Luite Stegeman
b9eb79068c force reconfigure when cabal file changes 2012-11-04 00:48:43 +01:00
Luite Stegeman
df9d4aef4a handle default extra arguments for build command 2012-11-02 14:06:43 +01:00
Luite Stegeman
00f8764799 Merge branch 'origin-develbuildghcapi' 2012-11-02 12:27:31 +01:00
Michael Snoyman
befdd91d58 Merge remote-tracking branch 'origin/master' into HEAD 2012-11-02 08:06:49 +02:00
Luite Stegeman
54abbc8618 fix handling of parameters that may occur multiple times 2012-11-02 01:07:08 +01:00
Luite Stegeman
976abcbb91 allow user to set default value for command line options with env vars or config file 2012-10-30 19:14:09 +01:00
Michael Snoyman
0fc62c4dd8 .gitignore in scaffolding #441 2012-10-28 09:44:58 +02:00
Luite Stegeman
80a8c51434 allow custom build directory with command line flag or env var 2012-10-17 14:31:45 +02:00
Luite Stegeman
174ac36719 try to load persistbuildconfig, even if cabal library version is not the same 2012-10-16 02:25:11 +02:00
Luite Stegeman
6bec7d342a fix infinite loop in cabal-dev args 2012-10-16 01:40:22 +02:00
Luite Stegeman
639204b6f0 pass extra arguments to cabal, for devel and builc 2012-10-15 20:42:55 +02:00
Luite Stegeman
19d4834378 use fsnotify to watch folder 2012-10-15 19:17:08 +02:00
Luite Stegeman
77383f8002 small fixes and cleanups 2012-10-15 17:10:58 +02:00
Luite Stegeman
75b8dc4457 merge master, switch to optparse-applicative 2012-10-15 16:30:35 +02:00
Luite Stegeman
9577083abd update bounds so scaffold builds with GHC 7.6 2012-10-15 14:53:33 +03:00
Michael Snoyman
4a6bdc0db7 Version bumps 2012-10-15 08:58:01 +02:00
Michael Snoyman
74cf1f77be Get rid of export lists 2012-10-12 11:19:45 +02:00
Michael Snoyman
47365910da Put main.hs in app, no dist hardcoding 2012-10-12 11:04:58 +02:00
Michael Snoyman
97d652a528 YesodSite -> YesodDispatch 2012-10-12 10:59:44 +02:00
Michael Snoyman
34f2f8cb13 unix-compat bump 2012-10-04 15:44:42 +02:00
Michael Snoyman
08e123c0e6 yesod version prints yesod-core and yesod version numbers 2012-09-29 20:29:01 +02:00
Michael Snoyman
fd0cdcfc21 Removed unnecessary conditionals 2012-09-24 15:58:45 +02:00
Michael Snoyman
8793cffe47 warpEnv 2012-09-24 15:57:01 +02:00
Michael Snoyman
48357a6fd3 Use shouldLog in scaffold 2012-09-24 15:52:17 +02:00
Michael Snoyman
a6ce05609d Version bumps 2012-09-11 07:17:23 +03:00
Michael Snoyman
4cce1d5a8f Merge remote-tracking branch 'origin/master'
Conflicts:
	yesod-core/yesod-core.cabal
2012-09-03 20:49:50 +03:00
Yann Esposito
667d8405a8 Added example on AddHandler to avoid confusion
I used the add-handler command of Yesod, and I found the sentences were too ambiguous. In order to avoid confusion, I just added some examples.

ps: I tried to write "getCommentR" instead of just "GET" and it was transformed in getcommentrCommentR :(.
2012-08-23 14:22:56 +03:00
Michael Snoyman
09016e9b7c Version bumps 2012-08-22 20:06:13 +03:00
Michael Snoyman
79fcfe0707 Fix stupid bugs... 2012-08-17 07:35:01 +03:00
Michael Snoyman
83b10c4959 yesod devel catches all message file changes (#404) 2012-08-17 07:15:04 +03:00
Michael Snoyman
5da6d0d9ea Scaffolding: allow http-conduit 1.6 (snoyberg/http-conduit#44) 2012-08-15 17:52:46 +03:00
Greg Weber
4a1d480998 fix yesod-test scaffold for SQL 2012-08-06 11:21:46 -07:00
Greg Weber
840fa09e5b complete backend independent yesod-test 2012-08-06 11:01:38 -07:00
Greg Weber
fa291bf9fe make yesod-test work with mongo
depends on resource-pool branch of persistent
2012-08-05 13:35:27 -07:00
Greg Weber
65e6d3bf20 update Yesod README 2012-08-03 07:44:23 -07:00
Greg Weber
ad057abb1b avoid MongoDB warning 2012-08-03 07:01:47 -07:00
Michael Snoyman
60b7111529 Fix scaffolding tests 2012-08-03 11:32:13 +03:00
Erlend Hamberg
f9e858446b Correct filename for getHomeR handler in template
When generating a project with `yesod init` and then issuing `yesod devel` to
run it, the “Welcome to Yesod!” page says the getHomeR handler is in
`Handler/Root.hs`, but this should have been `Handler/Home.hs`.
2012-07-31 23:25:17 +03:00
Michael Snoyman
6c834ec0cc Put getExtra in scaffolded Foundation.hs 2012-07-24 10:38:05 +03:00
Michael Snoyman
58647e4826 yesod keter (#359) 2012-07-11 15:10:38 +03:00
Michael Snoyman
699d76d13a Merge branch 'beta'
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-json/yesod-json.cabal
	yesod-test/Yesod/Test.hs
	yesod-test/test/main.hs
	yesod-test/yesod-test.cabal
2012-07-11 08:48:09 +03:00
Michael Snoyman
d5c0418559 keter.conf -> keter.yaml 2012-07-09 09:45:23 +03:00
Michael Snoyman
f3a3408260 http-types 0.7 2012-07-06 16:24:24 +03:00
Michael Snoyman
985dd6c924 Remainder of Logger changes, scaffolded site works (#360) 2012-07-05 13:37:54 +03:00
Michael Snoyman
dbf1961613 Remove duplicated language extensions from scaffolded cabal file 2012-07-02 18:17:46 +03:00
Michael Snoyman
e95492a586 add-handler (#362) 2012-07-02 18:14:35 +03:00
Michael Snoyman
4fbfca050e Scaffolding works 2012-07-02 17:32:36 +03:00
Michael Snoyman
ceecbb7301 Included keter.yaml in scaffolding 2012-07-02 17:17:42 +03:00
Michael Snoyman
3ecbf43f5d $newline 2012-07-01 20:59:37 +03:00
Jan Ahrens
3fc643e0ba Updated and fixed Heroku Procfile instructions 2012-06-27 23:24:36 +02:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +03:00
Peter Berry
6bb584a8ec import (<>) with GHC >= 7.0.4 2012-06-18 23:45:52 +02:00
Michael Snoyman
d64d4a583b Do not allow project name test (fixes #356) 2012-06-05 06:17:16 +03:00
Michael Snoyman
e0f4a7423f MySQL is not experimental 2012-05-21 18:07:25 +03:00
Greg Weber
04364dad65 test mongodb and yesod-test 2012-05-20 17:15:57 -07:00
Michael Snoyman
a919d1ef7e Scaffolded site: put -threaded on the executable 2012-05-18 16:59:34 +03:00
Michael Snoyman
61b5627e44 Version bumps 2012-05-14 12:33:44 +03:00
Michael Snoyman
d0a7447f56 Remove containers upper bounds 2012-05-09 10:25:19 +03:00
Michael Snoyman
468b013860 Turn on blaze-html 0.5 by default 2012-05-09 09:50:37 +03:00
Michael Snoyman
a628705493 Added missing bootstrap images (#344) 2012-04-29 09:47:56 +03:00
Michael Snoyman
e18c678aed Remove upper bounds on bytestring (yesodweb/shakespeare#60) 2012-04-29 09:38:45 +03:00
Michael Snoyman
20015aa6ee Update license with MIT license 2012-04-29 09:38:45 +03:00
Michael Snoyman
953007735f #342 2012-04-26 02:26:51 +03:00
Michael Snoyman
12f530a1e7 Remove ghc7 flag (#322) 2012-04-25 17:20:38 +03:00
Michael Snoyman
d956eb53d1 Test -> Testing in mysql 2012-04-25 17:15:55 +03:00
Michael Snoyman
a8b06e0e9a Fixed yesod devel flag checking 2012-04-25 10:43:21 +03:00
Michael Snoyman
fbc75699da Mention yesod test on homepage 2012-04-25 07:32:22 +03:00
Michael Snoyman
9c7b8db916 Merge remote-tracking branch 'parcs/purge-cpp' 2012-04-25 07:25:54 +03:00
Michael Snoyman
d3277efe8a Removed a file from cabal file 2012-04-25 07:21:15 +03:00
Michael Snoyman
4120d16b64 Added yesod test command 2012-04-25 07:20:03 +03:00
Michael Snoyman
a4052b2784 Improved scaffolded cabal file 2012-04-25 07:19:46 +03:00
Michael Snoyman
f99fe1983f Fix scaffolded tests 2012-04-25 07:00:43 +03:00
Michael Snoyman
0755761834 Fix tests in scaffolding a bit 2012-04-24 18:57:14 +03:00
Michael Snoyman
82cf5d5b61 yesod: blaze-html 0.5 2012-04-23 15:13:29 +03:00
Michael Snoyman
dcbccfaa71 hjsmin bump 2012-04-19 11:07:48 +03:00
Michael Snoyman
9fbd9d239d Merge remote-tracking branch 'origin/master' 2012-04-19 07:59:06 +03:00
Michael Snoyman
a4920c46ca Version bumps 2012-04-19 07:57:43 +03:00
hirschen
101ef2497c Code cleanup and output exit status of build. 2012-04-18 08:59:35 +02:00
Luite Stegeman
3ea7bcacaf add warning, this seems to bite many new users 2012-04-17 22:52:09 +03:00
hirschen
204c8cc744 Run the buildhook with 'system' 2012-04-17 14:16:32 +02:00
hirschen
ccb9d00191 Add success- and failhook options to cmdline 2012-04-17 10:40:04 +02:00
Michael Snoyman
b9e52bfec7 Include approot for dev by default (#329) 2012-04-15 09:47:26 +03:00
Michael Snoyman
b1e71b0a8a yesod-platform in scaffolded cabal 2012-04-15 06:45:27 +03:00
Luite Stegeman
2f5628d254 fix building with GHC API 2012-04-13 02:02:58 +02:00
Patrick Palka
1b9b19bb64 [scaffold] use if-then-else instead of guards
While the guards solution was nice, it causes GHC to emit a
non-exhaustive pattern warning.
2012-04-10 12:12:54 -04:00
Patrick Palka
7ce991d9cb [scaffold] fix typo in setLogger definition 2012-04-09 11:13:28 -04:00
Patrick Palka
78be263e02 [scaffold] remove the cryptic dev/prod combinators 2012-04-09 11:09:42 -04:00
Michael Snoyman
7af5eef145 Version bump 2012-04-09 13:24:58 +03:00
Michael Snoyman
2aed359e44 Fix scaffolded settings.yml 2012-04-09 13:24:46 +03:00
Michael Snoyman
5a716de3d0 Version bump 2012-04-09 10:17:53 +03:00
Michael Snoyman
aed67fc680 Better scaffolded default-layout for Twitter Bootstrap 2012-04-09 10:16:06 +03:00
Patrick Palka
27d8f13e7f [yesod] update extra-source-files in cabal file 2012-04-08 00:58:19 -04:00
Patrick Palka
5b8925962f [scaffold] make the scaffolding buildable 2012-04-08 00:27:22 -04:00
Patrick Palka
55bd35fc5c [scaffold] add 'production' and 'prod' combinator 2012-04-06 12:21:03 -04:00
Patrick Palka
687961cd22 [scaffold] refactor uses of CPP into pure Haskell 2012-04-06 12:16:03 -04:00
Luite Stegeman
2ba9828295 add Types to other-modules 2012-04-06 06:38:46 +02:00
Luite Stegeman
d774c32680 include .cabal file in the watched files 2012-04-05 21:53:58 +02:00
Luite Stegeman
4dc5e74f02 handle flag to disable GHC API recompilator 2012-04-05 21:37:30 +02:00
Luite Stegeman
7e2fce52b5 describe subcommands 2012-04-05 21:30:03 +02:00
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