summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-18- Pyramid no longer eagerly commits some default configuration statements atChris McDonough
Configurator construction time, which permits values passed in as constructor arguments (e.g. ``authentication_policy`` and ``authorization_policy``) to override the same settings obtained via an "include".
2011-08-18Merge branch 'SpotOn-master'Chris McDonough
2011-08-18use __name__ unless it doesnt exist; then just use viewChris McDonough
2011-08-18Merge https://github.com/SpotOn/pyramid into SpotOn-masterChris McDonough
2011-08-18gardenChris McDonough
2011-08-18View authorization and predicate mismatch exceptions have prettier messagesmLewisLogic
2011-08-18first cutChris McDonough
2011-08-171.1 bw compat: dont choke trying to preserve view attrs if the view is NoneChris McDonough
2011-08-16provide a default for route_prefix to PyramidConfigurationMachine (for zcml ↵Chris McDonough
directives that dont call _makeContext)
2011-08-16Garden.Chris McDonough
2011-08-16Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-08-16Merge pull request #252 from mmerickel/feature.pshell-setupChris McDonough
Feature.pshell setup
2011-08-16Added some docs for the new 'setup' option key in [pshell].Michael Merickel
2011-08-16Added an initialization callable to pshell.Michael Merickel
Modified the use_script idea into a callable called 'setup', which expects the API: def setup(env): env['a'] = 1
2011-08-16with_context requires that the route_prefix param be a passthrough even when ↵Chris McDonough
class is old configurator
2011-08-16Added tests for module without __all__.Michael Merickel
2011-08-16Minor change to help output.Michael Merickel
2011-08-16Added support for --import option to pshell.Michael Merickel
2011-08-16Added support for 'import' key in [pshell] ini section.Michael Merickel
2011-08-16minor Configurator constructor cleanups and reordering; start coming up with ↵Chris McDonough
a plan to make the constructor sane
2011-08-15misc cleanupsChris McDonough
2011-08-15move config tests back to top-level tests dir (setup.py test cant cope)Chris McDonough
2011-08-15appease setup.py testChris McDonough
2011-08-15- Refactor ``pyramid.config`` into a package.Chris McDonough
2011-08-15gardenChris McDonough
2011-08-15remove temp debugging codeChris McDonough
2011-08-15- New methods of the ``pyramid.config.Configurator`` class:Chris McDonough
``set_authentication_policy`` and ``set_authorization_policy``. These are meant to be consumed mostly by add-on authors.
2011-08-14- The ZODB wiki tutorial now uses the ``pyramid_zodbconn`` package ratherChris McDonough
than the ``repoze.zodbconn`` package to provide ZODB integration. - The ZODB scaffold now uses the ``pyramid_zodbconn`` package rather than the ``repoze.zodbconn`` package to provide ZODB integration.
2011-08-14- ``pyramid.testing.DummyRequest`` now implements theChris McDonough
``add_finished_callback`` and ``add_response_callback`` methods.
2011-08-14- All tutorials now use - The ``route_url``, ``route_path``,Chris McDonough
``resource_url``, ``static_url``, and ``current_route_url`` methods of the request rather than the function variants imported from ``pyramid.url``.
2011-08-14gardenChris McDonough
2011-08-14- The ``route_url``, ``route_path``, ``resource_url``, ``static_url``, andChris McDonough
``current_route_url`` functions in the ``pyramid.url`` package now delegate to a method on the request they've been passed, instead of the other way around. The pyramid.request.Request object now inherits from a mixin named pyramid.url.URLMethodsMixin to make this possible, and all url/path generation logic is embedded in this mixin. - Narrative and API documentation which used the ``route_url``, ``route_path``, ``resource_url``, ``static_url``, and ``current_route_url`` functions in the ``pyramid.url`` package have now been changed to use eponymous methods of the request instead.
2011-08-14Garden.Chris McDonough
2011-08-14fix jython test failuresChris McDonough
2011-08-14garden:Chris McDonough
2011-08-14- The ``settings`` dictionary now raises a deprecation warning when youChris McDonough
attempt to access its values via ``__getattr__`` instead of via ``__getitem__``.
2011-08-14- Added the ``pyramid.interfaces.IDict`` interface representing the methodsChris McDonough
of a dictionary, for documentation purposes only (IMultiDict and IBeforeRender inherit from it). - Previously the ``pyramid.events.BeforeRender`` event *wrapped* a dictionary (it addressed it as its ``_system`` attribute). Now it *is* a dictionary (it inherits from ``dict``), and it's the value that is passed to templates as a top-level dictionary.
2011-08-13Require that tween_factory argument to add_tween be a dotted name.Chris McDonough
2011-08-13gardenChris McDonough
2011-08-13- WSGIHTTPException (HTTPFound, HTTPNotFound, etc) now has a new API namedChris McDonough
"prepare" which renders the body and content type when it is provided with a WSGI environ. Required for debug toolbar. - Once ``__call__`` or ``prepare`` is called on a WSGIHTTPException, the body will be set, and subsequent calls to ``__call__`` will always return the same body. Delete the body attribute to rerender the exception body.
2011-08-13disallow adding a tween factory which is an instance without passing its ↵Chris McDonough
globally importable name
2011-08-13gardenChris McDonough
2011-08-13gardenChris McDonough
2011-08-13mention pyramid_exclogChris McDonough
2011-08-13- Added a Logging chapter to the narrative docs (based on the Pylons loggingChris McDonough
docs, thanks Phil).
2011-08-13- Projects created via a scaffold no longer depend on the ``WebError``Chris McDonough
package at all; configuration in the ``production.ini`` file which used to require its ``error_catcher`` middleware has been removed. Configuring error catching / email sending is now the domain of the ``pyramid_exclog`` package (see https://docs.pylonsproject.org/projects/pyramid_exclog/dev/).
2011-08-12gardenChris McDonough
2011-08-12- Pyramid now relies on PasteScript >= 1.7.4. This version contains aChris McDonough
feature important for allowing flexible logging configuration.
2011-08-12reduce awkwardness of phrasingChris McDonough
2011-08-12gardenChris McDonough