Commit graph

2226 commits

Author SHA1 Message Date
Markus Unterwaditzer
2446ca63a8 0.11 => 1.0 2015-06-06 03:29:44 +02:00
ThiefMaster
08ac3aa4e3 Allow custom jinja environments
This is useful e.g. when using the new Jinja Environment
attributes added in mitsuhiko/jinja2#404
2015-04-06 15:03:00 +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
Markus Unterwaditzer
94a3968d69 Untangle logic a bit 2015-03-05 22:00:27 +01:00
Markus Unterwaditzer
0748e2daac Fix typo in changelog 2015-03-05 21:56:19 +01:00
Markus Unterwaditzer
c282ab1ce2 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
5164be092a Merge pull request #1360 from keyanp/issue1317
Add exception details to response
2015-03-05 20:59:12 +01:00
Keyan Pishdadian
7b080355f5 Remove unused import and clean control flow 2015-03-05 13:26:59 -05:00
Keyan Pishdadian
44da905cb7 Change format index to support Python 2.6 2015-03-05 13:19:00 -05:00
Keyan Pishdadian
1cd9e91810 Changed error message to include actual exception contents 2015-03-05 13:04:38 -05:00
Keyan Pishdadian
290c371eb1 Change to hardcoding exception contents to support Python3 json loading exception format 2015-03-05 12:48:38 -05:00
Keyan Pishdadian
d6a1307f9d Change strings to bytes to support Python3, typo in function name 2015-03-04 15:14:43 -05:00
Keyan Pishdadian
294961e6fc Change tests to support older response format 2015-03-04 14:48:08 -05:00
Keyan Pishdadian
39e66ca6d7 Add tests for adding exception to response contents only when DEBUG is True 2015-03-04 14:40:16 -05:00
Keyan Pishdadian
19df249c89 Change logic to support when current_app is not available 2015-03-04 13:21:39 -05:00
Markus Unterwaditzer
e527c173f5 Merge branch 'master' of github.com:mitsuhiko/flask 2015-03-04 18:44:56 +01:00
Markus Unterwaditzer
0a492a09a8 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
9a61e7d571 Merge remote-tracking branch 'sourya/master' 2015-03-04 18:40:35 +01:00
Keyan Pishdadian
82b7983b2a Make exception contents conditional on DEBUG 2015-03-02 12:12:37 -05:00
Keyan Pishdadian
5d3e7b737c Add exception details to response 2015-02-28 01:22:15 -05:00
Markus Unterwaditzer
3740ae492f 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