summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-20Fixed typos and added clarifications in a tutorialKirk Strauser
I was working through the wiki2 tutorial this morning and found some slightly confusing bits. As I went along, I added the suggested changes to my local files to make them match the tutorial's version, but found several times that key parts were missing. I'm not new to Python so this didn't slow me down, but thought some clarifications might help new users.
2011-04-19Merge branch 'jgonera-master'Chris McDonough
2011-04-19Merge branch 'master' of https://github.com/jgonera/pyramid into jgonera-masterChris McDonough
2011-04-19renderingChris McDonough
2011-04-19Merge branch 'master' of git://github.com/Pylons/pyramidJuliusz Gonera
2011-04-19replacement for torturous_route_re, inner squigglies work againJuliusz Gonera
2011-04-19renderingChris McDonough
2011-04-19renderingChris McDonough
2011-04-19readd py2.4 testing (using chameleon 1)Chris McDonough
2011-04-19gardenChris McDonough
2011-04-19gardenChris McDonough
2011-04-19clarifyChris McDonough
2011-04-19clarifyChris McDonough
2011-04-18appease python gods by converting failIf*/failUnless* to assert* equivalentsChris McDonough
2011-04-18merge requestresponse section into various changes subsectionsChris McDonough
2011-04-18Merge branch 'requestresponse'Chris McDonough
2011-04-18Fix parens.Chris McDonough
2011-04-18- Pyramid now depends on WebOb >= 1.0.2 (tests depend on the bugfix in thatChris McDonough
release: "Fix handling of WSGI environs with missing ``SCRIPT_NAME``"). (Note that in reality, everyone should probably be using 1.0.4 or better though, as WebOb 1.0.2 and 1.0.3 were effectively brownbag releases.)
2011-04-18garden change messageChris McDonough
2011-04-18- Deprecated all assignments to ``request.response_*`` attributes such asChris McDonough
``request.response_content_type = 'foo'``. Assignments and mutations of the following request attributes that were considered by the framework for response influence are now deprecated: ``response_content_type``, ``response_headerlist``, ``response_status``, ``response_charset``, and ``response_cache_for``. Instead of assigning these to the request object for detection by the rendering machinery, users should use the appropriate API of the Response object created by accessing ``request.response`` (e.g. ``request.response_content_type = 'abc'`` -> ``request.response.content_type = 'abc'``). - Custom request objects are now required to have a ``response`` attribute (or reified property) if they are meant to be used with renderers. This ``response`` attribute should be an instance of the class ``pyramid.response.Response``. - The JSON and string renderer factories now use ``request.response.content_type`` rather than ``request.response_content_type``. They determine whether they should set the content type of the response by comparing the response's content type against the default (usually ``text/html``); if the content type is not the default, the renderer changes the content type (to ``application/json`` or ``text/plain`` for JSON and string renderers respectively). - Made it possible to assign to and delete ``pyramid.testing.DummyRequest.registry`` (bugfix).
2011-04-18gardenChris McDonough
2011-04-18gardenChris McDonough
2011-04-18Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-04-18fix conflictChris McDonough
2011-04-18Merge branch 'master' of https://github.com/jgonera/pyramid into jgonera-masterChris McDonough
2011-04-18- When visiting a URL that represented a static view which resolved to aChris McDonough
subdirectory, the ``index.html`` of that subdirectory would not be served properly. Instead, a redirect to ``/subdir`` would be issued. This has been fixed, and now visiting a subdirectory that contains an ``index.html`` within a static view returns the index.html properly. See also https://github.com/Pylons/pyramid/issues/67. - Redirects issued by a static view did not take into account any existing ``SCRIPT_NAME`` (such as one set by a url mapping composite). Now they do. Closes #67.
2011-04-18added myself to CONTRIBUTORS.txt to show that I know how to use git and ↵Juliusz Gonera
github (GSoC) ;)
2011-04-17Merge branch 'mmerickel-fix_api_docs'Chris McDonough
2011-04-17refine; it really is a special kind of principal and it would not be correct ↵Chris McDonough
to say 'no principals' (the userid is a principal id itself)
2011-04-17condition coverageChris McDonough
2011-04-17add tests for PyramidTemplateChris McDonough
2011-04-17condition coverage for the pyramid.static module; simplify PackageURLParser, ↵Chris McDonough
removing some impossible-to-reach code
2011-04-16Added my name to CONTRIBUTORS.txtjbohman
2011-04-16Merge branch 'ppaez-zodb-tutorial-authorization'Chris McDonough
2011-04-16Consolidate two identical paragraphsPatricio Paez
2011-04-16ZODB tutorial Adding Authorization reorganizePatricio Paez
- Sections sorted by general, views, templates - List steps in the introduction
2011-04-16Improve ZODB tutorial (Adding Authorization)Patricio Paez
- Consolidate two sections and promote some to first level - Add a couple of terms
2011-04-15condition coverage for pyramid.i18nChris McDonough
2011-04-15better docstringChris McDonough
2011-04-15100% condition coverage for pyramid.encodeChris McDonough
2011-04-15condition coverage for pyramid.configChris McDonough
2011-04-14condition coverage for asset moduleChris McDonough
2011-04-13- Add missing docs reference toChris McDonough
``pyramid.config.Configurator.set_view_mapper`` and refer to it within Hooks chapter section named "Using a View Mapper".
2011-04-13- Make ``pyramid.interfaces.IAuthenticationPolicy`` andChris McDonough
``pyramid.interfaces.IAuthorizationPolicy`` public interfaces, and refer to them within the ``pyramid.authentication`` and ``pyramid.authorization`` API docs. - Render the function definitions for each exposed interface in ``pyramid.interfaces``. Closes #167.
2011-04-13put note in about reviewing alex marandon's writeupChris McDonough
2011-04-13Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-04-13condition coverage and simplify 'get_spec' method of chameleonlookupChris McDonough
2011-04-12request.responseChris McDonough
2011-04-12extend testChris McDonough
2011-04-12condition coverageChris McDonough