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-14 06:04 pm

[dreamwidth/dw-free] 993d91: fix remote checking for access control of media fi...

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: 993d91d280f8983ea3799f7411213affb43efd35
https://github.com/dreamwidth/dw-free/commit/993d91d280f8983ea3799f7411213affb43efd35
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
fix remote checking for access control of media files

Use a controller to do basic setup checking, including
bouncing for a user domain cookie if needed - LJ::get_remote
was failing when the user domain cookie wasn't available.

With that working, we can add functional support for viewall,
and remove the FIXME comment that requested it.


Commit: 48f7f7b18cf7312855565d58d6656b3a64d6ad7c
https://github.com/dreamwidth/dw-free/commit/48f7f7b18cf7312855565d58d6656b3a64d6ad7c
Author: Kareila <kareila@dreamwidth.org>
Date: 2017-02-13 (Mon, 13 Feb 2017)

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

Log Message:
-----------
[#1940] allow hotlinking from crosspost sites

As @kaberett pointed out, crossposted entries that reference
hosted images will fail to load on the remote site, so let's
whitelist all known crosspost sites.


Commit: 79954c51a1ec867f4b2865f936924a72361458f7
https://github.com/dreamwidth/dw-free/commit/79954c51a1ec867f4b2865f936924a72361458f7
Author: Mark Smith <mark@qq.is>
Date: 2017-02-14 (Tue, 14 Feb 2017)

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

Log Message:
-----------
Merge pull request #1980 from kareila/1960-crossposts

fixes for media file access


Compare: https://github.com/dreamwidth/dw-free/compare/912dd34fe3f9...79954c51a1ec