71 Commits (master)

Author SHA1 Message Date
David Lord b51ab3ff2c
encode filenames as ascii instead of latin-1 6 years ago
David Lord 0e1e9a04aa
detect UTF encodings when loading json 7 years ago
David Lord ab4142215d
detect UTF encodings when loading json 7 years ago
fphonor 171eb28c95
get_json separate cache depending on silent arg 7 years ago
David Lord 310fbfcf64
revert copyright year to project start 7 years ago
Armin Ronacher 2433522d29
Add Support for FLASK_ENV (#2570) 7 years ago
Adrian Moennich 777cc17de3 Fix broken test 7 years ago
ThiefMaster c52e1b7388 Fix ValueError for some invalid Range requests 7 years ago
David Lord 66b1b752da
simplify logging configuration 7 years ago
Eugene M. Kim 63ccdada1b Actually hand-spin and use a tzinfo subclass 7 years ago
Eugene M. Kim f803760275 Re-revert to not using pytz 7 years ago
Eugene M. Kim 34050630d6 Skip aware datetime tests if pytz is unavailable 7 years ago
Eugene M. Kim eb9618347c Use pytz again for tests 7 years ago
Eugene M. Kim 0e6cab3576 Rewrite test_jsonify_aware_datetimes without pytz 7 years ago
Eugene M. Kim d75d83defd Add UTs for #2372 7 years ago
David Lord 5978a0f55f
failing test for streaming session 7 years ago
David Lord 045dccaefb
make debugging bad key errors easier 7 years ago
Christian Stade-Schuldt 4ec1fbc9f5 More DRYing up the test suite (#2325) 7 years ago
Christian Stade-Schuldt 5b0b9717da DRYing up the test suite using pytest fixtures (#2306) 7 years ago
MikeTheReader 7c882a457b Replace double quotes with single quotes 7 years ago
MikeTheReader cd412b20dc Parameterize test_get_debug_flag 7 years ago
MikeTheReader fd4a363657 Modifications based on review 7 years ago
MikeTheReader 6f49089a62 Added tests for make_response and get_debug_flag to improve coverage of helpers.py 7 years ago
David Lord f7c35bf0d5 safe_join on Windows uses posixpath 7 years ago
David Lord 2a65794306
safe_join on Windows uses posixpath 7 years ago
David Lord 46f83665ef
clean up blueprint json support 8 years ago
David Lord 4ff84d537a
get mtime in utc 8 years ago
David Lord bf6910a639
get mtime in utc 8 years ago
David Lord f790ab7177
need to test against raw header 8 years ago
David Lord c1973016ea
style cleanup 8 years ago
Antonio Larrosa 6ef45f30ab Fix previous commits to work with python 2 and python 3 8 years ago
Antonio Larrosa 0049922f2e Fix send_file to work with non-ascii filenames 8 years ago
Hsiaoming Yang a7f1a21c12 Don't rely on X-Requested-With for pretty print json response (#2193) 8 years ago
Jiri Kuncar 36425d5f91 Ignore cache on request.get_json(cache=False) call (#2089) 8 years ago
Alex Kahan 2647fc7112 Parameterizing test (#2073) 8 years ago
Joël Charles 7186a5aaf5 make use of range requests if available in werkzeug (#2031) 8 years ago
Armin Ronacher a30951ec28 Do not error for unknown files if send_file sends an actual file 8 years ago
Roman 92ce20eeac Fix error in send_file helper (#2003) 8 years ago
Markus Unterwaditzer 71e10be286 Properly remove f.name usage in send_file (#1988) 8 years ago
David Lord f193f590bc clean up new json tests 8 years ago
Nathan Land f16e477b2a Add tests for flask.json.dump() and test that jsonify correctly converts uuids. 8 years ago
RamiC 4305ebdf66 Check for a request ctx before using the request. 8 years ago
RamiC 501b8590dd Allow per blueprint json encoder decoder 8 years ago
David Lord 7c271401b2 pass value directly to last_modified 8 years ago
Prachi Shirish Khadke af515cc7ea Add last_modified arg for send_file 8 years ago
Giampaolo Eusebi 06a170ea9b Add tests for safe_join 8 years ago
Dan Sully 8458cc5cd1 Remove deprecation warnings for add_etags & mimetype guessing for send_file() 8 years ago
Markus Unterwaditzer 6c359e0f53 Eliminate some resource warnings 8 years ago
Markus Unterwaditzer 293eb583f6 More explicit warning categories 8 years ago
Markus Unterwaditzer d393597c50 Use recwarn everywhere 8 years ago