Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove a routing optimization that breaks the WSME pecan plugin. | Ryan Petrello | 2013-09-27 | 1 | -17/+14 |
| | | | | | Fixes-bug: 1232199 Change-Id: Ie0f93e5b783f601fc734919db02e658222a402ba | ||||
* | Merge "core: do not try to set response body to None" | Jenkins | 2013-09-26 | 2 | -1/+18 |
|\ | |||||
| * | core: do not try to set response body to None | Julien Danjou | 2013-09-26 | 2 | -1/+18 |
| | | | | | | | | | | | | | | In the context of DELETE, it's more than likely than the response will be empty. In such a case, setting response.body to None will fail. Change-Id: I29fde6c448c935c40c768376a15e83337b951898 | ||||
* | | Merge "Squeeze some more performance out of the WSGI __call__ and dispatch ↵ | Jenkins | 2013-09-26 | 3 | -58/+66 |
|\ \ | |/ |/| | | | algorithm." | ||||
| * | Squeeze some more performance out of the WSGI __call__ and dispatch algorithm. | Ryan Petrello | 2013-09-25 | 3 | -58/+66 |
| | | | | | | | | Change-Id: I3e25381d526866d6feae05f0dcbdca5707f86df7 | ||||
* | | Replace simplegeneric with singledispatch (PEP 443). | Ryan Petrello | 2013-09-22 | 2 | -12/+25 |
|/ | | | | | Closes-Bug: #1226813 Change-Id: I1ba149ac00353460065d4cddbe3ccd8782aaa611 | ||||
* | Document and test the uwsgi plugin. | Ryan Petrello | 2013-08-29 | 1 | -6/+24 |
| | | | | Change-Id: I97449c5238ac8c8a9dbc334e628c4f7a414ff896 | ||||
* | Merge pull request #228 from ryanpetrello/next | markmcclain | 2013-08-09 | 3 | -5/+36 |
|\ | | | | | Add a deprecation warning for ``pecan.conf.requestviewer``. | ||||
| * | Add a deprecation warning for ``pecan.conf.requestviewer``. | Ryan Petrello | 2013-08-09 | 3 | -5/+36 |
| | | |||||
* | | Merge pull request #227 from ryanpetrello/routing_lookup_bug | markmcclain | 2013-08-08 | 2 | -0/+36 |
|\ \ | | | | | | | Fix a routing bug for certain _lookup controller configurations. | ||||
| * | | Fix a routing bug for certain _lookup controller configurations. | Ryan Petrello | 2013-08-08 | 2 | -0/+36 |
| |/ | |||||
* | | Merge pull request #226 from ryanpetrello/next | markmcclain | 2013-08-08 | 4 | -52/+34 |
|\ \ | |/ | | | Make some notable changes to how ``pecan.conf.app`` is passed to a new app. | ||||
| * | Make some notable changes to how ``pecan.conf.app`` is passed to a new app. | Ryan Petrello | 2013-08-08 | 4 | -52/+34 |
| | | | | | | | | | | | | | | | | * Now pecan.conf.app items are treated as keywords passed directly to Pecan apps. This means no more tinkering with *both* your configuration file *and* your app.py file. * Removed support for the RequestViewerHook config file shortcut (because now you can easily specify hooks via configuration). | ||||
* | | Allow on_error hooks to return a Response. | Kiall Mac Innes | 2013-07-20 | 2 | -4/+43 |
|/ | | | | | | | | This allows on_error hooks to prevent the exception from being re-raised, and instead causes the returned Response to be provided to the end user. The first on_error hook to return a response "wins", and the remaining on_error hooks are not ran. | ||||
* | Remove an extraneous import. | Ryan Petrello | 2013-05-07 | 1 | -2/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/next' into py3k | Ryan Petrello | 2013-05-07 | 3 | -17/+276 |
|\ | | | | | | | | | | | Conflicts: pecan/rest.py pecan/routing.py | ||||
| * | Merge pull request #198 from ryanpetrello/rest-controller-lookup-support | markmcclain | 2013-05-07 | 3 | -17/+276 |
| |\ | | | | | | | Add support for ``_lookup`` methods as a fallback in RestController. | ||||
| | * | Miscellaneous pecan.routing cleanup. | Ryan Petrello | 2013-05-06 | 1 | -2/+3 |
| | | | |||||
| | * | Add support for ``_lookup`` methods as a fallback in RestController. | Ryan Petrello | 2013-03-19 | 3 | -17/+275 |
| | | | |||||
* | | | Remove some cruft from the middleware static resource loader. | Ryan Petrello | 2013-05-07 | 1 | -4/+0 |
| | | | |||||
* | | | Remove a hard-coded UTF-8 assumption. | Ryan Petrello | 2013-05-03 | 1 | -7/+1 |
| | | | |||||
* | | | Fix a Py3 compatability issue with WebTest > 1.3.1 < 2.0 | Ryan Petrello | 2013-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | General import and flake8 cleanup. | Ryan Petrello | 2013-05-03 | 7 | -30/+16 |
| | | | |||||
* | | | Remove an unused import. | Ryan Petrello | 2013-05-03 | 1 | -2/+0 |
| | | | |||||
* | | | Avoid a potential encoding exception when rendering Genshi errors. | Ryan Petrello | 2013-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | Remove some unnecessary cruft. | Ryan Petrello | 2013-05-03 | 1 | -1/+1 |
| | | | |||||
* | | | Read/compile configuration files as binary to avoid encoding issues. | Ryan Petrello | 2013-05-03 | 1 | -5/+2 |
| | | | |||||
* | | | Replace ``pecan.compat.dictconfig`` with ``logutils.dictconfig.dictConfig``. | Ryan Petrello | 2013-05-03 | 4 | -1296/+1 |
| | | | |||||
* | | | Use Python3's print function. | Ryan Petrello | 2013-05-03 | 2 | -1/+5 |
| | | | |||||
* | | | Add a docstring. | Ryan Petrello | 2013-05-01 | 1 | -0/+6 |
| | | | |||||
* | | | Run Genshi tests for Python3 (support was added in Genshi 0.7). | Ryan Petrello | 2013-05-01 | 1 | -1/+1 |
| | | | |||||
* | | | More misc. Python3 cleanup. | Ryan Petrello | 2013-05-01 | 2 | -5/+2 |
| | | | |||||
* | | | Use html.escape rather than cgi.escape for PY3 (it's deprecated) | Ryan Petrello | 2013-05-01 | 1 | -4/+12 |
| | | | |||||
* | | | Refactor remnants of pecan.compat with alternatives from the six package. | Ryan Petrello | 2013-05-01 | 2 | -34/+17 |
| | | | |||||
* | | | Add scaffold tests for Python 3.2/3.3. | Ryan Petrello | 2013-04-30 | 1 | -6/+9 |
| | | | |||||
* | | | Fix a Py3 compatability bug in `pecan.jsonify`. | Ryan Petrello | 2013-04-30 | 4 | -64/+89 |
| | | | |||||
* | | | Fix an issue with Python3 compatability in `pecan shell`. | Ryan Petrello | 2013-04-30 | 1 | -0/+6 |
| | | | |||||
* | | | Resolve a few differences in TypeError messaging in Python 3.3. | Ryan Petrello | 2013-04-30 | 1 | -2/+8 |
| | | | |||||
* | | | Replace the OptionParser constructor version with parser.add_argument | Ryan Petrello | 2013-04-30 | 1 | -3/+5 |
| | | | |||||
* | | | Fix a PY3-bug when using ``transcational`` as a class decorator. | Ryan Petrello | 2013-04-30 | 1 | -2/+7 |
| | | | | | | | | | | | | Previously this was using ``inspect.ismethod``, which doesn't have the same meaning in Python3. | ||||
* | | | Fix a pep8 failure. | Ryan Petrello | 2013-04-30 | 1 | -2/+3 |
| | | | |||||
* | | | Defined the HooksController metaclass in a Py2/3-compatible way. | Ryan Petrello | 2013-04-30 | 1 | -5/+14 |
| | | | |||||
* | | | Cast configuration.Config.__dir__ to a list (not a PY3 dictkeys object) | Ryan Petrello | 2013-04-30 | 1 | -1/+1 |
| | | | |||||
* | | | Cleanup and add a ton of bytes() compatability for tests. | Ryan Petrello | 2013-04-30 | 12 | -259/+268 |
| | | | |||||
* | | | More miscellaneous PY3 compatability issues. | Ryan Petrello | 2013-04-30 | 5 | -14/+30 |
| | | | |||||
* | | | More urllib import changes. | Ryan Petrello | 2013-04-30 | 1 | -2/+3 |
| | | | |||||
* | | | Remove `basestring` references for PY3 support. | Ryan Petrello | 2013-04-30 | 3 | -7/+11 |
| | | | |||||
* | | | Remove unicode markers. | Ryan Petrello | 2013-04-30 | 2 | -4/+4 |
| | | | |||||
* | | | Fix PY3 urllib2 import changes. | Ryan Petrello | 2013-04-30 | 1 | -5/+10 |
| | | | |||||
* | | | Don't run tests for dictconfig fallback in PY3 (it doesn't need them) | Ryan Petrello | 2013-04-30 | 1 | -688/+693 |
| | | |