summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2010-11-16- Added Mako TemplateLookup settings for ``mako.error_handler``,Ben Bangert
``mako.default_filters``, and ``mako.imports``.
2010-11-15docs backrefsChris McDonough
2010-11-15add convenience static_url method to requestChris McDonough
2010-11-15less aggressive caching of settings n case someone uses a renderer at module ↵Chris McDonough
scope
2010-11-15- Internal: Chameleon template renderers now accept two arguments: ``path``Chris McDonough
and ``lookup``. ``Lookup`` will be an instance of a lookup class which supplies (late-bound) arguments for debug, reload, and translate. Any third-party renderers which use (the non-API) function ``pyramid.renderers.template_renderer_factory`` will need to adjust their implementations to obey the new callback argument list. This change was to kill off inappropriate use of threadlocals.
2010-11-14hold a lock while we mutate the registry: it's not safe for more than one ↵Chris McDonough
thread to mutate it at runtime
2010-11-14remove template property, it's not part of the interfaceChris McDonough
2010-11-13path->infoChris McDonough
2010-11-12- Internal: ZCML directives no longer call get_current_registry() if there'sChris McDonough
a ``registry`` attribute on the ZCML context (kill off use of threadlocals).
2010-11-11stamp out inappropriate use of get_settingsChris McDonough
2010-11-11document the request.settings attribute as well as we canChris McDonough
2010-11-11FeaturesChris McDonough
-------- - The ``settings`` object which used to be available only when ``request.settings.get_settings`` was called is now available as ``registry.settings`` (e.g. ``request.registry.settings`` in view code). Deprecations ------------ - Obtaining the ``settings`` object via ``registry.{get|query}Utility(ISettings)`` is now deprecated. Instead, obtain the ``settings`` object via the ``registry.settings`` attribute. A backwards compatibility shim was added to the registry object to register the settings object as an ISettings utility when ``setattr(registry, 'settings', foo)`` is called, but it will be removed in a later release. - Obtaining the ``settings`` object via ``pyramid.settings.get_settings`` is now deprecated. Obtain it as the ``settings`` attribute of the registry now (obtain the registry via ``pyramid.threadlocal.get_registry`` or as ``request.registry``).
2010-11-11- SQLAlchemy+urldispach wiki (``wiki2``) tutorial updated due to changes toChris McDonough
``pyramid_routesalchemy`` paster template.
2010-11-11issue 29: paster template tests failChris McDonough
2010-11-10- New API methods for ``pyramid.request.Request``: ``model_url`` andChris McDonough
``route_url``. These are simple passthroughs for their respective functions in ``pyramid.url``. - Documented the ``matchdict`` and ``matched_route`` attributes of the request object in the Request API documentation.
2010-11-10extend asbool to accept None, True, and False, and write explicit testsChris McDonough
2010-11-10- New API method: ``pyramid.settings.asbool``.Chris McDonough
2010-11-10Added class vars matchdict and matched_route toChris Rossi
pyramid.request.Request. Each is set to None.
2010-11-10- The pylons_* paster template used the same stringChris McDonough
(``your_app_secret_string``) for the ``session.secret`` setting in the generated ``development.ini``. This was a security risk if left unchanged in a project that used one of the templates to produce production applications. It now uses a randomly generated string.
2010-11-10fix wiki tutorial based on changes to zodb paster templateChris McDonough
2010-11-10fix project chapter to deal with paster template changesChris McDonough
2010-11-10FeaturesChris McDonough
-------- - Normalized all paster templates: each now uses the name ``main`` to represent the function that returns a WSGI application, each now uses WebError, each now has roughly the same shape of development.ini style. Bug Fixes --------- - The pylons_* paster templates erroneously used the ``{squiggly}`` routing syntax as the pattern supplied to ``add_route``. This style of routing is not supported. They were replaced with ``:colon`` style route patterns.
2010-11-10Removed extra word.Chris Rossi
2010-11-09- All references to Pyramid-the-application were changed from :mod:`pyramid`Chris McDonough
to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to allow for this. (internal)
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