David Lord
ed1f604727
Update CHANGES
7 years ago
David Lord
c74f46979a
Merge pull request #2436 from davidism/logging
...
Simplify logging
7 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
7 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
7 years ago
David Lord
a89bdb3395
prefer the url's scheme over the kwarg
...
tabs -> spaces
add test
add changelog
7 years ago
David Lord
417bc336de
egg_info -R flag is gone
7 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
7 years ago
David Lord
851eaa4db7
Merge pull request #2416 from davidism/dotenv
...
Add .env support
7 years ago
David Lord
491d331e6e
load env vars using python-dotenv
7 years ago
asmith26
8e2ef5bde3
Fix typo in docs ( #2419 )
7 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
7 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
7 years ago
David Lord
59f7966e31
support passing environ to test client ( #2412 )
...
closes #2411
7 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()
7 years ago
David Lord
9560f22bb6
clean up
7 years ago
Bijan Vakili
a417e41d27
Update documentation and regression tests to clarify that Flask.teardown_appcontext() only receives unhandled exceptions
7 years ago
William Horton
5909e26fba
Remove unused import from test_basic ( #2403 )
7 years ago
David Lord
8207b1563e
fix formatting
...
-R is no longer an egg_info option
closes #2400
[ci skip]
7 years ago
David Lord
6162ecef19
detox breaks docs test env for some reason
...
[ci skip]
7 years ago
David Lord
01e2d80660
one more secret key in docs
7 years ago
David Lord
d13e41ddef
Merge pull request #2399 from davidism/docs-secret-key
...
clean up secret key docs
7 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
7 years ago
David Lord
641fdeaf98
Merge pull request #2398 from miguelgrinberg/app-not-found-error-fix
...
fix variable substitution in error message
7 years ago
Miguel Grinberg
4f30cb7c57
fix variable substitution in error message
7 years ago
David Lord
cce6e7dccc
Merge pull request #2397 from davidism/request-json
...
Un-deprecate Request.json
7 years ago
David Lord
5bc0d15359
un-deprecate request.json
7 years ago
David Lord
1172728a68
Merge pull request #2396 from davidism/remove-script
...
Remove old 0.7 upgrade script
7 years ago
David Lord
e0cd80c6bf
remove old upgrade script
7 years ago
David Lord
bce8ec75eb
Merge pull request #2395 from davidism/remove-ext
...
Remove deprecated flask.ext
7 years ago
David Lord
715a9a3e7b
remove deprecated flask.ext
7 years ago
David Lord
4c564779d1
Merge pull request #2394 from davidism/remove-deprecated
...
Remove deprecated code
7 years ago
David Lord
89c87240b6
changelog for deprecations
7 years ago
David Lord
723e665004
remove deprecated Request.module
7 years ago
David Lord
d63c2bc417
remove deprecated Flask.static_path
7 years ago
David Lord
9491bf8695
remove deprecated Flask.error_handlers
7 years ago
David Lord
c5d3f806d7
Merge pull request #2393 from JohnMoutafis/2385-remove-deprecated-code
...
Remove deprecated code from app.py
7 years ago
John Moutafis
e9386a7273
Remove deprecated request_globals_class _get and _set methods.
7 years ago
John Moutafis
75327c0a85
Remove deprecated init_jinja_globals.
7 years ago
Anthony Plunkett
45c8fb3f3f
Merge pull request #2381 from trirpi/documentation-sqlite-uri-bug
...
sqlite uri connection string should be triple slashed for in-memory example.
8 years ago
trirpi
bfc2ee7dfd
removed bug in memory sqlite uri
8 years ago
David Lord
29c055a2b4
Merge pull request #2378 from miguelgrinberg/default-flask-app
...
Import app from wsgi.py or app.py if FLASK_APP is not defined
8 years ago
David Lord
448368e226
style cleanup
...
[ci skip]
8 years ago
Miguel Grinberg
0b80acb25c
document wsgi.py and app.py default modules
8 years ago
Miguel Grinberg
7c40aa9e50
Import app from wsgi.py or app.py if FLASK_APP is not defined
...
Fixes #2376
8 years ago
David Lord
d625d41104
Merge pull request #2374 from astralblue/json_encode_non_utc_datetimes
...
Correctly JSON-encode datetimes aware of non-UTC timezones
8 years ago
Eugene M. Kim
63ccdada1b
Actually hand-spin and use a tzinfo subclass
...
This is for Python 2.x compatibility.
Suggested-by: David Lord <davidism@gmail.com>
8 years ago
Eugene M. Kim
f803760275
Re-revert to not using pytz
...
Will spin a tzinfo subclass.
8 years ago
Eugene M. Kim
34050630d6
Skip aware datetime tests if pytz is unavailable
8 years ago
Eugene M. Kim
eb9618347c
Use pytz again for tests
...
This is because datetime.timezone is Python 3 only. The only
alternative would be to hand-spin a datetime.tzinfo subclass, an
overkill.
This reverts commit 0e6cab3576
.
8 years ago
Eugene M. Kim
5b38fe2fbe
Merge branch 'master' of github.com:pallets/flask into json_encode_non_utc_datetimes
8 years ago