summaryrefslogtreecommitdiff
path: root/CHANGES.txt
AgeCommit message (Collapse)Author
2008-09-01Prep for 0.3.5.Chris McDonough
2008-09-01Add render_view function.Chris McDonough
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-29Updated changes.Malthe Borch
2008-08-29Prep for 0.3.4.Chris McDonough
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-24Sigh.Chris McDonough
2008-08-24Prep for 0.3.2.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-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-20Prep for 0.3.1.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-16Prep for 0.3.0.Chris McDonough
2008-08-12Fix ITraverserFactory lookup; release 0.2.9.Chris McDonough
2008-08-110.2.8.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-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-27Release 0.2.4.Chris McDonough
2008-07-22Add url-based dispatch.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(no commit message)Chris McDonough
2008-07-20 - Add find_interface API.Chris McDonough
2008-07-20(no commit message)Chris McDonough
2008-07-19Add wsgiapp decorator.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-16Make a note about XSLT support.Paul Everitt
2008-07-16(no commit message)Chris McDonough
2008-07-16Yes we did release 0.1.Chris McDonough
2008-07-16We haven't yet released 0.1.Chris McDonough
2008-07-16Added 'repoze.bfg.push:pushpage' decoratorTres Seaver
o Creates BFG views from callables which take (context, request) and return a mapping of top-level names.
2008-07-04Start on bfg.Chris McDonough