summaryrefslogtreecommitdiff
path: root/pyramid
AgeCommit message (Collapse)Author
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
2011-01-22- The ``production.ini`` generated by all paster templates now have anChris McDonough
effective logging level of WARN, which prevents e.g. SQLAlchemy statement logging and other inappropriate output. - The ``production.ini`` of the ``pyramid_routesalchemy`` and ``pyramid_alchemy`` paster templates did not have a ``sqlalchemy`` logger section, preventing ``paster serve production.ini`` from working. - The ``pyramid_routesalchemy`` and ``pyramid_alchemy`` paster templates used the ``{{package}}`` variable in a place where it should have used the ``{{project}}`` variable, causing applications created with uppercase letters e.g. ``paster create -t pyramid_routesalchemy Dibbus`` to fail to start when ``paster serve development.ini`` was used against the result. See https://github.com/Pylons/pyramid/issues/#issue/107 Closes #107
2011-01-21include txt, mako, xml, htmlChris McDonough
2011-01-21- Add a ``MANIFEST.in`` file to each paster template. SeeChris McDonough
https://github.com/Pylons/pyramid/issues#issue/95 Closes issue #95.
2011-01-21- Slightly improved interface docs for ``IAuthorizationPolicy``.Chris McDonough
2011-01-21- ``testing.setUp`` now adds a ``settings`` attribute to the registry (bothChris McDonough
when it's passed a registry without any settings and when it creates one). - The ``testing.setUp`` function now takes a ``settings`` argument, which should be a dictionary. Its values will subsequently be available on the returned ``config`` object as ``config.registry.settings``.
2011-01-21Merge branch 'wild_domains' of https://github.com/mmerickel/pyramid into ↵Chris McDonough
mmerickel-wild_domains
2011-01-20Merge branch 'master' of github.com:Pylons/pyramidChris McDonough
2011-01-20Fixed webob link in request, thanks raydeoBlaise Laflamme
2011-01-20configure tm in production.ini with default_commit_vetoChris McDonough
2011-01-19Added a production.ini file in each paster templates, added logging stanza ↵Blaise Laflamme
for the application package logger Closes #94
2011-01-19- Using the ``pyramid.view.bfg_view`` alias for ``pyramid.view.view_config``Chris McDonough
(a backwards compatibility shim) now issues a deprecation warning.
2011-01-19- The ``pyramid_zodb``, ``pyramid_routesalchemy`` and ``pyramid_alchemy``Chris McDonough
paster templates now use a default "commit veto" hook when configuring the ``repoze.tm2`` transaction manager in ``development.ini``. This prevents a transaction from being committed when the response status code is within the 400 or 500 ranges. See also http://docs.repoze.org/tm2/#using-a-commit-veto.
2011-01-19- The default value for the ``cookie_on_exception`` parameter toChris McDonough
``pyramid.session.UnencyrptedCookieSessionFactory`` is now ``True``. This means that when view code causes an exception to be raised, and the session has been mutated, a cookie will be sent back in the response. Previously its default value was ``False``.
2011-01-19Merge git://github.com/wichert/pyramid into wichert-masterChris McDonough
2011-01-19Include tokens when reissueing a ticket.Wichert Akkerman
2011-01-19docsChris McDonough
2011-01-19Merge branch 'tokens'Wichert Akkerman
2011-01-19Validate tokens to prevent problems.Wichert Akkerman
2011-01-19- When a ``pyramid.exceptions.Forbidden`` error is raised, its status codeChris McDonough
now ``403 Forbidden``. It was previously ``401 Unauthorized``, for backwards compatibility purposes with ``repoze.bfg``. This change will cause problems for users of Pyramid with ``repoze.who``, which intercepts ``401 Unauthorized`` by default, but allows ``403 Forbidden`` to pass through. Those deployments will need to configure ``repoze.who`` to also react to ``403 Forbidden``.
2011-01-18chameleon needs a threadlocal registry for looking up translationsChris McDonough
2011-01-18readd coverage for code that was only exercised by zcml integration testsChris McDonough
2011-01-18- The ``make_app`` function has been removed from the ``pyramid.router``Chris McDonough
module. It continues life within the ``pyramid_zcml`` package. This leaves the ``pyramid.router`` module without any API functions. - The ``configure_zcml`` setting within the deployment settings (within ``**settings`` passed to a Pyramid ``main`` function) has ceased to have any meaning. - The ``starter_zcml`` paster template has been moved to the ``pyramid_zcml`` package. - The ``bfg2pyramid`` script now converts ZCML include tags that have ``repoze.bfg.includes`` as a package attribute to the value ``pyramid_zcml``. For example, ``<include package="repoze.bfg.includes">`` will be converted to ``<include package="pyramid_zcml">``. - The ``load_zcml`` method of a Configurator has been removed from the Pyramid core. Loading ZCML is now a feature of the ``pyramid_zcml`` package, which can be downloaded from PyPI. Documentation for the package should be available via http://pylonsproject.org, which describes how to get this method back after depending upon ``pyramid_zcml`` as an ``install_requires`` dependency. - The ``pyramid.includes`` subpackage has been removed. ZCML files which use include the package ``pyramid.includes`` (e.g. ``<include package="pyramid.includes">``) now must include the ``pyramid_zcml`` package instead (e.g. ``<include package="pyramid_zcml"/>). - The "Declarative Configuration" narrative chapter has been removed (it was moved to the ``pyramid_zcml`` pakcage). - The add_directive method now accepts an "action_wrap" flag. - Fix some orphaned references. - Remove some docstring references to ZCML directives. - All integration test fixtures have been changed to use imperative configuration rather than ZCML configuration.
2011-01-16remove references to pylons paster templatesChris McDonough
2011-01-16- The ``pylons_minimal``, ``pylons_basic`` and ``pylons_sqla`` pasterChris McDonough
templates were removed. Use ``pyramid_sqla`` (available from PyPI) as a generic replacement for Pylons-esque development. - All references to ``add_handler`` and the ``handler`` ZCML directive have been removed from the docs, and stubs which point to ``pylons_handlers`` package have replaced them.
2011-01-16Remove configurator.add_handler, handler-related functions and methods from ↵Chris McDonough
pyramid.view, handler ZCML directive. This functionality is to be moved to a "pyramid_handlers" package. Fix add_directive to properly persist directives across configurator creations.
2011-01-16- When ``Configurator.include`` is passed a *module* as an argument, itChris McDonough
defaults to attempting to find and use a callable named ``includeme`` within that module. This makes it possible to use ``config.include('some.module')`` rather than ``config.include('some.module.somefunc')`` as long as the include function within ``some.module`` is named ``includeme``.
2011-01-16simplify slightlyChris McDonough