1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-27 15:08:20 +01:00
phorge-phorge/src/applications/phriction/controller
epriestley f5e1e3377c Add basic draft support to Phriction
Summary:
  - When a user is creating a Phriction document, save a draft as
"phriction:<slug>".
  - When a user is editing a Phriction document, save a draft as "<document
phid>:<document version>".
  - If a user has an available draft, use that instead of the native content.
  - If using a draft, tell the user and give them an option to discard it.
  - If a page is updated, your draft is lost (we show new page content
unconditionally) but this should be rare and is the simplest way to resolve this
issue in a realtively consistent way.

Test Plan:
  - Recovered drafts for new and edited pages.
  - Used "nodraft" to discard drafts.

Reviewers: davidreuss, btrahan, jungejason

Reviewed By: davidreuss

CC: aran, davidreuss

Maniphest Tasks: T769

Differential Revision: https://secure.phabricator.com/D1378
2012-01-12 18:04:20 -08:00
..
base Phriction - kill tabs 2011-12-15 14:35:38 -08:00
delete Allow Phriction documents to be deleted 2011-12-17 11:45:25 -08:00
diff Allow Phriction documents to be deleted 2011-12-17 11:45:25 -08:00
document Enable Table of Contents in Phriction 2012-01-06 11:52:50 -08:00
documentpreview Add basic draft support to Phriction 2012-01-12 18:04:20 -08:00
edit Add basic draft support to Phriction 2012-01-12 18:04:20 -08:00
history Allow Phriction documents to be deleted 2011-12-17 11:45:25 -08:00
list Some documentation updates. 2011-09-14 08:02:31 -07:00