Commit Graph

2725 Commits

Author SHA1 Message Date
Greg Weber
2d79ef43e9 cabal-dev -> cabal sandbox 2013-10-29 20:41:41 -07:00
Michael Snoyman
0c386c9f46 Replace ghcError with throwGhcException #612 2013-10-15 10:33:45 +03:00
Michael Snoyman
ad6e99d589 GHC 7.8 changes 2013-10-15 10:30:05 +03:00
Michael Snoyman
f04c4c456c Add an extensions line for TH 2013-10-15 10:30:05 +03:00
Michael Snoyman
5fb40434e9 Merge pull request #611 from wuzzeb/compress-messages
yesod-static: improve messages for embedded compression tools
2013-10-13 20:56:31 -07:00
Michael Snoyman
2e7694d465 Version bump 2013-10-13 18:40:17 +03:00
Michael Snoyman
a94566e22e Version bump 2013-10-13 13:06:41 +03:00
Michael Snoyman
3a9fa33b7e Export a TH-used identifier #609 2013-10-13 12:11:15 +03:00
Michael Snoyman
978d6a80da optparse-applicative 0.6 #610 2013-10-13 11:27:00 +03:00
Michael Snoyman
eb478470e9 Merge pull request #608 from AaronFriel/master
Update Socks dependency to fix build error
2013-10-10 09:39:40 -07:00
Aaron Friel
ba7d732a81 Update Socks dependency to fix build error 2013-10-10 10:39:37 -05:00
Michael Snoyman
8fb2d180d5 cereal 0.4 fpco/stackage#121 2013-10-01 15:42:46 +03:00
Michael Snoyman
eb5c5be2c5 Merge pull request #603 from axel-angel/checkboxesField
Add checkboxesField{,List} fields (based on multiSelectField{,List})
2013-09-22 11:21:43 -07:00
Axel Angel
0dcc9e2b29 Simplify in checkboxesField{,List}: no intermediate selOpts list 2013-09-22 15:08:21 +02:00
Axel Angel
a3bef1bc2b Add missing exports for checkboxesField{,List} 2013-09-22 15:01:09 +02:00
John Lenz
a4690dd424 yesod-static: improve messages for embedded compression tools
When trying various compression tools, display some messages
to the user about which compression tool is used.

--HG--
extra : rebase_source : e90e6ed49317b91a0fbe90d94f437459926f59e7
2013-09-19 15:22:14 -05:00
Axel Angel
d13c145b97 Add checkboxesField{,List} fields (based on multiSelectField{,List})
squashed:
    - Attrs are applied to checkboxes in checkBoxField
    - Fix checkboxesField{,List} attrs are applied to input instead of span
    - Fix checkboxesField{,List} attribute checked
2013-09-18 20:27:24 +02:00
Michael Snoyman
f0cfebe879 Merge pull request #601 from wuzzeb/data-default
static: make Entry a setting type
2013-09-17 10:14:55 -07:00
John Lenz
380cdcd174 static: make Entry a setting type
In the future we might want to add new features to the
Entry.  I am currently thinking about source maps, where
a new field will need to be added to the Entry.  Therefore,
use Data.Default to make sure we don't need to bump the
major version for these features.
2013-09-17 11:03:00 -05:00
Michael Snoyman
b903128bf0 Merge pull request #600 from wuzzeb/embedded-static
Embedded static
2013-09-15 00:51:00 -07:00
John Lenz
1a5aa23f13 static: fix the build on GHC 7.4
There were two build issues on GHC 7.4: using atomicModifyIORef'
and ByteString.Lazy.toStrict, both of which were missing.  These
are now fixed.

In addition, looking at the IORef code more closely,
we want the quite a bit of strictness in the IORef.
The common case is that the widget content already exists in the map
(every reload of a page will call embedStaticContent), but until we
force the map the thunks holding the duplicated generated content will
be kept around, leaking memory.  This will be the common situation since
the vast majority of the time the content already exists.  Since
the containers module does not have a strict map until 0.5, use
unordered containers which does have a strict map.
2013-09-12 17:52:15 -05:00
John Lenz
8e16fd2227 static: update sample-embed.hs and point the old embedded static to the new one 2013-09-12 12:21:47 -05:00
John Lenz
2ad3977712 static: add several embedded generators
This constains the generators to embed files, directories,
and javascript compression
2013-09-12 12:21:47 -05:00
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