1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02:00
phorge-phorge/scripts
epriestley 5b74b8b765 Add basic "Subscriptions" application
Summary:
Basic infrastructure for generalizing subscriptions/CCs for T1808, T1514 and T1663.

  - Implement `PhabricatorSubscribableInterface` and you'll get a subscribe/unsubscribe button for free.
  - If there are any auto-subscribed users (like the question author) you can specify them; this makes more sense for Tasks and Revisions than Ponder probably, but maybe the author should be auto-subscribed.
  - Subscriptions are either "explicit" (the user clicked 'subscribe') or "implicit" (the user did something which causes them to become subscribed naturally). If a user unsubscribes, they'll no longer be added by implicit subscriptions. This may or may not be relevant to Ponder but is an existing Herald feature in Differential.
  - Helper method on PhabricatorSubscribersQuery to load subscribers.
  - This doesn't handle actually sending email, etc. I think that's all so application-specific that it doesn't belong here.
  - Now seems to work.

Test Plan:
{F20552}
{F20553}

Reviewers: pieter, btrahan

Reviewed By: pieter

CC: aran

Maniphest Tasks: T1663, T1514, T1808

Differential Revision: https://secure.phabricator.com/D3637
2012-10-05 13:18:05 -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 Add basic "Subscriptions" application 2012-10-05 13:18:05 -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 Optimize reindex_everything.php 2012-09-17 13:34:41 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Use 'w' connection in bin/storage 2012-09-13 22:36:35 -07:00
symbols Add option to symbol import script to ignore errors in input 2012-09-27 15:36:38 -07:00
user bin/accountadmin - allow creation of system accounts and create workflow for system accounts that are in trouble 2012-08-29 11:07:29 -07:00
util Use the unified markup cache for Maniphest 2012-07-11 11:40:10 -07:00
__init_script__.php Fix a bug found by vrana in audit 2012-10-01 15:15:07 -07:00
celerity_mapper.php Add local navigation to Differential 2012-08-21 15:01:20 -07:00