Feature #11118

Add the ability for public users to export clipboard results to CSV

Added by Dan Gillean about 3 years ago. Updated almost 3 years ago.

Status:VerifiedStart date:04/21/2017
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:CSV export
Target version:Release 2.4.0
Google Code Legacy ID: Tested version:
Sponsored:Yes Requires documentation:

Description

In issue #9998, we added the ability for authenticated users to export archival description results from the clipboard to a CSV file. Currently, clicking export will trigger a job, and the resulting files are made available from a link on the Jobs page.

This feature will expand the export functionality so that public users can download CSV exports of archival descriptions from the clipboard, without having to access the Jobs page.

History

#2 Updated by Dan Gillean about 3 years ago

  • Assignee deleted (Mike Cantelon)

#3 Updated by Mike Cantelon about 3 years ago

Add ability, from clipboard menu, to trigger job to export clipboard to CSV, notifying user when complete
  • Create arClipboardExportJob class to, when passed a serialalized array of clipboard items, exports to a ZIPPED CSV file (make sure downloads/exports/clipboard/csv directory exists, delete any exports created more than 24 hours ago, export items to CSV file, ZIP CSV for download, set job completion time and download path)
  • Make class like QubitClipboard, but simpler (QubitUnauthenticatedUserJobManager), to store ID of jobs initiated by non-authenticated users in session
  • Create clipboardExportCreateAction in user module to spawn export job of clipboard contents then store job ID in session using QubitUnauthenticatedUserJobManager
  • Add menu item to trigger clipboardExportAction
  • On each page load, check get QubitUnauthenticatedUserJobManager to check if all any job are completed and, if so, allow results to be downloaded
  • If job completed, use setFlash to display message to use with download link
  • Create clipboardExportDownloadAction in user module to set PHP headers to trigger file download

#4 Updated by Mike Cantelon about 3 years ago

  • Status changed from New to Code Review
  • Assignee set to Nick Wilkinson

#5 Updated by Nick Wilkinson about 3 years ago

  • Status changed from Code Review to New
  • Assignee deleted (Nick Wilkinson)

#6 Updated by Mike Cantelon about 3 years ago

  • Status changed from New to QA/Review
  • Assignee set to Dan Gillean

Merged into qa/2.4.x.

#7 Updated by Dan Gillean about 3 years ago

  • Target version changed from Release 2.5.0 to Release 2.4.0

#8 Updated by Mike Cantelon about 3 years ago

  • Status changed from QA/Review to Code Review
  • Assignee changed from Dan Gillean to Nick Wilkinson

#9 Updated by Nick Wilkinson about 3 years ago

  • Assignee changed from Nick Wilkinson to José Raddaoui Marín

#10 Updated by José Raddaoui Marín about 3 years ago

  • Status changed from Code Review to Feedback
  • Assignee changed from José Raddaoui Marín to Mike Cantelon

#11 Updated by Mike Cantelon about 3 years ago

  • Status changed from Feedback to QA/Review
  • Assignee changed from Mike Cantelon to Dan Gillean

I've merged the impproved to clipboard export to qa/2.4.x.

Fixed minor issues with clipboard export:

  • Change wording of export notifications
  • Show update notification on export form page
  • Don't show "include drafts" for unauth. users

Improved unauthorized job status alerts:

  • Don't show first alert, allowing actions creating jobs to provide context
  • Show alert style corresponding to job status

#12 Updated by Dan Gillean almost 3 years ago

  • Subject changed from Add the ability for public users to export archival description clipboard results to CSV to Add the ability for public users to export clipboard results to CSV
  • Status changed from QA/Review to Verified

#13 Updated by Dan Gillean almost 3 years ago

  • Requires documentation deleted (Yes)

Also available in: Atom PDF