Commit graph

4092 commits

Author SHA1 Message Date
dependabot-preview[bot]
89d090ece8 Merge pull request #3885 from pallets/dependabot/pip/tox-3.21.3 2021-02-02 03:31:20 +00:00
dependabot-preview[bot]
9b72d80974 Bump tox from 3.20.1 to 3.21.3
Bumps [tox](https://github.com/tox-dev/tox) from 3.20.1 to 3.21.3.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.20.1...3.21.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 03:27:50 +00:00
David Lord
73e004d9a6 Merge pull request #3894 from pallets/update-werkzeug
Update for recent changes in Pallets libraries
2021-02-01 19:20:20 -08:00
David Lord
f6b6096ffd remove Jinja 'autoescape' and 'with' extensions 2021-02-01 19:14:58 -08:00
David Lord
53bef6febf click detects program name when run as module 2021-01-29 11:29:36 -08:00
David Lord
6d3a0c9a36 simplify InternalServerError.original_exception 2021-01-29 11:26:17 -08:00
David Lord
1703e1e9fd simplify BadRequestKeyError.show_exception 2021-01-29 11:03:33 -08:00
David Lord
378d13aa1b rename send_file add_etags to etag 2021-01-29 10:52:48 -08:00
David Lord
8853be019a remove BaseRequest and BaseResponse 2021-01-29 10:52:48 -08:00
David Lord
6e1e0c8a37 remove JSONMixin 2021-01-29 10:52:48 -08:00
David Lord
b4f4518e0b Merge pull request #3880 from elliott-king/patch-2
Docs update: clarify json error handling
2021-01-27 10:00:02 -08:00
Elliott King
56ed1574ee Clarify json error handling 2021-01-27 12:08:02 -05:00
Grey Li
929be350d3 Merge pull request #3866 from greyli/improve-readme-example
Update the example in README
2021-01-06 18:57:31 -06:00
David Lord
f7c1ef0ee1 Merge pull request #3861 from greyli/fix-pytest
Silence pytest warnings for exception propagation test
2021-01-06 07:47:29 -08:00
Grey Li
2751a41ae2 Update the example in README 2021-01-06 23:31:22 +08:00
Grey Li
4fd42dd4fe Fix broken func directives in docstrings 2021-01-04 10:32:01 +08:00
Grey Li
6a8b93fbe3 Merge remote-tracking branch 'origin/1.1.x' 2021-01-04 10:14:36 +08:00
Grey Li
85e02ef584 Merge pull request #3862 from huimingz/patch-1
Document json.loads parameter description error
2021-01-03 19:52:36 -06:00
huimingz
a074c7cef9 Document parameter description error
The loads function has the wrong 'kwargs' parameter description
2021-01-04 09:45:01 +08:00
Grey Li
d3b51f1206 Bump pytest from 6.1.2 to 6.2.1 2021-01-03 14:10:26 +08:00
Grey Li
92b39077a5 Silence pytest warnings for exception propagation test 2021-01-03 13:57:45 +08:00
dependabot-preview[bot]
463d32a937 Merge pull request #3859 from pallets/dependabot/pip/packaging-20.8 2021-01-01 09:54:18 +00:00
dependabot-preview[bot]
f75552db61 Bump packaging from 20.4 to 20.8
Bumps [packaging](https://github.com/pypa/packaging) from 20.4 to 20.8.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/20.4...20.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:51:33 +00:00
dependabot-preview[bot]
979322af28 Merge pull request #3857 from pallets/dependabot/pip/pip-tools-5.5.0 2021-01-01 09:49:25 +00:00
dependabot-preview[bot]
4d1e2d2d42 Bump pip-tools from 5.3.1 to 5.5.0
Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 5.3.1 to 5.5.0.
- [Release notes](https://github.com/jazzband/pip-tools/releases)
- [Changelog](https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/pip-tools/compare/5.3.1...5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:46:36 +00:00
dependabot-preview[bot]
50e7d00606 Merge pull request #3856 from pallets/dependabot/pip/pre-commit-2.9.3 2021-01-01 09:45:22 +00:00
dependabot-preview[bot]
d4e30dc738 Merge pull request #3855 from pallets/dependabot/pip/sphinx-3.4.1 2021-01-01 09:44:48 +00:00
dependabot-preview[bot]
563d226fa8 Bump pre-commit from 2.8.2 to 2.9.3
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.8.2 to 2.9.3.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.8.2...v2.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:42:25 +00:00
dependabot-preview[bot]
39f2ed4c39 Bump sphinx from 3.2.1 to 3.4.1
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 3.2.1 to 3.4.1.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/3.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.2.1...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-01 09:42:01 +00:00
Grey Li
2b0a29b708 Merge remote-tracking branch 'origin/1.1.x' 2020-12-30 21:00:49 +08:00
jordivandooren
1426d8e30d fix explanation of wheel name (#3848)
* fix explanation of wheel name

* Improve the description of wheel filename format

Co-authored-by: Grey Li <withlihui@gmail.com>
2020-12-30 18:57:37 +08:00
Grey Li
8f238eeb98 Merge pull request #3854 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2020-12-22 13:51:15 +08:00
pre-commit-ci[bot]
c95ab0f391 [pre-commit.ci] pre-commit autoupdate 2020-12-21 16:44:52 +00:00
Grey Li
7d0eca527c Merge pull request #3842 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2020-11-24 10:51:40 +08:00
pre-commit-ci[bot]
42566d9683 [pre-commit.ci] pre-commit autoupdate 2020-11-23 17:15:58 +00:00
Pedro Lourenço
450ee02d29 Fix ci environment command syntax (#3836) 2020-11-17 09:58:43 -08:00
Pedro Lourenço
80d1221e0c update deprecated set-env ci command (#3835) 2020-11-17 09:38:38 -08:00
pre-commit-ci[bot]
d6b9e191e9 [pre-commit.ci] pre-commit autoupdate 2020-11-16 10:05:02 -08:00
David Lord
5b06e265a0 reduce lock schedule to daily 2020-11-14 05:38:05 -08:00
David Lord
28c4cc5ff8 add lock threads workflow 2020-11-13 16:28:13 -08:00
David Lord
21717fb6bb Merge pull request #3828 from pallets/move-send-file
move send_file and send_from_directory to Werkzeug
2020-11-05 09:33:13 -08:00
David Lord
26bb6b1c56 move send_file and send_from_directory to Werkzeug
The implementations were moved to Werkzeug, Flask's functions become
wrappers around Werkzeug to pass some Flask-specific values.

cache_timeout is renamed to max_age. SEND_FILE_MAX_AGE_DEFAULT,
app.send_file_max_age_default, and app.get_send_file_max_age defaults
to None. This tells the browser to use conditional requests rather than
a 12 hour cache.

attachment_filename is renamed to download_name, and is always sent if
a name is known.

Deprecate helpers.safe_join in favor of werkzeug.utils.safe_join.

Removed most of the send_file tests, they're tested in Werkzeug.

In the file upload example, renamed the uploaded_file view to
download_file to avoid a common source of confusion.
2020-11-05 09:27:52 -08:00
David Lord
d81e5f8b6c Merge branch '1.1.x' 2020-11-04 18:25:37 -08:00
Sarthak Vineet Kumar
024417694e updated doc for mod_wsgi (#3751)
Co-authored-by: Sarthak <sarthak@MacBook.local>
2020-11-04 18:20:36 -08:00
Mathurshan Vimalesvaran
8819687447 include samesite and secure when removing session cookie (#3726) 2020-11-04 18:16:05 -08:00
David Lord
eecaf84333 update tests for new werkzeug client (#3827)
Flask's client.open mirrors Werkzeug's for processing an existing
environ.

Always test with latest code for other Pallets projects. This will
be changed back once the new versions are released.
2020-11-04 18:00:21 -08:00
David Lord
8817c77eb0 update requirements (#3823) 2020-11-01 05:30:02 -08:00
dependabot-preview[bot]
7781b83a6e Bump pytest from 6.1.1 to 6.1.2 (#3818)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.1.1...6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-01 05:21:41 -08:00
dependabot-preview[bot]
19ca61eb07 Bump tox from 3.20.0 to 3.20.1 (#3819)
Bumps [tox](https://github.com/tox-dev/tox) from 3.20.0 to 3.20.1.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.20.0...3.20.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-01 05:21:27 -08:00
dependabot-preview[bot]
6f489439f0 Bump sphinx-tabs from 1.1.13 to 1.3.0 (#3822)
Bumps [sphinx-tabs](https://github.com/executablebooks/sphinx-tabs) from 1.1.13 to 1.3.0.
- [Release notes](https://github.com/executablebooks/sphinx-tabs/releases)
- [Changelog](https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-tabs/compare/v1.1.13...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-01 05:21:10 -08:00