View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025464 | mantisbt | attachments | public | 2019-02-09 14:20 | 2019-03-16 20:20 |
Reporter | cproensa | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 2.20.0 | ||||
Target Version | 2.20.0 | Fixed in Version | 2.20.0 | ||
Summary | 0025464: Enforce max-filesize in dropzone to alert and drop big files before form submission | ||||
Description | Seems like the option for max-filesize in Dropzone upload does nothing. I can submit any file but if the size is big enough, it's silently ignored | ||||
Tags | No tags attached. | ||||
There is a message that appears when the cursor hovers over the file box. |
|
I have update the summary to better reflect the implemented changes. |
|
MantisBT: master cb23a6e1 2019-02-09 20:36:26 Committer: atrol Details Diff |
Reject files in client side Dropzone Catch the event for file added and check the file size to be under the maximum allowed size for uploads. If file is bigger, a warning message is shown and the file is rejected. Change how the max_file_size is passed to client, so that now we have the exact value in bytes to compare, even though Dropzone will still be configured with an aproximation in MiB. Fixes: 0025464 |
Affected Issues 0025464 |
|
mod - core/print_api.php | Diff File | ||
mod - js/common.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-02-09 14:20 | cproensa | New Issue | |
2019-02-09 14:37 | cproensa | Description Updated | View Revisions |
2019-02-09 14:37 | cproensa | Relationship added | related to 0025452 |
2019-02-09 15:28 | cproensa | Note Added: 0061470 | |
2019-02-09 21:21 | cproensa | Assigned To | => cproensa |
2019-02-09 21:21 | cproensa | Status | new => assigned |
2019-02-24 11:04 | atrol | Changeset attached | => MantisBT master cb23a6e1 |
2019-02-24 11:04 | cproensa | Status | assigned => resolved |
2019-02-24 11:04 | cproensa | Resolution | open => fixed |
2019-02-24 11:04 | cproensa | Fixed in Version | => 2.20.0 |
2019-02-24 11:04 | atrol | Target Version | => 2.20.0 |
2019-03-05 16:42 | cproensa | Summary | Dropzone max-filesize is does nothing => Enforce max-filesize in dropzone to alert and drop big files before form submission |
2019-03-05 16:42 | cproensa | Description Updated | View Revisions |
2019-03-05 16:43 | cproensa | Note Added: 0061634 | |
2019-03-05 16:45 | cproensa | Relationship added | related to 0021801 |
2019-03-05 16:47 | cproensa | Relationship added | related to 0022588 |
2019-03-05 16:53 | cproensa | Category | ui => attachments |
2019-03-16 20:20 | vboctor | Status | resolved => closed |