https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-07-25T10:03:58ZRedmineRedmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=186692010-07-25T10:03:58ZFelix Schäfer
<ul><li><strong>Assignee</strong> set to <i>Felix Schäfer</i></li></ul><p>You can already copy the key by selecting the text, we might be able to make it a little easier though by copying some of the features of Holger's Checkout Plugin.</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=187892010-07-28T23:48:04ZAkiko Takano
<ul></ul><p>Thaks for your reply!</p>
<p>Felix Schäfer wrote:</p>
<blockquote>
<p>You can already copy the key by selecting the text, we might be able to make it a little easier though by copying some of the features of Holger's Checkout Plugin.</p>
</blockquote>
<p>I've added above Redmine Checkout plugin. This is so nice and this looks like GitHub's copy URL function :)<br />It seems the function to copy the URL for checkout is using some swf(Flash) object.</p>
<ul>
<li><a class="external" href="http://code.google.com/p/zeroclipboard/wiki/Instructions">http://code.google.com/p/zeroclipboard/wiki/Instructions</a></li>
</ul>
<p>I think it's nice if this javascript library was included not only plugin but also rdmine itself.</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=241232011-01-15T08:48:14ZFelix Schäfer
<ul><li><strong>Assignee</strong> deleted (<del><i>Felix Schäfer</i></del>)</li></ul> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=363912012-02-29T03:31:46ZRedminePro Yang
<ul></ul><p>+1</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=861492018-07-09T22:38:59ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/29214">Feature #29214</a>: Button to copy PRE block content to clipboard</i> added</li></ul> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=927992019-07-17T08:48:27ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/23510">add_link_to_copy.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23510/add_link_to_copy.png">add_link_to_copy.png</a> added</li><li><strong>File</strong> <a href="/attachments/23511">fixed-5953.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/23511/fixed-5953.patch">fixed-5953.patch</a> added</li></ul><p>When the API access key is displayed, the copy link is displayed. Click this link to copy the API access key to the clipboard.</p>
<p><img src="https://www.redmine.org/attachments/download/23510/add_link_to_copy.png" style="width:50%;border:1px solid #ccc;" alt="" /></p>
<p>I attached a patch.</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=928092019-07-18T06:40:13ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=932492019-08-20T13:12:12ZGo MAEDA
<ul></ul><p>Thank you for posting the patch. I tried out it and noticed the following points:</p>
<ul>
<li>There is no feedback when you click the Copy link. Users may confused and click the link again and again</li>
<li>In Redmine, copy.png and the label "Copy" means creating an object by cloning the existing one. I think it is better to use another icon or label</li>
</ul> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=1014612021-03-19T02:24:50ZYuichi HARADA
<ul><li><strong>File</strong> <a href="/attachments/26889">fixed-5953-v2.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26889/fixed-5953-v2.patch">fixed-5953-v2.patch</a> added</li></ul><p>Fixed to work with JavaScript function <code>copyTextToClipboard</code> added to the trunk (<a class="changeset" title=""Copy link" feature for issue and issue journal (#34703). Patch by Mizuki ISHIKAWA." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/20816">r20816</a>).<br /><a class="external" href="https://www.redmine.org/projects/redmine/repository/revisions/20816/diff/trunk/public/javascripts/application.js">https://www.redmine.org/projects/redmine/repository/revisions/20816/diff/trunk/public/javascripts/application.js</a></p>
<p>Go MAEDA wrote:</p>
<blockquote>
<p>Thank you for posting the patch. I tried out it and noticed the following points:</p>
<ul>
<li>There is no feedback when you click the Copy link. Users may confused and click the link again and again</li>
<li>In Redmine, copy.png and the label "Copy" means creating an object by cloning the existing one. I think it is better to use another icon or label</li>
</ul>
</blockquote>
<p>Sorry, I haven't fixed these yet.</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=1046252021-11-15T11:41:36ZAleksandar Pavic
<ul></ul><p>+1 for this to be core feature</p> Redmine - Feature #5953: Copy RSS/REST API keys to clipboard with javascripthttps://www.redmine.org/issues/5953?journal_id=1046262021-11-15T11:44:12ZAleksandar Pavic
<ul></ul><p>+1 for this to be core feature and <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Button to copy PRE block content to clipboard (New)" href="https://www.redmine.org/issues/29214">#29214</a> the pre tag is even more important, especially good use-case is copying blocks of code...</p>