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
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
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
Parkayun
e05771ff60
Happy New Year 2015
2015-01-02 11:35:00 +09:00
Markus Unterwaditzer
5884666628
Merge pull request #619 from QuentinRoy/master
...
Fix missing argument in find_module of flaskext_compat.py
2014-10-07 19:01:17 +02:00
Markus Unterwaditzer
a20e8aca3a
Metadata change
2014-09-11 22:09:51 +02:00
cgar
04e5fe56df
minor spelling fixes
2014-09-09 20:12:38 -04:00
Armin Ronacher
910cc56a4e
Removed deprecated module functionality
2014-08-27 01:12:33 +02:00
Markus Unterwaditzer
cdf3281f95
Fix when release date is not today
...
Also, some fixes for PyFlakes
Original commit by @dongweiming at
a05c403870
2014-04-05 11:39:31 +02:00
Daniel Neuhäuser
52098e1e4f
Happy New Year 2014
2014-01-02 19:21:07 +01:00
Thomas Waldmann
e1d356fb71
ported some more stuff to py 3.3
...
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")
removed with_statement future imports, not needed any more
needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
Thomas Waldmann
40fad2ece8
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
2013-05-18 17:06:25 +02:00
Quentin Roy
1e39871d68
Add back path=None argument into find_module. This fixes #618 and revert #524 .
2012-10-20 18:21:48 +02:00
d1ffuz0r
8d330a368a
fixed issue #524
2012-08-29 22:26:39 +04:00
Alex Vykalyuk
444698d42b
Changed docstring according to docs.
2012-05-14 23:39:27 +03:00
Florent Xicluna
a2eb5efcd8
few typos
2012-04-12 19:14:52 +03:00
Armin Ronacher
95c4dcb4d5
Refactored flask.ext process to not swallow exceptions on weird Pythons.
2011-09-27 13:33:23 +02:00
Armin Ronacher
9691b7f0bf
Deal with partially setup packages in the redirect hook.
2011-09-21 21:34:47 +02:00
Armin Ronacher
9a70e62b8d
No longer swallow important import errors.
...
This implements a simple but elegant method to find out if an import
error can be swallowed to try the next module or if the import error is
important and must be reraised.
2011-09-21 03:47:36 +02:00
Armin Ronacher
7997bae5bb
Explicitly activate compat module
2011-09-19 21:00:28 +02:00
Armin Ronacher
e94416704d
Added the flaskext_compat module to support flask.ext in 0.7 and earlier.
2011-09-18 15:03:35 +02:00
Armin Ronacher
4cb6eea8f1
Split up testsuite and moved it to flask.testsuite. This fixes #246
2011-08-26 11:21:26 +01:00
Armin Ronacher
505cd663cd
Hopefully fixed release script date parsing thingy. This fixes #299
2011-08-08 01:26:39 +02:00
Armin Ronacher
7e1ebae3a2
Another fix for the script
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-06-29 18:37:13 +02:00
Armin Ronacher
21d4a054e3
Fixed a bug in the release script
...
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
2011-06-29 18:35:16 +02:00
Armin Ronacher
5afeac0c19
Fixed release script :(
2011-06-28 16:06:51 +02:00
Armin Ronacher
85efa3f895
Updated upgrade script to no longer change url_for that don't need to be changed
2011-06-27 01:04:18 +02:00
Armin Ronacher
bffe97bb50
Added version bumping
2011-06-27 00:34:15 +02:00
Armin Ronacher
3d146548c7
Added release script
2011-06-27 00:31:24 +02:00
Armin Ronacher
0fcbe0a478
render_template calls no longer need changing for blueprints. They need new paths though :(
2011-06-17 03:42:11 +02:00
Armin Ronacher
bfd67764fb
Started documentation for blueprints
2011-06-07 15:32:44 +02:00
Armin Ronacher
b4ffa4d9ac
Allow name to be specified as the first parameter but with an explict name.
2011-06-06 10:10:10 +02:00
Armin Ronacher
99bb902cc3
Error handler deprecation
2011-06-05 16:21:31 +02:00
Armin Ronacher
6094c8536b
Usage for the script
2011-06-05 16:16:13 +02:00
Armin Ronacher
9770054dee
Started documenting the upgrade script
2011-06-05 16:11:17 +02:00
Armin Ronacher
aa863efd92
Don't scan the whole file contents for template detection
2011-06-05 16:00:19 +02:00
Armin Ronacher
17d1ade6b9
Alternative names for app
2011-06-05 14:37:57 +02:00