summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2010-11-07- All references to events by interfaceChris McDonough
(e.g. ``pyramid.interfaces.INewRequest``) have been changed to reference their concrete classes (e.g. ``pyramid.events.NewRequest``) in documentation about making subscriptions.
2010-11-07Fix syntax error in route_url docstring example.Marius Gedminas
Remove obfuscating parentheses around a string value.
2010-11-06i now understand what this doesChris McDonough
2010-11-05Add Pyramid to paster_plugins so we can use pshell in newly-created projectsRick Copeland
2010-11-05unused methodChris McDonough
2010-11-05- Move the functionality of pyramid.personality.pylons into the pasterChris McDonough
templates themselves. - Remove pyramid.personality.pylons. - Remove unused cache configuration settings.
2010-11-04- Move static dir from pkg/templates/ to /pkg/ in pyramid_* paster templates.Chris McDonough
2010-11-04- Remove squiggly routing syntax.Chris McDonough
2010-11-04using path_spec here is unnecessary (and broken, at least for template ↵Chris McDonough
renderers), let the configurator figure out what to do with various paths and resource specs
2010-11-04Merge branch 'master' of git://github.com/Pylons/pyramidBlaise Laflamme
2010-11-04- The ``request_type`` argument to the ``view`` ZCML directive, theChris McDonough
``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.
2010-11-04css fix for starter pageBlaise Laflamme
2010-11-04Fixed footer of starter page in paster templatesBlaise Laflamme
2010-11-04fix docs for pylons renderer global factoryChris McDonough
2010-11-04- The SQL Wiki tutorial was updated to take into account changes to theChris McDonough
``pyramid_routesalchemy`` paster template.
2010-11-04punt back to ZCML for zodb template, it will allow me to do less work to the ↵Chris McDonough
wiki tutorial
2010-11-04normalize port numbers in paster templatesChris McDonough
2010-11-04make starter imperative; add new starter_zcml paster templateChris McDonough
2010-11-04add forgotten files for paster template conversion (declarative -> imperative)Chris McDonough
2010-11-04- Convert all paster templates except 'starter' to be imperative.Chris McDonough
- Paster templates no longer contain a ``run`` module; setup code is in __init__. - {{package}}.ini is now always development.ini
2010-11-04use fully qualified dotted namesChris McDonough
2010-11-03Revert "Revert "Changed to use imperative config.""Ben Bangert
This reverts commit 20fbdee307e554c2cd44c54fb7860a0ca0a8e19b.
2010-11-03Revert "Revert "Updated routesalchemy template to use imperative config.""Ben Bangert
This reverts commit 96d7897c0bc86c25afb861fb2ee61d5e4351b0dc.
2010-11-03Revert "Changed to use imperative config."Ben Bangert
This reverts commit 84e445db4cce4d9f29bf76efa73291c48989267c.
2010-11-03Revert "Updated routesalchemy template to use imperative config."Ben Bangert
This reverts commit c18e10fcdbfb3954ab35d5ab32df0005a09ab044.
2010-11-03Updated routesalchemy template to use imperative config.Ben Bangert
2010-11-03Changed to use imperative config.Ben Bangert
2010-11-02Changed Pylons templates to use .mako instead of .mak file extensions.William Chambers
2010-11-02- The default ``cookie_name`` value of the ``authtktauthenticationpolicy`` ZCMLChris McDonough
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``).
2010-11-02Insecure -> UnencryptedChris McDonough
2010-11-02- Remove references to 'WebOb' Response and just call it 'Response', and noteChris McDonough
that it is imported from pyramid. API docs can mention its inheritance from webob (aka "Provide a webob.Response class facade for forward compat").
2010-11-02- The values ``bfg_localizer`` and ``bfg_locale_name`` kept on the requestChris McDonough
during internationalization were never APIs. These however have changed to ``localizer`` and ``locale_name``, respectively.
2010-11-02- The presence of the key ``repoze.bfg.message`` in the WSGI environment whenChris McDonough
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.
2010-11-02right exception typeChris McDonough
2010-11-02- New event type: ``pyramid.interfaces.IBeforeRender``. An object of this typeChris McDonough
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.
2010-11-02forward port from bfg, raise a better exception when chameleon is tried ↵Chris McDonough
under java
2010-11-01document IRendererInfo in API docsChris McDonough
2010-11-01imply that a renderer helper implements a well-understood interface ↵Chris McDonough
(IRendererInfo) that can act as a contract between a renderer factory and the framework
2010-11-01pass renderer_info as a system valueChris McDonough
2010-11-01for performance reasons (to avoid unnecessary ZCA lookups), pass the helper ↵Chris McDonough
object itself to a renderer rather than a dictionary derivation)
2010-10-31defer looking up settings until rendering time (no settings registered yet)Chris McDonough
2010-10-31pass settings to renderer factory, as most template renderers need to look ↵Chris McDonough
at at least one setting to determine how to do rendering
2010-10-31Updated template for paster starter projectsBlaise Laflamme
2010-10-31- Renderer factories now accept a *dictionary* rather than an absolute resourceChris McDonough
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.
2010-10-30Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2010-10-30make sure session implements the interface correctlyChris McDonough
2010-10-29Merge branch 'master' of github.com:Pylons/pyramidBen Bangert
2010-10-29bfg-> pyramidChris McDonough
2010-10-29coverageChris McDonough
2010-10-29- The ``bfgshell`` paster command is now named ``pshell``.Chris McDonough