1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications
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
..
audit Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
auth Declare used properties 2012-10-04 14:46:06 -07:00
base Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
cache/storage Add a generic multistep Markup cache 2012-07-09 15:20:56 -07:00
calendar Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
chatlog Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
conduit Rename ManiphestTaskQuery::withProjects() to withAllProjects() 2012-10-04 15:31:04 -07:00
countdown Declare used properties 2012-10-04 14:46:06 -07:00
daemon Handle empty argv in daemon log view 2012-10-04 17:03:06 -07:00
differential Fix displaying gap context when showing first lines 2012-10-04 09:07:47 -07:00
diffusion Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
directory/controller Optimize feed query 2012-10-04 16:07:39 -07:00
diviner Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
draft/storage Don't store empty drafts 2012-10-01 16:05:39 -07:00
drydock Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
fact Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
feed Optimize feed query 2012-10-04 16:07:39 -07:00
files Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
flag Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
harbormaster/storage Add a generic object for unit tests 2012-07-09 10:39:14 -07:00
help/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
herald Declare used properties 2012-10-04 14:46:06 -07:00
macro Avoid fatal if a macro has no file 2012-10-05 13:13:50 -07:00
mailinglists Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
maniphest Expose "withAnyProjects()" in the UI 2012-10-04 15:31:14 -07:00
meta Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
metamta Create metamta.user-address-format configuration option 2012-10-05 11:27:58 -07:00
notification Rename "IDPaged" to "CursorPaged", "executeWithPager" to "executeWith[Cursor|Offset]Pager" 2012-08-07 11:54:06 -07:00
oauthserver Remove all code referencing old tab navigation 2012-08-13 15:28:41 -07:00
owners Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
paste Make it obvious how autodetecting language in Paste works 2012-10-03 15:48:19 -07:00
people Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
phame Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
phid Add basic "Subscriptions" application 2012-10-05 13:18:05 -07:00
phortune Use pht() 2012-06-14 16:25:20 -07:00
phriction Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
policy Fix fatal with some pastes 2012-09-27 17:16:01 -07:00
ponder Use action list and property list elements in Ponder 2012-10-05 13:12:31 -07:00
project Rename ManiphestTaskQuery::withProjects() to withAllProjects() 2012-10-04 15:31:04 -07:00
repository Fix typo in route 2012-10-04 13:52:06 -07:00
search Sort elasticsearch results by date created 2012-09-20 10:44:35 -07:00
settings Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
slowvote Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
status Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
subscriptions Add basic "Subscriptions" application 2012-10-05 13:18:05 -07:00
typeahead Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
uiexample Group applications into groups on /applications/ 2012-10-03 15:46:19 -07:00
xhpastview Declare used properties 2012-10-04 14:46:06 -07:00
xhprof Do sampled profiling of requests 2012-09-17 10:53:45 -07:00