David Lord
d086a512d7
Merge pull request #4318 from eprigorodov/patch-1
...
document session object lifetime
2021-11-16 06:22:50 -08:00
David Lord
282d8621dd
document session lifetime and possible concurrency issues
...
Co-authored-by: Evgeny Prigorodov <eprigorodov@gmail.com>
2021-11-16 06:19:01 -08:00
David Lord
c8bf420483
Merge pull request #4310 from HenryKobin/import-error-verbose
...
made ImportError verbose in cli.py
2021-11-15 14:03:47 -08:00
Henry Kobin
e679a85b80
made ImportError verbose in cli.py
2021-11-15 14:00:23 -08:00
David Lord
b831e8507c
Merge pull request #4298 from delicb/fix/issue4295
...
fix errorhandler type check
2021-11-15 13:37:42 -08:00
Bojan Delić
46b39e2698
fix errorhandler type check
2021-11-15 13:35:24 -08:00
David Lord
ea66c68553
Merge branch '2.0.x'
2021-11-15 13:26:06 -08:00
David Lord
372066983f
Merge pull request #4341 from pallets/test-min-dev
...
test against minimum/dev versions of Pallets libraries
2021-11-15 13:24:49 -08:00
David Lord
564bb27efa
deprecate as_tuple
2021-11-15 13:13:18 -08:00
David Lord
a2258dd05d
exclude greenlet tests on python 3.11
2021-11-15 13:09:04 -08:00
David Lord
4e8787b915
test min/dev versions of pallets deps
2021-11-15 13:08:34 -08:00
David Lord
7860c1de87
remove click 7 tox env
2021-11-15 06:46:25 -08:00
David Lord
7620cb70db
Merge pull request #4337 from pallets/remove-deprecated-code
...
remove deprecated code
2021-11-12 09:54:10 -08:00
David Lord
15a3e82823
extend deprecation for renamed send_file params
2021-11-12 09:52:16 -08:00
David Lord
48f2afbf90
same blueprint cannot be registered with same name
2021-11-12 09:52:16 -08:00
David Lord
f8cdc78ce1
remove deprecated total_seconds
2021-11-12 09:52:16 -08:00
David Lord
b7501776a1
remove deprecated safe_join
2021-11-12 09:52:16 -08:00
David Lord
218534a9f2
remove deprecated json encoding parameter
2021-11-12 09:52:16 -08:00
David Lord
2bd7aed1a4
remove deprecated config.from_json
2021-11-12 09:52:16 -08:00
David Lord
e21e003f62
remove deprecated script_info factory arg
2021-11-12 09:52:16 -08:00
David Lord
ea93a52d7d
Merge pull request #4335 from pallets/drop-python-3.6
...
drop Python 3.6
2021-11-11 18:37:43 -08:00
David Lord
df806c8035
update docs about gevent/eventlet/greenlet
2021-11-11 18:32:07 -08:00
David Lord
1b552d0b01
remove ContextVar compat
2021-11-11 16:12:08 -08:00
David Lord
e609dddd60
drop Python 3.6
2021-11-11 16:11:43 -08:00
David Lord
86009452fb
Merge pull request #4332 from vinzid/patch-1
...
Correct the actual unescaped character
2021-11-07 06:20:43 -08:00
Chenwei Xiao
a2e79eefc9
Correct the actual unescaped character
...
`»` should be unescaped to `»` after `striptags`.
Ref: https://flask.palletsprojects.com/en/2.0.x/api/#flask.Markup.striptags
2021-11-07 10:40:52 +08:00
David Lord
3c36d043e5
Merge branch '2.0.x'
2021-11-05 09:18:57 -07:00
David Lord
7a5aa570c0
Merge pull request #4331 from pallets/test-python-versions
...
test Python 3.10 and 3.11
2021-11-05 09:18:35 -07:00
David Lord
1f40c77f1d
test Python 3.10 and 3.11
2021-11-05 09:13:55 -07:00
David Lord
0ae0f5957f
Merge branch '2.0.x'
2021-11-01 12:41:10 -07:00
David Lord
303a1e6c41
Merge pull request #4326 from pallets/update-requirements
...
update requirements
2021-11-01 12:40:52 -07:00
David Lord
860431f7e0
update requirements
2021-11-01 12:38:38 -07:00
Ryan Nevius
225ff3ea6c
Fix example SECRET_KEY generation code
...
Removes the extra `)` in: `print(secrets.token_hex())`
2021-10-18 10:41:39 +02:00
David Lord
ded812b0cd
Merge pull request #4302 from karintou8710/old-print
...
Fixes old print statement in signal and SQLite pages
2021-10-16 11:52:50 -07:00
karintou8710
21def4e05c
Fixes old print statement in some documentation pages
2021-10-16 02:04:07 +09:00
David Lord
c5ed6c5e77
Merge pull request #4301 from kkirsche/secret_key_via_secrets
...
use secrets module for SECRET_KEY generation in docs
2021-10-13 08:39:29 -07:00
Kevin Kirsche
58a08a1d73
use secrets instead of os.urandom
2021-10-13 08:12:51 -07:00
David Lord
44bc286c03
Merge branch '2.0.x'
2021-10-05 09:15:54 -07:00
David Lord
8ddf80c3ea
Merge pull request #4294 from pallets/flaky-lazy-test
...
allow lazy loading test to fail on pypy
2021-10-05 09:15:30 -07:00
David Lord
b2b60450f7
allow lazy loading test to fail on pypy
2021-10-05 09:11:00 -07:00
David Lord
fb82e3cba6
Merge branch '2.0.x'
2021-10-05 08:07:04 -07:00
David Lord
5a1c5eb5c0
Merge pull request #4293 from pallets/flaky-lazy-test
...
try to address flakiness of lazy loading test
2021-10-05 08:06:49 -07:00
David Lord
6d65595a3c
try to address flakiness of lazy loading test
2021-10-05 08:03:30 -07:00
David Lord
1cf43e08e3
Merge branch '2.0.x'
2021-10-04 07:36:44 -07:00
David Lord
6f7762538b
Merge pull request #4287 from pallets/release-2.0.2
...
release version 2.0.2
2021-10-04 07:31:29 -07:00
David Lord
174fe4453a
release version 2.0.2
2021-10-04 07:26:47 -07:00
David Lord
5684f48f70
Merge branch '2.0.x'
2021-10-03 20:39:19 -07:00
David Lord
6d637f0fdb
Merge pull request #4230 from matipau/blueprint-fix
...
Fix callback order for nested blueprints
2021-10-03 20:38:28 -07:00
David Lord
3f6cdbd8b3
use similar code for all callback-applying methods
...
avoid building nested chain iterables
avoid triggering defaultdict when looking up registries
apply functions as they are looked up
2021-10-03 20:36:21 -07:00
Matthias Paulsen
166a2a6207
Fix callback order for nested blueprints
...
Handlers registered via url_value_preprocessor, before_request,
context_processor, and url_defaults are called in downward order: First
on the app and last on the current blueprint.
Handlers registered via after_request and teardown_request are called
in upward order: First on the current blueprint and last on the app.
2021-10-03 20:27:24 -07:00