summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-17(no commit message)Chris McDonough
2009-01-17Fix.Chris McDonough
2009-01-17(no commit message)Chris McDonough
2009-01-17Security policy documentation.Chris McDonough
2009-01-17Update docs with new default project stuff.Chris McDonough
2009-01-17Note changes.Chris McDonough
2009-01-17- The ``bfg_starter`` and ``bfg_zodb`` "paster create" templates nowChris McDonough
contain images and CSS which are displayed when the default page is displayed after initial project generation.
2009-01-17- Allow the ``repoze.bfg.view.static`` helper to be passed a relativeChris McDonough
``root_path`` name; it will be considered relative to the file in which it was called.
2009-01-17(no commit message)Chris McDonough
2009-01-17More.Chris McDonough
2009-01-17Bring up to date.Chris McDonough
2009-01-17Up to date.Chris McDonough
2009-01-17Bring up to date.Chris McDonough
2009-01-17Get header right.Chris McDonough
2009-01-16Update tag lines.Chris McDonough
2009-01-16- Add a section on "Using BFG Security With URL Dispatch" into theChris McDonough
urldispatch chapter of the documentation. Clean up "BFG" vernacular (replace with repoze.bfg).
2009-01-16Do alsoProvides instead of directlyProvides in case the request factoryChris McDonough
uses directlyProvides.
2009-01-16Updated test results.Chris McDonough
2009-01-16Document ``bfg_view``.Chris McDonough
2009-01-16(no commit message)Chris McDonough
2009-01-16Note the readdition of ``root_policy``.Chris McDonough
2009-01-16Remove now-useless class-level defaults.Chris McDonough
2009-01-16Typo.Chris McDonough
2009-01-16- The ``repoze.bfg.view.static`` helper now usesChris McDonough
``webob.Request.get_response`` to do its work rather than relying on howgrown WSGI code.
2009-01-16FeaturesChris McDonough
-------- - The functionality of ``repoze.bfg.convention`` has been merged into the core. Applications which make use of ``repoze.bfg.convention`` will continue to work indefinitely, but it is recommended that apps stop depending upon it. To do so, substitute imports of ``repoze.bfg.convention.bfg_view`` with imports of ``repoze.bfg.view.bfg_view``, and change the stanza in ZCML from ``<convention package=".">`` to ``<grok package=".">``. As a result of the merge, bfg has grown a new dependency: ``martian``. - View functions which use the pushpage decorator are now pickleable (meaning their use won't prevent a ``configure.zcml.cache`` file from being written to disk). Implementation Changes ---------------------- - The ``wsgiapp`` decorator now uses ``webob.Request.get_response`` to do its work rather than relying on howgrown WSGI code.
2009-01-15Add "its tested" section.Chris McDonough
2009-01-15Add dead chickens to suppress spurious coverage output.Chris McDonough
2009-01-15Get rid of PlacelessSetup.Chris McDonough
2009-01-15Get rid of _getFUT.Chris McDonough
2009-01-15Get rid of _getFUT.Chris McDonough
2009-01-15Get rid of _getFUT.Chris McDonough
2009-01-15Get rid of _getFUT.Chris McDonough
2009-01-15Remove more unused stuff.Chris McDonough
2009-01-15Clean up unused stuff.Chris McDonough
2009-01-15Unfix interfaces (thanks Tres).Chris McDonough
2009-01-15Fix interfaces.Chris McDonough
2009-01-15Test coverage.Chris McDonough
2009-01-15- Instead of invariably using ``webob.Request`` as the "requestChris McDonough
factory" (e.g. in the ``Router`` class) and ``webob.Response`` and the "response factory" (e.g. in ``render_template_to_response``), allow both to be overridden via a ZCML utility hook. See the "Using ZCML Hooks" chapter of the documentation for more information.
2009-01-13Prep for 0.6.2.Chris McDonough
2009-01-12Ignore .coverage.Chris McDonough
2009-01-12- An interface specific to the HTTP verb (GET/PUT/POST/DELETE/HEAD) isChris McDonough
attached to each request object on ingress. The HTTP-verb-related interfaces are defined in ``repoze.bfg.interfaces`` and are ``IGETRequest``, ``IPOSTRequest``, ``IPUTRequest``, ``IDELETERequest`` and ``IHEADRequest``. These interfaces can be specified as the ``request_type`` attribute of a bfg view declaration. A view naming a specific HTTP-verb-matching interface will be found only if the view is defined with a request_type that matches the HTTP verb in the incoming request. The more general ``IRequest`` interface can be used as the request_type to catch all requests (and this is indeed the default). All requests implement ``IRequest``. The HTTP-verb-matching idea was pioneered by `repoze.bfg.restrequest <http://pypi.python.org/pypi/repoze.bfg.restrequest/1.0.1>`_ . That package is no longer required, but still functions fine.
2009-01-12Only pop the registry stack if we've pushed on to it in makeRegistry.Chris McDonough
2009-01-12- Make the (internal) thread local registry manager maintain a stackChris McDonough
of registries in order to make it possible to call one BFG application from inside another.
2009-01-11Better docstrings.Chris McDonough
2009-01-11Unused import.Chris McDonough
2009-01-11Better coverage.Chris McDonough
2009-01-11Tweaks.Chris McDonough
2009-01-11- Improve test coverage.Chris McDonough
- Remove old cold which attempts to recover from trying to unpickle a ``z3c.pt`` template; Chameleon has been the templating engine for a good long time now. Running repoze.bfg against a sandbox that has pickled ``z3c.pt`` templates it will now just fail with an unpickling error, but can be fixed by deleting the template cache files.
2009-01-11Make clearer what ``name`` means within the __call__ method.Chris McDonough
2009-01-11- Tests can be run with coverage output if you've got ``nose``Chris McDonough
installed in the interpreter which you use to run tests. Using an interpreter with ``nose`` installed, do ``python setup.py nosetests`` within a checkout of the ``repoze.bfg`` package to see test coverage output.