1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/infrastructure/markup
epriestley 98cac2cc29 Always serve "{meme ...}" from the CDN domain, never from the primary domain
Summary:
Ref T13101. This is a minimal change to make "{meme ...}" work with the new Content-Security-Policy by using an Ajax request to generate the image and then swapping the source on the client.

This could be much cleaner (see T5258, etc).

Test Plan: Used `{meme, src=cat6, above=i am, below=cat}`, chuckled completely unironically.

Maniphest Tasks: T13101

Differential Revision: https://secure.phabricator.com/D19196
2018-03-08 07:47:02 -08:00
..
__tests__ Generate slightly shorter summaries in the typeahead browse dialog 2016-11-17 13:08:08 -08:00
interpreter Put cows and figlet bannners in <pre> in HTML mail bodies 2015-10-08 20:03:15 -07:00
rule Render object remarkup references in a text context as "Dxxx <uri>" 2018-02-08 09:52:41 -08:00
view Always serve "{meme ...}" from the CDN domain, never from the primary domain 2018-03-08 07:47:02 -08:00
PhabricatorMarkupEngine.php Bump markup engine version to clear old "Navigation Sequence" elements 2017-05-23 16:28:05 +00:00
PhabricatorMarkupInterface.php Remove @group annotations 2014-07-10 08:12:48 +10:00
PhabricatorMarkupOneOff.php Move PhrictionContent from RemarkupInterface (deprecated) to PHUIRemarkupView 2018-02-15 17:40:51 -08:00
PhabricatorMarkupPreviewController.php Disable caching of remarkup previews 2015-02-22 05:39:25 -08:00
PhabricatorSyntaxHighlighter.php Extend from Phobject 2015-06-15 18:02:27 +10:00