Randy Liou
a690ae27a3
Add coverage for Blueprint request process methods
...
Add test to cover following methodss to the Blueprint object:
before_request, after_request, before_app_request,
before_app_first_request, after_app_request.
This PR increases the coverage of flask.blueprints by 6%.
8 years ago
MikeTheReader
6f49089a62
Added tests for make_response and get_debug_flag to improve coverage of helpers.py
8 years ago
David Lord
0c94908956
Merge pull request #2297 from HndrkMkt/#2265-auto-detect-create-app-function
...
Auto-detect create_app() in find_best_app() #2265
8 years ago
David Lord
01ddf54b87
adjust for loop style
8 years ago
David Lord
7ecdbcfa2b
show error if multiple Flask instances are detected
...
add changelog
8 years ago
David Lord
a693f22a5a
Merge pull request #2299 from dawran6/test-bp-template_global
...
Add coverage for Blueprint.add_app_template_global
8 years ago
David Lord
99208f1512
Merge pull request #2300 from tullyrankin/resort-wsgi-deploy-docs
...
Moved WSGI Standalone first in deployment documentation
8 years ago
Tully Rankin
2b96052240
Moved mod_wsgi under uwsgi in TOC deployment docs.
8 years ago
Tully Rankin
d7d21f5559
Moved WSGI-Standalone above mod_wsgi in deployment documentation.
8 years ago
Randy Liou
7ce01ab9b4
Add coverage for Blueprint.add_app_template_global
...
This tests the Blueprint.add_app_template_global mothod, which internally
calls the Blueprint.app_template_global method. The methods are used to
registering a function to the jinja template environment.
This PR increases the test coverage for module flask.blueprint by 4%.
8 years ago
Hendrik Makait
b4eb6534d5
Remove unnecessary checks and reformat NoAppException messages
8 years ago
Anton Sarukhanov
4cd0299aff
Merge branch 'master' into makecov
8 years ago
David Lord
e706b5e544
Merge pull request #2298 from dawran6/test-bp-context
...
Add coverage for Blueprints.(app_)context_processor
8 years ago
Randy Liou
136dbf7de0
Add coverage for Blueprints.(app_)context_processor
...
Test both context_processor and app_context_processor functions.
Two context parameters are added into the context: one added to
the blueprint locally; another added to the app globally. The test
asserts the behaviors in both blueprint scope and the app scope.
The coverage for flask.blueprints is increased by 3%.
8 years ago
David Lord
a0e38a8cf1
Merge pull request #2295 from dawran6/test-blueprints
...
Add coverage for Blueprint.app_errorhandler
8 years ago
Hendrik Makait
ced719ea18
Auto-detect create_app and make_app factory functions
8 years ago
David Lord
88b0213357
Merge pull request #2296 from tullyrankin/debugger-documentation-1625
...
Added reference and link to Werkzeug debugger documentation
8 years ago
Tully Rankin
50b73f967b
Removed the version number out of the documenation link to Werkzeug.
8 years ago
Tully Rankin
409dd15c10
Added link to using Werkzeug debugger in quickstart documentation.
8 years ago
Randy Liou
9fddecd4d9
Add coverage for Blueprint.app_errorhandler
...
This test case registers an application-wise error handler from
a Blueprint. Verifies the error handler by aborting the flask app
from the application itself as well as from another registered
Blueprint.
8 years ago
David Lord
f962720f7a
Merge pull request #2293 from tullyrankin/debug-mode-2261
...
Debug mode 2261
8 years ago
Tully Rankin
041c68f48b
Updated request context documentation.
8 years ago
Tully Rankin
c590e820aa
Updated documentation. Replaced term development mode with debug mode. #2261
8 years ago
David Lord
b11f7354d1
Merge pull request #2288 from davidism/vary-cookies
...
Set "Vary: Cookie" header when session is accessed
8 years ago
David Lord
5d9dd0b379
set session accessed for setdefault
8 years ago
David Lord
ae133aa173
reorder session cookie checks to deleted, accessed, modified
8 years ago
David Lord
e2f4c0ac16
Merge branch 'master' into vary-cookies
8 years ago
Markus Unterwaditzer
a558d47ee2
Merge branch '0.12-maintenance'
8 years ago
Markus Unterwaditzer
f347d3c59e
Bump to dev version
8 years ago
Markus Unterwaditzer
571334df8e
Bump version number to 0.12.2
8 years ago
Markus Unterwaditzer
bb83ae9843
Release 0.12.2
8 years ago
Markus Unterwaditzer
dc9c5ef65a
Merge branch '0.12-maintenance'
8 years ago
David Lord
f7c35bf0d5
safe_join on Windows uses posixpath
...
fixes #2033
closes #2059
8 years ago
David Lord
f0a6dcfbb8
Merge pull request #2284 from davidism/windows-safe_join
...
safe_join on Windows uses posixpath
8 years ago
David Lord
2a65794306
safe_join on Windows uses posixpath
...
fixes #2033
closes #2059
8 years ago
David Lord
88120e9e9d
Merge pull request #2055 from geoffreybauduin/celery-documentation
...
Updated Celery pattern
8 years ago
David Lord
d5a88bf0d3
explain when to use a task queue
...
remove deprecated abstract attr from celery
add explanation of example task
[ci skip]
8 years ago
David Lord
f13e3fc352
Merge branch 'master' into celery-documentation
8 years ago
David Lord
ff361d32a9
Merge pull request #2282 from davidism/session-cookie-domain
...
Refactor session cookie domain
8 years ago
David Lord
f75ad9fca2
refactor session cookie domain logic
...
cache result of session cookie domain
add warnings for session cookie domain issues
add changelog
8 years ago
José Oliveira
c3d49e29ea
show warning if session cookie domain is ip
...
closes #2007
8 years ago
David Lord
716edfdb29
Merge pull request #2279 from davidism/docs-after_this_request
...
Clean up deferred callback doc
8 years ago
David Lord
cc59f2b204
clean up deferred callback doc
...
remove doc about writing after_this_request
[ci skip]
8 years ago
David Lord
0420cb21db
Merge pull request #1965 from vioan/master
...
Added a missing module to import statement
8 years ago
David Lord
c01ddc59b7
Merge pull request #2277 from jlara310/master
...
Improve quickstart's Routing section
8 years ago
David Lord
2592f927a0
wrap lines
...
tighten up wording
remove any converter from quickstart
use correct rst code syntax
8 years ago
David Lord
9dd0a0a29f
Merge pull request #2278 from davidism/installation-docs
...
Rewrite installation docs
8 years ago
David Lord
1fb43e3be4
rewrite installation docs
...
discuss python version
discuss all dependencies
prefer python 3 in instructions
[ci skip]
8 years ago
David Lord
a80eab70ba
Update CONTRIBUTING.rst
...
basic pytest can't handle examples, pass tests dir
8 years ago
Xephyr826
dfb03c5673
Improve Routing section
...
Edited the entire section for clarity and concision. I rewrote sentences
to make them shorter and to reduce ambiguity.
Added a code sample to show the path converter type
Removed the HTTP method overview. Although it was well written, the
overview wasn't necessary in the quickstart. Readers can easily find an
overview elsewhere.
8 years ago