Ensure that e-mails always include absolute URLs for image comments.
Review Request #7688 — Created Oct. 9, 2015 and submitted — Latest diff uploaded
The comment thumbnails (selected regions) for image file attachments are
included in e-mail notifications for the review, but when using the built-in
file storage backend, the URLs given to these are relative to the server. This
change makes it so if the returned URL is relative, we prefix it with the
server URL.The problem was that when someone was reviewing an image posted it would not provide a server URL.
I changed image ui, so that when you review an image it now adds the server URL.
I used the email backend so that I could print emails to the console.
Then I posted a review with an image attached and posted a review for the image.
Also, I ran the unit tests and it passed them.