Sat Mar 9 17:38:46 GMT 2013 Duncan Coutts <dun...@community.haskell.org> * Add things missing from the last patch Ignore-this: b0d49238d7a159681e0958d2b50ea67b Update the data-files list in the .cabal file and add the little haskell png logo
A ./datafiles/static/hslogo-16.png M ./hackage-server.cabal -4 Mon Mar 11 11:47:05 GMT 2013 Duncan Coutts <dun...@community.haskell.org> * Improve the handling of the content type of error responses Ignore-this: d5b1163ba3579f8a34eda8762e23b89e For all resources, we can now format errors in either plain text or in html, with themeing via templates. All resource handlers now operate in ServerPartE, features are allowed to provide error handlers for different content types and those are used by the resource serving system. They're picked usung content negotiation with backup choices from the default content type for the resource in question. M ./Distribution/Server.hs -5 +23 M ./Distribution/Server/Features/BuildReports.hs -12 +12 M ./Distribution/Server/Features/Core.hs -5 +5 M ./Distribution/Server/Features/Distro.hs -7 +6 M ./Distribution/Server/Features/Documentation.hs -6 +7 M ./Distribution/Server/Features/Html.hs -89 +71 M ./Distribution/Server/Features/LegacyPasswds.hs -4 +4 M ./Distribution/Server/Features/LegacyRedirects.hs -5 +5 M ./Distribution/Server/Features/Mirror.hs -11 +11 M ./Distribution/Server/Features/NameSearch.hs -4 +4 M ./Distribution/Server/Features/PackageCandidates.hs -12 +10 M ./Distribution/Server/Features/PackageContents.hs -6 +4 M ./Distribution/Server/Features/PreferredVersions.hs -2 +2 M ./Distribution/Server/Features/ServerIntrospect.hs -3 +3 M ./Distribution/Server/Features/StaticFiles.hs -7 +36 M ./Distribution/Server/Features/Tags.hs -2 +2 M ./Distribution/Server/Features/UserDetails.hs -12 +12 M ./Distribution/Server/Features/UserSignup.hs -14 +14 M ./Distribution/Server/Features/Users.hs -7 +7 M ./Distribution/Server/Framework/Feature.hs -4 +3 M ./Distribution/Server/Framework/Resource.hs -11 +59 A ./datafiles/templates/hackageErrorPage.html.st A ./datafiles/templates/hackageErrorPage.txt.st Mon Mar 11 11:58:24 GMT 2013 Duncan Coutts <dun...@community.haskell.org> * Serve xhtml as text/html for compatability reasons Ignore-this: 31b7d2888f7f0aef7196e702fa6be9ee Turns out IE just does not do xhtml at all, but can parse it in quirks mode if served it as text/html. We should probably just switch to using blaze-html and serve html5. M ./Distribution/Server/Framework/ResponseContentTypes.hs -2 +2 _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel