David Lord
65b22926f7
reduce number of tox and travis envs
...
bump minimum werkzeug version to fix tests
cache pip pacakges on travis
collect branch coverage
collect coverage of test code
report coverage across envs
test building docs
enable codecov integration
8 years ago
Mark Shannon
d05862574f
Update click dependency info.
8 years ago
Antonio Larrosa
bf023e7dc0
Remove unidecode dependency and use unicodedata instead
...
I found a way to remove the unidecode dependency without sacrificing
much by using unicodedata.normalize .
8 years ago
Antonio Larrosa
0049922f2e
Fix send_file to work with non-ascii filenames
...
This commit implements https://tools.ietf.org/html/rfc2231#section-4 in
order to support sending unicode characters. Tested on both Firefox and
Chromium under Linux.
This adds unidecode as a dependency, which might be relaxed by using
.encode('latin-1', 'ignore') but wouldn't be as useful.
Also, added a test for the correct headers to be added.
Previously, using a filename parameter to send_file with unicode characters, it
failed with the next error since HTTP headers don't allow non latin-1 characters.
Error on request:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 186, in execute
write(b'')
File "/usr/lib/python3.6/site-packages/werkzeug/serving.py", line 152, in write
self.send_header(key, value)
File "/usr/lib64/python3.6/http/server.py", line 509, in send_header
("%s: %s\r\n" % (keyword, value)).encode('latin-1', 'strict'))
UnicodeEncodeError: 'latin-1' codec can't encode character '\uff0f' in position 58: ordinal not in range(256)
Fixes #1286
8 years ago
Jeff Widman
bb0e755c80
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
8 years ago
Emily Manders
7e8d7d43c8
Added link to deploying documentation
9 years ago
José Carlos García
567fff9d0d
Change to Pallets project
...
* Update CHANGES
* Update CONTRIBUTING.rst
* Update setup.py
* Update tox.ini
* Update extensions.rst
* Update security.rst
* Update installation.rst
* Update testing.rst
* Update upgrading.rst
* Update sidebarintro.html
* Update jquery.rst
* Update dbcon.rst
* Update index.rst
9 years ago
lord63
7368a164c7
Clarify the python versions that flask supports
9 years ago
Markus Unterwaditzer
85b20f8d49
Avoid duplication of version info
10 years ago
ThiefMaster
ddf0dfa895
Use PEP440-compatible dev version
10 years ago
Markus Unterwaditzer
4fca38c078
remove audit command
10 years ago
Markus Unterwaditzer
b93ab41ed1
Remove testsuite package from setup.py
10 years ago
Markus Unterwaditzer
3550b26071
Move tests
10 years ago
Armin Ronacher
f6d25bbc4f
Switch to newer click (2.0)
10 years ago
Armin Ronacher
2639a23b88
Updated setup.py a bit. This fixes #1018
11 years ago
Armin Ronacher
3569fc2441
Greatly refactored click integration and documented it a bit more.
11 years ago
Armin Ronacher
0ac492a0ac
Depend on click now
11 years ago
Armin Ronacher
7503bde223
Added the new flask run module to start the server.
11 years ago
Armin Ronacher
977e7660ac
Master is 0.11-dev
12 years ago
Armin Ronacher
d94b1bec24
In case we need a 0.10.2
12 years ago
Armin Ronacher
298334fffc
Bump version number to 0.10.1
12 years ago
Armin Ronacher
2713ea98cb
Use same version specifications as in Werkzeug
12 years ago
Armin Ronacher
5886925ff3
Started 0.10 maintenance branch for a bugfix release
12 years ago
Daniel Neuhäuser
41171d11ae
Add Python 3.3 classifier
12 years ago
Armin Ronacher
ac187bded7
This is 0.11-dev
12 years ago
Armin Ronacher
3b9574fec9
Bump version number to 0.10
12 years ago
Daniel Neuhäuser
bb2e20f53f
Depends on itsdangerous>=0.12 now
12 years ago
Daniel Neuhäuser
a0801719f8
Remove six dependency
12 years ago
Daniel Neuhäuser
506db0eab2
Use print_function
12 years ago
Thomas Waldmann
1b753cb1b1
require 'six' in setup.py, add flask._compat for stuff not yet in 'six'
12 years ago
Thomas Waldmann
40fad2ece8
document python 2.6 minimum requirement, remove all stuff that refers to 2.5
12 years ago
Cenk Altı
1358fd9f3e
Syntax highlighting for PyPI long description
12 years ago
Armin Ronacher
fe85970665
Various improvements in regards to the itsdangerous usage, bumped to 0.17
12 years ago
Armin Ronacher
3f82d1b68e
Switch to itsdangerous
12 years ago
Armin Ronacher
b879193481
Set current dev version number to 0.10
12 years ago
Armin Ronacher
19def9606a
This is 0.8.1
13 years ago
Ron DuPlain
b31f2d9a64
Require Werkzeug>=0.7, #449 .
13 years ago
Pascal Hartig
35383ee83c
Removed triple-quotes from print statement in setup.py
13 years ago
Kamil Kisiel
b29834dac3
Fixed weird string quoting in setup.py
13 years ago
Thibaud Morel
8216e036e9
Specifying supported Python versions in setup.py metadata
13 years ago
Kenneth Reitz
3de8de1985
pip > easy_install
13 years ago
Armin Ronacher
766522cb58
Prepare for an 0.8.1 release
13 years ago
Armin Ronacher
3765cc2e9e
This is 0.9-dev
13 years ago
Armin Ronacher
d5e10e4685
Bump version number to 0.8
13 years ago
Armin Ronacher
04b90f5ad4
Parentheses are for Python3
13 years ago
Armin Ronacher
d4d75701bc
Added ext to the packages
13 years ago
Armin Ronacher
0c75be1172
Whitespace normalize
13 years ago
Priit Laes
d4d6cc8401
Clean up auditing command
13 years ago
Christopher Currie
5f7f3b17df
Fix for d5cd4f8d
which broke install on Windows
13 years ago
Armin Ronacher
d5cd4f8d59
Updated manifests
13 years ago