1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/phriction
epriestley 5ba66e56fd Fix Phriction rendering for initial install and 404 pages
Summary:
Depends on D19682. Ref T13202. We currently fatal when trying to render a timeline if:

  - an install is fresh, so there are no pages yet, and you look at "/w/"; or
  - you're looking at a Phriction page which doesn't exist (yet) like "/w/aadsflknadsflnf/".

Rendering a timeline and comment area doesn't make sense in these cases, so don't render them.

Test Plan: Hit both cases described above, got "new/empty page" prompts instead of fatals.

Reviewers: amckinley

Maniphest Tasks: T13202

Differential Revision: https://secure.phabricator.com/D19683
2018-09-17 20:02:59 -07:00
..
application Support (basic) commenting on Phriction documents 2018-09-12 13:20:52 -07:00
codex Extend PhabricatorPolicyCodex interface to handle "interesting" policy defaults 2018-04-27 16:56:11 -07:00
conduit Freeze the "phriction.info" Conduit API method 2018-02-16 12:14:23 -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 Fix Phriction rendering for initial install and 404 pages 2018-09-17 20:02:59 -07:00
editor Allow Phriction document edits to be saved as drafts 2018-09-12 13:30:40 -07:00
engineextension Add a rough Quick Search datasource for Phriction documents 2018-02-16 09:55:54 -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 Fix incorrect context extraction for relative Phriction links on Phriction pages 2018-02-16 12:33:40 -08:00
phid Give PhrictionContent objects (older versions of wiki pages) legitimate PHIDs 2018-02-15 17:39:07 -08:00
query Move Phriction internal document/content references from IDs to PHIDs 2018-08-29 13:41:24 -07:00
search Partially clean up Phriction document status constants; introduce "phriction.document.search" 2018-02-15 18:19:10 -08:00
storage Store Phriction max version on Document, improve editing rules for editing documents with drafts 2018-08-30 10:12:51 -07:00
typeahead Add autocomplete for Phriction documents on "[[ ..." in Remarkup 2018-02-16 09:56:18 -08:00
xaction Fix fatal in rendering Phriction "Moved Away" stories 2018-09-17 20:02:06 -07:00