Commit graph

2197 commits

Author SHA1 Message Date
Markus Unterwaditzer
1aa8a54b17 Always run memory tests 2015-03-22 12:49:47 +01: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
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
Keyan Pishdadian
f6c45afb6f 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
Idris Raja
81e8bbbb7f improve grammar, make format consistent, and improve readability 2015-02-19 09:57:56 -06:00
Markus Unterwaditzer
818c42cfea Add @keyanp to authors, sort list 2015-02-18 18:17:14 +01:00
Markus Unterwaditzer
1dcad60051 Merge pull request #1342 from keyanp/issue1135
flask.ext Import Migration Tool #1135
2015-02-18 18:16:28 +01:00
Keyan Pishdadian
6fa1889afb Update comments to reflect new functionality 2015-02-15 19:09:08 -05:00
Keyan Pishdadian
5f64971731 Update comments to reflect new functionality 2015-02-14 18:16:28 -05:00
Keyan Pishdadian
cd6ec40947 Add test and logic for attribute access calls 2015-02-13 18:40:41 -05:00
Keyan Pishdadian
77ed466101 Remove hardcoded 'foo' 2015-02-13 16:02:37 -05:00
Keyan Pishdadian
4cb311b945 Add support for function call fixing, add tests
Addresses #1135, some code cleanup and refactoring. Changes wrapper function which handles testing, further modularized code, added test to cover function call fixing, and fixed duplicate test function name.
2015-02-13 15:27:29 -05:00
Keyan Pishdadian
9cbe83ef0d Add a test and cover edge case with parens 2015-02-12 16:41:57 -05:00
Keyan Pishdadian
1479cf80f6 Move test file, add RedBaron to tox.ini 2015-02-12 13:06:45 -05:00
Keyan Pishdadian
b759aa2b95 Add test for naming module and fix logic to cover 2015-02-12 11:58:38 -05:00
Keyan Pishdadian
37217e85b8 Fix issue with wrapper logic 2015-02-11 15:22:07 -05:00
Keyan Pishdadian
0cf5881312 Add tests, remove manual testing file #1135 2015-02-11 15:06:53 -05:00
Keyan Pishdadian
96d81c297a Change wrapper logic for testing 2015-02-11 14:53:39 -05:00
Keyan Pishdadian
4a9e34a574 Add wrapper for testing fixing functionality 2015-02-11 14:41:48 -05:00
Keyan Pishdadian
c90c4e5e8c Support "import flask.ext.foo" format
New commit supports the above import format, however it does not fix function calls elsewhere in the source. Perhaps there should be an error or simply alert the user through stdout().
2015-02-11 14:29:04 -05:00
Keyan Pishdadian
61d5e6a4d4 Cleanup 2015-02-11 13:29:50 -05:00
Keyan Pishdadian
8488a3afa9 Change parsing format to use AST via RedBaron
Moved away from using manual parsing. Source is parsed using RedBaron to make the FST. Some import formats not yet implemented, and still some bugs to work out. However, the current script works well for the two cases in the file comments.
2015-02-11 13:07:24 -05:00
Keyan Pishdadian
0b2556f3ec Add lib2to3 fixer base code
Switching to using RedBaron instead of lib2to3, committing to save lib2to3 code in case using Baron is not successful.
2015-02-10 11:23:16 -05:00
Markus Unterwaditzer
4082fe65f3 Merge pull request #1349 from jeffwidman/patch-1
Signals.rst: Grammar and readability fixes
2015-02-09 13:42:06 +01:00
Jeff Widman
ffe0c54891 Grammer and readability fixes 2015-02-09 01:03:08 -08:00
Markus Unterwaditzer
6521c36c68 Merge pull request #1346 from ezyang/master
Remove bad security advice about send_file, fixes #1345
2015-02-08 13:42:37 +01:00
Edward Z. Yang
29f7c10a5d Remove bad security advice about send_file.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
2015-02-07 15:06:51 -08:00
Markus Unterwaditzer
f0b4b99930 Merge pull request #1343 from cvrebert/test_request_preprocessing_early_return
make test_request_preprocessing_early_return more thorough
2015-02-06 23:34:52 +01:00
Chris Rebert
6d2c076a3b make test_request_preprocessing_early_return more thorough 2015-02-06 13:11:23 -08:00
Keyan Pishdadian
9d64ff420f Early commit for issue #1135
Add support migrating single imports from the flask.ext style to flask_
2015-02-06 14:38:33 -05:00
Markus Unterwaditzer
1158e22958 Fix test under Python 3 2015-02-06 18:20:17 +01:00
Markus Unterwaditzer
85b20f8d49 Avoid duplication of version info 2015-02-06 18:06:16 +01:00