1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/phriction
epriestley bfdc9411f7 Provide context objects for remarkup mail rendering, fixing Phriction relative URIs in initial email
Summary:
Fixes T10969. Ref T13077. When you create a Phriction document with a relative link (`[[ ./path/to/page ]]`) the initial email currently points to the wrong place.

This is because the context object (the page) isn't passed to the markup engine. Without this context, the relative link is rendered as though it appeared somewhere else (like a task or revision) where relative links don't make sense.

Test Plan: Created a new Phriction document with a relative link to `[[ ./porcupine_facts/starmap ]]`, saw a usable link in the resulting email.

Maniphest Tasks: T13077, T10969

Differential Revision: https://secure.phabricator.com/D19105
2018-02-16 09:55:04 -08:00
..
application Update menu item names for Applications -> Favorites 2017-09-05 19:05:03 -07:00
conduit Partially clean up Phriction document status constants; introduce "phriction.document.search" 2018-02-15 18:19:10 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Give Phriction documents modern string status constants instead of numeric constants 2018-02-15 18:23:41 -08:00
controller Partially clean up Phriction document status constants; introduce "phriction.document.search" 2018-02-15 18:19:10 -08:00
editor Make PhrictionContent "description" non-nullable 2018-02-15 17:55:11 -08:00
engineextension Flesh out "phriction.document.search" slightly and provide page text for content/documents 2018-02-15 18:24:37 -08:00
herald Make Herald test workflow modular and more clear 2016-08-03 16:12:33 -07:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
markup Provide context objects for remarkup mail rendering, fixing Phriction relative URIs in initial email 2018-02-16 09:55:04 -08:00
phid Give PhrictionContent objects (older versions of wiki pages) legitimate PHIDs 2018-02-15 17:39:07 -08:00
query Give Phriction documents modern string status constants instead of numeric constants 2018-02-15 18:23:41 -08:00
search Partially clean up Phriction document status constants; introduce "phriction.document.search" 2018-02-15 18:19:10 -08:00
storage Flesh out "phriction.document.search" slightly and provide page text for content/documents 2018-02-15 18:24:37 -08:00
xaction Update PhrictionContent for modular transactions 2017-05-23 12:19:56 -07:00