1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00
phorge-phorge/scripts
epriestley 85bf88e400 Allow pastes to be flagged
Summary:
This does a few things:

  - Allows you to flag pastes. This is straightforward.
  - Allows Applications to register event listeners.
  - Makes object action lists emit a 'didrenderactions' event, so other applications can add more actions. The Flags application injects its action in this way. This should generally make it much easier to add actions to objects when we add new applications, with less code duplication and better modularity. We have a really hacky version of this in Differential that I want to get rid of in lieu of this more general approach. I'm going to make object lists do the same thing, so any application can jump in and add stuff.

Test Plan: Flagged and unflagged pastes. Viewed home page, differential, flags list.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D3377
2012-08-24 13:19:47 -07:00
..
aphront Support applications in aphrontpath.php 2012-08-10 10:48:08 -07:00
calendar Display holidays 2012-05-03 09:22:52 -07:00
celerity Allow pastes to be flagged 2012-08-24 13:19:47 -07:00
conduit Depend on class autoloading 2012-05-30 16:57:21 -07:00
daemon Separates the PID and log directories of daemons 2012-08-05 08:35:24 +02:00
differential Use PhutilArgumentParser in reparse.php 2012-08-13 19:35:30 -07:00
drydock Depend on class autoloading 2012-05-30 16:57:21 -07:00
fact Add FactCursors and application fact datasources 2012-07-30 10:43:49 -07:00
fpm Fix minor issues with D2630 2012-06-06 09:12:42 -07:00
install Simplify daemon management: "phd start" 2012-05-09 10:29:37 -07:00
mail Use phutil_utf8_convert() in Phabricator 2012-08-12 08:50:19 -07:00
profile quick, ghetto script to rescale profile pictures 2012-08-13 15:29:34 -07:00
repository Fix some argument parsing stuff in reparse.php 2012-08-22 14:03:04 -07:00
search Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Support PhabricatorOpaqueEnvelope for managing database passwords 2012-07-24 11:13:53 -07:00
symbols Support limiting symbol deletion to certain paths 2012-08-16 08:15:17 -07:00
user Use OpaqueEnvelopes for all passwords in Phabricator 2012-07-17 12:06:33 -07:00
util Use the unified markup cache for Maniphest 2012-07-11 11:40:10 -07:00
__init_script__.php Initialize translator after loading custom libraries 2012-06-21 15:57:51 -07:00
celerity_mapper.php Add local navigation to Differential 2012-08-21 15:01:20 -07:00