summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
2011-03-01Merge branch 'master' of https://github.com/dnouri/pyramid into dnouri-masterChris McDonough
2011-03-01we no longer expect to run on 2.4, dont skip Chameleon-related tests on pypyChris McDonough
2011-02-28Do not quote characters ':@&+$,' in '*elements' passed to route_pathDaniel Nouri
and resource_url. We're deliberately using these safe characters only with '*elements' instead of the whole path since that would break existing apps that persist quoted paths of resources. See https://github.com/dnouri/pyramid/commit/ab19ea8a5372ac83c6f7a7d75d1ecca5ed2b025e#commitcomment-285947
2011-02-28'pyramid.url.resource_url' no longer quotes '@' in '*elements'.Daniel Nouri
See http://groups.google.com/group/pylons-discuss/browse_thread/thread/ebb8e0196858a48
2011-02-26Merge branch 'master' of https://github.com/malthe/pyramid into malthe-masterChris McDonough
2011-02-26it's request_paramChris McDonough
2011-02-25Strip newline before test (this is to be compatible with Chameleon 2.x which ↵Malthe Borch
ensures a trailing newline character after output).
2011-02-25docs fix related to ↵Chris McDonough
https://github.com/Pylons/pyramid/commit/0a0edfcc42611fc9f815e7a4117674678840abb1
2011-02-25- ``pyramid.url.route_path`` (and the shortcutChris McDonough
``pyramid.request.Request.route_url`` method) now include the WSGI SCRIPT_NAME at the front of the path if it is not empty (see https://github.com/Pylons/pyramid/issues/135). - ``pyramid.testing.DummyRequest`` now has a ``script_name`` attribute (the empty string). Closes #135
2011-02-22From the code:Chris McDonough
# While Chrome, IE, and Firefox can cope, Opera (at least) cannot # cope with a port number in the cookie domain when the URL it # receives the cookie from does not also have that port number in it # (e.g via a proxy). In the meantime, HTTP_HOST is sent with port # number, and neither Firefox nor Chrome do anything with the # information when it's provided in a cookie domain except strip it # out. So we strip out any port number from the cookie domain # aggressively to avoid problems. See also # https://github.com/Pylons/pyramid/issues/131 Closes #131
2011-02-17Undo the inner squiggly regex fix introduced in commit #9595236 because the ↵Chris McDonough
regex breaks on Jython. See https://github.com/Pylons/pyramid/issues/#issue/123
2011-02-13fix interface for IRendererChris McDonough
2011-02-13Merge branch 'master' of https://github.com/lambacck/pyramid into ↵Chris McDonough
lambacck-master
2011-02-12Add make_localizer function & docs & testsChristopher Lambacher
2011-02-12Fix tests on win32Christopher Lambacher
2011-02-12Separate making Localizer from getting cached oneChristopher Lambacher
2011-02-12- ``pyramid_alchemy`` paster template now uses ``query.get`` rather thanChris McDonough
``query.filter_by`` to take better advantage of identity map caching. - ``pyramid_alchemy`` paster template now has unit tests.
2011-02-09- Integers and longs passed as ``elements`` to ``pyramid.url.resource_url``Chris McDonough
or ``pyramid.request.Request.resource_url`` e.g. ``resource_url(context, request, 1, 2)`` (``1`` and ``2`` are the ``elements``) will now be converted implicitly to strings in the result. Previously passing integers or longs as elements would cause a TypeError. Closes #124
2011-02-09docstring fix (not explicitly parent, just lineage)Chris McDonough
2011-02-09remove unintentional change added by previous commit to fix url matching ↵Chris McDonough
issue #123
2011-02-09- URL pattern markers used in URL dispatch are permitted to specify a customChris McDonough
regex. For example, the pattern ``/{foo:\d+}`` means to match ``/12345`` (foo==12345 in the match dictionary) but not ``/abc``. However, custom regexes in a pattern marker which used squiggly brackets did not work. For example, ``/{foo:\d{4}}`` would fail to match ``/1234`` and ``/{foo:\d{1,2}}`` would fail to match ``/1`` or ``/11``. One level of inner squiggly brackets is now recognized so that the prior two patterns given as examples now work. See also https://github.com/Pylons/pyramid/issues/#issue/123. Closes #123
2011-02-05for print space purposes, move return to same line as function definitionChris McDonough
2011-02-05add missing import (thanks donri)Chris McDonough
2011-01-30remove useless warningsChris McDonough
2011-01-30make pass predictably on jythonChris McDonough
2011-01-30skip chameleon-using tests on pypy and jythonChris McDonough
2011-01-30fix too-long linesChris McDonough
2011-01-30- Remove duplication of API and narrative documentation inChris McDonough
``pyramid.view.view_config`` API docs by pointing to ``pyramid.config.add_view`` documentation and narrative chapter documentation.
2011-01-30save space by removing duplicated documentation of view_config argsChris McDonough
2011-01-30fix typo, use config-relative lookupChris McDonough
2011-01-30dont punt to zcml docs for predicate descriptionsChris McDonough
2011-01-30stray tildeChris McDonough
2011-01-30- Removed duplicate implementations of ``is_response``. Two competingChris McDonough
implementations existed: one in ``pyramid.config`` and one in ``pyramid.view``. Now the one defined in ``pyramid.view`` is used internally by ``pyramid.config`` and continues to be advertised as an API. Closes #114.
2011-01-29- Added ``egg:repoze.retry#retry`` middleware to the WSGI pipeline in ZODBChris McDonough
templates (retry ZODB conflict errors which occur in normal operations).
2011-01-29Merge branch 'master' of https://github.com/osmaker/pyramid into osmaker-masterChris McDonough
2011-01-29use term target for deployment settingsChris McDonough
2011-01-29wordingChris McDonough
2011-01-29renderingsChris McDonough
2011-01-28- Removed API documentation for ``pyramid.testing`` APIs namedChris McDonough
``registerDummySecurityPolicy``, ``registerResources``, ``registerModels``, ``registerEventListener``, ``registerTemplateRenderer``, ``registerDummyRenderer``, ``registerView``, ``registerUtility``, ``registerAdapter``, ``registerSubscriber``, ``registerRoute``, and ``registerSettings``. - Deprecated-since-BFG-1.2 APIs from ``pyramid.testing`` now properly emit deprecation warnings.
2011-01-28remove inappropriate warning; change note wordingChris McDonough
2011-01-28space after commas on sqlalchemy paster templates (pep 8)Kyle Johnson
2011-01-28convert all tabs to spaces in templates (sorry, blaise, i may have to use an ↵Chris McDonough
older version of sphinx which doesnt respect tab-width)
2011-01-27fix dangling referencesChris McDonough
2011-01-27- Beef up documentation related to ``set_default_permission``: explicitlyChris McDonough
mention that default permissions also protect exception views.
2011-01-26- ``pyramid.view.append_slash_notfound_view`` now preserves GET queryChris McDonough
parameters across redirects.
2011-01-25- Use © instead of copyright symbol in paster templates / tutorialChris McDonough
templates for the benefit of folks who cutnpaste and save to a non-UTF8 format.
2011-01-24render token in ValueError instead of passing it as a second argChris McDonough
2011-01-24- A bug existed in the ``pyramid.authentication.AuthTktCookieHelper`` whichChris McDonough
would break any usage of an AuthTktAuthenticationPolicy when an auth tkt authentication policy was configured to reissue its tokens (``reissue_time`` < ``timeout`` / ``max_age``). Symptom: ``ValueError: ('Invalid token %r', '')``. See https://github.com/Pylons/pyramid/issues#issue/108.
2011-01-23chapter was renamedChris McDonough
2011-01-22- The ``render_view`` method of ``pyramid.renderers.RendererHelper`` passedChris McDonough
an incorrect value into the renderer for ``renderer_info``. It now passes an instance of ``RendererHelper`` instead of a dictionary, which is consistent with other usages. See https://github.com/Pylons/pyramid/issues#issue/106 Closes #106