1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/macro
Anh Nhan Nguyen ecfb720713 Adding some filters and queries to Macro application
Summary:
Fixes T2778

Introduces `PhabricatorMacroQuery`, which should consolidate all queries regarding macros

Adds `PolicyInterface` to `PhabricatorImageMacro`, as else the query would fail (we should consider adding it to the ApplicationTransaction instead, if that was ever planned)

Adds `Active Macros` filter, making it the default

Adds `My Macros` filter. You may ask why it overwrites `$authors`. Well, I did not want the page jump to the conclusion that it is a search result. It //is// one more or less, but the filter would jump to `seach` instead of `my`. If you want `My Macros` removed, tell me. It is useful only to heavy-macro-uploaders-and-users though. Five or six people in `http://secure.phabricator.(org|com)`, and an estimated dozen and a half at bigger installs.

Test Plan: created multiple macros from multiple authors, disabled them at will. browsed around, verified that Macros only appeared in the right filters and that nothing else broke.

Reviewers: epriestley, chad, btrahan

CC: aran, Korvin

Maniphest Tasks: T2778

Differential Revision: https://secure.phabricator.com/D5409
2013-03-22 09:46:22 -07:00
..
application Adding some filters and queries to Macro application 2013-03-22 09:46:22 -07:00
conduit Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
config MetaMTA: Owners, Pholio, Macro 2013-01-16 10:52:30 -08:00
constants Modernize Macro application 2012-12-11 14:01:03 -08:00
controller Adding some filters and queries to Macro application 2013-03-22 09:46:22 -07:00
editor Use transactions to show edit history for Configuration 2013-01-01 18:14:41 -08:00
mail Modernize Macro application 2012-12-11 14:01:03 -08:00
query Adding some filters and queries to Macro application 2013-03-22 09:46:22 -07:00
remarkup Pre-prepare for hovercards 2013-02-26 14:57:41 -08:00
storage Adding some filters and queries to Macro application 2013-03-22 09:46:22 -07:00