Custom Query (1173 matches)
Results (313 - 315 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #42 | FIXED | Don't HTML encode the URL in the verification email | ||
| Description |
In the verification email we would output the URL using HTML encoded text, so that e.g. & -> &. We don't want that and we know the URL won't contain user contributed content, so it is safe to turn off HTML encoding here. Patch to fix this: `https://gitorious.org/mediagoblin/mediagoblin/merge\_requests/3 <https://gitorious.org/mediagoblin/mediagoblin/merge_requests/3>`_ |
|||
| #562 | fixed | Don't lower()/upper() locales all the time. | ||
| Description |
We will store available (=translated) locales in the form "es_CR". The function get_locale_from_request(request) in tools/translate.py will find the best_match() best on what the webbrowser wants and what we can offer. It will return one of the AVAILABLE_LOCALES items (which we know will be of the form "lc_UP", to there is no need to invoke "locale_to_lower_upper" on every return value. Only invoke that when we parse user input (through the GET/POST parameters to normalize their input). This is probably not costing too much, but it's one more function that is needlessly called for every request we make. |
|||
| #404 | fixed | Don't save a "medium" image unless we have to | ||
| Description |
It used to be that if the image was smaller than the maximum width/height, it would just not create a "medium" image. But when the exif rotation code was added, it was switched so that it would create a medium image no matter what. Do something along the lines of: if needs_exif_rotation or greater_than_maxsize:
medium creating code here
|
|||
