| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This reverts commit 12df0fe05c989ecbb3fab7bc53571e916a8ddb6b.
Change-Id: I390852dd6b1454a85fd5781641e0fc984587c2ea
|
| |
|
|
|
|
| |
Change-Id: I1ee039e0e84cd4c32d49c1a0b858fbc247e75054
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I37635b153bde00e47904f94ed212e03f4dd708e9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I7b0c7c7fe423fd29b0792f9708b940116e6914c1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Id2088317d47dc43d0e58869fbc4fa20cee98c7e9
|
|/
|
|
| |
Change-Id: Ib419baa13b819827517a9cf9851d19a90c8668bb
|
|
|
|
| |
Change-Id: Ic5b513f9668685c8ab831ba411abfca519ec2e87
|
|
|
|
| |
Change-Id: Ie3ec3dc65ae22973fe831a29792eac845cf15376
|
|
|
|
| |
Change-Id: I3be22d88872c65be07bde495c5bd9fd7b33df397
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I3f998d62c2f188818a747f1aa91beb9439ed77a2
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Change-Id: Id790efc75c8207eb61d74e9b2242b310ccd62ab1
Depends-On: Ieffa3fddc3c8d3152742455ca46d69bcc7208d69
Closes-bug: #1334690
Closes-bug: #1450109
|
|/
|
|
|
|
| |
Closes-Bug #1413038
Change-Id: I6b91479d9af754b1833abf212a20112e8372a948
|
|
|
|
| |
Change-Id: If9824e18b83a5f273cb727193cb632629b1f0ea1
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Closes-Bug: #1425750
Change-Id: I60616299b7853b0587ff25b74bfc155dc7589204
|
|/
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I3890d73a087f7635ddc51b71d3d6f68a41058c42
Closes-Bug: 1451842
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I3586dcdb6202282f244d61e51420053dba20bb28
|
|\
| |
| |
| | |
_default)."
|
| |
| |
| |
| | |
Change-Id: Ie180cc4092ab1457dd97176cc72c563e1d4c561f
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4ff0a7a7926f7a645fa8d59242be9d31bd683106
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Fixes bug 1221342
Change-Id: Icfad6a262ed211a73291eaead568248f67cfbfc9
|
|/
|
|
| |
Change-Id: Iae970712567794698aa0ba331a958b9fd238b5c0
|
|
|
|
| |
Change-Id: I259727d3204d4740ea9defb0c2adfdf59d81f3aa
|
|
|
|
| |
Change-Id: I78a34016f87d36ed320a0883a740cd4018e42e4b
|
|
|
|
| |
Change-Id: I310bfb38ed550e7e5932988ba21602bbea689e83
|
|\
| |
| |
| | |
edge cases."
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fixes-bug: 1408755
Change-Id: Ie87a6b9e72fd1387e69db1b6f24d4475ecba56c6
|
| |
| |
| |
| |
| |
| | |
Fixes bug: 1408008
Change-Id: Iac73b6b0017794de9dea4180d043c18d3fb6d942
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
This just use if/elif/else to do the proper renderer finding once and
for all.
Change-Id: I5e754afad2a7ce64e692d6898a9cf9eed5a7e94c
|
|/
|
|
|
|
| |
For the sake of it.
Change-Id: If34e33af1e590492bec45946d863a663cb384915
|
|
|
|
| |
Change-Id: Ibf1506b1aa378caccf322cfc3297c208aae662c5
|
|
|
|
| |
Change-Id: I68469327fc0403f36a37125147a15b05de9e1555
|