summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2010-12-22Changed my mind. Never pop the CSRF token. Leave it around untilChris McDonough
a new one replaces it.
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-22change flash API as per email convo with Ben and MikeChris McDonough
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-19add functional testing exampleChris McDonough
2010-12-19missed argsChris 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-19Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
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-19typo fixesJamaludin Ahmad
2010-12-18Merge branch 'model2resource'Chris McDonough
Conflicts: docs/narr/views.rst
2010-12-18resource/asset normalizationChris McDonough
2010-12-18model->resource; make docs render without warningsChris McDonough
2010-12-18spacing, noteChris McDonough
2010-12-18resource -> assetChris McDonough
2010-12-18resource -> assetChris McDonough
2010-12-18resource -> assetChris McDonough
2010-12-18model -> resourceChris McDonough
2010-12-18model -> resource; resource -> assetChris McDonough
2010-12-17routes -> url dispatchChris McDonough
2010-12-16get rid of a autodoc warning when building sphinx docsChris McDonough
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-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-16Moved test_static import to function scopes.Joachim Krebs
2010-12-16Added debug_matched configuration setting.Joachim Krebs
2010-12-15move imports to function scope (see ↵Chris McDonough
http://docs.pylonshq.com/community/testing.html#guideline-minimize-module-scope-dependencies)
2010-12-16Fixed relative path test for Mako templates, enabling non-setup.py test runners.Joachim Krebs
2010-12-15Merge branch 'master' of https://github.com/jkrebs/pyramid into jkrebs-masterChris McDonough
2010-12-15Made static tests pass on Windows.Joachim Krebs
2010-12-15- 1.0a5 introduced a bug when ``pyramid.config.Configurator.scan`` was used.Chris McDonough
The symptoms were: lots of deprecation warnings printed to the console about imports of deprecated Pyramid functions and classes and non-detection of views decorated with ``view_config`` decorators. This has now been fixed. Closes #68.
2010-12-14- Fix conflict exceptions so they have the right ``info`` when oneChris McDonough
configuration method is called from another.
2010-12-13- When creating a Configurator from within a ``paster pshell`` session, youChris McDonough
were required to pass a ``package`` argument although ``package`` is not actually required. If you didn't pass ``package``, you would receive an error something like ``KeyError: '__name__'`` emanating from the ``pyramid.path.caller_module`` function. This has now been fixed.
2010-12-09To avoid breaking people's expectations of how ZCML works, weChris McDonough
cannot autocommit ZCML actions incrementally. If we commit actions incrementally, configuration outcome will be controlled purely by ZCML directive execution order, which isn't what anyone who uses ZCML expects. So we don't autocommit each ZCML directive action while parsing is happening, but we do make sure to pass execute=self.autocommit to xmlconfig.file below, which will cause the actions implied by the ZCML that was parsed to be committed right away once parsing is finished if autocommit is True.
2010-12-09fix exampleChris McDonough
2010-12-09docs fixes; simplify include implementationChris McDonough
2010-12-09fix bug in zcml handler directiveChris McDonough
2010-12-09- Add a ``handler`` ZCML directive. This directive does the same thing asChris McDonough
``pyramid.configuration.add_handler``.
2010-12-09Merge branch 'twophase'Chris McDonough
Conflicts: pyramid/configuration.py
2010-12-09docs fixesChris McDonough
2010-12-09fix docs: pyramid.configuration -> pyramid.configChris McDonough
2010-12-09get rid of explicit call to commit in all paster templatesChris McDonough
2010-12-09get rid of config_method decorator; rename _action to actionChris McDonough
2010-12-09use pyramid.config.Configurator instead of pyramid.configuration.ConfiguratorChris McDonough
2010-12-08configuration.Config->config.ConfiguratorChris McDonough
2010-12-08create a context only as necessary (speed)Chris McDonough
2010-12-08deprecate Configurator, add ConfigChris McDonough