David Lord
9e2e1de2fc
Merge branch '2.1.x'
2022-06-01 11:27:08 -07:00
David Lord
21d32ee067
update requirements
2022-06-01 11:23:09 -07:00
David Lord
c6e3fc8072
Merge pull request #4613 from citramon/test_for_from_mapping_config_skip_not_upper
...
Add test config.from_mapping method: ignoring items with non-upper keys
2022-05-31 09:10:36 -07:00
Stanislav Bushuev
3ecebcdf8d
Add test config.from_mapping method: ignoring items with non-upper keys
2022-05-31 17:51:39 +02:00
David Lord
83e9680649
Merge pull request #4603 from f3ndot/use-correct-response-type-for-after-request-callable
...
Fix type annotation for `after_request` callable type
2022-05-23 13:56:19 -07:00
David Lord
61f62e6005
access flask types through namespace alias
2022-05-23 13:21:22 -07:00
Justin Bull
8cb950671f
use bound typevar to accept Flask and Werkzeug Response classes
2022-05-23 13:21:22 -07:00
David Lord
a4f63e0390
start version 2.1.3
2022-05-23 10:54:02 -07:00
David Lord
60ac0c5092
Merge pull request #4595 from nkabrown/add-installation-tutorial-link
...
Add link to additional packaging info
2022-05-23 10:44:48 -07:00
Nathan Brown
c45c81938a
Add link to additional packaging info
2022-05-23 10:42:51 -07:00
David Lord
ab76703532
Merge pull request #4581 from lecovi/docs/#3871-celery-config
...
docs: new configuration format for celery
2022-05-23 10:19:59 -07:00
lecovi
9252be9c9e
docs: new configuration format for celery
2022-05-23 10:16:45 -07:00
David Lord
1888df3440
Merge remote-tracking branch 'origin/2.1.x'
2022-05-23 10:08:52 -07:00
David Lord
d506af1b1f
update requirements
2022-05-23 10:08:43 -07:00
David Lord
31aad113ff
Merge pull request #4606 from pallets/cli-imports
...
inline conditional imports for cli behaviors
2022-05-23 09:51:58 -07:00
David Lord
1232d69860
inline conditional imports for cli behaviors
2022-05-23 09:46:20 -07:00
David Lord
a52a7db6c9
Merge pull request #4577 from hallacy/hallacy/fix_4571
...
update setupmethod behavior
2022-05-23 09:12:45 -07:00
David Lord
e044b00047
avoid triggering setupmethod late in tests
2022-05-23 09:09:12 -07:00
David Lord
a406c297aa
apply setupmethod consistently
2022-05-23 09:09:12 -07:00
Chris Hallacy
eb36135cfe
always warn on blueprint setupmethod after registration
2022-05-23 09:09:12 -07:00
David Lord
ca8e6217fe
Merge pull request #4596 from pallets/url_for-template
...
use app.url_for as template global
2022-05-15 08:54:26 -07:00
David Lord
69e2300608
use app.url_for as template global
...
avoid extra call from helpers.url_for
update changelog for method moves
2022-05-15 08:48:30 -07:00
David Lord
00e2aac937
Merge pull request #4580 from ionesu/move_url_for_to_the_flask_app_object
...
Move url_for to the Flask app object
2022-05-14 12:50:37 -07:00
David Lord
39f9363296
finish moving url_for to app
...
move entire implementation to app
make special build args actual keyword-only args
handle no app context in method
mention other config in server_name error
implicit external with scheme
use adapter.build url_scheme argument
rewrite documentation
2022-05-14 12:46:01 -07:00
Ivan Sushkov
92acd05d9b
add url_for method to app
2022-05-14 12:45:18 -07:00
David Lord
fac630379d
update app.redirect docs
2022-05-12 16:33:40 -07:00
David Lord
5512a66881
Merge pull request #4576 from dzcode/dzcode/4567/abort-implementation
...
Add 'aborter' and 'aborter_class' attrs to 'Flask' object
2022-05-12 13:45:37 -07:00
dzcode
eb5dd9f5ef
add aborter object to app
2022-05-12 13:29:54 -07:00
David Lord
a25d234cdd
Merge remote-tracking branch 'origin/2.1.x'
2022-05-11 09:39:26 -07:00
David Lord
542cf30e48
Merge pull request #4575 from thoagland/Issue_4569_add_redirect_to_Flask_App
...
add `app.redirect` method
2022-05-11 09:22:19 -07:00
Tim Hoagland
fdab801fbb
add redirect method to app
2022-05-10 11:02:24 -07:00
David Lord
e322f32e94
Merge pull request #4593 from pallets/remove-mailing-list
...
remove references to mailing list
2022-05-10 09:35:05 -07:00
David Lord
2381044d04
remove references to mailing list
2022-05-10 09:28:43 -07:00
David Lord
b5c1a4f1f0
Merge pull request #4591 from moondial-pal/docs-omit-becomingbigrst
...
Docs omit becomingbigrst
2022-05-10 09:19:03 -07:00
Luis Palacios
410a324ec4
remove becomingbig.rst
2022-05-10 09:16:44 -07:00
David Lord
587a49c1bf
Merge pull request #4585 from pallets/docs-cli-cwd
...
remove outdated dotenv docs
2022-05-04 07:07:40 -06:00
David Lord
11195f1083
remove outdated dotenv docs
...
The CLI does not change the working directory when loading a dotenv file.
2022-05-04 06:03:31 -07:00
David Lord
bd56d19b16
Merge pull request #4566 from citramon/improve_coverage
2022-05-03 12:17:03 -06:00
Stanislav Bushuev
a74e266474
skip coverage for TYPE_CHECKING
2022-05-03 12:11:55 -06:00
David Lord
127df57a06
Merge pull request #4560 from qingpeng9802/fix-old-behavior
2022-05-03 11:56:11 -06:00
Qingpeng Li
1e5dd43022
refactor error checks in register_error_handler
...
Co-authored-by: David Lord <davidism@gmail.com>
2022-05-03 11:52:11 -06:00
David Lord
2482cd4f53
Merge pull request #4578 from marian-vignau/Remove-Tab-directive-on-Contributing.rst
...
Remove tab directive on contributing.rst
2022-05-02 12:11:56 -06:00
Maria Andrea Vignau
9158d3b0b8
remove tab directive
2022-05-02 11:58:24 -06:00
David Lord
a0aa8de6bc
Merge pull request #4572 from DailyDreaming/linting
2022-05-02 10:29:38 -06:00
DailyDreaming
8ddbad9ccd
Fix linting error.
...
Suppress mypy.
Suppress mypy error.
Suppress mypy error.
2022-05-02 09:11:07 -07:00
David Lord
f976d5bb88
Merge branch '2.1.x'
2022-04-28 10:48:05 -07:00
David Lord
50374e3cfe
Merge pull request #4558 from pallets/release-2.1.2
...
release version 2.1.2
2022-04-28 10:46:41 -07:00
David Lord
7b28a9057d
release version 2.1.2
2022-04-28 10:44:02 -07:00
David Lord
a0bb10b8d2
Merge pull request #4555 from pallets/pytest_raises_cleanup
...
clean up `pytest.raises` tests
2022-04-28 09:35:49 -07:00
David Lord
ef6c2b9e4a
clean up pytest.raises tests
2022-04-28 09:32:31 -07:00