← Back to team overview

mahara-contributors team mailing list archive

[Bug 1314890] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3502
Committed: http://gitorious.org/mahara/mahara/commit/7f276caa05bad2d718af767865339aecb980d7ab
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 7f276caa05bad2d718af767865339aecb980d7ab
Author: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>
Date:   Tue Jul 22 10:02:37 2014 +1000

Copy secret URLs to clipboard button (Bug 1314890)

This patch adds a new button that allows the user to copy
secret URLs to the clipboard without having to manually
select the URL text (a process prone to error). Since
Javascript can't do this directly, it uses the ZeroClipboard
library's Flash based implementation, which adds an invisible
'movie' over the button.

The patch includes error handling, so that if Flash is disabled
or Zeroclipboard is unable to run for some other reason, the
buttons are automatically hidden. Note that if Adobe is set to
ask whether to allow flash to run, the buttons are enabled and
there's no way for us to detect if the user then denies permission.
Since they're explicitly refusing permission and there's nothing
we can do, I'm just documenting the fact here.

Change-Id: Idf6a408b77adc3f5401192688046d8aaa9e125ae
Signed-off-by: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1314890

Title:
  wishlist: button to reliably copy secret URLs

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Hi Team!
  Another Wishlist item - this time regarding copying secret URL's.
  At the moment we rely on students and staff to accurately select all of the secret URL as seen in attached screenshot.

  This can be a hit and miss affair and leaving off even one character
  results in a broken link.

  My wish is for a "Copy link to clipboard" button - to make the
  select/copy process simple and painless.

  This feature can be seen on any Web2 app where someone has to copy
  embed code (eg. youtube, prezi) and just makes it easy.

  Thanks very much.
  Shane.

  Mahara 1.8

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1314890/+subscriptions


References