github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2017-02-12 09:13 pm

[dreamwidth/dw-free] 774f90: [#1931] delete associated thumbnails when a media ...

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 774f909fb8bc5796c10c256c04b0ed0eaf9e906f
https://github.com/dreamwidth/dw-free/commit/774f909fb8bc5796c10c256c04b0ed0eaf9e906f
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm

Log Message:
-----------
[#1931] delete associated thumbnails when a media image is deleted

This calls the parent method to do the deletion as before,
then looks for other versions of the same image to also
delete from storage once the original is gone.

Fixes #1931.


Commit: e69e7d5c029c73508a944ea4e52bd8ede85c93b6
https://github.com/dreamwidth/dw-free/commit/e69e7d5c029c73508a944ea4e52bd8ede85c93b6
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-09 (Thu, 09 Feb 2017)

Changed paths:
M cgi-bin/DW/Media.pm

Log Message:
-----------
[#1940] don't count deleted files against quotas

I realized when testing the new delete method that the
relevant rows in media_versions are preserved, so we
need to crosscheck against the 'state' column of the
media table and make sure we aren't counting the
sizes of deleted files against the user's quota.


Commit: ef8d8017fc90c0ec2b34cba1d0787fb594385389
https://github.com/dreamwidth/dw-free/commit/ef8d8017fc90c0ec2b34cba1d0787fb594385389
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-11 (Sat, 11 Feb 2017)

Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Photo.pm

Log Message:
-----------
incorporate feedback from code review


Commit: 443c194f10f03aa192bd2ea5f9171929a5d6ac76
https://github.com/dreamwidth/dw-free/commit/443c194f10f03aa192bd2ea5f9171929a5d6ac76
Author: Mark Smith <mark@qq.is>
Date: 2017-02-12 (Sun, 12 Feb 2017)

Changed paths:
M cgi-bin/DW/Media.pm
M cgi-bin/DW/Media/Base.pm
M cgi-bin/DW/Media/Photo.pm

Log Message:
-----------
Merge pull request #1969 from kareila/1931-delete-thumbnails

delete associated thumbnails when a media image is deleted


Compare: https://github.com/dreamwidth/dw-free/compare/d6e83bde7c84...443c194f10f0