mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-13 12:54:53 +01:00
Summary: Add OGP <meta> tags to Maniphest task pages when the task is publicly accessible and anonymously accessed. See https://ogp.me/ Based on rP2c72c2b924ffa3f8a49dbec636a2cdca3bae004f reverted in rP49b57eae7df52c189aef1d973823c697fc97fd4b. Closes T15472 Test Plan: * Use the default Phorge logo, open a Maniphest task, look at the headers in its HTML. * Set a custom Phorge logo via `config/edit/ui.logo/`. * Access a task with "View Policy: All Users" while logged in: No OGP headers included. * Access a task with "View Policy: Public" while logged in: No OGP headers included. * Access a task with "View Policy: All Users" while logged out: No OGP headers included; "Access Denied: Restricted Maniphest Task" displayed. * Access a task with "View Policy: Public" while logged out: OGP headers included. * Access a task with "View Policy: Public" while logged out with a task description and a task without a task description: OGP headers included. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15472 Differential Revision: https://we.phorge.it/D25668 |
||
---|---|---|
.. | ||
application | ||
check | ||
constants | ||
controller | ||
custom | ||
editor | ||
engine | ||
exception | ||
issue | ||
json | ||
management | ||
module | ||
option | ||
phid | ||
query | ||
response | ||
schema | ||
storage | ||
type | ||
view |