summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Version increment.0.7.0Ryan Petrello2014-08-282-1/+14
| | | | Change-Id: Icd58638f87108a0954dd26db31a22772b4d450ed
* Merge "Configure the root logger properly"Jenkins2014-08-274-5/+4
|\
| * Configure the root logger properlyStanislaw Pitucha2014-08-274-5/+4
| | | | | | | | | | | | | | | | The documentation and project template showed logging configuration which sets level INFO for module called 'root' rather than the root logger. Configure the root (default) logger instead. Change-Id: I172d06dc6b81a31c5b698e43be50ab6302d54984
* | Merge "Refactor 204 handling."Jenkins2014-08-271-14/+20
|\ \
| * | Refactor 204 handling.Ryan Petrello2014-07-281-14/+20
| | | | | | | | | | | | | | | | | | | | | Place the HTTP 204 handling in a `finally` at the bottom of the WSGI __call__ to ensure we catch *all* changes to `state.response`. Change-Id: Id150205f295a3c0ca9c73ad897a41d4790476811
* | | Merge "Add a few py.test options to improve ease of use for the py.test runner."Jenkins2014-08-271-1/+1
|\ \ \
| * | | Add a few py.test options to improve ease of use for the py.test runner.Ryan Petrello2014-08-251-1/+1
| | |/ | |/| | | | | | | Change-Id: I0ea8f3519e004c141d115e9bfcf0110e53600ff5
* | | Catch an edge case in RestController routing and properly return an HTTP 400.Ryan Petrello2014-08-252-15/+136
|/ / | | | | | | Change-Id: I0e57cf719a2c3372ebc61efe71a832b0482a0a3e
* | Include test requirements in sdist tarballThomas Bechtold2014-08-201-0/+1
| | | | | | | | | | | | | | | | Currently the created tarballs via "python setup.py sdist" are missing some files to run the testsuite. Include these files so i.e. package maintainers can run the testuite during package build. Change-Id: I85a94f66abf5781ffc4fcee4671defab4006a8c4
* | Fix an infinite recursion error in PecanHook application.Ryan Petrello2014-08-152-1/+50
| | | | | | | | | | | | | | | | | | | | Subclassing both `rest.RestController` and `hooks.HookController` results in an infinite recursion error in hook application (which prevents your application from starting). Fixes bug 1357540 Change-Id: I6e26c6d8771b4b35943bfb85bf41e73d0982e74c
* | Provide `pecan.state.arguments` for inspecting controller call argumentsRyan Petrello2014-07-283-13/+388
|/ | | | Change-Id: Ibbd8b2f075a875b109c7309bc42e0d1f1d5ae610
* Version increment.0.6.1Ryan Petrello2014-07-102-1/+6
| | | | Change-Id: Idda4968eb448dd5fe12a069f23f29fcedfebbd09
* Don't (mistakenly) set HTTP 204 on controllers which set `response.body_file`.Ryan Petrello2014-07-092-2/+105
| | | | | | Fixes bug 1339121 Change-Id: I70785315837b3907b63bb10565f3ccdf07559e8d
* Merge "Gate on designate stable and HEAD."0.6.0Jenkins2014-06-271-0/+16
|\
| * Gate on designate stable and HEAD.Ryan Petrello2014-06-251-0/+16
| | | | | | | | Change-Id: I653c2c7929442eaa3ac4f0950ff68d328e724e5d
* | Version increment.Ryan Petrello2014-06-263-1/+28
| | | | | | | | Change-Id: Idac278b53431988c6a3a3dfe89fcb4156f5574c1
* | Merge "Be gracious in deprecation of method signatures related to ↵Jenkins2014-06-262-9/+57
|\ \ | | | | | | | | | threadlocal removal."
| * | Be gracious in deprecation of method signatures related to threadlocal removal.Ryan Petrello2014-06-252-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain OpenStack projects that use pecan have overridden private methods of `pecan.rest.RestController` for custom behavior, and these method signatures are changing in the next release of pecan to support optional threadlocals. As good citizens, let's give these projects a deprecation period to get their implementations back in sync with upstream pecan. Change-Id: I02823c7fb79488aea0dd8ad3266aa7f0024bc4a0
* | | For an HTTP 405 on generic methods, attempt to specify an Allow header.Ryan Petrello2014-06-263-1/+32
|/ / | | | | | | Change-Id: I726d698fc014c21cc1e43a09a129384fa1f1235f
* | Merge "Serialize WebOb errors as JSON if the client requests it via an ↵Jenkins2014-06-252-3/+55
|\ \ | | | | | | | | | Accept header."
| * | Serialize WebOb errors as JSON if the client requests it via an Accept header.Ryan Petrello2014-06-252-3/+55
| | | | | | | | | | | | | | | Change-Id: I32040eff4259daf7a0e58b81ce861758d1d14bd9 Fixes bug 1324134
* | | Merge "Add support for specifying custom request and response implementations."Jenkins2014-06-254-16/+95
|\ \ \ | |/ / |/| |
| * | Add support for specifying custom request and response implementations.Ryan Petrello2014-06-254-16/+95
| | | | | | | | | | | | | | | | | | | | | | | | I noticed that people using pecan have taken to writing custom webob req/resp subclasses and monkeypatching onto `pecan.request` and `pecan.response`. Let's give them what they need to do this properly. Change-Id: If0ac953e381cec3a744388000a3b3afc0ea2525c
* | | Merge "Added inheritance for hooks from parent classes"Jenkins2014-06-253-4/+182
|\ \ \
| * | | Added inheritance for hooks from parent classesTihomir Trifonov2014-06-173-4/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also added hook inheritance from mixins, and adding hooks to child controllers, added as sub-controllers. Fixes bug 1330673 Change-Id: I709cece7bcce26943b254b15dc8ddac5613b1202
* | | | Fix a bug that broke `default_renderer = json`.Ryan Petrello2014-06-252-1/+16
| |/ / |/| | | | | | | | | | | Change-Id: Ie57feadb6efe664c1bc3c39debcb21c3355f210c Fixes bug 1332501
* | | Merge "Add support for Pecan *without* thread local request/response objects"Jenkins2014-06-259-129/+1650
|\ \ \
| * | | Add support for Pecan *without* thread local request/response objectsRyan Petrello2014-05-289-129/+1650
| |/ / | | | | | | | | | Change-Id: I5a5a05e1f57ef2d8ad64e925c7ffa6907b914273
* | | Test ceilometer on py27.Ryan Petrello2014-06-241-8/+8
| | | | | | | | | | | | Change-Id: I885dbfbddd2d6acdcbec6271acbccaebbc0de5de
* | | Fix routing docs about "Interacting with the Request and Response Object"Pierre Padrixe2014-06-191-2/+2
| |/ |/| | | | | | | | | | | | | pecan.response.text and pecan.response.status should be written instead of pecan.response.body and pecan.response.status_int Change-Id: Ie3f4011e3f299c77d464308cabfd2245ed01bb9f Closes-Bug: #1332101
* | Merge "Missing import in example"Jenkins2014-06-191-0/+1
|\ \
| * | Missing import in exampleStanislaw Pitucha2014-05-271-0/+1
| | | | | | | | | | | | | | | | | | `import logging` is required in the example. Change-Id: I92777da13b64592d4fb064c3ee0fc9507360ca0f
* | | Fix an incorrect barbican repo URL.Ryan Petrello2014-06-021-1/+1
| |/ |/| | | | | Change-Id: I65afb17dd348f5a3f63a6c97690423fab3f25695
* | Merge "Gate on stable/icehouse, and a few new projects that use pecan."Jenkins2014-05-281-1/+25
|\ \
| * | Gate on stable/icehouse, and a few new projects that use pecan.Ryan Petrello2014-05-191-1/+25
| | | | | | | | | | | | Change-Id: Ib31ecdb4e23054141511725b90dc10f6a7ec2afe
* | | Fix a documentation typo.Ryan Petrello2014-05-251-2/+2
| |/ |/| | | | | Change-Id: I3f36528b1911a570bdcb59115a3aa61d0e5b6a04
* | Allow controllers to return an explicit `webob.Response` object.Ryan Petrello2014-05-192-0/+20
|/ | | | Change-Id: I5e827eed73962a0a6f5d879224759a4d13888751
* Merge "Fix a broken scaffold test."Jenkins2014-04-241-1/+1
|\
| * Fix a broken scaffold test.Ryan Petrello2014-04-241-1/+1
| | | | | | | | | | | | Related to bug 1311629 Change-Id: Ic442457c501d598814f492e7aab4d885bdcf0711
* | Do not include Content-Type on 204 and 304 status codesJulien Danjou2014-04-242-3/+6
|/ | | | Change-Id: Iec7e5e0a7d5f10bf264a2e8e0a01cdaf2d73fd86
* Work around another obscure RestController edge case that should raise a 404.Ryan Petrello2014-04-232-0/+49
| | | | | | Fixes bug 1311147 Change-Id: I3dd0986c458902b03ed140872fc1938b06e75f4b
* Merge "If an exposed method returns nothing, reply with an HTTP 204."Jenkins2014-04-232-3/+5
|\
| * If an exposed method returns nothing, reply with an HTTP 204.Ryan Petrello2014-04-232-3/+5
| | | | | | | | | | Fixes-bug: 1311629 Change-Id: I06259adc76631d88777d1747c09dae3a67692a39
* | Some browsers don't like SVG.Ryan Petrello2014-04-151-1/+1
| | | | | | | | Change-Id: I93c267967720c2e6cbbf2654b47b9dfc505c34ba
* | Replace the PyPI badge with a working version.Ryan Petrello2014-04-081-2/+2
| | | | | | | | Change-Id: Iee92608602d43a28911518b5582f0c9f59958fde
* | Merge "Import run_cross_tests.sh from oslo-incubator"Jenkins2014-04-042-0/+77
|\ \
| * | Import run_cross_tests.sh from oslo-incubatorDoug Hellmann2014-03-272-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the script for running unit tests in other projects so we can more easily establish cross-project gate jobs. Depends on https://review.openstack.org/#/c/83411/ and https://review.openstack.org/#/c/83412/ Change-Id: I0c4b1c425c3aea18b7825c75b9147fd8a1da6914
* | | Version increment.0.5.0Ryan Petrello2014-04-012-2/+15
| | | | | | | | | | | | Change-Id: I34ab0eedf6a96eb77f21ec3e6b91cc3264409822
* | | Merge "color logging support"Jenkins2014-04-016-12/+115
|\ \ \
| * | | color logging supportAlfredo Deza2014-04-016-12/+115
| | | | | | | | | | | | | | | | Change-Id: Ic88b41e4032d6c97e020485341d375c196a1a1c0