- Added ``egg:repoze.retry#retry`` middleware to the WSGI pipeline in ZODB
templates (retry ZODB conflict errors which occur in normal operations).
| | |
| | | - Deprecated-since-BFG-1.2 APIs from ``pyramid.testing`` now properly emit |
| | | deprecation warnings. |
| | | |
| | | - Added ``egg:repoze.retry#retry`` middleware to the WSGI pipeline in ZODB |
| | | templates (retry ZODB conflict errors which occur in normal operations). |
| | | |
| | | 1.0b3 (2011-01-28) |
| | | ================== |
| | | |
| | |
| | | Before Release |
| | | -------------- |
| | | |
| | | - Consider per-form_id CSRF instead of per-session global CSRF token. |
| | | |
| | | - https://github.com/Pylons/pyramid/issues#issue/67 (fixing would make it |
| | | possible to render a static site from a static dir). |
| | | |
| | | - Change "Cleaning up After a Request" in the urldispatch chapter to |
| | | use ``request.add_response_callback``. |
| | | |
| | | - ``repoze.retry`` in ZODB template. |
| | | |
| | | Should-Have |
| | | ----------- |
| | | |
| | | - Consider per-form_id CSRF instead of per-session global CSRF token. |
| | | |
| | | - I18N support for pyramid_jinja2. See also - |
| | | http://groups.google.com/group/pylons-devel/msg/ab58353594b135c9 and |
| | | https://github.com/Pylons/pyramid_jinja2/pull/14 |
| | |
| | | pipeline. This is a piece of middleware which closes the ZODB connection |
| | | opened by the ``PersistentApplicationFinder`` at the end of the request. |
| | | |
| | | The ``egg:repoze.retry#retry`` middleware catches ``ConflictError`` |
| | | exceptions from ZODB and retries the request up to three times (ZODB is an |
| | | optimistic concurrency database that relies on application-level transaction |
| | | retries when a conflict occurs). |
| | | |
| | | The ``tm`` middleware is the last piece of middleware in the pipeline. This |
| | | commits a transaction near the end of the request unless there's an exception |
| | | raised or the HTTP response code is an error code. The ``tm`` refers to the |
| | |
| | | pipeline = |
| | | egg:WebError#evalerror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | pipeline = |
| | | weberror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | 'pyramid', |
| | | 'repoze.zodbconn', |
| | | 'repoze.tm2>=1.0b1', # default_commit_veto |
| | | 'repoze.retry', |
| | | 'ZODB3', |
| | | 'WebError', |
| | | 'docutils', |
| | |
| | | pipeline = |
| | | egg:WebError#evalerror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | pipeline = |
| | | weberror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | 'pyramid', |
| | | 'repoze.zodbconn', |
| | | 'repoze.tm2>=1.0b1', # default_commit_veto |
| | | 'repoze.retry', |
| | | 'ZODB3', |
| | | 'WebError', |
| | | ] |
| | |
| | | pipeline = |
| | | egg:WebError#evalerror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | pipeline = |
| | | weberror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | 'pyramid', |
| | | 'repoze.zodbconn', |
| | | 'repoze.tm2>=1.0b1', # default_commit_veto |
| | | 'repoze.retry', |
| | | 'ZODB3', |
| | | 'WebError', |
| | | 'docutils', |
| | |
| | | pipeline = |
| | | egg:WebError#evalerror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | pipeline = |
| | | weberror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | tutorial |
| | | |
| | |
| | | 'pyramid', |
| | | 'repoze.zodbconn', |
| | | 'repoze.tm2>=1.0b1', # default_commit_veto |
| | | 'repoze.retry', |
| | | 'ZODB3', |
| | | 'WebError', |
| | | 'docutils', |
| | |
| | | pipeline = |
| | | egg:WebError#evalerror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | {{project}} |
| | | |
| | |
| | | pipeline = |
| | | weberror |
| | | egg:repoze.zodbconn#closer |
| | | egg:repoze.retry#retry |
| | | tm |
| | | {{project}} |
| | | |
| | |
| | | 'pyramid', |
| | | 'repoze.zodbconn', |
| | | 'repoze.tm2>=1.0b1', # default_commit_veto |
| | | 'repoze.retry', |
| | | 'ZODB3', |
| | | 'WebError', |
| | | ] |