1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/phriction/controller
Bob Trahan 1175784d5d PhabricatorSlug
Summary:
This is to be used in Phame so the logic is shared where possible. The change has three main things going on

- broke out functionality from PhrictionDocument that isn't Phriction specific.
- swept up code base to use new PhabricatorSlug class.
- altered the regex ever so slightly per discussion and http://stackoverflow.com/questions/2028022/javascript-how-to-convert-unicode-string-to-ascii

I think maybe we should punt on unicode here for quite a bit -- http://www.456bereastreet.com/archive/201006/be_careful_with_non-ascii_characters_in_urls/ -- but we'll be well-positioned to add it with the code here.

Test Plan: used phriction to create, edit, view documents. used a tool (codemod) for the codebase sweeping

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2195
2012-04-10 14:18:20 -07:00
..
base Add a contextual "scope" dropdown for searches 2012-02-14 17:00:12 -08:00
delete Add "final" to all Phabricator "Controller" classes 2012-03-09 15:46:25 -08:00
diff Use assert_instances_of() everywhere but Differential and Diffusion 2012-04-03 14:53:20 -07:00
document PhabricatorSlug 2012-04-10 14:18:20 -07:00
documentpreview Add "final" to all Phabricator "Controller" classes 2012-03-09 15:46:25 -08:00
edit PhabricatorSlug 2012-04-10 14:18:20 -07:00
history PhabricatorSlug 2012-04-10 14:18:20 -07:00
list Add "final" to all Phabricator "Controller" classes 2012-03-09 15:46:25 -08:00