Commit graph

2244 commits

Author SHA1 Message Date
Markus Unterwaditzer
73d89cccec Errorhandlers were NOT *added* in 1.0 2015-04-30 23:05:55 +02:00
Markus Unterwaditzer
e99fec26ab Merge pull request #1441 from andyxning/fix_pep8_with_logging
Fix pep8 with logging
2015-04-19 11:37:55 +02:00
ning.xie
1b7fad3716 fix pep8 with logging.py 2015-04-19 17:33:54 +08:00
Markus Unterwaditzer
aaebe9fe25 Merge pull request #1431 from untitaker/flask-errorhandling-amend
Some cleanup for errorhandling refactor
2015-04-12 00:06:57 +02:00
Markus Unterwaditzer
0bac2ade91 Fix formatting errors 2015-04-11 20:52:47 +02:00
Markus Unterwaditzer
7d506f2408 Recursively traverse MRO of exception 2015-04-11 20:52:47 +02:00
Markus Unterwaditzer
aed464b92b Merge pull request #1291 from flying-sheep/errorhandler-rework
Fixed and intuitivized exception handling
2015-04-11 18:13:22 +02:00
Markus Unterwaditzer
06f2be3ae4 Merge pull request #1429 from flying-sheep/errorhandler-rework-docs
Added docs for the error handler rework
2015-04-11 18:12:46 +02:00
Phil Schaf
290372faf1 some details 2015-04-11 18:08:04 +02:00
Phil Schaf
4437eb7ceb slimmed down error handling intro 2015-04-11 18:01:22 +02:00
Phil Schaf
d4ad47af62 added info about an exception being raised for the old and broken behavior 2015-04-11 17:44:18 +02:00
Phil Schaf
9d3c4bbb8c Added docs for the error handler rework 2015-04-11 17:25:17 +02:00
Phil Schaf
b31252db55 addressed a few review concerns 2015-04-11 14:24:01 +02:00
Phil Schaf
8c054f04b8 added caching 2015-04-11 14:05:22 +02:00
Phil Schaf
fd8e6b26f9 removed ExceptionHandlerDict 2015-04-11 14:05:22 +02:00
Phil Schaf
0e44cca8e3 Removed 500 not being registerable for blueprints 2015-04-11 14:05:22 +02:00
Phil Schaf
aa4700c276 More verbose message for old broken behavior 2015-04-11 14:05:22 +02:00
Phil Schaf
a6c6cc18f5 Removed unused http code get function 2015-04-11 14:05:22 +02:00
Phil Schaf
7126a22334 Switched to userdict for obsolete Python versions 2015-04-11 14:05:22 +02:00
Phil Schaf
eae48d97b0 Fixed and intuitivized exception handling 2015-04-11 14:05:22 +02:00
Keyan Pishdadian
dac45f6c5d Merge pull request #1418 from alexwlchan/master
Fix a few spelling mistakes in the docs
2015-04-03 15:46:33 -04:00
Alex Chan
8570633214 Fix a few spelling mistakes in the docs 2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
b57a076fa3 Merge pull request #1380 from KWinston/master
Add line of code required to run examples for Other Testing Tricks section
2015-04-02 01:57:06 +02:00
Brandon Sandrowicz
20f62e828b Fix Possible Typo
Looks like that was meant to be `config_key`. It works by accident because the function is defined in the same scope as the look that passes `config_key` to `apprunner`.
2015-04-02 01:48:48 +02:00
Keyan Pishdadian
b075737245 Merge pull request #1414 from charleswhchan/patch-1
Added OpenShift as a free hosting provider alternative
2015-04-01 10:13:31 -04:00
Charles Chan
6c56e4231f Added OpenShift as a free hosting provider alternative 2015-03-31 16:13:29 -07:00
Keyan Pishdadian
76c518dae7 Merge pull request #1413 from skybert/500-errhandler-note
Added note that @errorhandler(500) isn't triggered in debug mode
2015-03-31 13:52:27 -04:00
Torstein Krause Johansen
557a053e3b Moved noted about HTTP 500 before the code examples
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
5dd9335aac Added note that @errorhandler(500) isn't triggered in debug mode 2015-03-31 17:35:29 +02:00
Markus Unterwaditzer
c259f2bb2b Add contributing file 2015-03-31 12:44:47 +02:00
Markus Unterwaditzer
1577e1386e Revert "Don't use threads in this test"
This reverts commit 78cd4161f0.
2015-03-29 23:03:38 +02:00
Keyan Pishdadian
86e8267eb9 Merge pull request #1378 from cbron/master
Fix link to SQLalchemy Declarative documentation.
2015-03-29 16:40:45 -04:00
Markus Unterwaditzer
78cd4161f0 Don't use threads in this test
I think test failures would've been ignored if there were some.

