Project

General

Profile

Improvements #10382

Allow different upload mechanism for WFileDropWidget

Added by Raf Pauwels 7 months ago. Updated about 2 months ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
05/19/2022
Due date:
% Done:

0%

Estimated time:

Description

To allow to use a custom upload mechanism in WFileDropWidget (tus), we need a couple of modifications. Changes are minimal, mostly these allow for some overrides/redefinitions.

In WFileDropWidget.js:

  • Allow for override of requestsend signal (dropwidget.emitRequestSend())
  • Allow for override of dropwidget.getSendFn callback (dropwidget.getSendFn())
  • Add parameters to actualSend and workerSend to allow definition from another context

In WFileDropWidget.C:

  • Allow custom creation of an upload resource in WFileDropWidget::handleSendRequest() and make it accessible

Files

#1

Updated by Roel Standaert about 2 months ago

  • Target version set to 4.10.0
#2

Updated by Roel Standaert about 2 months ago

  • Target version changed from 4.10.0 to 4.9.0
#3

Updated by Roel Standaert about 2 months ago

  • Status changed from New to InProgress
#4

Updated by Roel Standaert about 2 months ago

  • Status changed from InProgress to Review

Also available in: Atom PDF