Ron DuPlain
970de5e8b6
Add discussion to NoImportsTestCase.
2012-01-09 10:25:06 -05:00
Ron DuPlain
fde6e364a4
Update tests for new module helpers.
2012-01-07 17:55:02 -05:00
Ron DuPlain
a3b30b7e3b
Handle zip & interactive cases in module helpers.
2012-01-07 17:54:37 -05:00
Ron DuPlain
d16491145d
Update module helpers to avoid Python imports.
...
This avoids errors in creating Flask instances where there are import
errors in the module or package matching the import name. Those runtime
errors will be apparent to the user soon enough, but tools which build
Flask instances meta-programmatically benefit from a Flask which does
not __import__.
2012-01-07 17:52:38 -05:00
Ron DuPlain
26a9c2079d
Add test to catch imports at Flask instantiation.
2012-01-07 17:52:38 -05:00
Armin Ronacher
c90858a95d
Added a branch to test functionality enabled by new test client
2011-11-28 22:48:14 +01:00
Armin Ronacher
9c8f138a42
Improved test coverage for the test client
2011-11-25 21:08:19 +01:00
Armin Ronacher
b8866aeb22
Merge remote-tracking branch 'plaes/testing-redirects-session'
2011-11-20 17:06:37 +01:00
Armin Ronacher
d628df6ab6
Store session after callbacks. This fixes #351
2011-11-20 16:54:40 +01:00
Priit Laes
9dd61eea6b
Added testcase for redirect and session keeparound bug
2011-11-10 10:59:32 +02:00
Armin Ronacher
7f4c12b335
Break up a circular dependency on shutdown
2011-11-05 17:43:40 +01:00
Armin Ronacher
f52e7a9dc9
Added support for _method to url_for()
2011-11-04 02:46:22 +01:00
Armin Ronacher
61a95196ac
Changed logic for debug level log settings
2011-10-11 19:09:37 -07:00
Armin Ronacher
ebd7468807
Added a newline
2011-10-07 15:09:02 -04:00
Armin Ronacher
a9f68dd4c7
Merge branch '0.8-maintenance'
2011-10-06 10:57:06 -04:00
Armin Ronacher
1759d8e4d8
Added support for anchor link generation.
2011-10-06 10:57:03 -04:00
Armin Ronacher
b51fbdc8e0
Removed a newline
2011-10-06 10:49:12 -04:00
Armin Ronacher
d04c9a61e3
Merge branch '0.8-maintenance'
2011-10-02 01:09:36 +02:00
Armin Ronacher
0dd9dc37b6
Fixed an issue with an unused module for Python 2.5 (flask.session)
2011-10-02 01:08:54 +02:00
Armin Ronacher
766522cb58
Prepare for an 0.8.1 release
2011-10-02 01:06:22 +02:00
Armin Ronacher
3765cc2e9e
This is 0.9-dev
2011-09-29 23:36:57 +02:00
Armin Ronacher
d5e10e4685
Bump version number to 0.8
2011-09-29 23:34:02 +02: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
f01b654ac4
total_seconds -> seconds for 2.6 and earlier
2011-09-27 12:27:33 +02:00
Armin Ronacher
8da8a21b69
Moved the conversion thing into the ConfigAttribute.
2011-09-25 19:17:50 +02:00
Armin Ronacher
6dccf77546
PERMANENT_SESSION_LIFETIME can now be an integer. This fixes #310
2011-09-25 19:12:41 +02:00
Armin Ronacher
df1dd57045
Cleaned up url routing common docs. This fixes #279
2011-09-25 18:49:00 +02:00
Armin Ronacher
32cdb7298f
Merge branch 'master' of github.com:mitsuhiko/flask
2011-09-24 20:28:06 +02:00
Armin Ronacher
c6316132b1
Context preserving is now part of Flask and not the test client. This fixes #326
2011-09-24 20:27:38 +02:00
Armin Ronacher
d2eefe25e7
app.name shall be __main__ for console apps
2011-09-24 20:25:28 +02:00
Simon Sapin
b8ef7360eb
Add to sys.path, not sys.path_info
2011-09-23 10:34:41 +03:00
Armin Ronacher
56afafae67
Do not break extension tests if tested with installed extensions.
2011-09-23 02:04:21 +02:00
Armin Ronacher
9691b7f0bf
Deal with partially setup packages in the redirect hook.
2011-09-21 21:34:47 +02:00
Armin Ronacher
ee9b401632
Added a comment on who the is_important_traceback seems to work. It's only speculation
2011-09-21 13:01:58 +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
Ron DuPlain
90884a78fb
Cross-reference debug docs in run docstring.
2011-09-18 15:36:08 -04:00
Simon Sapin
907c24e6ff
Document the debug param for Flask.run, it is not part of **options given to run_simple.
...
I am not sure bool() is appropriate.
2011-09-18 15:26:29 -04:00
Ron DuPlain
899f8cdf51
Merge pull request #322 from jperras/patch-1
...
Fixed typo in docstring of dispatch_request method of flask.views.View
2011-09-18 12:20:40 -07:00
Armin Ronacher
9c82840f52
Added more tests for the import hook
2011-09-18 18:16:50 +02:00
Armin Ronacher
9df2aefd7f
Do not set dotted attributes on flask.ext
2011-09-18 12:22:42 +02:00
Armin Ronacher
e8020e2c5c
Added comment to the importer wiping.
2011-09-18 12:22:15 +02:00
Armin Ronacher
f80bfcaa28
Added tests for old imports
2011-09-18 03:26:46 +02:00
Armin Ronacher
80bd6949a6
Merge branch 'master' of github.com:mitsuhiko/flask
2011-09-18 02:11:10 +02:00
Armin Ronacher
c72ca16234
Added tests for the import hook and fixed a problem with it.
2011-09-18 02:10:10 +02:00
Ron DuPlain
7044b4becc
Merge pull request #324 from embe/master
...
Blueprint.app_url_value_preprocessor doesn't work correctly.
2011-09-17 13:20:30 -07:00
Armin Ronacher
8f85a3b0d1
Experimental redirect importing for flask.ext to flask_ and flaskext.
2011-09-17 22:11:57 +02:00
Armin Ronacher
bd6ce4d48c
Merge branch 'master' of github.com:mitsuhiko/flask
2011-09-17 19:41:24 +02:00
Armin Ronacher
32c7e43dda
Simplified HEAD handling for method views
2011-09-17 19:39:10 +02:00
Michał Bartoszkiewicz
f8caa54d31
Fixed Blueprint.app_url_value_preprocessor.
2011-09-17 00:31:09 +02:00
Joel Perras
17a46a4d23
Fixed typo in docstring of dispatch_request method of flask.views.View.
2011-09-14 16:53:05 -03:00