Commit graph

4431 commits

Author SHA1 Message Date
David Lord
de4b2807d3
Merge pull request #4397 from cameronthecoder/main
Remove X-XSS-Protection suggestion
2022-01-14 08:34:55 -08:00
Cameron Dahl
08ad8aabfe
Remove X-XSS-Protection suggestion 2022-01-14 08:32:36 -08:00
David Lord
981a94df68
Merge pull request #4412 from otherJL0/main
Adding Fish commands to docs
2022-01-14 08:29:30 -08:00
otherJL0
afe77feef3
Adding Fish commands to docs 2022-01-14 08:26:50 -08:00
David Lord
66f2ac6696
update tool config 2022-01-13 14:42:36 -08:00
David Lord
a025ee3f25
update requirements 2022-01-13 11:10:06 -08:00
David Lord
9e50ad55ae
pin os and python version in rtd build 2021-12-22 20:06:08 -07:00
David Lord
1a1c7ea618
pin os and python version in rtd build
(cherry picked from commit 93a7f08bbc)
2021-12-22 20:02:25 -07:00
David Lord
990a95fbca
Merge pull request #4382
Fix the command for checking port on macOS in server docs
2021-12-22 18:24:48 -08:00
Grey Li
0122a4f34f
Fix the command for checking port on macOS in server docs 2021-12-22 18:59:28 -07:00
David Lord
6389c07530
Merge pull request #4348 from Yourun-proger/fix_msg
Fix error message for `after_this_request` when used outside request context
2021-12-22 17:49:30 -08:00
David Lord
b1a00ebc4c
update error message for after_this_request and copy_current_request_context 2021-12-22 18:44:37 -07:00
Yourun-Proger
633449a36c
fix error message 2021-12-22 18:35:17 -07:00
David Lord
7b0c82dfdc
Merge pull request #4350 from olliemath/patch-1
Only use a custom JSONDecoder if needed
2021-12-22 17:10:24 -08:00
olliemath
a841cfabb5
Only use a custom JSONDecoder if needed
The default JSONDecoder adds no extra functionality to `json.loads`, but using a custom class in the function call you off of an optimized fast path in pypy (it adds some overhead in cpython, but I think it's minimal). This change sticks with the default loading behaviour unless the user has specifically opted in to customising it.

Co-authored-by: David Lord <davidism@gmail.com>
2021-12-22 18:07:04 -07:00
David Lord
c5ca175004
Merge pull request #4389 from pallets/update-requirements
update requirements
2021-12-22 15:20:12 -08:00
David Lord
9d36623db1
update requirements 2021-12-22 15:16:48 -08:00
David Lord
624ed4de72
Merge pull request #4384 from jugmac00/patch-1
fix typo
2021-12-15 20:31:59 -08:00
Jürgen Gmach
f16524ea1d
fix typo 2021-12-16 04:28:09 +01:00
David Lord
776bf09fdf
Merge pull request #4343 from pallets/address-already-in-use
document "Adddress already in use" error
2021-11-16 09:05:33 -08:00
David Lord
2e10fc24a1
document address already in use error 2021-11-16 09:04:18 -08:00
David Lord
9fe21310bb
replace nbsp characters 2021-11-16 08:34:55 -08:00
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
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
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
`&raquo;` 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
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
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
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
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
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
6d637f0fdb
Merge pull request #4230 from matipau/blueprint-fix
Fix callback order for nested blueprints
2021-10-03 20:38:28 -07:00