Project

General

Profile

Actions

Feature proposal #7929

open

Implement upload staging

Added by krileon over 3 years ago.

Status:
Assigned
Priority:
High
Assignee:
Target version:
Start date:
08 April 2020
Due date:
% Done:

0%

Estimated time:

Description

Currently if you upload something to CB Activity for example it uploads and stores on file and in the database. If you then cancel the activity entry the upload was still done. Implement staging uploads. This means it should send back all the necessary data for the display of the upload for its container and a modal window, but should not be stored in the database yet. The storage should then be processed at the time of the activity entry being stored for example.

This is necessary for private message attachments as we don't want to upload something for a message that may not be sent.

We do not want the upload to happen twice so likely the files should be moved to a secured Joomla cache directory since we want the upload to persist past the PHP operation (otherwise PHP will remove it from PHP tmp). This will allow the upload to happen once, it remain until we can process it, and if not processed will be cleared by cache clean up.

No data to display

Actions

Also available in: Atom PDF