patch applied (hackage-server): "Import the original user account creation times" and 8 others

devnull at community.haskell.org devnull at community.haskell.org
Wed Feb 27 23:31:02 CET 2013


Tue Feb 26 22:20:24 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Import the original user account creation times
  Ignore-this: b24a2eedb45478a79fc34ae4e65bcb5a

    M ./Distribution/Client/UploadLog.hs -12 +2
    M ./Distribution/Client/UserAddressesDb.hs -18 +32
    M ./ImportClient.hs -15 +19

Tue Feb 26 22:21:20 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Eliminate repeated reauthorisation in the import client
  Ignore-this: 38b520ec12a59fac06ee6a485620742e
  For every request it was doing two requests, because the HTTP browser
  lib never proactively supplies the digest auth info. So hack it by
  making it always use basic auth, which should be fine since we're only
  uploading to localhost.

    M ./ImportClient.hs -11 +14

Wed Feb 27 20:59:51 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Updates to the old hackage download and import scripts
  Ignore-this: dec33e2354c67380e025d65371d562bd

    M ./old-hackage-download.sh +3
    M ./old-hackage-import.sh -3 +2

Wed Feb 27 21:03:43 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Fix template design vs normal mode, and add tryGetTemplate
  Ignore-this: a4750ba669b5b7cd396905d888f2e852
  tryGetTemplate is for when the set of templates is not statically known.

    M ./Distribution/Server/Framework/Templating.hs -14 +19

Wed Feb 27 21:08:09 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Rename Distribution.Server.Features.Types to .ServerEnv
  Ignore-this: d418b225624802e972d5468ca3f06eb0

     ./Distribution/Server/Framework/Types.hs -> ./Distribution/Server/Framework/ServerEnv.hs
    M ./Distribution/Server.hs -1 +1
    M ./Distribution/Server/Features.hs -1 +1
    M ./Distribution/Server/Framework.hs -2 +2
    M ./Distribution/Server/Framework/Resource.hs -1 +5
    M ./Distribution/Server/Framework/ServerEnv.hs -6 +1
    M ./hackage-server.cabal +1

Wed Feb 27 21:11:39 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Serve toplevel html as templates, and move static files to subdir
  Ignore-this: 1d3d4e80f89a5fabefa9ef811629c977
  So the toplevel pages like / and /accounts are now using templates
  so it's easier to give them a common theme. All genuinely static
  resources (like css) are now served from /static.
  The templates now live in a seprate local directory.
  To do this I've reinstated the StaticFiles feature.

     ./static/built-with-cabal.png -> ./static/static/built-with-cabal.png
     ./static/cabal-tiny.png -> ./static/static/cabal-tiny.png
     ./static/UserSignupReset -> ./static/templates/UserSignupReset
     ./static/account-upgrade.html -> ./static/templates/account-upgrade.html.st
     ./static/accounts.html -> ./static/templates/accounts.html.st
     ./static/admin.html -> ./static/templates/admin.html.st
     ./static/favicon.ico -> ./static/static/favicon.ico
     ./static/hackage.css -> ./static/static/hackage.css
     ./static/hackage.html -> ./static/templates/index.html.st
     ./static/hackageCssTheme.st -> ./static/templates/hackageCssTheme.st
     ./static/hackagePageHeader.st -> ./static/templates/hackagePageHeader.st
     ./static/haddock -> ./static/static/haddock
     ./static/index.st -> ./static/templates/index.st
     ./static/upload.html -> ./static/templates/upload.html.st
    M ./Distribution/Server.hs -16 +20
    M ./Distribution/Server/Features.hs +3
    M ./Distribution/Server/Features/Core.hs -9 +2
    M ./Distribution/Server/Features/StaticFiles.hs -16 +64
    M ./Distribution/Server/Features/UserSignup.hs -2 +2
    M ./Distribution/Server/Framework/ServerEnv.hs +3
    M ./Distribution/Server/Pages/Template.hs -6 +6
    M ./Main.hs -2 +2
    M ./hackage-server.cabal +1
    A ./static/static/
    A ./static/templates/
    M ./static/templates/account-upgrade.html.st -18 +4
    M ./static/templates/accounts.html.st -18 +4
    M ./static/templates/admin.html.st -17 +4
    M ./static/templates/hackageCssTheme.st -1 +1
    M ./static/templates/hackagePageHeader.st -4 +4
    M ./static/templates/index.html.st -18 +4
    M ./static/templates/upload.html.st -17 +5

Wed Feb 27 21:20:02 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Rename HackageDB to simply Hackage
  Ignore-this: 9f0682ae420f775053650f7e88d9bd7d
  That's what everyone calls it these days anyway.

    M ./Distribution/Server/Packages/Index.hs -1 +1
    M ./Distribution/Server/Pages/Package.hs -2 +2
    M ./Distribution/Server/Pages/Recent.hs -2 +2
    M ./Distribution/Server/Pages/Template.hs -3 +5
    M ./static/templates/UserSignupReset/SignupRequest.st -1 +1
    M ./static/templates/account-upgrade.html.st -1 +1
    M ./static/templates/accounts.html.st -2 +2
    M ./static/templates/admin.html.st -1 +1
    M ./static/templates/hackagePageHeader.st -1 +1
    M ./static/templates/index.html.st -8 +8
    M ./static/templates/upload.html.st -2 +2

Wed Feb 27 21:38:14 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Fix up the installation of the templates and static files
  Ignore-this: 26db844a3c83f6d6d5fb02da3fc0cd85

     ./static -> ./datafiles
    M ./hackage-server.cabal -1 +5

Wed Feb 27 21:38:41 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Bump version number and update copyrights a bit
  Ignore-this: e120661837104c496cde3829d1567452

    M ./hackage-server.cabal -2 +4




More information about the cabal-devel mailing list