summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Normalize code blocks.Chris McDonough
2009-12-25Make latex/pdf output work better.Chris McDonough
2009-12-24- Document the previously existing (but non-API)Chris McDonough
``repoze.bfg.configuration.Configurator.setup_registry`` method as an official API of a ``Configurator``.
2009-12-24Prep for 1.2a8.Chris McDonough
2009-12-24Rendering.Chris McDonough
2009-12-24Roles and refresh.Chris McDonough
2009-12-24Roles, refresh.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-24Imperative and roles.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-24Roles.Chris McDonough
2009-12-23Thread locals chapter roles.Chris McDonough
2009-12-23Roles.Chris McDonough
Explain use of renderers (somewhat redundantly) in the templates chapter.
2009-12-23- Add ``hook_zca`` and ``unhook_zca`` methods to the ``Configurator``Chris McDonough
API. - Add roles to configurator API docs.
2009-12-23- Added the ``repoze.bfg.authentication``,Chris McDonough
``repoze.bfg.authorization``, and ``repoze.bfg.interfaces`` modules to API documentation.
2009-12-23Roles and imperative documentation for security policy config.Chris McDonough
2009-12-23Roles.Chris McDonough
2009-12-23(no commit message)Chris McDonough
2009-12-23Not role.Chris McDonough
2009-12-23Roles.Chris McDonough
Add description of override_resource.
2009-12-22Roles.Chris McDonough
2009-12-22Roles.Chris McDonough
2009-12-22Roles.Chris McDonough
2009-12-22Roles.Chris McDonough
2009-12-22Use roles.Chris McDonough
2009-12-22Use roles.Chris McDonough
2009-12-22Use roles.Chris McDonough
2009-12-22Use :meth:, :func:, and :class: appropriately for configuration-related docs.Chris McDonough
2009-12-21Use renderer.Chris McDonough
2009-12-20Prep for 1.2a7.Chris McDonough
2009-12-20Document presence of the registry attribute.Chris McDonough
2009-12-20Get rid of add_adapter and add_utility APIs (config.registry.registerAdapter ↵Chris McDonough
and config.registry.registerUtility will work).
2009-12-20Fix tutorial as per bug noticed by Neill Cox.Chris McDonough
2009-12-20H.Chris McDonough
2009-12-19Revise unittesting documentation to use new configurator APIs.Chris McDonough
2009-12-19- Add four new testing-related APIs to theChris McDonough
``repoze.bfg.configuration.Configurator`` class: ``testing_securitypolicy``, ``testing_models``, ``testing_add_subscriber``, and ``testing_add_template``. These were added in order to provide more direct access to the functionality of the ``repoze.bfg.testing`` APIs named ``registerDummySecurityPolicy``, ``registerModels``, ``registerEventListener``, and ``registerTemplateRenderer`` when a configurator is used. The ``testing`` APIs named are nominally deprecated (although they will likely remain around "forever", as they are in heavy use in the wild). - Doc-deprecated most helper functions in the ``repoze.bfg.testing`` module. These helper functions likely won't be removed any time soon, nor will they generate a warning any time soon, due to their heavy use in the wild, but equivalent behavior exists in methods of a Configurator.
2009-12-19- Add a new API to the ``repoze.bfg.configuration.Configurator``Chris McDonough
class: ``add_settings``. This API can be used to add "settings" (information returned within via the ``repoze.bfg.settings.get_settings`` API) after the configurator has been initially set up. This is most useful for testing purposes.
2009-12-19- Add two new APIs to the ``repoze.bfg.configuration.Configurator``Chris McDonough
class: ``add_adapter`` and ``add_utility``. These, respectively, perform the same functions as the ``registerAdapter`` and ``registerUtility`` functions of a ZCA registry. They were added to allow for a more consistent testing API for applications that make use of the ZCA directly. - Cause the ``adapter``, ``utility``, and ``subscriber`` ZCML directives to use a ``Configurator`` instance and associated configurator APIs rather than a ZCA registry directly.
2009-12-19Wording.Chris McDonough
2009-12-19Wording.Chris McDonough
2009-12-19More docs.Chris McDonough
2009-12-19- Add a ``custom_predicates`` argument to the ``Configurator``Chris McDonough
``add_view`` method, the ``bfg_view`` decorator and the attribute list of the ZCML ``view`` directive. If ``custom_predicates`` is specified, it must be a sequence of predicate callables (a predicate callable accepts two arguments: ``context`` and ``request`` and returns ``True`` or ``False``). The associated view callable will only be invoked if all custom predicates return ``True``. Use one or more custom predicates when no existing predefined predicate is useful. Predefined and custom predicates can be mixed freely. - Add a ``custom_predicates`` argument to the ``Configurator`` ``add_route`` and the attribute list of the ZCML ``route`` directive. If ``custom_predicates`` is specified, it must be a sequence of predicate callables (a predicate callable accepts two arguments: ``context`` and ``request`` and returns ``True`` or ``False``). The associated route will match will only be invoked if all custom predicates return ``True``, else route matching continues. Use one or more custom predicates when no existing predefined predicate is useful. Predefined and custom predicates can be mixed freely.
2009-12-18Prep for 1.2a6.Chris McDonough