Homec4science

Fix old image macros and memes for logged out users

Authored by epriestley <git@epriestley.com> on Sep 4 2014, 21:50.

Description

Fix old image macros and memes for logged out users

Summary:
Fixes T6013. Old image macros/memes never had the file edge written.

We also never wrote file edges for audio.

Finally, the meme controller didn't allow public access.

Write edges for images and audio, perform a migration to populate the historic ones, and make the Editor keep them up to date going forward.

Test Plan:

  • Updated image, saw new image attach and old image detach.
  • Updated audio, saw new audio attach and old audio detach.
  • Ran migration.
  • Viewed memes as a logged-out user.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6013

Differential Revision: https://secure.phabricator.com/D10411

Details

Committed
epriestley <git@epriestley.com>Sep 4 2014, 21:50
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2e0361bd98c4: Bind file thumbnail visibility to the visibility of the original files
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH8038af4bd570: Fix old image macros and memes for logged out users (authored by epriestley <git@epriestley.com>).Sep 4 2014, 21:50