patch applied (hackage-server): "Overhaul the user account and authentication code" and 1 others

devnull at community.haskell.org devnull at community.haskell.org
Sat Feb 9 07:18:21 CET 2013


Sat Feb  9 05:38:30 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Overhaul the user account and authentication code
  Ignore-this: 92f6c35cd9beba748a53bf809113628d
  Remove the htpasswd feature, simplifying the UserAuth stuff so that
  there is now just one way to store password hashes. The legacy htpasswd
  stuff will be reinstated in a separate legacy password feature module.
  
  Simplify the representation of user status, we now have just enabled,
  disabled (with and without auth details) and deleted. This leads to
  simplifications in the Users db representation and operations. Also
  remove the silly requireName thing which automatically created
  historical accounts on demand, instead mirror clients will be expected
  to create user accounts if they want to preserve author info.

    M ./Distribution/Server.hs -2 +3
    M ./Distribution/Server/Features/Html.hs -11 +16
    M ./Distribution/Server/Features/Mirror.hs -4 +4
    M ./Distribution/Server/Features/UserDetails.hs -6 +6
    M ./Distribution/Server/Features/Users.hs -83 +58
    M ./Distribution/Server/Framework/Auth.hs -64 +27
    M ./Distribution/Server/Packages/Index.hs -4 +4
    M ./Distribution/Server/Packages/Render.hs -1 +1
    M ./Distribution/Server/Pages/Package.hs -2 +2
    M ./Distribution/Server/Pages/Recent.hs -2 +2
    M ./Distribution/Server/Users/Backup.hs -56 +38
    M ./Distribution/Server/Users/State.hs -92 +39
    M ./Distribution/Server/Users/Types.hs -29 +19
    M ./Distribution/Server/Users/Users.hs -220 +219

Sat Feb  9 05:59:47 GMT 2013  Duncan Coutts <duncan at well-typed.com>
  * Implement backup for the UserDetailsFeature
  Ignore-this: a028fe992021facf4c596ec1cf32c4e5

    M ./Distribution/Server/Features/UserDetails.hs -15 +98




More information about the cabal-devel mailing list