summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-19- Each of the ``repoze.bfg.view.render_view``,Chris McDonough
``repoze.bfg.view.render_view_to_iterable``, ``repoze.bfg.view.render_view_to_response``, ``repoze.bfg.view.append_slash_notfound_view``, ``repoze.bfg.view.default_notfound_view``, ``repoze.bfg.view.default_forbidden_view``, and the ``repoze.bfg.configuration.rendered_response`` functions now expects to be called with a request object that has a ``registry`` attribute which represents the current ZCA registry. This should only be a problem when passing a custom request object to code which ends up calling these functions in a unit test. To retrofit tests that end up calling these functions which expect to be able to use a non-registry-aware request object, use the ``repoze.bfg.threadlocal.get_current_request`` API in the test to create the request; this will return a ``repoze.bfg.testing.DummyRequest`` that has the current registry as its ``registry`` attribute. Alternatively, use the ``repoze.bfg.threadlocal.get_current_registry`` API: call this function and add an attribute to your unit test request object named ``registry`` with the result. - The ``repoze.bfg.view.derive_view`` callable has been removed. Use ``repoze.bfg.configuration.Configurator.derive_view`` instead (still not an API, however).
2009-11-19Reword notfound and forbidden view handlers.Chris McDonough
2009-11-19Typo.Chris McDonough
2009-11-19- The ACL authorization policy debugging output whenChris McDonough
``debug_authorization`` consule debugging output was turned on wasn't as clear as it could have been when a view execution was denied due to an authorization failure resulting from the set of principals passed never having matched any ACE in any ACL in the lineage. Now in this case, we report ``<default deny>`` as the ACE value and either the root ACL or ``<No ACL found on any object in model lineage>`` if no ACL was found.
2009-11-19Call order.Chris McDonough
2009-11-19Fix links.Chris McDonough
2009-11-19Namespace packaging.Chris McDonough
2009-11-19Add configurator static tests.Chris McDonough
2009-11-19Test make_wsgi_app.Chris McDonough
2009-11-19- The ``repoze.bfg.view.rendered_response`` function has been moved toChris McDonough
``repoze.bfg.configuration.rendered_response``. - The ``repoze.bfg.view.decorate_view`` function has been moved to ``repoze.bfg.configuration.decorate_view``. - The ``repoze.bfg.view.MultiView`` class has been moved to ``repoze.bfg.configuration.MultiView``. - Fix argument ordering bug in r.b.configuration.Configurator.resource.
2009-11-19Rearrange things to try to avoid circular import deps.Chris McDonough
2009-11-19Get rid of get_options.Chris McDonough
Shuffle Configurator around so that not passing a registry makes a default one.
2009-11-19Foo.Chris McDonough
2009-11-19Checkpoint: move most zcml route and view directive tests to test_configuration.Chris McDonough
2009-11-18CoverageChris McDonough
2009-11-18Another topic.Chris McDonough
2009-11-18- The ``repoze.bfg.registry.make_registry`` callable has been removed.Chris McDonough
- The ``repoze.bfg.view.map_view`` callable has been removed. - The ``repoze.bfg.view.owrap_view`` callable has been removed. - The ``repoze.bfg.view.predicate_wrap`` callable has been removed. - The ``repoze.bfg.view.secure_view`` callable has been removed. - The ``repoze.bfg.view.authdebug_view`` callable has been removed. - The ``repoze.bfg.view.renderer_from_name`` callable has been removed. - Coverage.
2009-11-17NSFW name.Chris McDonough
2009-11-17If match is not None.Chris McDonough
Muck around with Configurator constructor.
2009-11-17Move configuration methods into Configurator.Chris McDonough
2009-11-16Test fix.Chris McDonough
2009-11-16Failing one test.Chris McDonough
2009-11-16Merge imperativeconfig branch.Chris McDonough
2009-11-16Prep for 1.1 final release.Chris McDonough
2009-11-15Note.Chris McDonough
2009-11-15Dead code.Chris McDonough
2009-11-15(no commit message)Chris McDonough
2009-11-15They can ignore it.Chris McDonough
2009-11-14Meh.Chris McDonough
2009-11-14Get sample right.Chris McDonough
2009-11-14Wording edits.Chris McDonough
2009-11-14Trivial.Chris McDonough
2009-11-14Murg.Chris McDonough
2009-11-14Muh.Chris McDonough
2009-11-14Dependencies, extending mods.Chris McDonough
2009-11-14Get Ks right.Chris McDonough
2009-11-14Don't show subinfo.Chris McDonough
2009-11-14Speling.Chris McDonough
2009-11-14Spellcheck.Chris McDonough
2009-11-14- Improve the "Extending an Existing Application" narrative chapter.Chris McDonough
2009-11-14Don't preordain.Chris McDonough
2009-11-14Extensibility.Chris McDonough
2009-11-14Moo.Chris McDonough
2009-11-14Wording.Chris McDonough
2009-11-14Murg.Chris McDonough
2009-11-14XML.Chris McDonough
2009-11-14repoze.bfg vs. repozeChris McDonough
2009-11-13MVC.Chris McDonough
2009-11-13Untrue.Chris McDonough
2009-11-13Cheating.Chris McDonough