Commit Graph

2702 Commits

Author SHA1 Message Date
John Lenz
f8a35ce0a0 static: Add an embedded static subsite
This commit adds just the subsite itself.  The subsite
works by running a list of generaters at compile time.
The entries produced by the generators are converted into
wai-app-static.WaiAppStatic.Storage.Embedded entries.  Also,
addStaticContent is supported via an IORef.  When a widget
produces static content (css, javascript), it is stuck into
the IORef inside the embedded static subsite.  The embedded
static subsite will then serve it from the IORef, properly
using a 304 response if the client already has the content.
2013-09-12 12:21:33 -05:00
Michael Snoyman
c876974656 version bumps 2013-09-10 20:43:42 +03:00
Michael Snoyman
07aa7fe037 Merge remote-tracking branch 'origin/normalize-email'
Conflicts:
	yesod-auth/yesod-auth.cabal
2013-09-09 17:09:22 +03:00
Michael Snoyman
7274341322 normalizeEmailAddress 2013-09-09 15:01:20 +02:00
Michael Snoyman
23b4564424 Do not include vault in yesod-platform 2013-09-09 08:30:56 +02:00
Michael Snoyman
43e806ef4e true/false for boolField #595 2013-09-08 17:21:08 +02:00
Michael Snoyman
94e4310a9c --bare option to init #515 2013-09-08 17:17:05 +02:00
Michael Snoyman
5b379067b2 Add warning about calling parseJsonBody twice 2013-09-08 16:52:56 +02:00
Michael Snoyman
a3f004184e platform update 2013-09-08 14:23:45 +02:00
Michael Snoyman
759eb4154b Scaffolding tweak 2013-09-08 14:20:27 +02:00
Michael Snoyman
db17c0ade1 shakespeare 1.2/version bumps 2013-09-08 13:48:24 +02:00
Michael Snoyman
679046cae0 Merge remote-tracking branch 'origin/master' 2013-09-08 13:10:14 +02:00
Michael Snoyman
e4c39d22bb yesod-platform update 2013-09-08 13:08:59 +02:00
Michael Snoyman
5ed1a23390 Merge pull request #597 from Tarrasch/patch-4
Update README.md
2013-09-08 03:13:15 -07:00
Arash Rouhani
1005c3f009 Update README.md 2013-09-08 12:08:01 +02:00
Michael Snoyman
e29cd12ff8 Version bumps 2013-09-08 10:46:37 +02:00
Michael Snoyman
5642489841 Minor tweaks for #590 2013-09-01 16:15:03 +03:00
Michael Snoyman
f0ba8bb7f3 Merge branch 'master' of https://github.com/andrewthad/yesod 2013-09-01 15:46:12 +03:00
Michael Snoyman
6d9369e186 Merge pull request #593 from koterpillar/cryptohash-cryptoapi
Update to cryptohash-cryptoapi
2013-09-01 01:54:18 -07:00
Alexey Kotlyarov
f0bef8005f Update to cryptohash-cryptoapi
Crypto.Hash.MD5 no longer exports the MD5 type, switch to
cryptohash-cryptoapi.
2013-09-01 15:05:27 +10:00
Michael Snoyman
833d83c3e3 Merge pull request #592 from lubomir/translate-auth
Add Czech translation for auth messages
2013-08-31 10:36:51 -07:00
Michael Snoyman
48c6ff3600 Merge pull request #591 from obscaenvs/patch-2
Changed description of hsenv
2013-08-31 10:32:21 -07:00
Lubomír Sedlář
94fd685046 Add Czech translation for auth messages 2013-08-31 13:37:20 +02:00
Fredrik Carlen
44f7cf0bf0 Changed description of hsenv
- `hsenv` works on Mac OS X also (at least Lion and Mountain lion).
- supplied link to forked, working version of `hsenv` at https://github.com/tmhedberg/hsenv
2013-08-31 10:56:56 +02:00
andrewthad
c9791bd2c7 Update Fields.hs 2013-08-30 12:21:40 -04:00
andrewthad
b8d47f880f Added optionsPersistKey to Fields
There is no immediately obvious way to use optionsPersist with selectField. The function optionsPersistKey makes this possible. Example of use:
areq (selectField $ optionsPersistKey [] [Asc UserIdent] userIdent) "User" Nothing
2013-08-28 15:14:08 -04:00
Michael Snoyman
ffc27af9c2 Merge pull request #589 from lubomir/doc-update
Add more documentation to Yesod.Form.Functions
2013-08-24 11:21:27 -07:00
Lubomír Sedlář
1ea61ddfc7 Add more documentation to Yesod.Form.Functions 2013-08-23 16:44:21 +02:00
Michael Snoyman
e420705b07 Allow modification of confirmation email page 2013-08-20 13:38:11 +03:00
Michael Snoyman
01738f354f Scaffolding updates 2013-08-18 18:33:32 +03:00
Michael Snoyman
d5bf0f583d Version bumps 2013-08-13 18:59:21 +03:00
Michael Snoyman
d1a44454e4 hsfiles update 2013-08-13 18:57:34 +03:00
Michael Snoyman
525467cf57 Merge pull request #578 from k-bx/master
Add postBody and setRequestBody functions to POST some data in a test.
2013-08-11 22:34:57 -07:00
Konstantine Rybnikov
928be6991e Refactor a bit to make pattern matching happy and makeMultipart only work on multipart data. 2013-08-11 09:53:41 +03:00
Konstantine Rybnikov
59eb67e087 Add error-reporting when trying to add file or post-param after binary content is set. 2013-08-09 23:13:56 +03:00
Konstantine Rybnikov
441842ae12 Revert "Use GADTs for static guarantee you use right type of post data."
This reverts commit 3655af11d3.
2013-08-09 22:48:09 +03:00
Michael Snoyman
e99302e93d needOldPassword and checkPasswordSecurity 2013-08-07 09:21:29 +03:00
Michael Snoyman
aa5781d4e4 shouldLogIO 2013-08-07 07:22:28 +03:00
Michael Snoyman
d5b66d35d5 Allow overriding status code in error handlers 2013-08-04 08:55:42 +03:00
Michael Snoyman
97b78ad481 fromArgsSettings #583 2013-08-04 08:36:05 +03:00
Michael Snoyman
f0f85a0a03 Merge pull request #581 from lubomir/czech-translation-2
Add Czech translation to forms
2013-08-01 10:27:47 -07:00
Lubomír Sedlář
51f1b54b34 Add Czech translation to forms 2013-08-01 19:23:59 +02:00
Konstantine Rybnikov
3655af11d3 Use GADTs for static guarantee you use right type of post data. 2013-07-30 11:11:34 +03:00
Konstantine Rybnikov
eb7ad4e480 Remove unused comment 2013-07-29 17:03:37 +03:00
Konstantine Rybnikov
a46a6fa399 Small spacing fix 2013-07-29 17:01:20 +03:00
Konstantine Rybnikov
fdb564abfe Get post function back without overwriting content 2013-07-29 17:00:32 +03:00
Konstantine Rybnikov
8664c010da Second attempt to write a good postBody and setRequestBody. 2013-07-29 16:57:13 +03:00
Konstantine Rybnikov
ee168c7829 Add postBody and setRequestBody functions to POST some data in a test. 2013-07-29 11:26:32 +03:00
Michael Snoyman
5d3572d792 Merge pull request #577 from k-bx/master
Add yesodSpecWithSiteGenerator method.
2013-07-25 22:38:15 -07:00
Konstantine Rybnikov
a67732329d Add yesodSpecWithSiteGenerator method.
This method "extracts" site from `IO site` action every time, instead
of getting it only once. Helpful for flushing database (to recreate
connections) etc.
2013-07-25 17:48:29 +03:00