lp://qastaging/~divmod-dev/divmod.org/subdomains-2769

Created by Glyph Lefkowitz and last modified
Get this branch:
bzr branch lp://qastaging/~divmod-dev/divmod.org/subdomains-2769
Members of Divmod-dev can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Divmod-dev
Project:
Divmod
Status:
Development

Recent revisions

2657. By faldridge

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.

2656. By faldridge

Branching to 'subdomains-2769'

2655. By exarkun

Merge imaginary-backspace-2600

Author: exarkun
Reviewer: glyph
Fixes: #2600

Add support for dealing with unicode characters with east asian width property
values other than narrow or wide.

2654. By jonathanj

Merge 'empty-host-header-2936' branch.

Author: jonathanj
Reviewer: glyph
Fixes: #2936

Handle the case, in cookieDomainForRequest, where a request has no "host"
header.

2653. By jonathanj

Revert merge from the wrong branch in r17766.

2652. By jonathanj

Apply 0001-pyflakes-should-not-warn-about-__path__-inside-__ini.patch.

Author: mgedmin
Reviewer: jonathanj
Fixes: #2916

Correct Pyflakes warning about "__path__" being undefined in __init__.py.

2651. By exarkun

Merge quotient-scheduler-2925

Author: exarkun
Reviewer: mithrandi
Fixes: #2925

Remove all code from Quotient which instantiates Schedulers or SubSchedulers and
upgrade away persistent attributes which refer to existing such items. Replace
this with simple adaption of Stores to IScheduler where necessary.

2650. By exarkun

Merge sine-scheduler-2924

Author: exarkun
Reviewer: mithrandi
Fixes: #2924

Remove all code from Sine which instantiates Schedulers or SubSchedulers and
upgrade away persistent attributes which refer to existing such items. Replace
this with simple adaption of Stores to IScheduler where necessary (though
largely the use of schedulers seemed to be pointless and superficial).

2649. By exarkun

Merge mantissa-scheduler-2923

Author: exarkun
Reviewer: mithrandi
Fixes: #2923

Remove all code from Mantissa which instantiates Schedulers or SubSchedulers and
upgrade away persistent attributes which refer to existing such items. Replace
this with simple adaption of Stores to IScheduler.

2648. By exarkun

Merge quotient-nits-2946

Author: exarkun
Reviewer: mithrandi
Fixes: #2946

Update the Quotient nits to reflect the long-ago changed URL structure for
application-specific static content. This fixes a number of nit failures
by changing from from asserting against the wrong value to asserting against
a good value.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/~glyph/divmod.org/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers