Commit Graph

290 Commits

Author SHA1 Message Date
Luite Stegeman
00b9acd98d merge master branch 2012-03-13 11:02:33 +01:00
Michael Snoyman
4cc468ca3b Beginning of old widget function deprecation, not complete 2012-03-13 06:36:27 +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
Greg Weber
ffaa1d6a32 favor BottomOfBody 2012-02-26 16:41:15 -08:00
Michael Snoyman
e3a07d2b80 Version bump 2012-02-21 15:17:56 +02:00
Michael Snoyman
4c21c092ab Fix Haddocks (#277) 2012-02-21 15:17:36 +02:00
Tom Streller
44119c6e02 added svg content type 2012-02-19 23:09:12 +01:00
Greg Weber
9b8b20e058 tests and better docs for jsLoader 2012-02-16 16:11:10 -08:00
Felipe Lessa
124d142119 Bump yesod-core to 0.10.2. 2012-02-16 12:19:50 -02: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
Luite Stegeman
32d5c3f5f1 Improve makeSessionBackend documentation 2012-02-11 20:37:40 +01:00
Luite Stegeman
a37beb3447 Add encryptKey and clientSessionDuration for 0.10 compatibility 2012-02-11 20:33:26 +01:00
Luite Stegeman
b5b27f2b15 Make session storage configurable 2012-02-10 19:22:31 +01:00
Greg Weber
6b4f181b49 fix type inference of OverloadedStrings
see: http://hackage.haskell.org/trac/ghc/ticket/5858#comment:3
2012-02-10 08:15:06 -08: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
b7924975b0 yepnope loads in the <head>. closes #257
previous commit just put modernizr/yepnope in the head
2012-02-08 10:06:44 -08:00
Greg Weber
91d6a121d6 Revert "yepnope/modernizr is included in <head> (#256)"
This reverts commit 3b59c48dbc.
2012-02-08 10:04:57 -08:00
Michael Snoyman
3b59c48dbc yepnope/modernizr is included in <head> (#256) 2012-02-07 16:37:02 +02:00
Michael Snoyman
935912f31c cookie 0.4 2012-02-06 14:36:15 +02:00
Corey O'Connor
e650df437e mkRenderRouteInstance should be passed full foundation type 2012-02-04 11:38:16 -08:00
Michael Snoyman
410321f7ca Match wai changes for parseRequestBody 2012-02-02 12:24:50 +02:00
Greg Weber
55ee566a1c remove Coffeescript types - now just Javascript 2012-02-01 23:35:41 -06:00
Greg Weber
704892bdda lengthen variable names 2012-02-01 23:15:36 -06: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
2f38ddaff3 Temporarily remove sessionIpAddress (#243) 2012-01-31 06:53:47 +02:00
Michael Snoyman
4962529006 sessionIpAddress False by default (#243) 2012-01-30 13:01:34 +02:00
Michael Snoyman
b86b2cb75e Fix warning 2012-01-30 07:16:04 +02:00
Michael Snoyman
8bb507084d Merge pull request #246 from paronsson/master
Issue #237: A generalized setCookie function must be available
2012-01-29 21:06:18 -08:00
Pär-Anders Aronsson
88c3b12c86 Minor naming isssue handled. 2012-01-29 21:11:31 +01:00
Pär-Anders Aronsson
4796ad77d4 Generalized cookie handling.
Signatures for setCookie & deleteCookie changed.
Helper function getExpires added to API.
2012-01-29 21:05:01 +01: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
fec0d42827 lookupSessionBS/setSessionBS (#235) 2012-01-24 18:43:30 +02:00
Michael Snoyman
61efa0e1af Fix trailing doublequote on log message 2012-01-24 13:10:59 +02:00
Michael Snoyman
e6577832b4 Scaffolding uses boilerplate (#234) 2012-01-22 20:32:44 +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
Greg Weber
e5ad426976 document option to use redirectWith 2012-01-18 07:02:14 -03:00
Simon Hengel
5c2f2b11c3 Use HTTP repository URLs
That way they get linked from Hackage.
2012-01-18 09:45:31 +01:00
Greg Weber
7307503d81 fix outdated redirect doc 2012-01-18 00:10:32 -03:00
Michael Snoyman
4d5c123935 Better multiSelectField (#183) 2012-01-17 14:13:20 +02:00
Michael Snoyman
0e076d5198 Fixed GWidget Functor instance 2012-01-17 14:13:20 +02:00
Michael Snoyman
7aa5c02c35 Use 303 for HTTP/1.1 (#217) 2012-01-17 08:32:01 +02:00
Bryan Richter
c4820cf1c0 Simple module doc pointing to shakespeare-i18n. 2012-01-15 08:32:47 -08:00
Michael Snoyman
251f83f673 unauthorizedI 2012-01-13 11:29:05 +02:00
Greg Weber
080de0a4e1 development/production logger. dev flushes 2012-01-13 00:23:16 -03:00
Michael Snoyman
dfbdaf0b4c Some fixes noticed on working with yesodweb 2012-01-08 11:05:05 +02:00
Michael Snoyman
b586c41589 logLevel (#197) 2012-01-08 06:57:29 +02:00
Michael Snoyman
95b6678e9f Changed to new redirect system (#202) 2012-01-07 21:53:58 +02:00
Michael Snoyman
8ba59eac43 Two letter language codes (#195) 2012-01-07 19:02:28 +02:00
Michael Snoyman
bcca4e4dc4 hamlet version bump 2012-01-06 15:29:00 +02:00
Michael Snoyman
858b4cc4c2 gzip changes 2012-01-06 15:29:00 +02:00
Michael Snoyman
5321bd0dfa Fix warnings 2012-01-05 15:47:24 +02:00
Michael Snoyman
0a9df1076e cleanPath tests again 2012-01-05 05:46:20 +02:00
Michael Snoyman
1e8b15acff Move route parsing to yesod-routes 2012-01-05 05:38:31 +02:00
Michael Snoyman
03da3b021a tests pass, except clean path 2012-01-03 20:41:48 +02:00
Michael Snoyman
c499e880b6 yesod-core compiles with yesod-routes (tests fail) 2012-01-03 20:33:51 +02:00
Michael Snoyman
503c131c28 Fixed some warnings 2012-01-01 08:26:42 +02:00
Michael Snoyman
61f0c26e9f MonadLift 2011-12-30 13:30:24 +02:00
Michael Snoyman
a797cd3fe3 Completely removed GHandlerT and GGWidget 2011-12-29 15:31:06 +02:00
Michael Snoyman
c90cf34ef5 data-object-yaml to yaml 0.5 2011-12-28 17:07:53 +02:00
Michael Snoyman
6eddfbc273 All cookie functions work on Text 2011-12-27 16:37:54 +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
3cfc5f4f31 give the real version number 2011-12-25 14:04:45 -03:00
Greg Weber
dd3fa62f38 restore original makeLogger api, but deprecate 2011-12-25 14:04:14 -03:00
Greg Weber
8bc3873080 use fast-logger/wai-logger 2011-12-24 23:19:16 -03:00
Greg Weber
c0ab2e6178 import qualified Text as TS -> as T 2011-12-24 23:19:16 -03:00
Greg Weber
d8e8cd7afe tests for redirect status 2011-12-23 08:05:24 -03:00
Greg Weber
0ef60e752f closes #52 - use 307 redirect for http 1.1 2011-12-23 07:04:56 -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
a1dc16b364 Hide a deprecation warning 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
d39e0d9bfd Widget is a Writer 2011-12-06 14:19:54 +02:00
Michael Snoyman
17d03183ed yesod-core version bump 2011-12-06 13:49:26 +02:00
Michael Snoyman
168e301fee Handler: RWS -> Reader, use an IORef for mutable state 2011-12-06 13:49:26 +02:00
Michael Snoyman
09d26f8099 Adding failing test case: headers after redirect 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
ce31a9c8ab Removed ErrorT from Handler 2011-12-05 11:20:36 +02:00
Arash Rouhani
2e1aa2d261 Update isAuthorized documentation 2011-12-04 22:49:36 +01:00
Michael Snoyman
9a195e5087 Add (another) missing file 2011-11-30 18:37:25 +02:00
Michael Snoyman
3ed230de2c Add missing file 2011-11-29 16:11:43 +02:00
Michael Snoyman
49df963196 Per-request caching 2011-11-29 00:15:21 +02:00
Michael Snoyman
3aa567a631 Handler is now RWS 2011-11-29 00:15:20 +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
1ff5bf083f expose parseRoutesNoCheck & parseRoutesFileNoCheck
related to #174
2011-11-26 21:15:14 -06:00
Michael Snoyman
be16db1454 Don't use JSON-P middleware by default 2011-11-26 22:31:34 +02:00
Greg Weber
c7778d937b Merge branch 'master' of github.com:yesodweb/yesod 2011-11-26 10:47:36 -06:00
Greg Weber
236d55f00b fix yesod mega 2011-11-26 10:44:56 -06:00
Michael Snoyman
4d2f4a3b4f Remove a painful slowdown from randomIV 2011-11-25 15:11:15 +02:00
Greg Weber
c8af14b750 align yesod dependencies 2011-11-23 08:44:47 -06:00
Greg Weber
d33bf4f909 add yesod-mega 2011-11-23 08:44:13 -06:00
Greg Weber
303057222f comment & white space 2011-11-22 08:30:43 -06:00
Greg Weber
d66ef9b057 clarify findOverlaps RouteParsing code 2011-11-22 08:06:35 -06:00
Michael Snoyman
965884d675 Widgets use Builder for CSS 2011-10-15 21:53:46 +02: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
f5b5dc9b10 Distilled ErrorHandling bug to simple catchIter bug 2011-10-06 16:46:02 +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
933f0086d2 Scaffolding uses PersistConfig 2011-09-24 21:51:44 +03:00
Michael Snoyman
b8f1ee151d Added test files to tarballs 2011-09-23 15:07:00 +03:00
Michael Snoyman
ea75eb6bfb Fix yepnope typo 2011-09-23 09:43:39 +03:00
Michael Snoyman
1f3df69787 yepnopeJs 2011-09-23 09:22:06 +03:00
Björn Buckwalter
5d9c068a8e Merge branch 'master' of https://github.com/yesodweb/yesod into testable 2011-09-22 22:28:46 +08:00
Björn Buckwalter
ab98799e8d Alter nonce terminology in tests too. 2011-09-22 22:23:41 +08:00
Michael Snoyman
1dbbfc8d06 More explicit config error messages; fix defaultArgConfig 2011-09-22 07:32:50 +03:00
patrick brisbin
b13875b8a6 make sqlite db a Text 2011-09-21 18:52:08 -04: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
patrick brisbin
8f02508500 Finalizing Yesod.Config
* Split DbConfig into separate types to ease scaffolding
* Add safeRead and type sig on withYaml...
* Add documentation
2011-09-21 16:19:46 -04:00
Björn Buckwalter
39ef74cb10 Altered nonce comment (modeled after encryptKey).
I note that for `key' == Nothing` it should probably hold that
`session' == []` as implemented in defaultYesodRunner, so perhaps the
comment regarding ignoring pre-existing `nonceKey` is redundant. But
a custom `yesodRunner` could arguably violate this invariant(?).
2011-09-21 22:31:59 +08:00
Björn Buckwalter
4d1ea8520a Revert 33ee15d56f.
Revert to the older faster toChar. I would have just removed the
old commit from history but it seems that would call for a rebase
which I hear is a bad idea in a public branch. Thus this commit.
2011-09-21 21:53:57 +08: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
ca55a891c8 Rewrite AppConfig loader
* Remove AppEnv
* Add logic to set approort smartly in most cases
* Refactor YAML parser
* Update yesod-default to match

There's still much todo...
2011-09-20 22:55:31 -04: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
Michael Snoyman
f6b59159e4 Merge pull request #130 from oscarpica/master
Comment rewording on 'joinPath'
2011-09-19 03:30:24 -07:00
Björn Buckwalter
c9cb50b34b Spec for "reasonably random" appearance. 2011-09-17 11:03:29 +08:00
Björn Buckwalter
7b3d69f657 TestApi: improve docs and remove Request (..). 2011-09-17 01:48:02 +08:00
Björn Buckwalter
5cec074cfb Harmonize reqCookie and acceptLang. 2011-09-17 01:19:03 +08:00
Björn Buckwalter
09017eb29a Clearer language prioritization code. 2011-09-17 01:02:26 +08:00
Björn Buckwalter
33ee15d56f Shorter more readable toChar. 2011-09-17 00:43:16 +08:00
Björn Buckwalter
4ed740724e Yesod.Internal.TestApi exports internals for tests 2011-09-17 00:13:26 +08:00
Björn Buckwalter
f925fa28ec Manual cookies to reduce dependencies. 2011-09-17 00:04:02 +08:00
Björn Buckwalter
b83029dc36 Add test suite for Yesod.Internal.Request. 2011-09-16 21:39:57 +08:00
Björn Buckwalter
817ab988e0 Comment explaining the behavior of nonce.
Someone should confirm that this the intended behavior!
2011-09-16 12:01:15 +08:00
Björn Buckwalter
4d55332afc Break out randomString for testing in isolation. 2011-09-16 11:44:03 +08:00
Björn Buckwalter
884c363ebf Pure and testable parseWaiRequest. 2011-09-16 11:43:01 +08:00
Björn Buckwalter
da11ddc1c1 Merge branch 'master' of https://github.com/yesodweb/yesod 2011-09-16 08:16:58 +08:00
Greg Weber
4bcfe87582 bump hspec dependency 2011-09-15 09:39:31 -07:00
Björn Buckwalter
ffefbb41b9 Aestetic reordering of composed functions. 2011-09-15 15:13:54 +08:00