summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Pecan has moved to https://github.com/pecan/pecanHEADmasterMonty Taylor2015-11-241-6/+3
| | | | | | This reverts commit 12df0fe05c989ecbb3fab7bc53571e916a8ddb6b. Change-Id: I390852dd6b1454a85fd5781641e0fc984587c2ea
* Retire stackforge/pecanMonty Taylor2015-10-171-3/+6
|
* Pecan has moved to https://github.com/pecan/pecanRyan Petrello2015-07-29163-20197/+1
| | | | Change-Id: I1ee039e0e84cd4c32d49c1a0b858fbc247e75054
* Merge "Allow all RFC3986-specified characters in explicit path segments."Jenkins2015-07-092-1/+10
|\
| * Allow all RFC3986-specified characters in explicit path segments.Ryan Petrello2015-06-252-1/+10
| | | | | | | | Change-Id: I37635b153bde00e47904f94ed212e03f4dd708e9
* | Merge "Replace pecan's homegrown interactive debugging middleware with backlash"Jenkins2015-07-0916-3315/+120
|\ \
| * | Replace pecan's homegrown interactive debugging middleware with backlashRyan Petrello2015-06-1116-3315/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backlash is a port of Werkzeug's debugger middleware to Webob. It has no additional dependencies beyond Webob and is being used by the TurboGears2 team as an alternative to the antiquated Paste/WebError. Leveraging this as an *optional* dependency to pecan would: * Remove a sizable chunk of code from pecan, some of which is embedded JavaScript that packagers have traditionally balked at. * Improve the interactive debugging experience for developers in a very meaningful way (the Werkzeug-based middleware provides features like an in-browser console debugger, the ability to load source code on a frame-by-frame basis). * Improve the unified debugging experience amongst several popular Python frameworks (some form of the debugging interface will be in use by Flask, Pecan, and TurboGears2). Change-Id: I85f50f677c6052bd2afd32811dedf33835135e12
* | | Fix a bug in the way `default_renderer` is applied.Ryan Petrello2015-06-253-5/+22
| |/ |/| | | | | | | | | | | | | | | | | When an explicit `content_type` is specified to `pecan.expose()`, it should always take precendece over the `default_renderer` specified at the application level. Fixes-bug: #1465688 Change-Id: I633777a3d682f17b7f61cbe691c6e93f2ce2a310
* | Fix broken wsme-stable tests as of the latest 0.7.0 release.Ryan Petrello2015-06-081-3/+4
|/ | | | Change-Id: I7b0c7c7fe423fd29b0792f9708b940116e6914c1
* Allowing tracebacks to be surfaced through abortJohn Vrbanac2015-06-032-6/+34
| | | | | | | | | | | | | | Currently, anytime abort(...) is called, It raises a new exception which then suppresses any existing tracebacks. This causes error monitoring systems like NewRelic to report back worthless surface-level tracebacks that have nothing to do with the application. This change allows for the exception type to change, but keep the existing traceback (if one exists). This allows for monitoring systems to see a real traceback that can be correlated to logged information. Change-Id: Ibe6eb37e25b74d1dcfca76dfc1f5bbce28d34e85
* Merge "Version increment."0.9.0Jenkins2015-05-282-1/+27
|\
| * Version increment.Ryan Petrello2015-05-272-1/+27
| | | | | | | | Change-Id: Id2088317d47dc43d0e58869fbc4fa20cee98c7e9
* | Require orderddict for Python 2.6 support.Ryan Petrello2015-05-271-0/+4
|/ | | | Change-Id: Ib419baa13b819827517a9cf9851d19a90c8668bb
* Add tox environments to gate pecan against openstack/gnocchiRyan Petrello2015-05-271-0/+18
| | | | Change-Id: Ic5b513f9668685c8ab831ba411abfca519ec2e87
* Add tox environments to gate pecan against openstack/magnumRyan Petrello2015-05-271-0/+16
| | | | Change-Id: Ie3ec3dc65ae22973fe831a29792eac845cf15376
* Gate against latest stable projects.Ryan Petrello2015-05-261-9/+17
| | | | Change-Id: I3be22d88872c65be07bde495c5bd9fd7b33df397
* Merge "Allow users to specify custom path segments for routing."Jenkins2015-05-217-8/+549
|\
| * Allow users to specify custom path segments for routing.Ryan Petrello2015-05-217-8/+549
| | | | | | | | Change-Id: I3f998d62c2f188818a747f1aa91beb9439ed77a2
* | Merge "Properly raise HTTP 405 (and specify Allow headers) for RestController"Jenkins2015-05-214-36/+126
|\ \
| * | Properly raise HTTP 405 (and specify Allow headers) for RestControllerRyan Petrello2015-05-214-36/+126
| |/ | | | | | | | | | | | | Change-Id: Id790efc75c8207eb61d74e9b2242b310ccd62ab1 Depends-On: Ieffa3fddc3c8d3152742455ca46d69bcc7208d69 Closes-bug: #1334690 Closes-bug: #1450109
* | Update the `rest-api` scaffold to use generic controllers, *not* RestControllerRyan Petrello2015-05-212-20/+29
|/ | | | | | Closes-Bug #1413038 Change-Id: I6b91479d9af754b1833abf212a20112e8372a948
* Fix broken wsme-stable tests.Ryan Petrello2015-05-211-1/+6
| | | | Change-Id: If9824e18b83a5f273cb727193cb632629b1f0ea1
* Replace ci.o.o links with docs.o.o/infraJeremy Stanley2015-05-141-1/+1
| | | | | | | | | The http://ci.openstack.org/ documentation site has been deprecated, replaced by redirects to corresponding paths within http://docs.openstack.org/infra/ where other Project Infrastructure documentation already resides. Change-Id: Ic98ba41e1370039d99d233ccf318df11a40fb0d4
* Merge "Fix unquoting of positional args with plus sign"Jenkins2015-05-132-6/+22
|\
| * Fix unquoting of positional args with plus signMaxim Kulkin2015-05-122-6/+22
| | | | | | | | | | | | Closes-Bug: #1425750 Change-Id: I60616299b7853b0587ff25b74bfc155dc7589204
* | Add more emphasis to the need for debug=False in deployment documentation.Ryan Petrello2015-05-111-11/+13
|/ | | | | | | Given https://wiki.openstack.org/wiki/OSSN/OSSN-0046, it seems that this portion of documentation needs to be far more visible on the page. Change-Id: I00f48d23edf5a0844d247a0d1476e9cd31ca84d7
* Properly handle Python3 Unicode path segments in pecan routing.Ryan Petrello2015-05-077-13/+132
| | | | | Change-Id: I3890d73a087f7635ddc51b71d3d6f68a41058c42 Closes-Bug: 1451842
* Merge "make_app() now uses the debugger param in DebugMiddleware()"Jenkins2015-04-295-12/+76
|\
| * make_app() now uses the debugger param in DebugMiddleware()Joe D'Andrea2015-04-295-12/+76
| | | | | | | | | | | | | | | | Setting app.debugger in setup.py now takes proper effect. A warning is issued if the entry point is not callable. Change-Id: I58a860b8ef0e1cb956b4554071275c024a1949d2 Closes-Bug: #1449573
* | Drop support for Python 3.2.Ryan Petrello2015-04-293-27/+4
|/ | | | Change-Id: I3586dcdb6202282f244d61e51420053dba20bb28
* Merge "Prevent @expose(generic=True) on special methods (_route, _lookup, ↵Jenkins2015-04-122-0/+28
|\ | | | | | | _default)."
| * Prevent @expose(generic=True) on special methods (_route, _lookup, _default).Ryan Petrello2015-03-022-0/+28
| | | | | | | | Change-Id: Ie180cc4092ab1457dd97176cc72c563e1d4c561f
* | core: do not assume controller is a methodJulien Danjou2015-03-022-1/+13
|/ | | | | | | | If a controller is not a method (e.g. a staticmethod or a function), there's no need to pop up the self argument. That actually make the signature to mismatch, so let's fix that. Change-Id: Ia96b7d19b2b664381e422b7182d0437b841914dd
* Fix broken wsme-stable job and pep8 failures.Julien Danjou2015-03-027-29/+26
| | | | Change-Id: I4ff0a7a7926f7a645fa8d59242be9d31bd683106
* Merge "Document how to serve static files (with an iterable, not in-memory)."Jenkins2015-02-041-0/+54
|\
| * Document how to serve static files (with an iterable, not in-memory).Ryan Petrello2015-02-041-0/+54
| | | | | | | | | | | | Fixes bug 1221342 Change-Id: Icfad6a262ed211a73291eaead568248f67cfbfc9
* | Default the `pecan` log level to DEBUG for development.Ryan Petrello2015-01-122-2/+2
|/ | | | Change-Id: Iae970712567794698aa0ba331a958b9fd238b5c0
* *Properly* detect Python < 3.3.0.8.3Ryan Petrello2015-01-121-2/+2
| | | | Change-Id: I259727d3204d4740ea9defb0c2adfdf59d81f3aa
* Fix py32 support; importlib.machinery.SourceFileLoader doesn't exist until py33Ryan Petrello2015-01-121-2/+3
| | | | Change-Id: I78a34016f87d36ed320a0883a740cd4018e42e4b
* Version increment.Ryan Petrello2015-01-122-1/+12
| | | | Change-Id: I310bfb38ed550e7e5932988ba21602bbea689e83
* Merge "Change pecan to more gracefully handle a few odd request encoding ↵Jenkins2015-01-123-3/+48
|\ | | | | | | edge cases."
| * Change pecan to more gracefully handle a few odd request encoding edge cases.Ryan Petrello2015-01-083-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Webob raises UnicodeDecodeErrors during request argument parsing in two situations: * HTTP POST requests composed of non-Unicode data (only affects Webob in Python2) * URL paths that contain invalid percent-encoded characters, e.g., /some/path/%AA Pecan should detect these types of decoding failures when `webob.Request` attributes are accessed, log the original exception, and coerce the HTTP 500 into a more accurate HTTP 400. Fixes bug: 1408102 Fixes bug: 1407749 Change-Id: I734efd36230b6742805bcfd801dc0de2489ef92b
* | Merge "Document pecan.request.context"Jenkins2015-01-091-0/+19
|\ \ | |/
| * Document pecan.request.contextRyan Petrello2015-01-081-0/+19
| | | | | | | | | | | | Fixes-bug: 1408755 Change-Id: Ie87a6b9e72fd1387e69db1b6f24d4475ecba56c6
* | Improve ImportError verbosity for configuration files.Ryan Petrello2015-01-062-1/+38
| | | | | | | | | | | | Fixes bug: 1408008 Change-Id: Iac73b6b0017794de9dea4180d043c18d3fb6d942
* | Merge "core: optimize renderer computing"Jenkins2014-12-311-7/+8
|\ \
| * | core: optimize renderer computingJulien Danjou2014-12-191-7/+8
| |/ | | | | | | | | | | | | This just use if/elif/else to do the proper renderer finding once and for all. Change-Id: I5e754afad2a7ce64e692d6898a9cf9eed5a7e94c
* | middleware.static: remove useless stored variableJulien Danjou2014-12-191-1/+0
|/ | | | | | For the sake of it. Change-Id: If34e33af1e590492bec45946d863a663cb384915
* Version increment.0.8.2Ryan Petrello2014-12-172-1/+6
| | | | Change-Id: Ibf1506b1aa378caccf322cfc3297c208aae662c5
* Don't clone pecan-dependent projects from cgit.Ryan Petrello2014-12-161-9/+9
| | | | Change-Id: I68469327fc0403f36a37125147a15b05de9e1555