Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14053477
D7819.id17692.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7819.id17692.diff
View Options
Index: src/applications/conduit/controller/PhabricatorConduitTokenController.php
===================================================================
--- src/applications/conduit/controller/PhabricatorConduitTokenController.php
+++ src/applications/conduit/controller/PhabricatorConduitTokenController.php
@@ -38,6 +38,8 @@
'After you copy and paste this token, `arc` will complete '.
'the certificate install process for you.');
+ Javelin::initBehavior('select-on-click');
+
$form = id(new AphrontFormView())
->setUser($user)
->appendRemarkupInstructions($pre_instructions)
@@ -45,6 +47,8 @@
id(new AphrontFormTextAreaControl())
->setLabel(pht('Token'))
->setHeight(AphrontFormTextAreaControl::HEIGHT_VERY_SHORT)
+ ->setReadonly(true)
+ ->setSigil('select-on-click')
->setValue($token->getToken()))
->appendRemarkupInstructions($post_instructions);
Index: src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
===================================================================
--- src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
+++ src/applications/settings/panel/PhabricatorSettingsPanelConduit.php
@@ -64,6 +64,8 @@
$notice = null;
}
+ Javelin::initBehavior('select-on-click');
+
$cert_form = new AphrontFormView();
$cert_form
->setUser($user)
@@ -77,6 +79,8 @@
id(new AphrontFormTextAreaControl())
->setLabel(pht('Certificate'))
->setHeight(AphrontFormTextAreaControl::HEIGHT_SHORT)
+ ->setReadonly(true)
+ ->setSigil('select-on-click')
->setValue($user->getConduitCertificate()));
$cert_form = id(new PHUIObjectBoxView())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 4:20 PM (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6738976
Default Alt Text
D7819.id17692.diff (1 KB)
Attached To
Mode
D7819: Make conduit certificate readonly and select-on-click
Attached
Detach File
Event Timeline
Log In to Comment