1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications
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
..
arcanist/conduit Move Conduit methods inside applications 2012-12-21 12:21:59 -08:00
audit Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
auth make applicationTransactionsCommentView have a "Login to comment." button if user is not logged in 2013-03-07 13:02:36 -08:00
base Make Application->isInstalled canonical 2013-03-13 16:01:23 +00:00
cache Use direct inclusion, not submodules, to bring Javelin into Phabricator 2013-01-22 12:43:55 -08:00
calendar Have AphrontView implement PhutilSafeHTMLProducerInterface 2013-03-09 13:52:21 -08:00
chatlog Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
conduit Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
config Added configurable welcome content for Phabricator home page. 2013-03-21 16:02:35 -07:00
conpherence Conpherence - tweak file display 2013-03-19 15:54:22 -07:00
countdown Pre-prepare for hovercards 2013-02-26 14:57:41 -08:00
daemon reduce noise on daemon console 2013-03-08 13:08:11 -08:00
differential Adding pro tips to Differential commit message 2013-03-19 09:29:25 -07:00
diffusion Don't barf on bad commit identifiers 2013-03-19 15:30:16 -07:00
directory/controller Added configurable welcome content for Phabricator home page. 2013-03-21 16:02:35 -07:00
diviner Require a viewer for Remarkup rendering 2013-03-04 12:33:05 -08:00
draft/storage Add draft support to ApplicationTransactions 2012-12-21 05:57:14 -08:00
drydock Convert AphrontTableView to safe HTML 2013-02-09 15:11:38 -08:00
fact Convert AphrontTableView to safe HTML 2013-02-09 15:11:38 -08:00
feed Adding a proper story feed for moving a Phriction Document 2013-03-19 14:22:26 -07:00
files File list now shows only files which are explicitly uploaded 2013-03-22 04:59:51 -07:00
flag Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
harbormaster Add HarbormasterRunnerWorker, for running CI tests 2012-12-17 13:43:26 -08:00
help/controller Allow speical keys to be bound to keystrokes 2013-03-08 21:19:24 -08:00
herald Require a viewer to load handles 2013-02-28 17:15:09 -08:00
macro Adding some filters and queries to Macro application 2013-03-22 09:46:22 -07:00
mailinglists Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
maniphest Fix undefined index in ManiphestTaskSummaryView 2013-03-13 08:06:10 -07:00
meta Remove all calls to renderSingleView() and deprecate it 2013-03-09 13:52:41 -08:00
metamta Exclusion of actor as a mail recipient per preference can be overridden 2013-03-20 15:50:02 -07:00
notification Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
oauthserver Fix an OAuthServer issue where an attacker could make a link function over HTTP when it should be HTTPS-only 2013-02-19 16:09:36 -08:00
owners Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
paste Line count can be set for paste 2013-03-14 10:51:34 -07:00
people Made most of People inaccessible for passer-bys 2013-03-19 13:48:58 -07:00
phame Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
phid Phlux v0 2013-03-20 18:01:52 -07:00
phlux Phlux v0 2013-03-20 18:01:52 -07:00
pholio Pholio inline comment now include a thumbnail and link 2013-03-20 05:39:36 -07:00
phortune Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
phpast Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
phriction Added subscriptions to Phriction documents 2013-03-21 10:28:22 -07:00
policy Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
ponder Introduce PhabricatorEmptyQueryException 2013-03-06 19:22:00 -08:00
project Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
releeph Introduce ReleephProjectQuery 2013-03-22 06:29:37 -07:00
remarkup/conduit Convert Remarkup to safe HTML 2013-02-13 12:34:49 -08:00
repository Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
search Support "M" in phid.lookup and ircbot 2013-03-05 12:31:52 -08:00
settings pht() for Settings 2013-03-03 06:52:42 -08:00
slowvote Uninstall Conduit calls when uninstalling applications 2013-03-13 07:09:05 -07:00
subscriptions Integrate subscriptions with ApplicationTransactions 2013-02-17 06:37:09 -08:00
system Add a user-accessible hook for dumping debug code into an install 2013-03-04 13:45:51 -08:00
tokens Add basic token leader board functionality. 2013-03-21 16:04:29 -07:00
transactions Fix two Pholio subscriptions issues 2013-03-10 10:59:03 -07:00
typeahead Use a policy-aware query for Project typeahead 2013-03-05 14:12:11 -08:00
uiexample pht() AphrontNoteView 2013-03-12 13:10:06 +00:00
xhprof Require a viewer to load handles 2013-02-28 17:15:09 -08:00