~divmod-dev/divmod.org/subdomains-2769

  • Committer: faldridge
  • Date: 2009-11-12 16:04:35 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:branches/subdomains-2769:17816
1.  Added a new convenience method to Axiom.axiom.userbase, getUsernames(),
    which returns a generator of two-tuples of (username, domain) for
    LoginMethods in the given store that are internal and contain both a 
    localpart and a domain portion.

2.  Changed Mantissa.xmantissa._webutil.VirtualHostWrapper.subdomain() such
    that it will only return a username, domain tuple for known usernames
    in the system as opposed to any subdomain of a known username domain.

3.  Fixed a bug in Mantissa.xmantissa.websession.PersistentSessionWrapper that
    caused subdomain-enabled cookies to fail.  The method cookieDomainForRequest
    returned unicode when it returned anything but None.  Now the method
    returns text as a string, so that the cookie sent to the client can be
    handled successfully by the user-agent.

4.  Modified Mantissa.xmantissa.web.SiteConfiguration.rootURL such that it
    always returns an absolute URL (a URL that includes the protocol and
    hostname) based on the request.  There was never a need to force requests
    to subdomains to resolve to the root domain for username VirtualHosts
    as the new UserSubdomainWebSiteIntegration test,
    test_staticContentAccessibleFromVirtualHost, shows.
    
    Also, this change coincidentally fixes issue #2875, that Mantissa doesn't
    work at all with the default shell template in Internet Explorer 6+.
    Returning a relative URL (a URL without protocol and hostname) for use
    in an HTML 4.01 / XHTML 1.0 <base /> tag is a violation of the W3C spec
    in any case and needed to be changed.

5.  Now Mantissa.xmantissa.web._SecureWrapper.renderHTTP takes the incoming
    request into account when generating the encrypted root URL.

6.  Added a getRequestHostname() method to Nevow.nevow.testutil.FakeRequest.

7.  Updated unit tests for all new or modified functionality.
Filename Latest Rev Last Changed Committer Comment Size
..
Axiom 2 18 years ago glyph move this repository to a more official-looking UR Diff
Combinator 135 18 years ago glyph A project similar to PTHY, to allow for combined Diff
Epsilon 114 18 years ago glyph Move utility modules to 'epsilon' package to avoid Diff
Hyperbola 1010 18 years ago glyph Author: glyph Reviewer: moe Fixes #382 This mer Diff
Imaginary 1312 18 years ago exarkun Merge move-pottery-to-trunk Diff
Mantissa 2 18 years ago glyph move this repository to a more official-looking UR Diff
Nevow 500 18 years ago mg Ignore stuff generated by distutils and setuptools Diff
Prime 1618 17 years ago glyph Initial kernel for development of Prime functional Diff
Pyflakes 374 18 years ago moe copy svn/Pyflakes/trunk -> svn/Divmod/trunk/Pyflak Diff
Quotient 482 18 years ago glyph Beginning to port Quotient. Diff
Reverend 563 18 years ago washort import Reverend Diff
Sine 608 18 years ago glyph dash: I hope this doesn't screw anything up in you Diff
Vertex 20 18 years ago glyph yay internet new q2q stuff Diff
Divmod.pth 2543 15 years ago exarkun Merge remove-xapwrap-2401 Author: exarkun Reviewe 275 bytes Diff Download File
Divmod.Quotes 1908 17 years ago glyph Haven't touched this file in a while... 4.4 KB Diff Download File
release-procedure.txt 1648 17 years ago exarkun Merge platform-release-1154 Author: exarkun, glyp 965 bytes Diff Download File