Commit graph

2188 commits

Author SHA1 Message Date
Keyan Pishdadian
e9dab32cef Change wording for clarity and accuracy 2015-03-05 16:19:49 -05: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
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
Markus Unterwaditzer
bbd2b83d98 Add @keyanp to authors, sort list 2015-02-18 18:17:14 +01:00
Markus Unterwaditzer
eeb8247d6d Merge pull request #1342 from keyanp/issue1135
flask.ext Import Migration Tool #1135
2015-02-18 18:16:28 +01:00
Keyan Pishdadian
2cf76517bd Update comments to reflect new functionality 2015-02-15 19:09:08 -05:00
Keyan Pishdadian
bfb4d4f8f6 Update comments to reflect new functionality 2015-02-14 18:16:28 -05:00
Keyan Pishdadian
91649f5bd6 Add test and logic for attribute access calls 2015-02-13 18:40:41 -05:00
Keyan Pishdadian
a058091680 Remove hardcoded 'foo' 2015-02-13 16:02:37 -05:00
Keyan Pishdadian
6ec7431773 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
02cd3ea671 Add a test and cover edge case with parens 2015-02-12 16:41:57 -05:00
Keyan Pishdadian
10fb3d7a40 Move test file, add RedBaron to tox.ini 2015-02-12 13:06:45 -05:00
Keyan Pishdadian
3c9a97ce14 Add test for naming module and fix logic to cover 2015-02-12 11:58:38 -05:00
Keyan Pishdadian
2630ace9ef Fix issue with wrapper logic 2015-02-11 15:22:07 -05:00
Keyan Pishdadian
15bbaf113a Add tests, remove manual testing file #1135 2015-02-11 15:06:53 -05:00
Keyan Pishdadian
77668e1d65 Change wrapper logic for testing 2015-02-11 14:53:39 -05:00
Keyan Pishdadian
f0ba70cda4 Add wrapper for testing fixing functionality 2015-02-11 14:41:48 -05:00
Keyan Pishdadian
fb9ba1d76d 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
3ae34f782f Cleanup 2015-02-11 13:29:50 -05:00
Keyan Pishdadian
38c8f47d46 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
508614fed2 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
13909e867f Merge pull request #1349 from jeffwidman/patch-1
Signals.rst: Grammar and readability fixes
2015-02-09 13:42:06 +01:00
Jeff Widman
b6fe81d648 Grammer and readability fixes 2015-02-09 01:03:08 -08:00
Markus Unterwaditzer
bd01f6f3ac 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
9209377f03 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
7ad57b66c3 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
c16e7df2a1 make test_request_preprocessing_early_return more thorough 2015-02-06 13:11:23 -08:00
Keyan Pishdadian
0104498ffa 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
bf3f336306 Fix test under Python 3 2015-02-06 18:20:17 +01:00
Markus Unterwaditzer
08b6c72cd9 Avoid duplication of version info 2015-02-06 18:06:16 +01:00
Markus Unterwaditzer
f06dc142f1 Merge pull request #1341 from ThiefMaster/pep-440-dev-version
Use PEP440-compatible dev version
2015-02-06 18:03:41 +01:00
ThiefMaster
ddf0dfa895 Use PEP440-compatible dev version 2015-02-06 17:05:08 +01:00
Markus Unterwaditzer
d8642ab085 Add testcase for behavior described in #1338 2015-02-05 22:13:19 +01:00
Markus Unterwaditzer
b114b28a0a Merge pull request #1338 from cvrebert/middleware-docs
Improve docs of signatures of before/after/teardown callback funcs
2015-02-05 22:11:07 +01:00
Chris Rebert
4692b32f6c Document required signature of before_first_request-decorated functions 2015-02-05 12:45:59 -08:00