1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications
epriestley 7b0b820be1 Bridge GitHub users into Phabricator and attribute actions to them
Summary:
Ref T10538. Ref T10537. This creates PHIDs which represent GitHub users, and uses them as the actors for synchronized comments.

I've just made them Doorkeeper objects. There are three major kinds of objects they //could// possibly be:

  - Nuance requestor objects.
  - External account objects.
  - Doorkeeper objects.

I don't think we actually need distinct nuance requestor objects. These don't really do anything right now, and were originally created before Doorkeeper. I think Doorkeeper is a superset of nuance requestor functionality, and better developed and more flexible.

Likewise, doorkeeper objects are much more flexible than external account objects, and it's nice to imagine that we can import from Twootfeed or whatever without needing to build full OAuth for it. I also like less stuff touching auth code, when possible.

Making these separate from external accounts does make it a bit harder to reconcile external users with internal users, but I think that's OK, and that it's generally desirable to show the real source of a piece of content. That is, if I wrote a comment on GitHub but also have a Phabricator account, I think it's good to show "epriestley (GitHub)" (the GitHub user) as the author, not "epriestley" (the Phabricator user). I think this is generally less confusing overall, and we can add more linkage later to make it clearer.

Test Plan:
{F1194104}

{F1194105}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10537, T10538

Differential Revision: https://secure.phabricator.com/D15541
2016-03-28 13:10:32 -07:00
..
almanac Update EditEngine for two column 2016-03-28 09:18:55 -07:00
aphlict Update "should not run as root" message 2015-10-31 11:20:23 +00:00
arcanist/conduit Remove remaining arcanist project code 2015-07-08 19:37:28 +10:00
audit Modularize content sources 2016-03-26 11:59:45 -07:00
auth Convert OAuth1 handshake tokens to new modular temporary tokens 2016-03-16 09:34:18 -07:00
badges Archiving badge needs meaningful Badge timeline event title 2016-03-28 10:57:53 -07:00
base Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
cache Write 500 words on how to restart webservers 2015-12-02 09:16:10 -08:00
calendar Add back calendar comment form 2016-03-08 08:06:54 -08:00
celerity Polish up timeline for PHIUTwoColumnView 2016-03-08 17:51:53 -08:00
chatlog Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
conduit Modularize content sources 2016-03-26 11:59:45 -07:00
config Add amazon-ses.endpoint configuration 2016-03-23 12:28:59 -07:00
conpherence Modularize content sources 2016-03-26 11:59:45 -07:00
console Separate external editor integration from callsigns 2016-01-04 06:54:01 -08:00
countdown Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
daemon Make bin/phd debug quieter by default 2016-03-07 08:04:49 -08:00
dashboard Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00
differential Modularize content sources 2016-03-26 11:59:45 -07:00
diffusion Fix Diffusion blame columns when disabling blame 2016-03-26 12:06:37 -07:00
diviner Restrict PropertyListView width to just DocumentProView 2016-02-22 11:54:23 -08:00
doorkeeper Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
draft/storage Fix EditEngine preview/draft for first comment on a task you didn't create 2015-12-05 09:57:45 -08:00
drydock Update EditEngine for two column 2016-03-28 09:18:55 -07:00
fact Swap charts from gRaphael to D3 2016-02-01 10:36:59 -08:00
feed Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
files Support pushing data into Git LFS 2016-03-18 09:36:34 -07:00
flag Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
fund Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
harbormaster Update EditEngine for two column 2016-03-28 09:18:55 -07:00
help Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
herald Modularize content sources 2016-03-26 11:59:45 -07:00
home Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00
legalpad Remove shouldShowSubscribersProperty() from SubscribableInterface 2016-03-06 06:01:36 -08:00
lipsum Modularize content sources 2016-03-26 11:59:45 -07:00
macro Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
maniphest Update EditEngine for two column 2016-03-28 09:18:55 -07:00
meta Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
metamta Modularize content sources 2016-03-26 11:59:45 -07:00
multimeter Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
notification Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
nuance Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
oauthserver Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
owners Update EditEngine for two column 2016-03-28 09:18:55 -07:00
passphrase Attach credential impelementations when initializing new credentials 2016-03-22 18:53:09 -07:00
paste Update EditEngine for two column 2016-03-28 09:18:55 -07:00
people Show "no badges" text in people profiles with archived badges only 2016-03-28 11:40:06 -07:00
phame Update EditEngine for two column 2016-03-28 09:18:55 -07:00
phid Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
phlux Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
pholio Modularize content sources 2016-03-26 11:59:45 -07:00
phortune Modularize content sources 2016-03-26 11:59:45 -07:00
phpast Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
phragment Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
phrequent Add a Phrequent curtain extension 2016-03-10 18:45:04 -08:00
phriction Modularize content sources 2016-03-26 11:59:45 -07:00
phurl When marking up Phurl URLs for mail, use absolute URLs 2016-03-18 16:00:31 -07:00
policy Simplify locking of Almanac cluster services 2016-02-25 03:38:39 -08:00
ponder Update misc bits of Ponder to TwoColumnView 2016-03-27 13:12:28 -07:00
project Update EditEngine for two column 2016-03-28 09:18:55 -07:00
releeph Modularize content sources 2016-03-26 11:59:45 -07:00
remarkup/conduit phtize all the things 2015-05-22 21:16:39 +10:00
repository Modularize content sources 2016-03-26 11:59:45 -07:00
search Update EditEngine for two column 2016-03-28 09:18:55 -07:00
settings Make temporary token storage/schema more flexible 2016-03-16 09:33:38 -07:00
slowvote Convert every two-column application except Maniphest to curtain views 2016-03-06 10:44:07 -08:00
spaces Modularize content sources 2016-03-26 11:59:45 -07:00
subscriptions Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
support/application Implement the getName method in PhabricatorApplication subclasses 2014-07-23 23:52:50 +10:00
system Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
tokens Modularize content sources 2016-03-26 11:59:45 -07:00
transactions Update EditEngine for two column 2016-03-28 09:18:55 -07:00
typeahead Allow Almanac interfaces to be browsed 2016-02-21 10:45:00 -08:00
uiexample Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
xhprof Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00