Commit graph

2167 commits

Author SHA1 Message Date
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
Chris Rebert
cbde895669 Document that the return values of teardown functions are ignored 2015-02-05 12:45:11 -08:00
Chris Rebert
d8a0d09a66 Document required signature of before_request functions
Unless you happened to also read preprocess_request()'s docstring,
it wasn't not obvious that return values from these functions are treated as
response values.
2015-02-05 12:38:34 -08:00
Chris Rebert
1d9b459fc5 fix grammar in preprocess_request() docstring 2015-02-05 12:35:25 -08:00
Markus Unterwaditzer
dc3c9c4eba Merge pull request #1332 from mypetyak/docs/teardown_request_docstring
Fixed minor docstring typo for teardown_request()
2015-01-29 07:09:58 +01:00
Christopher Bunn
e2d6bbdcff Fixed minor docstring typo for teardown_request() 2015-01-28 21:04:43 -05:00
Markus Unterwaditzer
b38c0fe9b5 Merge branch 'date-support-in-jsonify' 2015-01-23 14:55:24 +01:00
Markus Unterwaditzer
0c053800e1 link to relevant PR
see #1326
2015-01-23 14:54:30 +01:00
Ben Jones
db619cc609 Add datetime.date support to JSONEncoder 2015-01-23 07:44:17 -06:00
Markus Unterwaditzer
5bfe6e6e94 Add readme to persona example
Fix #1310
2015-01-17 13:18:27 +01:00
Markus Unterwaditzer
52a15ef3a5 Merge pull request #1318 from cerivera/master
grammar fixes
2015-01-16 15:06:08 +01:00
Carlos Eduardo Rivera
82765c7551 grammar fixes 2015-01-16 03:36:17 -06:00
Markus Unterwaditzer
12242dcfc1 Merge pull request #1315 from brettgerry/deprecate-textfield
Replace TextField with StringField in registration page example
2015-01-13 23:55:53 +01:00
Brett Gerry
9cf23c47df deprecate TextField in favor of StringField 2015-01-13 14:47:41 -08:00
Markus Unterwaditzer
4c4114f84e Merge pull request #1313 from homeworkprod/patch-1
Added missing import.
2015-01-13 17:58:14 +01:00
Jochen Kupperschmidt
cb4d93c140 Added missing import.
As this specific code block lists imports in general and an import from the `flask` package specifically, it should also include `g` for the sake of completeness.
2015-01-13 03:03:14 +01:00
Markus Unterwaditzer
13947abe69 Merge pull request #1303 from Parkayun/master
Happy New Year 2015
2015-01-03 14:00:39 +01:00
Parkayun
e05771ff60 Happy New Year 2015 2015-01-02 11:35:00 +09:00
Markus Unterwaditzer
52c45c940f Merge pull request #1299 from sateeshkumarb/patch-1
Update quickstart.rst
2014-12-30 18:14:59 +01:00