Commit Graph

5441 Commits

Author SHA1 Message Date
George Waters da60039486
Handle help arg by itself the same as no args
When the 'flask' command is used with only the '--help' parameter, this
change will make sure to try and load the app before the help callback
is run. This was previously only being done when the 'flask' command was
used by itself. This meant when passing in '--help', any custom commands
were not getting shown in the help message. With this change, custom
commands will be included in the help message when running 'flask' on
the command line by itself or with the '--help' parameter.
2025-03-29 15:13:23 -07:00
David Lord 08c480b3b3
Update app factory docs (#5671) 2025-03-29 15:10:55 -07:00
kotvkvante f51a23839a fix bash cli syntax error and app name 2025-03-29 15:09:26 -07:00
David Lord 04b070fa26
Fix typo in the docs (#5650) 2025-03-29 14:49:06 -07:00
zhuangzhuang 75a8327cfd
Update mongoengine.rst 2025-03-29 14:47:41 -07:00
David Lord 165af0a090
update dev dependencies 2025-03-29 14:44:59 -07:00
David Lord 235c52fa10
fix rtd build 2025-03-29 14:37:13 -07:00
David Lord 959052fb8d
use global contributing guide
Remove the per-project files so we don't have to
keep them in sync. GitHub's UI links to everything
except the contributing guide, so add a section
about that to the readme.

(cherry picked from commit 60a11a730e)
2025-01-05 09:09:33 -08:00
David Lord 5b525e9797
markdown formatting
(cherry picked from commit 6b361ce06b)
2025-01-05 09:09:32 -08:00
David Lord f2674c5bb4
fix type hint for `cli_runner.invoke` (#5647) 2024-11-23 17:52:56 -08:00
kurtatter 54c3f87af9
fix type hint for `cli_runner.invoke` 2024-11-23 17:50:40 -08:00
David Lord ea08f155d8
update `__version__` deprecation (#5649) 2024-11-23 16:06:37 -08:00
David Lord b394a994e6
update `__version__` deprecation 2024-11-23 16:03:47 -08:00
David Lord dcbe86bd15
start version 3.1.1 2024-11-23 16:01:16 -08:00
David Lord 18ffe1eaf6
add gettext config for docs 2024-11-20 19:37:06 -08:00
David Lord bc098406af
release version 3.1.0 (#5640) 2024-11-13 10:27:38 -08:00
David Lord ab81496641
release version 3.1.0 2024-11-13 10:20:07 -08:00
David Lord 70602a196a
remove test pypi 2024-11-13 09:23:24 -08:00
David Lord 6748a09341
update dev dependencies 2024-11-13 08:48:10 -08:00
David Lord 22c48a738b
Merge remote-tracking branch 'origin/stable' 2024-11-13 08:43:48 -08:00
David Lord 2eab96a32a
use generic bases for session (#5638) 2024-11-13 08:27:11 -08:00
David Lord f49dbfd3e4
use generic bases for session 2024-11-13 08:22:57 -08:00
David Lord 7b21d43d4c
configure and check `request.trusted_hosts` (#5637) 2024-11-12 21:03:23 -08:00
David Lord 4f7156f2c3
configure and check trusted_hosts 2024-11-12 21:01:55 -08:00
David Lord 10bdf61a0f
setting `SERVER_NAME` does not restrict routing for both `subdomain_matching` and `host_matching` (#5634) 2024-11-12 10:13:39 -08:00
David Lord 4995a775df
fix subdomain_matching=False behavior 2024-11-12 08:58:08 -08:00
David Lord 07c7d5730a
update min blinker version (#5633) 2024-11-08 09:55:00 -08:00
David Lord 470e2b8d17
update min blinker version 2024-11-08 09:48:59 -08:00
David Lord a20bcff8dc
enable secret key rotation (#5632) 2024-11-08 08:16:04 -08:00
David Lord e13373f838
enable secret key rotation 2024-11-08 08:09:01 -08:00
David Lord 7522c4bcdb
update env file precedence (#5630) 2024-11-07 11:56:26 -08:00
David Lord 2c31603042
update env file precedence 2024-11-07 11:54:29 -08:00
David 6c44dd4bb8
update helpers.send_from_directory docstring (#5599)
Update helpers.send_from_directory docstring to match werkzeug.utils.send_from_directory docstring on the :param directory: line.
2024-11-06 09:47:57 -08:00
David Lord 98ae718976
fix mypy finding 2024-11-01 18:06:34 -07:00
David Lord c62b03bcfd
fix example and tutorial compatibility and update metadata (#5627) 2024-11-01 18:06:11 -07:00
David Lord a9b99b3489
update example project metadata 2024-11-01 18:00:39 -07:00
David Lord 8aa161a437
add sqlite datetime converter 2024-11-01 17:18:52 -07:00
David Lord df201ed152
fix js example test 2024-11-01 16:44:17 -07:00
David Lord ce08bc704e
add SESSION_COOKIE_PARTITIONED config (#5499) 2024-11-01 16:26:37 -07:00
David Lord 9efc1ebeeb
add SESSION_COOKIE_PARTITIONED config
co-authored-by: Jose Cespedes <josecespedes@ibm.com>
2024-11-01 16:24:15 -07:00
David Lord 6f2014d353
add config and docs for limits (#5626) 2024-11-01 13:21:35 -07:00
David Lord c7a53888a1
add config and docs for limits 2024-11-01 13:17:53 -07:00
David Lord 62c56e08c4
update minimum dependencies (#5624) 2024-10-31 13:15:29 -07:00
David Lord 8f37c82f61
update min dependencies 2024-10-31 13:11:06 -07:00
David Lord 39e7208366
update dev dependencies 2024-10-31 13:08:52 -07:00
David Lord 227838c472
no need for separate requirements-skip folder anymore 2024-10-31 13:08:52 -07:00
David Lord 99ce7ed0e4
drop support for Python 3.8 (#5623) 2024-10-31 12:32:10 -07:00
David Lord 1d610e44b3
drop support for Python 3.8 2024-10-31 12:30:53 -07:00
David Lord e8b91cd38a
fix pyright type errors (#5620) 2024-10-24 14:54:53 -07:00
bre-17387639 9e831e915f
fix pyright type errors 2024-10-24 14:46:34 -07:00