Custom Query (1174 matches)
Results (370 - 372 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5416 | fixed | FileObjectAwareFile breaking test in Python 3, doesn't know how to write unicode strings | ||
| Description |
Commit 2b4c339d very nicely fixed #647, though some of our tests write strings manually, and in Python 3, this is very specifically a bytes object, not a string object. As such, this test is breaking: _______________________ TestDecodeRequest.test_json_type _______________________
Traceback (most recent call last):
File "/home/cwebber/devel/mediagoblin/mediagoblin/tests/test_tools.py", line 40, in test_json_type
data = decode_request(request)
File "/home/cwebber/devel/mediagoblin/mediagoblin/tools/request.py", line 68, in decode_request
data = json.loads(data)
File "/gnu/store/awss99f2wql2h55wqjycvhnvsqpjfqsc-python-3.4.3/lib/python3.4/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
|
|||
| #253 | FIXED | Filename extensions should be made lowercase on disk | ||
| Description |
"medium" and "thumbnail" versions of JPEG files are stored with a lowercase ".jpg" name extension, but the original versions are stored with whatever case was in the original file name: jpg, JPG, jpG… So you get something like this: user_dev/media/public/media_entries/fa23ab31abf7ec67be8000001: originalFileName.JpG medium.jpg thumbnail.jpg (If the file has a random extension like "dfsg", it is simply not accepted.) The extension should be made lowercase, so that all sizes have the same extension both on disk and when downloading. |
|||
| #271 | wontfix | Filename/no file selected label font color on Mac is black | ||
| Description |
On submit view the file field label is black on Mac and thus barely visible on dark grey background. Pls, see attachement |
|||
