1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-12 00:26:13 +01:00
phorge-phorge/src/applications/settings/panel
epriestley f0c6ee4823 Add "Contact Numbers" so we can send users SMS mesages
Summary:
Ref T920. To send you SMS messages, we need to know your phone number.

This adds bare-bone basics (transactions, storage, editor, etc).

From here:

**Disabling Numbers**: I'll let you disable numbers in an upcoming diff.

**Primary Number**: I think I'm just going to let you pick a number as "primary", similar to how email works. We could imagine a world where you have one "MFA" number and one "notifications" number, but this seems unlikely-ish?

**Publishing Numbers (Profile / API)**: At some point, we could let you say that a number is public / "show on my profile" and provide API access / directory features. Not planning to touch this for now.

**Non-Phone Numbers**: Eventually this could be a list of other similar contact mechanisms (APNS/GCM devices, Whatsapp numbers, ICQ number, twitter handle so MFA can slide into your DM's?). Not planning to touch this for now, but the path should be straightforward when we get there. This is why it's called "Contact Number", not "Phone Number".

**MFA-Required + SMS**: Right now, if the only MFA provider is SMS and MFA is required on the install, you can't actually get into Settings to add a contact number to configure SMS. I'll look at the best way to deal with this in an upcoming diff -- likely, giving you partial access to more of Setings before you get thorugh the MFA gate. Conceptually, it seems reasonable to let you adjust some other settings, like "Language" and "Accessibility", before you set up MFA, so if the "you need to add MFA" portal was more like a partial Settings screen, maybe that's pretty reasonable.

**Verifying Numbers**: We'll probably need to tackle this eventually, but I'm not planning to worry about it for now.

Test Plan: {F6137174}

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: avivey, PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T920

Differential Revision: https://secure.phabricator.com/D19988
2019-01-23 13:39:56 -08:00
..
PhabricatorAccountSettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorActivitySettingsPanel.php Make the remote address rules for Settings > Activity Logs more consistent 2018-01-30 15:45:39 -08:00
PhabricatorConpherencePreferencesSettingsPanel.php Update Settings to use TwoColumn fixed layout 2017-08-17 08:51:17 -07:00
PhabricatorContactNumbersSettingsPanel.php Add "Contact Numbers" so we can send users SMS mesages 2019-01-23 13:39:56 -08:00
PhabricatorDateTimeSettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorDeveloperPreferencesSettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorDiffPreferencesSettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorDisplayPreferencesSettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorEditEngineSettingsPanel.php Update Settings to use full side-navigation 2017-08-04 10:23:01 -07:00
PhabricatorEmailAddressesSettingsPanel.php Fix a fatal on user email settings when account.editable is disabled 2017-10-04 10:16:30 -07:00
PhabricatorEmailDeliverySettingsPanel.php Allow administrators to configure global default settings 2016-06-05 13:15:06 -07:00
PhabricatorEmailFormatSettingsPanel.php Add Owners Package support for "Commit Hook: Content" Herald rules 2018-02-16 09:49:24 -08:00
PhabricatorEmailPreferencesSettingsPanel.php Update Settings for WHITE_CONFIG style boxes 2017-09-05 19:42:34 -07:00
PhabricatorExternalAccountsSettingsPanel.php Update Settings for WHITE_CONFIG style boxes 2017-09-05 19:42:34 -07:00
PhabricatorMultiFactorSettingsPanel.php Convert user MFA factors to point at configurable "MFA Providers", not raw "MFA Factors" 2019-01-23 13:37:43 -08:00
PhabricatorNotificationsSettingsPanel.php Separate "feed" and "notifications" better, allow stories to appear in notifications only 2018-12-10 16:02:43 -08:00
PhabricatorPasswordSettingsPanel.php Upgrade sessions digests to HMAC256, retaining compatibility with old digests 2018-12-13 16:15:38 -08:00
PhabricatorSessionsSettingsPanel.php Upgrade sessions digests to HMAC256, retaining compatibility with old digests 2018-12-13 16:15:38 -08:00
PhabricatorSettingsPanel.php Fix spelling 2017-10-09 10:48:04 -07:00
PhabricatorSSHKeysSettingsPanel.php Update Settings for WHITE_CONFIG style boxes 2017-09-05 19:42:34 -07:00
PhabricatorTokensSettingsPanel.php Update Settings for WHITE_CONFIG style boxes 2017-09-05 19:42:34 -07:00