lp://staging/~divmod-dev/divmod.org/subdomains-2769
- Get this branch:
- bzr branch lp://staging/~divmod-dev/divmod.org/subdomains-2769
Branch merges
Branch information
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. VirtualHostWrap per.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. PersistentSessi onWrapper 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.SiteConfigu ration. 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 UserSubdomainWebSiteIntegratio n test,
test_staticContentAc cessibleFromVir tualHost, 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._SecureWrap per.renderHTTP takes the incoming
request into account when generating the encrypted root URL.6. Added a getRequestHostn
ame() method to Nevow.nevow. testutil. FakeRequest. 7. Updated unit tests for all new or modified functionality.
- 2655. By exarkun
-
Merge imaginary-
backspace- 2600 Author: exarkun
Reviewer: glyph
Fixes: #2600Add 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: #2936Handle the case, in cookieDomainFor
Request, where a request has no "host"
header. - 2652. By jonathanj
-
Apply 0001-pyflakes-
should- not-warn- about-_ _path__ -inside- __ini.patch. Author: mgedmin
Reviewer: jonathanj
Fixes: #2916Correct Pyflakes warning about "__path__" being undefined in __init__.py.
- 2651. By exarkun
-
Merge quotient-
scheduler- 2925 Author: exarkun
Reviewer: mithrandi
Fixes: #2925Remove 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: #2924Remove 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: #2923Remove 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: #2946Update 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://staging/~glyph/divmod.org/trunk