Commit Graph

150 Commits

Author SHA1 Message Date
Michael Snoyman
a28d4b16f5 Version bump and close #149 2016-10-14 13:59:57 +03:00
Michael Snoyman
6228ccc351 Don't use lazy I/O in embedDirAt #149 2016-10-14 05:53:07 +03:00
Michael Snoyman
ba740608d6 Version bump 2016-09-02 12:31:30 +03:00
Artem Chuprina
83299bf1be urlParamRenderOverride method for Yesod class
this method replaces urlRenderOverride because the latter lacks support for query string
2016-08-09 22:54:24 +03:00
Michael Snoyman
d785094ec9 Version bump 2015-09-07 08:35:36 +03:00
Greg Weber
ad7326aaaa fix error from new HUnit export 2015-08-21 14:24:54 -07:00
Michael Snoyman
7d85092da2 Version bump 2015-08-11 07:48:56 +03:00
Maciej Pietrzak
d1b8ba0e8a Fix parameter order for uglifyjs. 2015-08-02 17:40:49 +02:00
Michael Snoyman
e023c769ee Version bump 2015-07-23 06:16:01 +03:00
Michael Snoyman
d9d085e945 Fix lower bound 2015-05-12 14:51:08 +03:00
Michael Snoyman
48a3bdeadb Drop system-filepath 2015-05-12 12:35:04 +03:00
Michael Snoyman
bed6dafce8 Doc link updates 2014-12-21 15:23:52 +02:00
Michael Snoyman
86ad70da6a Make staticRoutes more resilient to missing imports 2014-11-19 21:41:46 +02:00
Michael Snoyman
33d431f2ea Remove a deprecated dep 2014-10-05 12:51:41 +03:00
Michael Snoyman
c91b2978be Remove deprecated deps 2014-10-01 07:09:39 +03:00
Michael Snoyman
def48d8a45 Version bumps for 1.4 release 2014-09-21 11:41:37 +03:00
Michael Snoyman
ccab062f2d Remove all conditional compilation for Yesod 1.4 release
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
08f796fc58 Version bumps 2014-05-27 12:48:03 +03:00
Michael Snoyman
82de52e3d2 Various additional WAI 3.0 fixes 2014-05-22 21:04:28 +03:00
Greg Weber
c498c77cc3 test absolute file paths in a cross-platform way 2014-04-27 08:23:09 -07:00
Greg Weber
c5df0b0bf4 check for a colon and slashes after http 2014-04-25 07:54:04 -07:00
Greg Weber
2ea07ed398 use latest css-text version 2014-04-21 22:07:22 -07:00
Greg Weber
22caf035ef absolute url function returns lazy text 2014-04-21 22:07:21 -07:00
Greg Weber
a2e979ccda expose url re-writing function 2014-04-21 22:07:21 -07:00
Greg Weber
c3976efea9 make relative css urls absolute 2014-04-21 22:07:20 -07:00
Michael Snoyman
e8ce5650da Version bump 2014-04-14 08:40:21 +03:00
pseudonom
620e200c4d Fixed old comment on CSS post-processing default 2014-04-11 17:26:39 -04:00
Michael Snoyman
03d86646a6 Version bump 2014-03-27 17:41:23 +02:00
Michael Snoyman
d764464152 conduit 1.1 2014-03-27 16:38:52 +02:00
Michael Snoyman
3f1fe6e1c0 Version bumps 2014-03-26 22:05:56 +02:00
Michael Snoyman
7f1b06ecb3 Multiple threads for communicating with processes 2014-03-26 22:05:06 +02:00
Michael Snoyman
43baddd1eb Version bump 2014-03-18 09:53:53 +02:00
Vincent Hanquez
31748ddbd0 Remove crypto-conduit in favor of the simpler cryptohash-conduit. 2014-03-18 06:59:20 +00:00
Michael Snoyman
98955ac161 Minor doc fix (thanks Toby) 2013-12-24 14:52:50 +02:00
Michael Snoyman
02ab5320e3 Version bumps 2013-12-04 07:01:20 +02:00
Michael Snoyman
a2851c929c Merge branch 'master' into wai-2.0
Conflicts:
	yesod-bin/Devel.hs
2013-12-02 08:00:37 +02:00
Michael Snoyman
b81a9721fb Disable CSS minification when combining stylesheets #623 2013-11-21 22:44:31 +02:00
Michael Snoyman
6f495fc758 Merge branch 'master' into wai-2.0
Conflicts:
	yesod-static/yesod-static.cabal
2013-11-10 13:46:58 +02:00
Michael Snoyman
294641c404 Version bumps 2013-11-10 07:48:01 +02:00
Michael Snoyman
ad6e99d589 GHC 7.8 changes 2013-10-15 10:30:05 +03: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
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
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
94f42659ea Merge branch 'master' into wai-2.0 2013-09-08 13:23:09 +02:00
Michael Snoyman
e29cd12ff8 Version bumps 2013-09-08 10:46:37 +02: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
2d0f560bea wai 2.0 2013-08-19 12:51:54 +03:00