Fixes #1401
2015-03-29 13:40:35 +02:00
Markus Unterwaditzer
33bad011c3 Merge branch 'mjpieters-appcontext_ignore_handled_exception' 2015-03-23 16:44:32 +01:00
Markus Unterwaditzer
f0de0a6057 Changelog for #1393 2015-03-23 16:43:44 +01:00
Markus Unterwaditzer
ecb8f81760 Merge pull request #1389 from untitaker/always-memory-test
Always run memory tests
2015-03-23 16:41:29 +01:00
Martijn Pieters
ecaaa50234 If this patch gets accepted I may as well be added here. 2015-03-23 15:17:43 +00:00
Martijn Pieters
ec0d208bc1 Switch away from using None as default value for the exception when tearing down a context.
When an exception has been handled when using the request / app context in a with statement, `sys.exc_info()` will still contain the exception information even though it has been handled already. The `__exit__` methods pass in `None` for the exception value in that case, which needs to be distinguisable from the default value for the `exc` parameter. Use a dedicated singleton sentinel value instead.
2015-03-23 15:17:19 +00:00
Markus Unterwaditzer
1aa8a54b17 Always run memory tests 2015-03-22 12:49:47 +01:00
Winston Kouch
6bbbb72843 Add import flask module required to run code on Other Testing Tricks 2015-03-12 23:32:08 -04:00
Caleb Bron
c0593efbb2 link to sqlalchemy declarative has changed 2015-03-12 10:26:06 -07:00
Markus Unterwaditzer
ec5811d0a1 Merge pull request #1376 from KWinston/master
Update quickstart.rst doc for awareness of Flask extensions
2015-03-12 09:36:07 +01:00
Winston Kouch
5f8c850895 Add extensions section to Quickstart documentation 2015-03-11 23:54:09 -04:00
Markus Unterwaditzer
12cd14a075 Merge pull request #1368 from ThiefMaster/pytest-norecurse
Configure pytest's norecursedirs
2015-03-08 13:55:39 +01:00
ThiefMaster
ce471ca17c Configure pytest's norecursedirs
This skips directories which don't contain unittests and also
virtualenvs (in folders named env*, which is already in gitignore)
as we don't want to execute any tests in there
2015-03-08 13:45:51 +01:00
Markus Unterwaditzer
8c4842cf1f Merge pull request #1364 from keyanp/updateREADME
Update README for clarity and to remove redundancy
2015-03-05 22:25:44 +01:00
Keyan Pishdadian
fba2535005 Change wording for clarity and accuracy 2015-03-05 16:19:49 -05:00
Markus Unterwaditzer
9c1cf1bc08 Fix broken link 2015-03-05 22:04:53 +01:00
Markus Unterwaditzer
7ae1c5a8b9 Merge pull request #1325 from bsutherland/rqst_properteis_doc_iri_patch
Clarify contents of request properties.
2015-03-05 22:03:54 +01:00
Keyan Pishdadian
7d63b89a8e Update README for clarity and to remove redundancy
Addresses concerns presented in issue #1157
2015-03-05 16:01:48 -05:00