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
patrick brisbin
900e9476f3
Move Settings/Main out of -core
2011-09-13 21:28:33 -04:00
Oscar Picasso
bd617a846e
reworded 'joinPath' comments
2011-09-11 17:47:21 -04:00
patrick brisbin
41f1718387
Provide a default for withDevelAppPort
2011-09-11 16:52:54 -04:00
patrick brisbin
b9bc2ee1c5
Fix typo in the postgres yaml name
2011-09-11 15:12:06 -04:00
patrick brisbin
256245cd2b
Add mongo connection loader
2011-09-11 13:06:53 -04:00
patrick brisbin
80314a4027
Add shakespeare-text dep
2011-09-11 12:30:31 -04:00
patrick brisbin
bd843a7acc
Add typical connStr loading functions
2011-09-11 12:30:22 -04:00
Björn Buckwalter
864abd6ed1
Clean up nonce generation.
2011-09-12 00:16:01 +08: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
fed3f0c0fa
Fix logical error
2011-09-11 00:35:34 -04:00
patrick brisbin
dcb27df1fc
Be a little more configurable
2011-09-11 00:17:07 -04:00
patrick brisbin
86c8abb853
Limit exports
2011-09-11 00:16:43 -04:00
patrick brisbin
b5a3bd4671
Add dependencies and expose new modules
2011-09-10 23:32:41 -04:00
patrick brisbin
d3c7ccebe1
Provide sane defaults with less scaffolding
...
Yesod.Settings provides the typical definitions for AppConfig,
AppEnvironment, and loadConfig (read from YAML).
Yesod.Main provides a single defaultMain function which accepts your
usual withSiteArg function and runs via Warp calling the now provided
loadConfig to figure out what to do.
Note: Yesod re-exports Y.Settings and Y.Main -- This is probably not the
right thing to do since it would cause collisions with users not using
the provided functionality (including all existing users).
2011-09-10 23:21:35 -04:00
Luite Stegeman
f4a3569d37
Add UndecidableInstances to fix compile with GHC 6.12
2011-09-02 17:05:13 +03: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
Michael Snoyman
4f3f2b7524
Fix ambiguous defaultRequest in yesod-core tests
2011-08-28 02:40:40 +03:00
Michael Snoyman
9b9b021705
IsString SomeMessage instance
2011-08-23 16:48:17 +03:00
Michael Snoyman
bab00d13fa
TH defines Widget and Handler type synonyms
2011-08-22 19:33:17 +03:00
Greg Weber
d859e5c3f9
fix Coffeescript types
2011-08-22 08:38:41 -07:00
Michael Snoyman
507ad4a772
Better ToWidget* instances
2011-08-22 17:07:08 +03:00
Greg Weber
642fc47278
tighten up hspec version
2011-08-20 10:54:30 -07:00
Greg Weber
659e120024
#ifGHC7 [hamlet| -> [HAMLET|
2011-08-20 06:42:33 -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
Michael Snoyman
a4bfb2a0ca
Mirror naming changes in shakespeare
2011-08-18 17:59:25 +03:00
Greg Weber
7bece4c246
convert to hspec
2011-08-14 19:30:02 -07:00
Michael Snoyman
3f5c8f1dd3
Move SomeMessage to yesod-core
2011-08-09 19:23:59 +03:00
Michael Snoyman
f6ab5c05dc
Everything building with Hamlet 0.10, scaffolding not fixed yet
2011-08-09 16:48:24 +03:00
Michael Snoyman
ccb9bba8cd
ToWidget* classes
2011-08-09 13:02:14 +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
d55fd0fc64
Fix Yesod.Logger location
2011-07-24 07:47:22 +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