summaryrefslogtreecommitdiff
path: root/CHANGES.txt
AgeCommit message (Collapse)Author
2010-12-31note previous changeChris McDonough
2010-12-30stray header lineChris McDonough
2010-12-30- The "view derivation" code is now factored into a set of classes ratherChris McDonough
than a large number of standalone functions (a side effect of the ``view_mapper`` refactoring). - The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` method, which is used by the default view mapper (a side effect of the ``view_mapper`` refactoring). - The object passed as ``renderer`` to the "view deriver" is now an instance of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side effect of ``view_mapper`` refactoring).
2010-12-29Merge remote branch 'refs/remotes/upstream/viewderiver' into ra_view_decorationRob Miller
Conflicts: CHANGES.txt pyramid/config.py
2010-12-29- The (weak) "Converting a CMF Application to Pyramid" tutorial has beenChris McDonough
removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository.
2010-12-28record handler _action_decorator classmethod supportRob Miller
2010-12-28Recorded description of last change and added self to contributors list.Rob Miller
2010-12-28- The ``proutes`` command tried too hard to resolve the view for printing,Chris McDonough
resulting in exceptions when an exceptional root factory was encountered. Instead of trying to resolve the view, if it cannot, it will now just print ``<unknown>``.
2010-12-28back to developmentChris McDonough
2010-12-27Prep for 1.0a8.Chris McDonough
2010-12-27- Add ``paster proute`` command which displays a summary of the routingChris McDonough
table. See the narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes". - Added narrative documentation section within the "URL Dispatch" chapter entitled "Displaying All Application Routes" (for ``paster proutes`` command).
2010-12-26- Merge "Static Assets" chapter into the "Assets" chapter.Chris McDonough
2010-12-26- Move ZCML usage in Hooks chapter to Declarative Configuration chapter.Chris McDonough
2010-12-25- Prevent misunderstanding of how the ``view`` and ``view_permission``Chris McDonough
arguments to add_route work by raising an exception during configuration if view-related arguments exist but no ``view`` argument is passed.
2010-12-24- Changed "Static Assets" narrative chapter: clarify that ``name`` representsChris McDonough
a prefix unless it's a URL, added an example of a root-relative static view fallback for URL dispatch, added an example of creating a simple view that returns the body of a file.
2010-12-24note timtowtiChris McDonough
2010-12-24- Added "Advanced Configuration" narrative chapter which documents how toChris McDonough
deal with configuration conflicts, two-phase configuration, ``include`` and ``commit``.
2010-12-24- Fix API documentation rendering for ``pyramid.view.static``Chris McDonough
2010-12-23- The name ``registry`` was not available in the ``paster pshell``Chris McDonough
environment under IPython.
2010-12-22- The ``pyramid_zodb`` Paster template no longer employs ZCML. Instead, itChris McDonough
is based on scanning. - Changed the "ZODB + Traversal Wiki Tutorial" based on changes to ``pyramid_zodb`` Paster template.
2010-12-22- Added CSRF token generation, as described in the narrative chapter entitledChris McDonough
"Preventing Cross-Site Request Forgery Attacks".
2010-12-22- Added flash messaging, as described in the "Flash Messaging" narrativeChris McDonough
documentation chapter.
2010-12-21- Added "Finding the Root Resource" to Resources narrative chapter.Chris McDonough
- Added "Finding a Resource With a Class or Interface in Lineage" to Resources narrative chapter.
2010-12-20- Added "Obtaining the Lineage of a Resource" to the Resources narrativeChris McDonough
chapter. - Added "Determining if a Resource is In The Lineage of Another Resource" to Resources narrative chapter.
2010-12-20FeaturesChris McDonough
-------- - If a resource implements a ``__resource_url__`` method, it will be called as the result of invoking the ``pyramid.url.resource_url`` function to generate a URL, overriding the default logic. See the new "Generating The URL Of A Resource" section within the Resources narrative chapter. Documentation ------------- - Added "Generating The URL Of A Resource" section to the Resources narrative chapter (includes information about overriding URL generation using ``__resource_url__``). - Added "Generating the Path To a Resource" section to the Resources narrative chapter. - Added "Finding a Resource by Path" section to the Resources narrative chapter.
2010-12-20back to developmentChris McDonough
2010-12-20prep for 1.0a7Chris McDonough
2010-12-20BFG_ -> PYRAMID_Jamaludin Ahmad
2010-12-19- Split off "Renderers" as its own chapter from "Views" chapter in narrativeChris McDonough
documentation.
2010-12-19rearrangeChris McDonough
2010-12-19add functional testing exampleChris McDonough
2010-12-19- All environment variables which used to be prefixed with ``BFG_`` are nowChris McDonough
prefixed with ``PYRAMID_`` (e.g. ``BFG_DEBUG_NOTFOUND`` is now ``PYRAMID_DEBUG_NOTFOUND``)
2010-12-19- When a configuration conflict is encountered during scanning, the conflictChris McDonough
exception now shows the decorator information that caused the conflict. - Depend on Venusian >= 0.5 (for scanning conflict exception decoration).
2010-12-18resource/asset normalizationChris McDonough
2010-12-18spacing, noteChris McDonough
2010-12-18spacingChris McDonough
2010-12-18summarize asset/resource/model changesChris McDonough
2010-12-16- Direct Jython users to Mako rather than Jinja2 in "Install" narrativeChris McDonough
chapter.
2010-12-16- The name ``registry`` is now available in a ``pshell`` environment byChris McDonough
default. It is the application registry object. - Changed "Project" chapter slightly to expand on use of ``paster pshell``.
2010-12-16mention paster templatesChris McDonough
2010-12-16FeaturesChris McDonough
-------- - Added ``debug_routematch`` configuration setting that logs matched routes (including the matchdict and predicates). Documentation ------------- - Added "Debugging Route Matching" section to the urldispatch narrative documentation chapter. - Added reference to ``BFG_DEBUG_ROUTEMATCH`` envvar and ``debug_routematch`` config file setting to the Environment narrative docs chapter.
2010-12-16Added debug_matched configuration setting.Joachim Krebs
2010-12-15note work done to make nosetests passChris McDonough
2010-12-15back to developmentChris McDonough
2010-12-15prep for 1.0a6Chris McDonough
2010-12-15- Fix reference to ``repoze.bfg.traversalwrapper`` in "Models" chapter (pointChris McDonough
at ``pyramid_traversalwrapper`` instead).
2010-12-15- If you followed it to-the-letter, the ZODB+Traversal Wiki tutorial wouldChris McDonough
instruct you to run a test which would fail because the view callable generated by the ``pyramid_zodb`` tutorial used a one-arg view callable, but the test in the sample code used a two-arg call. - Updated ZODB+Traversal tutorial setup.py of all steps to match what's generated by ``pyramid_zodb``.
2010-12-15- Tests now pass on Windows (no bugs found, but a few tests in the test suiteChris McDonough
assumed UNIX path segments in filenames).
2010-12-15gardeningChris McDonough
2010-12-15more specificityChris McDonough