Phil Schaf
55c0900452
Added docs for the error handler rework
2015-04-11 17:25:17 +02:00
Keyan Pishdadian
f525f7a82c
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
f4a53e97ea
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Markus Unterwaditzer
54e43d91bf
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
028525d2bf
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
7bc0c6ac79
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
1224aaa51a
Added OpenShift as a free hosting provider alternative
2015-03-31 16:13:29 -07:00
Keyan Pishdadian
6d2ac94f26
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
aecb94415d
Moved noted about HTTP 500 before the code examples
...
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
b63389da16
Added note that @errorhandler(500) isn't triggered in debug mode
2015-03-31 17:35:29 +02:00
Markus Unterwaditzer
04e1de343d
Add contributing file
2015-03-31 12:44:47 +02:00
Markus Unterwaditzer
89fd83a50c
Revert "Don't use threads in this test"
...
This reverts commit 78cd4161f0 .
2015-03-29 23:03:38 +02:00
Keyan Pishdadian
c6662079a1
Merge pull request #1378 from cbron/master
...
Fix link to SQLalchemy Declarative documentation.
2015-03-29 16:40:45 -04:00
Markus Unterwaditzer
42d9cb6363
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
6e9b0226c9
Merge branch 'mjpieters-appcontext_ignore_handled_exception'
2015-03-23 16:44:32 +01:00
Markus Unterwaditzer
9c23b19e7e
Changelog for #1393
2015-03-23 16:43:44 +01:00
Markus Unterwaditzer
e62ca6c5c8
Merge pull request #1389 from untitaker/always-memory-test
...
Always run memory tests
2015-03-23 16:41:29 +01:00
Martijn Pieters
6b712e717c
If this patch gets accepted I may as well be added here.
2015-03-23 15:17:43 +00:00
Martijn Pieters
35a1bc2f4a
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
da89b1e3b8
Always run memory tests
2015-03-22 12:49:47 +01:00
Winston Kouch
bac8e558a2
Add import flask module required to run code on Other Testing Tricks
2015-03-12 23:32:08 -04:00
Caleb Bron
7d19de620d
link to sqlalchemy declarative has changed
2015-03-12 10:26:06 -07:00
Markus Unterwaditzer
d79456e614
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
34c3adf33c
Add extensions section to Quickstart documentation
2015-03-11 23:54:09 -04:00
Markus Unterwaditzer
e61fb236a5
Merge pull request #1368 from ThiefMaster/pytest-norecurse
...
Configure pytest's norecursedirs
2015-03-08 13:55:39 +01:00
ThiefMaster
e5487b58ef
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
7410220a28
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
e9dab32cef
Change wording for clarity and accuracy
2015-03-05 16:19:49 -05:00
Markus Unterwaditzer
75a7d5b304
Fix broken link
2015-03-05 22:04:53 +01:00
Markus Unterwaditzer
da958a7f58
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
1e2af481ed
Update README for clarity and to remove redundancy
...
Addresses concerns presented in issue #1157
2015-03-05 16:01:48 -05:00
Markus Unterwaditzer
0a59ed3a0b
Untangle logic a bit
2015-03-05 22:00:27 +01:00
Markus Unterwaditzer
4cab9bdb11
Fix typo in changelog
2015-03-05 21:56:19 +01:00
Markus Unterwaditzer
b945038f3a
Merge pull request #1354 from idrisr/master
...
improve grammar, make format consistent, and improve readability
2015-03-05 21:55:08 +01:00
Markus Unterwaditzer
4530e59aa0
Merge pull request #1360 from keyanp/issue1317
...
Add exception details to response
2015-03-05 20:59:12 +01:00
Keyan Pishdadian
2277af95a9
Remove unused import and clean control flow
2015-03-05 13:26:59 -05:00
Keyan Pishdadian
ac9a7c1740
Change format index to support Python 2.6
2015-03-05 13:19:00 -05:00
Keyan Pishdadian
b032c2851e
Changed error message to include actual exception contents
2015-03-05 13:04:38 -05:00
Keyan Pishdadian
efd6333ae0
Change to hardcoding exception contents to support Python3 json loading exception format
2015-03-05 12:48:38 -05:00
Keyan Pishdadian
80f6344770
Change strings to bytes to support Python3, typo in function name
2015-03-04 15:14:43 -05:00
Keyan Pishdadian
f878cddb23
Change tests to support older response format
2015-03-04 14:48:08 -05:00
Keyan Pishdadian
225c59ca8e
Add tests for adding exception to response contents only when DEBUG is True
2015-03-04 14:40:16 -05:00
Keyan Pishdadian
8fa4b36357
Change logic to support when current_app is not available
2015-03-04 13:21:39 -05:00
Markus Unterwaditzer
0f1feb650a
Merge branch 'master' of github.com:mitsuhiko/flask
2015-03-04 18:44:56 +01:00
Markus Unterwaditzer
7f31742059
Restructure Upload Progress Bars
...
- Removed dropzone.js, it hasn't been around long enough, maybe we need
to update this in two years again.
- jQuery should be a proper rst link.
2015-03-04 18:43:59 +01:00
Markus Unterwaditzer
76f3c29d93
Merge remote-tracking branch 'sourya/master'
2015-03-04 18:40:35 +01:00
Keyan Pishdadian
6f6c63aea5
Make exception contents conditional on DEBUG
2015-03-02 12:12:37 -05:00
Keyan Pishdadian
b57ee34361
Add exception details to response
2015-02-28 01:22:15 -05:00
Markus Unterwaditzer
6987391a9f
Merge pull request #1358 from keyanp/ext_migrate_fix
...
Add skip to fix unnoticed bug with import migration tool
2015-02-26 10:43:34 +01:00
Keyan Pishdadian
a7bf11468d
Add skip to fix unnoticed bug with good imports
...
Fixes logic so that imports that should not be changed are skipped, which was not happening correctly before.
2015-02-25 19:48:29 -05:00