summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-01Use only useful stuff.Chris McDonough
2009-06-01Keep useful stuff.Chris McDonough
2009-06-01Only keep useful stuff.Chris McDonough
2009-06-01Use package name.Chris McDonough
2009-05-31Get rid of factory.Chris McDonough
2009-05-31Add a setup.cfg that includes coverage info.Chris McDonough
2009-05-31- The ``bfg_routesalchemy`` paster template now provides a unit testChris McDonough
and actually uses the database during a view rendering.
2009-05-31Make a copy of the tutorial for Routes+SQLAlchemy.Chris McDonough
2009-05-31Description.Chris McDonough
2009-05-31(no commit message)Chris McDonough
2009-05-31- The ``route`` ZCML directive now accepts ``request_type`` as anChris McDonough
alias for its ``condition_method`` argument for symmetry with the ``view`` directive.
2009-05-31(no commit message)Chris McDonough
2009-05-31Test string request type in bfg_view decorators.Chris McDonough
2009-05-31(no commit message)Chris McDonough
2009-05-31- The ``request_type`` argument of ZCML ``view`` declarations andChris McDonough
``bfg_view`` decorators can now be one of the strings ``GET``, ``POST``, ``PUT``, ``DELETE``, or ``HEAD`` instead of a reference to the respective interface type imported from ``repoze.bfg.interfaces``.
2009-05-31GAE.Chris McDonough
2009-05-31Note bfgwiki change.Chris McDonough
2009-05-31(no commit message)Chris McDonough
2009-05-31Never use the login view URL as the came_from.Chris McDonough
2009-05-31- Remove ``repoze.bfg.wsgi.HTTPException``,Chris McDonough
``repoze.bfg.wsgi.NotFound``, and ``repoze.bfg.wsgi.Unauthorized``. These classes were disused with the introduction of the ``IUnauthorizedView`` and ``INotFoundView`` machinery.
2009-05-31- Remove ``repoze.bfg.threadlocal.setManager``. It was only used inChris McDonough
unit tests.
2009-05-31- Add description to narrative templating chapter about how to useChris McDonough
Chameleon text templates.
2009-05-31Side effects.Chris McDonough
2009-05-31Prep for 0.9a8.Chris McDonough
2009-05-31- The error presented when a view invoked by the router returns aChris McDonough
non-response object now includes the view's name for troubleshooting purposes. - A "new response" event is emitted for forbiden and notfound views.
2009-05-31(no commit message)Chris McDonough
2009-05-31(no commit message)Chris McDonough
2009-05-31FeaturesChris McDonough
-------- - It is now possible to register a custom ``repoze.bfg.interfaces.INotFoundView`` for a given application. This feature replaces the ``repoze.bfg.interfaces.INotFoundAppFactory`` feature previously described in the Hooks chapter. The INotFoundView will be called when the framework detects that a view lookup done as a result of a reqest fails; it should accept a context object and a request object; it should return an IResponse object (a webob response, basically). See the Hooks narrative chapter of the BFG docs for more info. Deprecations ------------ - The ``repoze.bfg.interfaces.IUnauthorizedAppFactory`` interface has been deprecated in favor of using the new ``repoze.bfg.interfaces.IForbiddenResponseFactory`` mechanism.
2009-05-31- Renamed ``repoze.bfg.interfaces.IForbiddenResponseFactory`` toChris McDonough
``repoze.bfg.interfaces.IForbiddenView``.
2009-05-30Prep for 0.9a7.Chris McDonough
2009-05-30Version.Chris McDonough
2009-05-30Docs.Chris McDonough
2009-05-30- Remove "context" argument from ``effective_principals`` andChris McDonough
``authenticated_userid`` function APIs in ``repoze.bfg.security``, effectively a doing reversion to 0.8 and before behavior. Both functions now again accept only the ``request`` parameter.
2009-05-30Docs renderings. Prep for 0.9a6.Chris McDonough
2009-05-30(no commit message)Chris McDonough
2009-05-30Modify tutorial for a6.Chris McDonough
2009-05-30Docs renderings.Chris McDonough
2009-05-30- Add an AuthTktAuthenticationPolicy. This policy retrievesChris McDonough
credentials from an auth_tkt cookie managed by the application itself (instead of relying on an upstream data source for authentication data). See the Security API chapter of the documentation for more info. - Allow RemoteUserAuthenticationPolicy and RepozeWho1AuthenticationPolicy to accept various constructor arguments. See the Security API chapter of the documentation for more info.
2009-05-29New nosetests output.Chris McDonough
2009-05-28Docs for Windows people, add paster to index.Chris McDonough
2009-05-28Ignore the .py files the next chameleon emits.Chris McDonough
2009-05-28Prep for a5.Chris McDonough
2009-05-28- Add a ``get_app`` API functions to the ``paster`` module. ThisChris McDonough
obtains a WSGI application from a config file given a config file name and a section name. See the ``repoze.bfg.paster`` API docs for more information. - Add a new module named ``scripting``. It contains a ``get_root`` API function, which, provided a Router instance, returns a traversal root object and a "closer". See the ``repoze.bfg.scripting`` API docs for more info.
2009-05-28- Try checking for an "old style" security policy *after* we parseChris McDonough
ZCML (thinko).
2009-05-28Prep for a3.Chris McDonough
2009-05-27(no commit message)Chris McDonough
2009-05-27- Removed backwards compatibility alias forChris McDonough
``repoze.bfg.interfaces.IRootPolicy`` (deprecated since 0.6.2). It must be imported as ``repoze.bfg.interfaces.IRootFactory`` now. - Removed backwards compatibility alias for ``repoze.bfg.interfaces.ITemplate`` (deprecated since 0.4.4). It must be imported as ``repoze.bfg.interfaces.ITemplateRenderer`` now. - Removed backwards compatibility alias for ``repoze.bfg.interfaces.ITemplateFactory`` (deprecated since 0.4.4). It must be imported as ``repoze.bfg.interfaces.ITemplateRendererFactory`` now. - Removed backwards compatibility alias for ``repoze.bfg.chameleon_zpt.ZPTTemplateFactory`` (deprecated since 0.4.4). This must be imported as ``repoze.bfg.ZPTTemplateRenderer`` now.
2009-05-27Unused import.Chris McDonough
2009-05-27- Allow IAuthenticationPolicy and IAuthorizationPolicy to beChris McDonough
overridden via ZCML registrations (do ZCML parsing after registering these in router.py).
2009-05-27- Added deprecations for imports of ``ACLSecurityPolicy``,Chris McDonough
``InheritingACLSecurityPolicy``, ``RemoteUserACLSecurityPolicy``, ``RemoteUserInheritingACLSecurityPolicy``, ``WhoACLSecurityPolicy``, and ``WhoInheritingACLSecurityPolicy`` from the ``repoze.bfg.security`` module; for the meantime (for backwards compatibility purposes) these live in the ``repoze.bfg.secpols`` module. Note however, that the entire concept of a "security policy" is deprecated in BFG in favor of separate authentication and authorization policies, so any use of a security policy will generate additional deprecation warnings even if you do start using ``repoze.bfg.secpols``. ``repoze.bfg.secpols`` will disappear in a future release of ``repoze.bfg``.