Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (292 - 294 of 1174)

Ticket Resolution Summary Owner Reporter
#256 FIXED Use staticdirect instead of /mgoblin_static/ Elrond Elrond
Description

templates should never use /mgoblin_static/ but use request.staticdirect() instead, which uses the proper paths from the config.

This is relevant when running mediagoblin not on / but on a subpath like /mediagoblin/.

I have fixed the current templates (git branch will be pushed tomorrow).

The interesting question is, if the test suite should test for this? If so, here's an idea on how to do it:

  1. in test_mgoblin_app.ini set direct_remote_path to something else than /mgoblib_static/
  2. While testing: add a special "middleware" to the main App, that greps the rendered html for mgoblin_static and errors out.

That way all tested paths will at least also get tested for wrong references. At least, that's my idea on this.

#259 FIXED Use original format for thumbnails/resized images (same as the image) Christopher Allan Webber Aleksej
Description

Resized versions of an image need to be in the same file format as the original, or at least in a format which has the required features (e.g. transparency).

The logos of Creative Commons recently uploaded by fajro to omgmg have bad thumbnails, because the original images are in PNG format with transparency, while the thumbnails are JPEG. The black-on-transparent logo became black-on-black, and the white-on-transparent logo became white-on-white.

#5321 fixed Use of deprecated frombytes when processing videos causes the task to fail anongoblin
Description

When transcoding a video using a recent version of PIL transcoding a video fails reproducible. The reason for this is an AttributeError: 'module' object has no attribute 'frombytes'gets raised, while a thumbnails is being created. This is because frombytes alias was deprecated in favor of fromstring.

The attached patch fixes this.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.