Commit Graph

322 Commits

Author SHA1 Message Date
Felipe Lessa
5c434b089a Rewrite handlerToIO so that it works with Yesod 1.2.
Since the new YesodRequest has strict fields, handlerToIO didn't
work at all.  Even if it did, it had a reference to its parent's
ResourceT's internal state, so its chances of blowing up were
quite high.

The new implementation takes a whitelist approach of taking what
we want instead of clearing what we do not want.  Also, it takes
care of using a new runResourceT.
2013-05-03 21:20:31 -03:00
Felipe Lessa
c19501b1d8 yesod-core: New 'customizeSessionCookies' helper function. 2013-05-03 20:56:52 -03:00
Michael Snoyman
1bcc05aee7 Workaround for #545 2013-05-03 08:44:23 +03:00
Michael Snoyman
3e7d4eeaa2 Fix tests in tarball #543 2013-05-03 08:07:37 +03:00
Michael Snoyman
f2072747ce Include Yesod in server name 2013-04-02 14:58:02 +03:00
Felipe Lessa
993c557c12 Use clientsession 0.9.* on Yesod 1.2. 2013-04-01 11:45:16 -03:00
Michael Snoyman
d35b8a0dc2 Require newest bugfix warp 2013-03-20 07:39:51 +02:00
Michael Snoyman
96d5f4bcf6 Remove unneeded test stuff from cabal file 2013-03-19 15:17:49 +02:00
Michael Snoyman
564fdab66b SimpleApp to LiteApp 2013-03-18 12:18:49 +02:00
Michael Snoyman
0fc1c6cfef SimpleApp 2013-03-18 12:13:26 +02:00
Michael Snoyman
da24596b77 Incomplete SimpleApp 2013-03-18 05:12:04 +02:00
Michael Snoyman
bca0d24533 Route parsing 2013-03-17 13:28:17 +02:00
Michael Snoyman
090191bec3 Include warp etc in Yesod.Core 2013-03-17 12:39:04 +02:00
Michael Snoyman
4295346171 Split files up a bit more 2013-03-17 11:38:33 +02:00
Michael Snoyman
326c13d8b4 House cleaning 2013-03-14 18:32:35 +02:00
Michael Snoyman
8e793c70cc Compiles again, tests fails 2013-03-14 07:32:40 +02:00
Michael Snoyman
553dff7bd2 Incomplete change: GWidget/GHandler->WidgetT/HandlerT 2013-03-14 05:00:16 +02:00
Michael Snoyman
099b96f178 Everything compiles 2013-03-13 13:35:11 +02:00
Michael Snoyman
0633d0b259 Beginning of subsite TH overhaul 2013-03-13 09:14:24 +02:00
Michael Snoyman
04a034770b Beginning of a dispatch overhaul 2013-03-12 10:21:26 +02:00
Michael Snoyman
9873b4d8f3 Moved code around some more 2013-03-12 05:49:24 +02:00
Michael Snoyman
db57468832 Version bumps 2013-03-11 12:07:10 +02:00
Michael Snoyman
81ec09bf63 Some more rearranging 2013-03-11 07:29:43 +02:00
Michael Snoyman
8f8e986839 Started on the Handler typeclasses 2013-03-11 06:00:50 +02:00
Michael Snoyman
8d5f207c8d Removed Yesod.Internal.TestApi 2013-03-10 15:21:54 +02:00
Michael Snoyman
5c4ddfad6c Removed Yesod.Internal 2013-03-10 15:18:58 +02:00
Michael Snoyman
9559c2a345 Typeable-based cache implementation (#268) 2013-03-10 15:05:40 +02:00
Michael Snoyman
1a5793e2b9 Removed Yesod.Request 2013-03-10 14:38:52 +02:00
Michael Snoyman
5b5203a275 Removed yepnope 2013-03-10 14:20:39 +02:00
Michael Snoyman
0c4643422c safeEh logs properly 2013-03-10 14:14:44 +02:00
Michael Snoyman
ee01aaf268 Better error handling and auth checking 2013-03-10 14:03:10 +02:00
Michael Snoyman
dc79ddecd9 Auth tests 2013-03-10 13:48:26 +02:00
Michael Snoyman
4ece5fafd9 Removed handlerToYAR 2013-03-10 13:24:23 +02:00
Michael Snoyman
e4683ed001 .Class and .Run modules 2013-03-10 12:56:32 +02:00
Michael Snoyman
98613278d4 Yesod.Core.Types created, but it's a mess 2013-03-10 11:02:53 +02:00
Michael Snoyman
2377d70ec8 Merge branch 'master' into yesod1.2
Conflicts:
	yesod-json/yesod-json.cabal
2013-03-10 09:49:28 +02:00
Michael Snoyman
afd700753c Use RequestBodyLength 2013-03-10 05:26:34 +02:00
Michael Snoyman
eda98f96db Merge remote-tracking branch 'origin/master' into yesod1.2
Conflicts:
	yesod-core/yesod-core.cabal
	yesod-json/yesod-json.cabal
2013-03-10 05:10:13 +02:00
Michael Snoyman
459e5c29bf blaze-html 0.6 2013-02-18 18:15:05 +02:00
Michael Snoyman
a73cac167e wai 1.4 2013-02-18 12:39:20 +02:00
Michael Snoyman
551b9d7c1e Version bumps 2013-02-18 07:02:08 +02:00
Michael Snoyman
a1734e0e18 conduit 1.0 support 2013-02-13 11:45:50 +02:00
Michael Snoyman
8eb898931a Merge branch 'master' into yesod1.2 2013-02-12 16:59:40 +02:00
Michael Snoyman
ed53b20308 Merge yesod-json functionality into yesod-core (closes #487) 2013-02-12 15:42:45 +02:00
Michael Snoyman
d167842839 Version bumps, http-types 0.8 2013-01-29 10:33:14 +02:00
Felipe Lessa
9829e949c2 yesod-core: Bump version to 1.1.7.2. 2013-01-25 14:05:35 -02:00
Michael Snoyman
cb2491de04 Version bump 2013-01-01 11:18:27 +02:00
Michael Snoyman
bd05541df4 Limit request body sizes for chunked bodies 2013-01-01 11:18:07 +02:00
Michael Snoyman
bf293e6a1f Make new session code optional, keep old API 2012-12-26 19:00:45 +02:00
Michael Snoyman
054340ec10 Version bumps 2012-11-28 09:47:01 +02:00
Michael Snoyman
d37b0634a5 Added yesodMiddleware method 2012-11-21 10:58:45 +02:00
Michael Snoyman
053210da6f shakespeare-js 1.0.2 and 1.1 2012-11-16 09:27:31 +02:00
Michael Snoyman
e43bc22c39 Version bumps 2012-11-13 09:52:21 +02:00
Michael Snoyman
21090b9314 Version bumps 2012-11-11 10:08:37 +02:00
Michael Snoyman
d40da67656 Remove hspec upper bound 2012-11-09 09:12:32 +02:00
Michael Snoyman
1c7e4c6f1a Version bumps 2012-11-07 12:07:32 +02:00
Michael Snoyman
4a6bdc0db7 Version bumps 2012-10-15 08:58:01 +02:00
Michael Snoyman
01b855969b CssBuilder 2012-10-11 07:35:25 +02:00
Michael Snoyman
57b8748a3d lifted-base 0.2 2012-10-11 06:41:14 +02:00
Michael Snoyman
45e54ff2bb vector 0.10 2012-10-04 16:44:13 +02:00
Michael Snoyman
e28f330711 path-pieces dependency bump 2012-09-29 22:29:17 +02:00
Michael Snoyman
34f2942c54 Add deprecation for messageLogger (#405) 2012-09-21 17:15:21 +03:00
Michael Snoyman
7bd06e9b7b LogSource (#405) 2012-09-21 15:01:07 +03:00
Michael Snoyman
cf4fed8cb9 Precede null path segments with dashes (#421) 2012-09-21 14:23:38 +03:00
Michael Snoyman
a6ce05609d Version bumps 2012-09-11 07:17:23 +03:00
Felipe Lessa
865281d241 yesod-core: Bump version to 1.1.1.1.
Where do I redeem my prize?
2012-08-27 14:50:11 -03:00
Michael Snoyman
2e87e13347 Filter missing files (#403) 2012-08-12 17:36:26 +03:00
Michael Snoyman
df5018a94c hspec 1.3 2012-08-03 15:40:36 +03:00
Michael Snoyman
288f3b36eb fast-logger/monad-logger 0.2 2012-07-09 14:14:45 +03:00
Michael Snoyman
f3a3408260 http-types 0.7 2012-07-06 16:24:24 +03:00
Michael Snoyman
29c242d03b monad-logger 2012-07-05 16:14:23 +03:00
Michael Snoyman
ddd1059983 Updated fast-logger/wai-logger 2012-07-05 11:04:04 +03:00
Michael Snoyman
3ecbf43f5d $newline 2012-07-01 20:59:37 +03:00
Michael Snoyman
014732dac8 hspec 1.2 2012-06-26 10:56:50 +03:00
Michael Snoyman
ebc737a5cb conduit 0.5 2012-06-22 15:28:14 +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
Simon Hengel
653ffd02fb yesod-core: Adapt tests for hspec-1.1
This is not strictly necessary, the `UnevaluatedSpec` is merely
deprecated.  But it is a good idea anyway.
2012-05-07 07:43:28 +02:00
Mark Wright
9f4c92f181 yesod-core changes for hspec 1.0 2012-05-06 12:18:49 +10:00
Michael Snoyman
e18c678aed Remove upper bounds on bytestring (yesodweb/shakespeare#60) 2012-04-29 09:38:45 +03:00
Michael Snoyman
12f530a1e7 Remove ghc7 flag (#322) 2012-04-25 17:20:38 +03:00
Michael Snoyman
4bb2c33bfe yesod-core for blaze-html 0.5 2012-04-23 11:12:02 +03:00
Michael Snoyman
a4920c46ca Version bumps 2012-04-19 07:57:43 +03:00
Mark Wright
f7b0f6ce12 Include missing test files and sort the list of test files 2012-04-16 21:10:52 +10:00
Michael Snoyman
285c3497f4 Version bump 2012-04-09 10:16:06 +03:00
Michael Snoyman
f8c41eb5ac Doc fix 2012-04-05 22:39:39 +03:00
Michael Snoyman
43d938bbe7 Switch from BSD3 to MIT 2012-04-03 10:45:51 +03:00
Michael Snoyman
fc29c153ed Removed dates from version numbers 2012-04-03 07:57:43 +03:00
Michael Snoyman
25ec577449 transformers 0.3 2012-03-28 16:23:00 +02:00
Michael Snoyman
4cc933b21a conduit 0.4 2012-03-28 07:19:58 +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
Michael Snoyman
0618c5f6a5 WaiSubsite 2012-03-20 15:23:27 +02:00
Nubis
a72a62827b Fixed dependencies 2012-03-16 23:21:45 -07:00
Michael Snoyman
ec62f6f68c nonce -> token (#214) 2012-03-16 06:39:30 +02:00
Michael Snoyman
cbd0719f37 conduit 0.3 2012-03-12 13:40:04 +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
3d59a32ef3 bump wai-extra 2012-02-29 13:13:06 -08:00
Michael Snoyman
e3a07d2b80 Version bump 2012-02-21 15:17:56 +02:00
Felipe Lessa
124d142119 Bump yesod-core to 0.10.2. 2012-02-16 12:19:50 -02:00
Michael Snoyman
b26868cd28 Version bumps 2012-02-09 15:20:15 +02:00
Michael Snoyman
935912f31c cookie 0.4 2012-02-06 14:36:15 +02:00
Luite Stegeman
beac945521 fast-logger bump 2012-02-01 14:35:04 +01:00
Greg Weber
8b92389bc0 update shakespeare-js to 0.11 2012-01-31 09:10:19 -03:00
Michael Snoyman
2724785e04 conduit 0.2 2012-01-28 23:46:11 +02:00
Michael Snoyman
9b92215819 WAI 1.1 2012-01-26 15:56:13 +02: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
8c4a8102a0 Newer conduit, http-conduit 2012-01-18 13:02:42 +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
dfbdaf0b4c Some fixes noticed on working with yesodweb 2012-01-08 11:05:05 +02:00
Michael Snoyman
bcca4e4dc4 hamlet version bump 2012-01-06 15:29:00 +02:00
Michael Snoyman
1e8b15acff Move route parsing to yesod-routes 2012-01-05 05:38:31 +02:00
Michael Snoyman
c499e880b6 yesod-core compiles with yesod-routes (tests fail) 2012-01-03 20:33:51 +02:00
Michael Snoyman
c90cf34ef5 data-object-yaml to yaml 0.5 2011-12-28 17:07:53 +02:00
Michael Snoyman
0511a1e351 yesod-core compiles and passes all tests (that was easy) 2011-12-27 16:11:52 +02:00
Michael Snoyman
7036402b0a Initial cabal file update for 0.10, everything is broken 2011-12-27 15:54:49 +02:00
Michael Snoyman
0adc0d7598 hamlet version bump 2011-12-26 11:01:06 +02:00
Greg Weber
8bc3873080 use fast-logger/wai-logger 2011-12-24 23:19:16 -03:00
Michael Snoyman
4ed96e82ac production -> dev, devel -> library-only, debug -> reload 2011-12-14 09:18:27 +02:00
Michael Snoyman
7e643d6848 Yesod.Message moved to shakespeare-i18n 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
17d03183ed yesod-core version bump 2011-12-06 13:49:26 +02:00
Greg Weber
e372e126b4 fix test.hs reference 2011-12-06 08:30:12 -03:00
Michael Snoyman
37ab6737ee monad-control 0.3 for yesod package 2011-12-05 11:20:36 +02:00
Michael Snoyman
7619e4e9dd monad-control 0.3 2011-12-05 11:20:36 +02:00
Michael Snoyman
49df963196 Per-request caching 2011-11-29 00:15:21 +02:00
Michael Snoyman
298c0f25cd Version bumps 2011-11-28 14:58:56 +02:00
Michael Snoyman
08f4496327 Force wai-test to be installed 2011-11-28 12:09:16 +02:00
Michael Snoyman
1e331673df Merge branch 'master' of github.com:yesodweb/yesod 2011-11-28 10:32:45 +02:00
Michael Snoyman
e514f9375c Fix a broken cabal file 2011-11-28 06:27:40 +02:00
Greg Weber
11ac3a00dd get yesod-static tests running again 2011-11-27 08:12:49 -06:00
Michael Snoyman
1d4f1948af Relaxed upper bounds 2011-11-27 15:50:02 +02:00
Michael Snoyman
f459321498 aeson-native => aeson 2011-11-27 15:44:47 +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
Clint Adams
6757f2e211 Depend on a blaze-html version with unsafeLazyByteString. 2011-10-08 12:13:26 -04:00
Michael Snoyman
beca462471 Version bump 2011-10-06 20:38:29 +02:00
Michael Snoyman
e5a44cfc8e Fix catchIter 2011-10-06 16:51:20 +02:00
Michael Snoyman
35274e4859 ErrorHandlingBug (from Aur) 2011-10-06 16:22:21 +02:00
Michael Snoyman
dff2de9cae clientsession version bump 2011-10-03 14:43:21 +02:00
Michael Snoyman
b8f1ee151d Added test files to tarballs 2011-09-23 15:07:00 +03:00
Michael Snoyman
1f3df69787 yepnopeJs 2011-09-23 09:22:06 +03: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
Björn Buckwalter
f23ca419e9 Merge branch 'master' of https://github.com/yesodweb/yesod into testable 2011-09-21 21:48:27 +08:00
patrick brisbin
48bc765915 Merge branch 'master' into default-main 2011-09-19 16:15:09 -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
fe2e017680 gzipCompressFiles 2011-09-19 15:53:41 +03:00
Björn Buckwalter
4ed740724e Yesod.Internal.TestApi exports internals for tests 2011-09-17 00:13:26 +08:00
Greg Weber
4bcfe87582 bump hspec dependency 2011-09-15 09:39:31 -07:00
patrick brisbin
900e9476f3 Move Settings/Main out of -core 2011-09-13 21:28:33 -04:00
patrick brisbin
80314a4027 Add shakespeare-text dep 2011-09-11 12:30:31 -04:00
patrick brisbin
47b0986964 Merge branch 'master' into default-main 2011-09-11 11:55:46 -04:00
Michael Snoyman
40e83beae3 Version bumps 2011-09-11 08:53:41 +03:00
patrick brisbin
b5a3bd4671 Add dependencies and expose new modules 2011-09-10 23:32:41 -04:00
Greg Weber
10542f3534 fix yesod-core tests not running 2011-09-01 08:53:00 -07:00
Greg Weber
38d0a9e13f version bumps for new release 0.9.1.1 2011-09-01 08:38:51 -07:00
Michael Snoyman
9199e0f203 Version bump 2011-08-29 09:27:05 +03:00
Michael Snoyman
d1bb17304a Builds properly with stricter rules 2011-08-28 11:02:32 +03:00
Greg Weber
642fc47278 tighten up hspec version 2011-08-20 10:54:30 -07:00
Michael Snoyman
67c1c55e41 clientsession 0.7 2011-08-19 10:36:57 +03:00
Michael Snoyman
716f062d5d time bump 2011-08-19 10:00:27 +03:00
Greg Weber
7bece4c246 convert to hspec 2011-08-14 19:30:02 -07:00
Michael Snoyman
f6ab5c05dc Everything building with Hamlet 0.10, scaffolding not fixed yet 2011-08-09 16:48:24 +03:00
Michael Snoyman
a9e878fbfd http-types bump (issue #108) 2011-08-06 21:56:36 +03:00
Michael Snoyman
3f363b5415 Fix repo location 2011-08-05 11:31:51 +03:00
Greg Weber
4b6147aa1a add Logger to scaffolding 2011-08-04 14:14:00 -07:00
Michael Snoyman
52ed616dd5 yesod-core uses cabal test 2011-07-24 15:42:27 +03:00
Michael Snoyman
2dc10de435 Add 'yesod-core/' from commit '982d6185bee75b078bee92bd8a2e8743707f1922'
git-subtree-dir: yesod-core
git-subtree-mainline: cd5ee0fb12
git-subtree-split: 982d6185be
2011-07-22 08:59:56 +03:00