summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-30Zap word "either" describing request_method. By my reading, the word ↵Niall O'Higgins
"either" implies there is an alternative to one of the listed strings (perhaps that you can pass some other kind of value such as a sequence of allowed request methods - which is not the case).
2011-06-30gardenChris McDonough
2011-06-30gardenChris McDonough
2011-06-28unused importChris McDonough
2011-06-26- ``pyramid.testing.DummyRequest`` now raises deprecation warnings whenChris McDonough
attributes deprecated for ``pyramid.request.Request`` are accessed (like ``response_content_type``). This is for the benefit of folks running unit tests which use DummyRequest instead of a "real" request, so they know things are deprecated without necessarily needing a functional test suite.
2011-06-26Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-26added github url option in docs conf for ribbonBlaise Laflamme
2011-06-26prep for 1.1a3Chris McDonough
2011-06-26- Added ``mako.preprocessor`` config file parameter; allows for a MakoChris McDonough
preprocessor to be specified as a Python callable or Python dotted name. See https://github.com/Pylons/pyramid/pull/183 for rationale. Closes #183.
2011-06-26try to replicate github #213Chris McDonough
2011-06-26- Accessing or setting deprecated response_* attrs on requestChris McDonough
(e.g. ``response_content_type``) now issues a deprecation warning at access time rather than at rendering time.
2011-06-26appeasementChris McDonough
2011-06-23gardenChris McDonough
2011-06-23coverageChris McDonough
2011-06-23Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-23Merge pull request #217 from mmerickel/fix.classmethod_predicatesChris McDonough
A fix for classmethod-based custom predicates with no __text__ property.
2011-06-23A fix for classmethod-based custom predicates with no __text__ property.Michael Merickel
2011-06-22prep for 1.1a2Chris McDonough
2011-06-22gardenChris McDonough
2011-06-22leave undefinedChris McDonough
2011-06-22take robert forkels adviceChris McDonough
2011-06-22- If multiple specs were provided in a single call toChris McDonough
``config.add_translation_dirs``, the directories were inserted into the beginning of the directory list in the wrong order: they were inserted in the reverse of the order they were provided in the ``*specs`` list (items later in the list trumped ones earlier in the list). This is now fixed. Note however, that later calls to ``config.add_translation_dirs`` continue to insert directories into the beginning of the list of translation directories created by earlier calls. This means that the same translation found in a directory added via ``add_translation_dirs`` later in the configuration process will be found before one added earlier via a separate call to ``add_translation_dirs`` in the configuration process.
2011-06-22Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-22suggestions from sluggoChris McDonough
2011-06-21fix typoCarlos de la Guardia
2011-06-21changes suggested by sluggoChris McDonough
2011-06-21gardenChris McDonough
2011-06-21Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-21Merge pull request #215 from mmerickel/fix.template_deprecationChris McDonough
Fixed a bw-compat issue with PyramidTemplate being moved.
2011-06-21Fixed a bw-compat issue with PyramidTemplate being moved.Michael Merickel
2011-06-21avoid some getattrsChris McDonough
2011-06-21Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-06-21- The pyramid Router attempted to set a value into the keyChris McDonough
``environ['repoze.bfg.message']`` when it caught a view-related exception for backwards compatibility with :mod:`repoze.bfg` during error handling. It did this by using code that looked like so:: # "why" is an exception object try: msg = why[0] except: msg = '' environ['repoze.bfg.message'] = msg Use of the value ``environ['repoze.bfg.message']`` was docs-deprecated in Pyramid 1.0. Our standing policy is to not remove features after a deprecation for two full major releases, so this code was originally slated to be removed in Pyramid 1.2. However, computing the ``repoze.bfg.message`` value was the source of at least one bug found in the wild (https://github.com/Pylons/pyramid/issues/199), and there isn't a foolproof way to both preserve backwards compatibility and to fix the bug. Therefore, the code which sets the value has been removed in this release. Code in exception views which relies on this value's presence in the environment should now use the ``exception`` attribute of the request (e.g. ``request.exception[0]``) to retrieve the message instead of relying on ``request.environ['repoze.bfg.message']``. Closes #199.
2011-06-20corrected missing apostrophe and then extra apostropheCarlos de la Guardia
2011-06-20typoCarlos de la Guardia
2011-06-20Removed superfluous wordCarlos de la Guardia
2011-06-20prep for 1.1a1Chris McDonough
2011-06-20bring whatsnew up to dateChris McDonough
2011-06-20bring whatsnew up to dateChris McDonough
2011-06-20responsecode -> exception_responseChris McDonough
2011-06-20- Register the default exception view for context ofChris McDonough
webob.exc.WSGIHTTPException (convenience). - Use ``exc.message`` in docs rather than ``exc.args[0]`` now that we control this.
2011-06-20note backwards incompat related to ISettingsChris McDonough
2011-06-19- Copy exception templates from webob.exc into pyramid.httpexceptions andChris McDonough
ensure they all work.
2011-06-19failUnless -> assertTrue to appease the unittest naming nazisChris McDonough
2011-06-19coverageChris McDonough
2011-06-19- Base exception response content type again on accept header.Chris McDonough
- The ``pyramid.httpexceptions`` classes named ``HTTPFound``, ``HTTPMultipleChoices``, ``HTTPMovedPermanently``, ``HTTPSeeOther``, ``HTTPUseProxy``, and ``HTTPTemporaryRedirect`` now accept ``location`` as their first positional argument rather than ``detail``. This means that you can do, e.g. ``return pyramid.httpexceptions.HTTPFound('http://foo')`` rather than ``return pyramid.httpexceptions.HTTPFound(location='http//foo')`` (the latter will of course continue to work).
2011-06-19format deprecating warnings properlyChris McDonough
2011-06-18move defense from changes to design defense documentChris McDonough
2011-06-18fix renderingChris McDonough
2011-06-14we no longer support 2.4Chris McDonough