Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 9, 2010
  1. @mcdonc

    prep for 1.0a2

    mcdonc authored
  2. @mcdonc

    - All references to Pyramid-the-application were changed from :mod:`p…

    mcdonc authored
    …yramid`
    
      to :app:`Pyramid`.  A custom role setting was added to ``docs/conf.py`` to
      allow for this.  (internal)
Commits on Nov 8, 2010
  1. @mcdonc
  2. @mcdonc

    - All references to events by interface

    mcdonc authored
      (e.g. ``pyramid.interfaces.INewRequest``) have been changed to reference
      their concrete classes (e.g. ``pyramid.events.NewRequest``) in
      documentation about making subscriptions.
Commits on Nov 5, 2010
  1. @mcdonc

    back to development

    mcdonc authored
  2. @mcdonc

    prep for 1.0a1 release

    mcdonc authored
  3. @mcdonc

    remove untruths

    mcdonc authored
Commits on Nov 4, 2010
  1. @mcdonc

    - The ``request_type`` argument to the ``view`` ZCML directive, the

    mcdonc authored
      ``pyramid.configuration.Configurator.add_view`` method, or the
      ``pyramid.view.view_config`` decorator (nee ``bfg_view``) is no longer
      permitted to be one of the strings ``GET``, ``HEAD``, ``PUT``, ``POST`` or
      ``DELETE``, and now must always be an interface.  Accepting the
      method-strings as ``request_type`` was a backwards compatibility strategy
      servicing repoze.bfg 1.0 applications.  Use the ``request_method``
      parameter instead to specify that a view a string request-method predicate.
  2. @mcdonc

    - The SQL Wiki tutorial was updated to take into account changes to the

    mcdonc authored
      ``pyramid_routesalchemy`` paster template.
  3. @mcdonc

    - The ZODB Wiki tutorial was updated to take into account changes to the

    mcdonc authored
      ``pyramid_zodb`` paster template.
  4. @mcdonc

    note

    mcdonc authored
  5. @mcdonc

    note imperative changes

    mcdonc authored
Commits on Nov 2, 2010
  1. @mcdonc

    - The default ``cookie_name`` value of the ``authtktauthenticationpol…

    mcdonc authored
    …icy`` ZCML
    
      now defaults to ``auth_tkt`` (it used to default to ``repoze.bfg.auth_tkt``).
    
    - The default ``cookie_name`` value of the
      ``pyramid.authentication.AuthTktAuthenticationPolicy`` constructor now
      defaults to ``auth_tkt`` (it used to default to ``repoze.bfg.auth_tkt``).
  2. @mcdonc

    update latex index

    mcdonc authored
  3. @mcdonc

    - Remove references to 'WebOb' Response and just call it 'Response', …

    mcdonc authored
    …and note
    
      that it is imported from pyramid. API docs can mention its inheritance from
      webob (aka "Provide a webob.Response class facade for forward compat").
  4. @mcdonc

    - The values ``bfg_localizer`` and ``bfg_locale_name`` kept on the re…

    mcdonc authored
    …quest
    
      during internationalization were never APIs.  These however have changed to
      ``localizer`` and ``locale_name``, respectively.
  5. @mcdonc

    - The presence of the key ``repoze.bfg.message`` in the WSGI environm…

    mcdonc authored
    …ent when
    
      an exception occurs is now deprecated.  Instead, code which relies on this
      environ value should use the ``exception`` attribute of the request
      (e.g. ``request.exception[0]``) to retrieve the message.
  6. @mcdonc

    - New event type: ``pyramid.interfaces.IBeforeRender``. An object of …

    mcdonc authored
    …this type
    
      is sent as an event before a renderer is invoked (but after the
      application-level renderer globals factory added via
      ``pyramid.configurator.configuration.set_renderer_globals_factory``, if any,
      has injected its own keys).  Applications may now subscribe to the
      ``IBeforeRender`` event type in order to introspect the and modify the set of
      renderer globals before they are passed to a renderer.  The event object
      iself has a dictionary-like interface that can be used for this purpose.  For
      example::
    
        from repoze.events import subscriber
        from pyramid.interfaces import IRendererGlobalsEvent
    
        @subscriber(IRendererGlobalsEvent)
        def add_global(event):
            event['mykey'] = 'foo'
    
      If a subscriber attempts to add a key that already exist in the renderer
      globals dictionary, a ``KeyError`` is raised.  This limitation is due to the
      fact that subscribers cannot be ordered relative to each other.  The set of
      keys added to the renderer globals dictionary by all subscribers and
      app-level globals factories must be unique.
Commits on Nov 1, 2010
  1. @mcdonc

    note new interface

    mcdonc authored
  2. @mcdonc

    for performance reasons (to avoid unnecessary ZCA lookups), pass the …

    mcdonc authored
    …helper object itself to a renderer rather than a dictionary derivation)
  3. @mcdonc

    pass settings to renderer factory, as most template renderers need to…

    mcdonc authored
    … look at at least one setting to determine how to do rendering
Commits on Oct 31, 2010
  1. @mcdonc

    - Renderer factories now accept a *dictionary* rather than an absolut…

    mcdonc authored
    …e resource
    
      specification or an absolute path.  The dictonary contains the following
      keys: ``name`` (the ``renderer=`` value), ``package`` (the 'current package'
      when the renderer configuration statement was found), ``type``: the renderer
      type, and ``registry``: the current registry.
    
      Third-party ``repoze.bfg`` renderer implementations that must be ported to
      Pyramid will need to account for this.
    
      This change was made to support more flexible Mako template rendering.
Commits on Oct 29, 2010
  1. @mcdonc

    bfg-> pyramid

    mcdonc authored
  2. @mcdonc
  3. @mcdonc

    bfg_view -> view_config

    mcdonc authored
  4. @mcdonc

    pylons paster templates

    mcdonc authored
  5. @mcdonc
Commits on Oct 28, 2010
  1. @mcdonc
Commits on Oct 27, 2010
  1. @bbangert
Commits on Oct 26, 2010
  1. @mcdonc

    wording

    mcdonc authored
  2. @mcdonc

    add handler code

    mcdonc authored
  3. @mcdonc

    add httpexceptions docs

    mcdonc authored
  4. @mcdonc

    docs fixes

    mcdonc authored
  5. @mcdonc

    docs and deprecations

    mcdonc authored
Commits on Oct 25, 2010
  1. @mcdonc
Something went wrong with that request. Please try again.