pre-commit-ci[bot]
cd3a93a9c1
[pre-commit.ci] pre-commit autoupdate
2020-11-23 17:15:58 +00:00
Pedro Lourenço
0855252f8c
Fix ci environment command syntax ( #3836 )
2020-11-17 09:58:43 -08:00
Pedro Lourenço
d6b974f821
update deprecated set-env ci command ( #3835 )
2020-11-17 09:38:38 -08:00
pre-commit-ci[bot]
11798fd01b
[pre-commit.ci] pre-commit autoupdate
2020-11-16 10:05:02 -08:00
David Lord
b2464883ce
reduce lock schedule to daily
2020-11-14 05:38:05 -08:00
David Lord
f325b8b5be
add lock threads workflow
2020-11-13 16:28:13 -08:00
David Lord
bbb273bb76
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
dc11cdb4a4
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
15a49e7297
Merge branch '1.1.x'
2020-11-04 18:25:37 -08:00
Sarthak Vineet Kumar
577eec198a
updated doc for mod_wsgi ( #3751 )
...
Co-authored-by: Sarthak <sarthak@MacBook.local>
2020-11-04 18:20:36 -08:00
Mathurshan Vimalesvaran
22987b6817
include samesite and secure when removing session cookie ( #3726 )
2020-11-04 18:16:05 -08:00
David Lord
7a444c5dab
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
373f0dd82e
update requirements ( #3823 )
2020-11-01 05:30:02 -08:00
dependabot-preview[bot]
3b57c19e3b
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]
aa0c9493c6
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]
f7e33f240e
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
dependabot-preview[bot]
65de6ccc0f
Bump pre-commit from 2.7.1 to 2.8.2 ( #3821 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.7.1 to 2.8.2.
- [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.7.1...v2.8.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:20:48 -08:00
David Lord
8ad9b41850
Merge pull request #3814 from lielfr/jsonencoder_html_test
2020-10-31 20:20:16 -07:00
David Lord
6def8a4a48
test json.dumps for object with __html__ method
2020-10-31 20:18:25 -07:00
David Lord
a0e2aca770
move json tests to separate file
2020-10-31 20:16:24 -07:00
Viet Hung Nguyen
7c20611cdd
mkstemp returns a file descriptor ( #3809 )
2020-10-31 20:09:57 -07:00
David Lord
06495e791b
Merge pull request #3785 from tirkarthi/add-py39
2020-10-31 20:05:25 -07:00
David Lord
2676973cd7
remove pre-commit job, using pre-commit.ci now
2020-10-31 20:03:27 -07:00
David Lord
1c6dc15420
fix response bases order
2020-10-31 19:19:11 -07:00
Karthikeyan Singaravelan
76467527d6
test Python 3.9
2020-10-31 19:14:02 -07:00
Sebastian Höffner
5d60cce242
Updating external_url_handler example to Python 3 ( #3816 )
2020-10-29 09:33:20 -07:00
Bart Broere
070a0c1c75
removing outdated xhtml information ( #3802 )
2020-10-21 14:13:41 -07:00
Grey Li
1035efc7d6
Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs ( #3714 )
...
* Enable Sphinx extension sphinx-tabs
* Add command tabs for all export commands
* Add command tabs for all venv commands
Fix trim spaces
2020-10-15 14:08:37 -07:00
dependabot-preview[bot]
c5a5d9b30b
Bump pytest from 6.0.2 to 6.1.1 ( #3790 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.2 to 6.1.1.
- [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.0.2...6.1.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-10-15 14:03:39 -07:00
Jamiu Salimon
9d824db41c
Update the signature of the teardown function ( #3730 )
...
Co-authored-by: David Lord <davidism@gmail.com>
2020-10-15 14:02:54 -07:00
David Lord
967b235035
Merge pull request #3728 from nphilipp/master--discover-app-factory-deterministically
...
Discover app factory deterministically
2020-10-15 14:01:14 -07:00
Paul Sanders
8c6baeedab
parametrize some tests ( #3786 )
2020-10-11 19:16:17 -07:00
Henry Kobin
fa5aebc842
updated Sentry link ( #3788 )
2020-10-11 19:15:19 -07:00
Matěj Volf
bdf7083cfd
refer to encoder instead of decoder
2020-10-07 08:06:29 -07:00
Bogdan Opanchuk
8efea0ccbb
Break reference cycle created by default in Flask instances.
...
Flask instances with static folders were creating a reference cycle
via their "static" view function (which held a strong reference back
to the Flask instance to call its `send_static_file` method). This
prevented CPython from freeing the memory for a Flask instance
when all external references to it were released.
Now use a weakref for the back reference to avoid this.
Co-authored-by: Joshua Bronson <jab@users.noreply.github.com>
2020-10-03 10:05:05 -04:00
dependabot-preview[bot]
4e8b020494
Merge pull request #3773 from pallets/dependabot/pip/greenlet-0.4.17
2020-10-01 08:26:44 +00:00
dependabot-preview[bot]
84a4669e54
Bump greenlet from 0.4.16 to 0.4.17
...
Bumps [greenlet](https://github.com/python-greenlet/greenlet ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/python-greenlet/greenlet/releases )
- [Changelog](https://github.com/python-greenlet/greenlet/blob/master/NEWS )
- [Commits](https://github.com/python-greenlet/greenlet/compare/0.4.16...0.4.17 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:24:03 +00:00
sblondon
7e312c421e
aesthetic: add a space after a comma ( #3771 )
2020-09-28 07:21:13 -07:00
miquelvir
598c56c498
fix grammar ( #3769 )
2020-09-28 06:21:59 -07:00
Ebram Shehata
12a4d15546
Update quickstart.rst ( #3767 )
2020-09-25 16:52:00 -07:00
girst
de464c03e1
Correct Sentry advertisement (not Free Software) ( #3758 )
2020-09-15 09:20:10 -07:00
dependabot-preview[bot]
e0d7d402e1
Merge pull request #3756 from pallets/dependabot/pip/pytest-6.0.2
2020-09-14 08:21:19 +00:00
dependabot-preview[bot]
ad10d12177
Bump pytest from 6.0.1 to 6.0.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.0.1 to 6.0.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.0.1...6.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 08:18:57 +00:00
dependabot-preview[bot]
baaf864237
Merge pull request #3754 from pallets/dependabot/pip/tox-3.20.0
2020-09-07 08:20:06 +00:00
dependabot-preview[bot]
983af125ac
Bump tox from 3.19.0 to 3.20.0
...
Bumps [tox](https://github.com/tox-dev/tox ) from 3.19.0 to 3.20.0.
- [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.19.0...3.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 08:17:58 +00:00
Ryuichi Watanabe
a1fb8f143f
update cache action to v2 ( #3749 )
2020-08-30 18:53:09 -07:00
ongopongo
5bfe236fb5
fix typo in flask shell help ( #3744 )
2020-08-26 09:20:21 -07:00
dependabot-preview[bot]
6d3f87ee07
Merge pull request #3742 from pallets/dependabot/pip/pre-commit-2.7.1
2020-08-24 08:19:34 +00:00
dependabot-preview[bot]
0885e68beb
Bump pre-commit from 2.6.0 to 2.7.1
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.6.0 to 2.7.1.
- [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.6.0...v2.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 08:17:04 +00:00
Joshua Bronson
fe55f92cdc
Fix pre-commit cache key in GitHub Actions. ( #3740 )
...
Fix pre-commit cache key to include full Python version as per
https://github.com/pre-commit/pre-commit/issues/1575#issuecomment-678792700
and https://pre-commit.com/#github-actions-example
2020-08-23 21:52:28 -04:00