- It's now possible to specify http auth paramters in the URL
- I've changed the default port to 443 to SSL connections and 80 for
non-SSL connections. Previously, both were set to 9200.
In page_permissions_formset, fixPrefix is a null operation; in InlinePanel.buildExpandingFormset, it's only used within the function body (no longer passed on to the onAdd handler) and only needs to be applied to a single string, so wrapping it in an inner function is redundant.
When a focal point matches the size of the image, the crop sizes are
also the same.
These sizes are subtracted from each other in the fill filter
(which would equal zero) and this number then gets used as the
denominator in a division causing the ZeroDivisionError to be raised.
The fix is simple, don't do any crop closeness calculations if the focal
point size equals the image size. Crop closeness wouldn't work anyway in
this case
When the FocalPoint class was removed, detect_features was updated to return tuples.
This commit fixes a typo where the x and y attributes were still being accessed as attributes.
Previously, an image served to an external site was rendered on the fly.
This may have performance issues with large websites.
This commit changes the image serve view to use renditions so images are
only rendered when the url is first accessed. When the user hits the
url, they are now given a permanent redirect to the renditions image.
IE9 doesn't support conditional comments so testing "if IE 9" would always be false. Additionally this also meant no HTML tag was actually output for any other browser either! As we don't support IE8 either, testing for IE8 was also pointless.
Previously, we used a property to do this. Heres the advantages of the
new way:
- The old way felt a bit like it was pretending to be a database field
when it wasn't. The new way makes it easier for the developer to
understand that this is just a setter/getter for 4 fields and not a
field itself.
- Code looks nicer
- Easier to override in subclasses
- More like Django user model