Lukáš Lalinský
129304cef7
Add a concept of application teardown
...
The main purpose of this is to have a single place where extensions
can register their cleanup functions. If you are creating many app
instances for testing purposes, you need to keep track of all
individual extensions and release the resources from all of them.
Allowing them to register a cleanup function inside init_app would
hide the complexity and app.close() would be the only thing tests
need to care about.
7 years ago
Markus Unterwaditzer
f071562ec0
Merge pull request #2470 from ImgBotApp/imgbot
...
[ImgBot] optimizes images
7 years ago
ImgBotApp
ff8f525fb3
[ImgBot] optimizes images
...
\docs\_static\no.png (18.3%))
\docs\_static\touch-icon.png (64.21%))
\docs\_static\flaskr.png (8.32%))
\docs\_static\pycharm-runconfig.png (14.65%))
\docs\_static\debugger.png (2.79%))
\docs\_static\flask.png (30.15%))
\docs\_static\yes.png (13%))
\docs\_static\logo-full.png (29.33%))
7 years ago
Jaap Broekhuizen
62a6aabc8d
Mention Flask instead of Jinja in the issue template
...
For people not really comfortable with the flask ecosystem this can be really confusing.
8 years ago
Brett Johnson
e4928323f2
Update App Engine link
...
Point to an authoritative site for Flask on App Engine that is maintained.
8 years ago
Alejandro Mantecon Guillen
154c621237
Update debugger and flaskr screenshots ( #2454 )
8 years ago
Arie Marie 'Thomas' Dalleis
7c51019985
Fix typos and formatting
8 years ago
David Lord
ad7ed87f5e
Merge pull request #2446 from chuanma/master
...
replace @pytest.yield_fixture by @pytest.fixture
8 years ago
Chuan Ma
5888d76342
pytest.yield_fixture deprecated in pytest 3.0+.
...
It's suggested to use pytest.fixture directly,
and flask already requires 'pytest>=3'.
8 years ago
Hsiaoming Yang
7d4703e98a
Merge pull request #2442 from hallazzang/patch-1
...
corrected indentations for pypi description
8 years ago
Hsiaoming Yang
330792e10b
Merge pull request #2445 from brennv/add-version-warning
...
Add version warning to Flaskr tutorial
8 years ago
Brennan Vincello
7640a1f1c9
Add version warning
8 years ago
hallazzang
392989aaa7
corrected indentations for pypa description
8 years ago
David Lord
97ad085912
fix links
8 years ago
David Lord
1c35b98f0b
fix code block
8 years ago
David Lord
2efb565fbc
mention that session signature checks max age
...
add expiration to cookie security docs
closes #2422
8 years ago
David Lord
ed1f604727
Update CHANGES
8 years ago
David Lord
c74f46979a
Merge pull request #2436 from davidism/logging
...
Simplify logging
8 years ago
David Lord
66b1b752da
simplify logging configuration
...
single default handler and formatter
don't remove handlers
configure level once using setLevel
document logging
reorganize logging tests
8 years ago
David Lord
85fa8aabf5
Merge pull request #2430 from erebus1/env_url_scheme_fix
...
make_test_environ_builder: use url_scheme from path if provided
8 years ago
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
...
tabs -> spaces
add test
add changelog
8 years ago
David Lord
417bc336de
egg_info -R flag is gone
8 years ago
Igor Kasianov
241673fd15
make_test_environ_builder: use url_scheme from path if provided
...
When providing https url in path ("https://example.com/ ")
we hope that we will get https scheme in environment
8 years ago
David Lord
851eaa4db7
Merge pull request #2416 from davidism/dotenv
...
Add .env support
8 years ago
David Lord
491d331e6e
load env vars using python-dotenv
8 years ago
asmith26
8e2ef5bde3
Fix typo in docs ( #2419 )
8 years ago
David Lord
77b98a2762
Merge pull request #2414 from davidism/cli-load-local-package
...
FLASK_APP doesn't require .py extension for local packages
8 years ago
David Lord
fb845b9032
allow local packages in FLASK_APP
...
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
8 years ago
David Lord
59f7966e31
support passing environ to test client ( #2412 )
...
closes #2411
8 years ago
David Lord
817903c9c1
Merge pull request #2409 from bijanvakili/clarify-app-teardown
...
Clarify docs and tests for exception handling in Flask.teardown_appcontext()
8 years ago
David Lord
9560f22bb6
clean up
8 years ago
Bijan Vakili
a417e41d27
Update documentation and regression tests to clarify that Flask.teardown_appcontext() only receives unhandled exceptions
8 years ago
William Horton
5909e26fba
Remove unused import from test_basic ( #2403 )
8 years ago
David Lord
8207b1563e
fix formatting
...
-R is no longer an egg_info option
closes #2400
[ci skip]
8 years ago
David Lord
6162ecef19
detox breaks docs test env for some reason
...
[ci skip]
8 years ago
David Lord
01e2d80660
one more secret key in docs
8 years ago
David Lord
d13e41ddef
Merge pull request #2399 from davidism/docs-secret-key
...
clean up secret key docs
8 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
8 years ago
David Lord
641fdeaf98
Merge pull request #2398 from miguelgrinberg/app-not-found-error-fix
...
fix variable substitution in error message
8 years ago
Miguel Grinberg
4f30cb7c57
fix variable substitution in error message
8 years ago
David Lord
cce6e7dccc
Merge pull request #2397 from davidism/request-json
...
Un-deprecate Request.json
8 years ago
David Lord
5bc0d15359
un-deprecate request.json
8 years ago
David Lord
1172728a68
Merge pull request #2396 from davidism/remove-script
...
Remove old 0.7 upgrade script
8 years ago
David Lord
e0cd80c6bf
remove old upgrade script
8 years ago
David Lord
bce8ec75eb
Merge pull request #2395 from davidism/remove-ext
...
Remove deprecated flask.ext
8 years ago
David Lord
715a9a3e7b
remove deprecated flask.ext
8 years ago
David Lord
4c564779d1
Merge pull request #2394 from davidism/remove-deprecated
...
Remove deprecated code
8 years ago
David Lord
89c87240b6
changelog for deprecations
8 years ago
David Lord
723e665004
remove deprecated Request.module
8 years ago
David Lord
d63c2bc417
remove deprecated Flask.static_path
8 years ago