Commit graph

4655 commits

Author SHA1 Message Date
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
David Lord
918fc07dd9
Merge branch '2.1.x' 2022-04-28 08:59:47 -07:00
David Lord
ef7d01f0a0
update requirements 2022-04-28 08:59:40 -07:00
David Lord
ff6290d4c7
Merge pull request #4551 from bbayles/patch-1 2022-04-25 09:03:29 -07:00
Bo Bayles
3fd24c1f6f Fix copy/paste error in wsgi-standalone.rst 2022-04-25 10:55:30 -05:00
David Lord
2b0b77cc1a
Merge branch '2.1.x' 2022-04-24 10:20:07 -07:00
David Lord
c395b13f9e
update requirements 2022-04-24 10:19:58 -07:00
David Lord
cb4f742543
Merge branch '2.1.x' 2022-04-24 10:14:53 -07:00
David Lord
2ec1193095
Merge pull request #4544 from bebleo/mark_run_cert_option_eager 2022-04-24 10:07:31 -07:00
James Warne
5050a18a00
evaluate --cert before --key 2022-04-24 10:01:40 -07:00
David Lord
dba2be9311
Merge pull request #4534 from rzimmerdev/main
Adapted input parameters type restriction for json.loads function - fixes #4519
2022-04-24 09:58:01 -07:00
Rafael Zimmer
eede1a3685
fix annotation for json.loads 2022-04-24 09:53:10 -07:00
David Lord
69f71b4d94
start version 2.1.2 2022-04-24 09:50:55 -07:00
David Lord
2b8b47817a
Merge pull request #4537 from MeViMo/2.1.x
Syntax error in testing.rst
2022-04-13 10:03:22 -07:00
MeViMo
4dd14ed039 Syntax error in testing.rst 2022-04-13 18:49:51 +02:00
David Lord
411dbb37e2
remove old test 2022-04-11 06:11:37 -07:00
David Lord
a03719b010
Merge branch '2.1.x' 2022-04-08 11:06:32 -07:00
David Lord
5334e28f6e
Merge pull request #4527 from MeViMo/main 2022-04-08 11:05:19 -07:00
MeViMo
19d7a0ef78
docs pass cli args as kwarg to test runner 2022-04-08 11:03:06 -07:00
David Lord
5c0b9a6af3
Merge pull request #4526 from lbm98/docfix 2022-04-08 11:02:45 -07:00
LarsMoons
e3c014f9aa
docs "Returning API Errors as JSON" return correct status code 2022-04-08 10:57:02 -07:00