summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-25rename bfgwiki to wikiChris McDonough
2010-10-25rename bfgwiki to wikiChris McDonough
2010-10-25convert bfgwiki tutorial to pyramidChris McDonough
2010-10-25Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2010-10-25shortenChris McDonough
2010-10-25simplify zcml replacementChris McDonough
2010-10-25Add http exception facade.Ben Bangert
2010-10-25fix paster templatesChris McDonough
2010-10-25fix ZCML tooChris McDonough
2010-10-25ignore env26Chris McDonough
2010-10-25add 2to3 fixer script for repoze.bfg importsChris McDonough
2010-10-25remove repoze directoryChris McDonough
2010-10-25first cut at converting bfg to pyramidChris McDonough
2010-10-25first pass at converting bfg to pyramid namespaceChris McDonough
2010-10-22add todo items from Vegas meetingChris McDonough
2010-10-21- When a renderer factory could not be found, a misleading errorChris McDonough
message was raised if the renderer name was not a string.
2010-10-19note dotted-name-acceptanceChris McDonough
2010-10-14long linesChris McDonough
2010-10-14long lineChris McDonough
2010-10-14typoChris McDonough
2010-10-14updateChris McDonough
2010-10-13(no commit message)Chris McDonough
2010-10-13merge tutorialfix branchChris McDonough
2010-10-13point at request API docsChris McDonough
2010-10-12double howeverChris McDonough
2010-10-08tweakChris McDonough
2010-10-08rearrangeChris McDonough
2010-10-08be more explicit about responses earlierChris McDonough
2010-10-01wordingChris McDonough
2010-09-30work upChris McDonough
2010-09-30prep for 1.3a15Chris McDonough
2010-09-30renderingChris McDonough
2010-09-30renderingChris McDonough
2010-09-30renderingChris McDonough
2010-09-28prevent pyflakes complaintsChris McDonough
2010-09-24- The ``repoze.bfg.traversal.traversal_path`` API now eagerly attemptsChris McDonough
to encode a Unicode ``path`` into ASCII before attempting to split it and decode its segments. This is for convenience, effectively to allow a (stored-as-Unicode-in-a-database, or retrieved-as-Unicode-from-a-request-parameter) Unicode path to be passed to ``find_model``, which eventually internally uses the ``traversal_path`` function under the hood. In version 1.2 and prior, if the ``path`` was Unicode, that Unicode was split on slashes and each resulting segment value was Unicode. An inappropriate call to the ``decode()`` method of a resulting Unicode path segment could cause a ``UnicodeDecodeError`` to occur even if the Unicode representation of the path contained no 'high order' characters (it effectively did a "double decode"). By converting the Unicode path argument to ASCII before we attempt to decode and split, genuine errors will occur in a more obvious place while also allowing us to handle (for convenience) the case that it's a Unicode representation formed entirely from ASCII-compatible characters.
2010-09-15prep for 1.3a14Chris McDonough
2010-09-15coverageChris McDonough
2010-09-15FeaturesChris McDonough
-------- - Compatibility with WebOb 1.0. Requirements ------------ - Now requires WebOb >= 1.0. Backwards Incompatibilities --------------------------- - Due to changes introduced WebOb 1.0, the ``repoze.bfg.request.make_request_ascii`` event subscriber no longer works, so it has been removed. This subscriber was meant to be used in a deployment so that code written before BFG 0.7.0 could run unchanged. At this point, such code will need to be rewritten to expect Unicode from ``request.GET``, ``request.POST`` and ``request.params`` or it will need to be changed to use ``request.str_POST``, ``request.str_GET`` and/or ``request.str_params`` instead of the non-``str`` versions of same, as the non-``str`` versions of the same APIs always now perform decoding to Unicode.
2010-09-14gardenChris McDonough
2010-09-14- If an exception view was registered through the legacyChris McDonough
``set_notfound_view`` or ``set_forbidden_view`` APIs, the context sent to the view was incorrect (could be ``None`` inappropriately).
2010-09-14is not NoneChris McDonough
2010-09-14gardeningChris McDonough
2010-09-14prep for 1.3a13Chris McDonough
2010-09-14- The ``add_route`` method of a Configurator now accepts aChris McDonough
``pregenerator`` argument. The pregenerator for the resulting route is called by ``route_url`` in order to adjust the set of arguments passed to it by the user for special purposes, such as Pylons 'subdomain' support. It will influence the URL returned by ``route_url``. See the ``repoze.bfg.interfaces.IRoutePregenerator`` interface for more information.
2010-09-13gardeningChris McDonough
2010-09-13documentation renderingsChris McDonough
2010-09-13glossary nameChris McDonough
2010-09-13- Call response callbacks *after* INewResponse event.Chris McDonough
- Rearrange router logic so that start_response is not called until there is no chance of an exception occurring.
2010-09-13allow callbacks to add other callbacksChris McDonough