Commit graph

4839 commits

Author SHA1 Message Date
John Braun
c40974bf11
Add disclaimer for proper error message handling
As the Flask tutorial explicitly returns messages that might reveal useful information to potential attackers, a section was added to raise awareness that in a real world application the reader might want to use more generic error messages as advised by the OWASP project (a link to the documentation of OWASP is provided).
2022-10-31 21:12:17 +01:00
Grey Li
2a54cfa5ce
Merge pull request #4847 from mhsmathew/patch-1 2022-10-30 23:00:37 +08:00
Mat Steininger
5dfd2126a6 Fixed inconsistent double spacing in docs/api.rst 2022-10-30 22:45:33 +08:00
David Lord
e7c82f9c47
Merge pull request #4833 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-10-19 07:16:04 -07:00
pre-commit-ci[bot]
c7da6d74a8
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.2)
- [github.com/asottile/reorder_python_imports: v3.8.2 → v3.8.3](https://github.com/asottile/reorder_python_imports/compare/v3.8.2...v3.8.3)
2022-10-03 23:30:28 +00:00
David Lord
7c01fbcd06
update requirements 2022-09-11 06:33:44 -07:00
pre-commit-ci[bot]
8811ae037a
[pre-commit.ci] pre-commit autoupdate (#4806)
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-07 12:07:20 -07:00
Isaac Woodruff
e7b2ce9a50
Add missing .dev to version (#4801) 2022-09-02 08:52:13 -07:00
David Lord
ce6ad90ecf
remove heroku link 2022-08-27 06:03:46 -07:00
Kevin Kirsche
00bdc2b448
fix: remove obsolete zip_safe (#4783)
remove obsolete `zip_safe`
2022-08-22 09:05:52 -07:00
David Lord
212b72a1fe
start version 2.2.3 2022-08-22 09:00:33 -07:00
David Lord
56a95f6ff6
Merge pull request #4780 from tjrhines1/config-fix-docstring
Fix misrendered docstring
2022-08-21 07:56:09 -07:00
Thomas Rhines
746455d103 Fix misrendered docstring
The API reference for `flask.Config.from_mapping` needs a newline to separate
the summary from the return description.  I also wrapped the docstring at 72
characters as suggested in CONTRIBUTING.rst.
2022-08-21 10:24:03 -04:00
David Lord
e0c157f7ee
Merge pull request #4772 from DillonB07/patch-1
correct `waitress-serve` command
2022-08-17 09:24:58 -07:00
Dillon Barnes
86bf3f205f
Correct waitress-serve command 2022-08-17 17:00:25 +01:00
David Lord
2d3f72574d
fix typo 2022-08-15 12:37:11 -07:00
David Lord
d94634b1be
fix view docs 2022-08-15 07:34:50 -07:00
David Lord
1d07857b1d
fix typo 2022-08-15 07:29:34 -07:00
Grey Li
b0b27785ae
Merge pull request #4760 from oguzhancelikarslan/patch-1
Fix typo on qucikstart documentation
2022-08-13 10:22:10 +08:00
Oğuzhan Çelikarslan
77cdefccee Fix typo 2022-08-13 10:08:11 +08:00
Grey Li
062a096f40
Merge pull request #4758 from tautv/patch-1
Fix typo in docs/patterns/javascript.rst
2022-08-09 22:08:08 +08:00
Grey Li
5b2e9e946b
Merge pull request #4757 from prohde/fix-4756 2022-08-09 22:03:39 +08:00
tautv
22b6296830
Update javascript.rst
Spelling
2022-08-09 09:45:02 +01:00
Philipp Rohde
00b07c863e
fix typo
fixes #4756
2022-08-09 09:48:02 +02:00
David Lord
a1c478bc93
Merge pull request #4755 from pallets/release-2.2.2
release version 2.2.2
2022-08-08 16:24:25 -07:00
David Lord
43d2fff317
release version 2.2.2 2022-08-08 16:21:40 -07:00
David Lord
e9af7c23ae
Merge pull request #4754 from pallets/werkzeug-version
require werkzeug >= 2.2.2
2022-08-08 16:19:32 -07:00
David Lord
de16718b39
require werkzeug >= 2.2.2 2022-08-08 16:14:00 -07:00
David Lord
6ab3cb8d0c
fix issue number 2022-08-08 10:27:57 -07:00
David Lord
e3eaafb56e
Merge pull request #4749 from pallets/shell-env
remove env from shell banner
2022-08-05 11:35:15 -07:00
David Lord
e3df23374c
remove env from shell banner 2022-08-05 11:29:39 -07:00
David Lord
a0458efef6
refactor or remove old docs (#4748) 2022-08-05 11:28:22 -07:00
David Lord
45b2c99c1f
Merge pull request #4742 from pallets/env-default
fix default value of app.env
2022-08-04 07:27:50 -07:00
David Lord
a6a7a57380
fix default value of app.env 2022-08-04 07:24:20 -07:00
David Lord
4984753dbf
start version 2.2.2 2022-08-04 07:21:17 -07:00
David Lord
85f79e1a23
Merge pull request #4736 from pallets/release-2.2.1
release version 2.2.1
2022-08-03 16:51:22 -07:00
David Lord
52c54b2ce1
release version 2.2.1 2022-08-03 16:40:28 -07:00
David Lord
0d87b22314
update requirements 2022-08-03 16:39:35 -07:00
David Lord
723a3a6ffd
Merge pull request #4735 from pallets/json_encoder-warning
show deprecation warning when using json_encoder/decoder
2022-08-03 10:02:18 -07:00
David Lord
714ccefeca
show deprecation warning on json_encoder/decoder access 2022-08-03 09:22:03 -07:00
David Lord
9a1b25fce4
start version 2.2.1 2022-08-03 06:47:31 -07:00
David Lord
b17bb9ed56
Merge pull request #4710 from pallets/release-2.2.0
release version 2.2.0
2022-08-01 17:12:09 -07:00
David Lord
292c7e5c5d
release version 2.2.0 2022-08-01 17:09:49 -07:00
David Lord
f3bb9b2566
Merge branch '2.1.x' 2022-08-01 17:07:58 -07:00
David Lord
ac1bb97679
Merge pull request #4721 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-08-01 17:07:27 -07:00
David Lord
cfd5783a98
Merge pull request #4722 from pallets/deprecate-config-attrs
deprecate config attributes
2022-08-01 17:04:12 -07:00
David Lord
bfdd37110c
deprecate config attributes 2022-08-01 16:58:55 -07:00
pre-commit-ci[bot]
6f9ef11286
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.3)
- [github.com/asottile/reorder_python_imports: v3.8.1 → v3.8.2](https://github.com/asottile/reorder_python_imports/compare/v3.8.1...v3.8.2)
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2)
- [github.com/peterdemin/pip-compile-multi: v2.4.5 → v2.4.6](https://github.com/peterdemin/pip-compile-multi/compare/v2.4.5...v2.4.6)
2022-08-01 23:18:11 +00:00
David Lord
98ca00d545
Merge pull request #4720 from pallets/deprecate-env
deprecate `FLASK_ENV` and `app.env`
2022-08-01 15:19:16 -07:00
David Lord
30427a2090
remove FLASK_ENV from docs 2022-08-01 15:11:35 -07:00