summaryrefslogtreecommitdiff
path: root/repoze
AgeCommit message (Collapse)Author
2008-09-01 - New API module: ``repoze.bfg.view``. This module contains the functionsChris McDonough
named ``render_view_to_response``, ``render_view_to_iterable`` and ``is_response``, which are documented in the API docs. These features aid programmatic (non-request-driven) view execution.
2008-08-30Make WSGIApplicationEvent test work again.Chris McDonough
2008-08-29Make WSGIApplicationCreatedEvent workChris McDonough
2008-08-29Rejigger and document wsgi app created event.Chris McDonough
2008-08-29We need to dispatch, not notify.Malthe Borch
2008-08-29Added event notification after WSGI application is created and configured.Malthe Borch
2008-08-29model_path and *backwards incompatible change* removing "make_app" and ↵Chris McDonough
"get_options" from __init__.py of repoze.bfg; use repoze.bfg.router:make_app and repoze.bfg.registry:get_options instead.
2008-08-24Of course.Chris McDonough
2008-08-24 - Remove ``sampleapp`` sample application from bfg package itself.Chris McDonough
- Remove dependency on FormEncode (only needed by sampleapp). - Fix paster template generation so that case-sensitivity is preserved for project vs. package name. - Depend on ``z3c.pt`` version 1.0a1 (which requires the ``[lxml]`` extra currently).
2008-08-23Prevent usage of wsgiapp decorator from foiling actions pickling.Chris McDonough
Add Django attribution, contributors file.
2008-08-23 - Read and write a pickled ZCML actions list, stored asChris McDonough
``configure.zcml.pck`` next to the applications's "normal" configuration file. A given bfg app will usually start faster if it's able to read the pickle data. It fails gracefully to reading the real ZCML file if it cannot read the pickle.
2008-08-20Make seurity policies pickleable again.Chris McDonough
2008-08-18 - Generated application differences: ``make_app`` entry pointChris McDonough
renamed to ``app`` in order to have a different name than the bfg function of the same name, to prevent confusion. - Add "options" processing to bfg's ``make_app`` to support runtime options. A new API function named ``get_options`` was added to the registry module. This function is typically used in an application's ``app`` entry point. The Paste config file section for the app can now supply the ``reload_templates`` option, which, if true, will prevent the need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected. - Use only the module name in generated project's "test_suite" (run all tests found in the package). - Default port for generated apps changed from 5432 to 6543 (Postgres default port is 6543).
2008-08-17 - Add ``<bfg:settings>`` directive. This directive currently allowsChris McDonough
only one attribute: ``reload_templates``. If e.g.:: <bfg:settings reload_templates="true"/> is in your application's ZCML, you will not need to restart the appserver in order for ``z3c.pt`` or XSLT template changes to be detected and displayed.
2008-08-17Add RepozeWhoIdentityACLSecurityPolicy; add debug logging.Chris McDonough
2008-08-16Add "get_template" to template module.Chris McDonough
2008-08-12Fix ITraverserFactory lookup; release 0.2.9.Chris McDonough
2008-08-08find_context_from_path -> find_modelChris McDonough
2008-08-08 - Add ``find_context_from_path`` and ``find_root`` traversal APIs.Chris McDonough
In the process, make ITraverser a uni-adapter (on context) rather than a multiadapter (on context and request).
2008-08-06Fix.Chris McDonough
2008-08-06 - Small url dispatch overhaul: the ``connect`` method of theChris McDonough
``urldispatch.RoutesMapper`` object now accepts a keyword parameter named ``context_factory``. If this parameter is supplied, it must be a callable which returns an instance. This instance is used as the context for the request when a route is matched. - The registration of a RoutesModelTraverser no longer needs to be performed by the application; it's in the bfg ZCML now.
2008-08-04 - Add a ``request_type`` attribute to the available attributes of aChris McDonough
``bfg:view`` configure.zcml element. This attribute will have a value which is a dotted Python path, pointing at an interface. If the request object implements this interface when the view lookup is performed, the appropriate view will be called. - Remove "template only" views. These were just confusing and were never documented.
2008-07-31 - Add event sends for INewRequest and INewResponse. See theChris McDonough
events.rst chapter in the documentation's ``api`` directory.
2008-07-290.2.5: add model_url.Chris McDonough
2008-07-24Docs wrong.Chris McDonough
2008-07-22Add url-based dispatch.Chris McDonough
2008-07-22Fix interface.Chris McDonough
2008-07-22Provide the entire environment to the traverser (in anticipation of having ↵Chris McDonough
e.g. Routes traverser).
2008-07-22NaiveTraverser -> ModelGraphTraverser.Chris McDonough
2008-07-20More docs; fix autogen app model root creation.Chris McDonough
2008-07-20 - Add API functions for authenticated_userid and effective_principals.Chris McDonough
2008-07-20 - Add authenticated_userid and effective_principals API to securityChris McDonough
policy.
2008-07-20 - Add find_interface API.Chris McDonough
2008-07-19Add wsgiapp decorator.Chris McDonough
2008-07-19Indicate how to run tests.Chris McDonough
2008-07-19Document project creation.Chris McDonough
2008-07-19Yup.Chris McDonough
2008-07-19Bug.Chris McDonough
2008-07-19Whoops.Chris McDonough
2008-07-19It runs.Chris McDonough
2008-07-19Yup.Chris McDonough
2008-07-19Add a paster template.Chris McDonough
2008-07-19 - The concept of "view factories" was removed in favor of alwaysChris McDonough
calling a view, which is a callable that returns a response directly (as opposed to returning a view). As a result, the ``factory`` attribute in the bfg:view ZCML statement has been renamed to ``view``. Various interface names were changed also. - ``render_template`` and ``render_transform`` no longer return a Response object. Instead, these return strings. The old behavior can be obtained by using ``render_template_to_response`` and ``render_transform_to_response``.
2008-07-18Using Chris's help, changed signature of interface to support what the XSLT ↵Paul Everitt
processors expects. Fixed tests to assert that interface.
2008-07-17Be consistent about naming given docs.Chris McDonough
2008-07-17Yes we do.Chris McDonough
2008-07-16Clear registry at test teardown time to prevent test failures that are order ↵Chris McDonough
dependent.
2008-07-16Sigh.Chris McDonough
2008-07-16Handle missing zope.hookable more gracefully.Chris McDonough
2008-07-16Doc tweaks.Chris McDonough