Markus Unterwaditzer
1dcad60051
Merge pull request #1342 from keyanp/issue1135
...
flask.ext Import Migration Tool #1135
10 years ago
Keyan Pishdadian
6fa1889afb
Update comments to reflect new functionality
10 years ago
Keyan Pishdadian
5f64971731
Update comments to reflect new functionality
10 years ago
Keyan Pishdadian
cd6ec40947
Add test and logic for attribute access calls
10 years ago
Keyan Pishdadian
77ed466101
Remove hardcoded 'foo'
10 years ago
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.
10 years ago
Keyan Pishdadian
9cbe83ef0d
Add a test and cover edge case with parens
10 years ago
Keyan Pishdadian
1479cf80f6
Move test file, add RedBaron to tox.ini
10 years ago
Keyan Pishdadian
b759aa2b95
Add test for naming module and fix logic to cover
10 years ago
Keyan Pishdadian
37217e85b8
Fix issue with wrapper logic
10 years ago
Keyan Pishdadian
0cf5881312
Add tests, remove manual testing file #1135
10 years ago
Keyan Pishdadian
96d81c297a
Change wrapper logic for testing
10 years ago
Keyan Pishdadian
4a9e34a574
Add wrapper for testing fixing functionality
10 years ago
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().
10 years ago
Keyan Pishdadian
61d5e6a4d4
Cleanup
10 years ago
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.
10 years ago
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.
10 years ago
Markus Unterwaditzer
4082fe65f3
Merge pull request #1349 from jeffwidman/patch-1
...
Signals.rst: Grammar and readability fixes
10 years ago
Jeff Widman
ffe0c54891
Grammer and readability fixes
10 years ago
Markus Unterwaditzer
6521c36c68
Merge pull request #1346 from ezyang/master
...
Remove bad security advice about send_file, fixes #1345
10 years ago
Edward Z. Yang
29f7c10a5d
Remove bad security advice about send_file.
...
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
10 years ago
Markus Unterwaditzer
f0b4b99930
Merge pull request #1343 from cvrebert/test_request_preprocessing_early_return
...
make test_request_preprocessing_early_return more thorough
10 years ago
Chris Rebert
6d2c076a3b
make test_request_preprocessing_early_return more thorough
10 years ago
Keyan Pishdadian
9d64ff420f
Early commit for issue #1135
...
Add support migrating single imports from the flask.ext style to flask_
10 years ago
Markus Unterwaditzer
1158e22958
Fix test under Python 3
10 years ago
Markus Unterwaditzer
85b20f8d49
Avoid duplication of version info
10 years ago
Markus Unterwaditzer
eb2a4521ff
Merge pull request #1341 from ThiefMaster/pep-440-dev-version
...
Use PEP440-compatible dev version
10 years ago
ThiefMaster
ddf0dfa895
Use PEP440-compatible dev version
10 years ago
Markus Unterwaditzer
5fa76f6800
Add testcase for behavior described in #1338
10 years ago
Markus Unterwaditzer
6e6a3e8cfb
Merge pull request #1338 from cvrebert/middleware-docs
...
Improve docs of signatures of before/after/teardown callback funcs
10 years ago
Chris Rebert
fe6bcffdad
Document required signature of before_first_request-decorated functions
10 years ago
Chris Rebert
6a2524634d
Document that the return values of teardown functions are ignored
10 years ago
Chris Rebert
eccee36964
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.
10 years ago
Chris Rebert
a45fce8496
fix grammar in preprocess_request() docstring
10 years ago
Markus Unterwaditzer
4dc3c16c3d
Merge pull request #1332 from mypetyak/docs/teardown_request_docstring
...
Fixed minor docstring typo for teardown_request()
10 years ago
Christopher Bunn
d60e13436d
Fixed minor docstring typo for teardown_request()
10 years ago
Markus Unterwaditzer
495704e1ad
Merge branch 'date-support-in-jsonify'
10 years ago
Markus Unterwaditzer
51b011fac7
link to relevant PR
...
see #1326
10 years ago
Ben Jones
61263e08f9
Add datetime.date support to JSONEncoder
10 years ago
Markus Unterwaditzer
1ba6c2248d
Add readme to persona example
...
Fix #1310
10 years ago
Markus Unterwaditzer
e3ba459abb
Merge pull request #1318 from cerivera/master
...
grammar fixes
10 years ago
Carlos Eduardo Rivera
65465ffece
grammar fixes
10 years ago
Markus Unterwaditzer
dfeabb7089
Merge pull request #1315 from brettgerry/deprecate-textfield
...
Replace TextField with StringField in registration page example
10 years ago
Brett Gerry
6517a1a37c
deprecate TextField in favor of StringField
10 years ago
Markus Unterwaditzer
b68dc78d09
Merge pull request #1313 from homeworkprod/patch-1
...
Added missing import.
10 years ago
Jochen Kupperschmidt
e3bb34ec24
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.
10 years ago
Markus Unterwaditzer
5b98266152
Merge pull request #1303 from Parkayun/master
...
Happy New Year 2015
10 years ago
Parkayun
33534bb4a9
Happy New Year 2015
10 years ago
Markus Unterwaditzer
4fde65eb7a
Merge pull request #1299 from sateeshkumarb/patch-1
...
Update quickstart.rst
10 years ago
Sateesh
b9eb805167
Update quickstart.rst
...
Minor grammar correction.
10 years ago