summaryrefslogtreecommitdiff
path: root/repoze/bfg/sampleapp
AgeCommit message (Collapse)Author
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-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-07-31 - Add event sends for INewRequest and INewResponse. See theChris McDonough
events.rst chapter in the documentation's ``api`` directory.
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-16Add convenience has_permission function.Chris McDonough
2008-07-16Add security.Chris McDonough
2008-07-14Fix.Chris McDonough
2008-07-14Really allow views to be functions.Chris McDonough
2008-07-14Make sample app work.Chris McDonough
2008-07-14Render templates explicitly in views.Chris McDonough
2008-07-14And, just to maximally confuse Paul, come full circle, and don't require ↵Chris McDonough
that the template be spelled on the class, while still allowing us to pickle the registry actions.
2008-07-14Less magical templated view model: make custom template views responsible for Chris McDonough
knowing their template's name.
2008-07-12Missed a template.Chris McDonough
2008-07-12Use a djangoesque layout and naming scheme.Chris McDonough
2008-07-12Make make_app available from repoze.bfg directlyChris McDonough
2008-07-12Remove unused import.Chris McDonough
2008-07-09Provide a policy for doing redirects.Chris McDonough
2008-07-08Fix a thinko in metaconfigure.Chris McDonough
Allow blog entries to be created.
2008-07-08Reuse the same PageTemplateFile for all requests to the same view.Chris McDonough
2008-07-08Redirect on default view if name doesn't end with slash.Chris McDonough
Rejigger sample app, adding more templates.
2008-07-08Call it TemplateView.Chris McDonough
2008-07-08It's BrowserView.Chris McDonough
2008-07-08Add a browser:page directive type and make our sample app use it.Chris McDonough
2008-07-07Depend on z3c.pt.Chris McDonough
Use ZCML to configure applications.
2008-07-07Clean up mapply a little.Chris McDonough
2008-07-07Dont recreate the root on every request.Chris McDonough
2008-07-07DRY.Chris McDonough
2008-07-07Add a sample app.Chris McDonough