summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2010-11-18- Make test suite pass on Jython (requires PasteScript trunk, presumably toChris McDonough
be 1.7.4).
2010-11-18ocd break: sort importsChris McDonough
2010-11-17get rid of extraneous noteChris McDonough
2010-11-17fix route_url on JythonChris McDonough
2010-11-17- Add a ``pyramid.url.route_path`` API, allowing folks to generate relativeChris McDonough
URLs. Calling ``route_path`` is the same as calling ``pyramid.url.route_url`` with the argument ``_app_url`` equal to the empty string. - Add a ``pyramid.request.Request.route_path`` API. This is a convenience method of the request which calls ``pyramid.url.route_url``.
2010-11-17remove unused codeChris McDonough
2010-11-17- Replace Twill with WebTest in internal integration tests (avoid deprecationChris McDonough
warnings generated by Twill).
2010-11-17More ReStructuredText fixes in docstrings.Marius Gedminas
(After a recursive grep for ':[a-z]*:`[A-Z0-9a-z._]*``')
2010-11-17ReStructuredText fix in docstring of view_config.Marius Gedminas
2010-11-17fix for jythonChris McDonough
2010-11-17make test pass on jythonChris McDonough
2010-11-17fix test for jythonChris McDonough
2010-11-17- The ``pyramid_alchemy`` paster template had a typo, preventing an importChris McDonough
from working.
2010-11-16skip Chameleon tests on JythonChris McDonough
2010-11-16make some tests which previously failed on jython passChris McDonough
2010-11-16point at correct location of get_current_registryChris McDonough
2010-11-16- Add deprecation warning for import of ``pyramid.zcml.zcml_configure`` andChris McDonough
``pyramid.zcml.file_configure``. - The ``pyramid.testing.zcml_configure`` API has been removed. It had been advertised as removed since 1.2a1, but hadn't actually been.
2010-11-16- The ``pyramid.settings.get_settings`` API is now deprecated. UseChris McDonough
``pyramid.threadlocals.get_registry().settings`` instead or use the ``settings`` attribute of the registry available from the request (``request.registry.settings``).
2010-11-16prevent deprecation warning during testsChris McDonough
2010-11-16get deprecations rightChris McDonough
2010-11-16- Add deprecation warnings to import of ``pyramid.chameleon_text`` andChris McDonough
``pyramid.chameleon_zpt`` of ``get_renderer``, ``get_template``, ``render_template``, and ``render_template_to_response``.
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