1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/phame/controller
epriestley 2d588715bc Always automatically generate Phame slugs
Summary:
Fixes T9995. I think letting users customize slugs is not a hugely compelling as a product feature, and this fixes the issue with slugs that have "/" characters in them and makes the move to EditEngine easier since I don't have to deal with the weird JS thing.

Instead, just generate slugs automatically. No more JS, no more separate field, things automatically update if you rename a blog, and now that URIs have IDs in them the old URI will still work after a rename.

Test Plan:
  - Applied migration.
  - Created new posts.
  - Edited existing posts.
  - Visited various posts.
  - Created a post with a bunch of "/" in the title, things still worked fine.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9995

Differential Revision: https://secure.phabricator.com/D14792
2015-12-15 14:18:56 -08:00
..
blog Remove skins from Phame 2015-12-11 08:14:12 -08:00
post Always automatically generate Phame slugs 2015-12-15 14:18:56 -08:00
PhameController.php Linter fixes 2015-12-03 07:44:23 +11:00
PhameHomeController.php Add Drafts to PhameHome 2015-12-12 13:26:18 -08:00
PhameLiveController.php 404 older-style Phame URIs properly 2015-12-11 17:32:52 -08:00