Tien Nguyen
24edbcc782
MDL-73189 File upload: Fix bug can upload more than maximum no. of files
2021-12-14 15:09:13 +07:00
Jun Pataleta
c988241f42
Merge branch 'MDL-72966-master' of https://github.com/NashTechOpenUniversity/moodle
2021-11-16 11:38:35 +08:00
Thong Bui
ec160a91cb
MDL-72966 File upload: Uncaught Error from JS when uploading the file
2021-11-15 07:28:50 +07:00
Andrew Nicols
600b049def
MDL-71751 js: Do not stop propagation on drop, and handle it properly
2021-11-11 15:52:35 +07:00
Thong Bui
76c0a743bf
MDL-71750 File upload: Disable submittion when uploading multiple files
...
Fixed issue "Save" and "Submit and finish" button is not disabled when file uploading in the ticket MDL-71644
2021-10-22 13:26:02 +07:00
Thong Bui
3972964e45
MDL-71137 File upload: progress bar issues display when D&D multi files
2021-09-06 14:11:03 +07:00
abgreeve
ef1d17c8ba
Merge branch 'MDL-71644-master' of https://github.com/NashTechOpenUniversity/moodle
2021-06-03 09:40:43 +08:00
Andrew Nicols
a1ccefe2ac
MDL-70990 core_form: Standardise event name usage
...
The `types` object introduced in Moodle 3.11 has been replaced with the
`eventTypes` object which is used consistently across all CustomEvent
definitinos.
Likewise the trigger functions have been renamed from
`triggerUploadStarted` to `notifyUploadStarted` and from
`triggerUploadCompleted` to `notifyUploadCompleted`.
Backwards compatability is maintained.
2021-05-26 10:46:52 +08:00
Thong Bui
f81cdd42b2
MDL-71644 Quiz: The issues outstanding from MDL-70947.
...
Issue 1: While essay question's uploading progress, we need to disable submit
buttons to prevent submit form event.
Issue 2: Enable buttons after pressing cancel button on the popup
confirming overwrite file existed.
2021-05-20 08:29:31 +07:00
Huong Nguyen
c6fb80b639
MDL-70947 File upload: Upload protection
...
Interacts badly with double-submit protection, and not all uploads protected
2021-04-29 15:28:19 +07:00
hiendinh
de6b084925
MDL-68890 progressbar: prevent display exist file's progress bar
2020-06-15 10:55:06 +07:00
Adrian Perez
a40cb785b0
MDL-67048 progressbar: use bootstrap component to fix invert colors
2019-11-05 22:33:27 +01:00
Huong Nguyen
0b245bf390
MDL-62712 Filepicker: Improve upload process
...
Lost the uploading file when user press Submit before upload process has done
2018-07-10 15:18:45 +07:00
Damyon Wiese
e8272e748c
MDL-55071 theme_boost: Fix relevant JS warnings
...
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese
88af020839
MDL-55411 theme_noname: Style the filepicker for bootstrap 4
...
Uses templates.
Part of MDL-55071
2016-09-23 10:49:49 +01:00
Andrew Nicols
82eb2cf1be
MDL-53577 JS: get_string requires component
2016-04-07 12:10:26 +08:00
Ben Tindell
a2fb838e82
MDL-53577 repository: Added maxbytes error message
...
Changing the error message that is displayed to users when they
upload a file that is greater than the maximum upload size. Does not
include all upload cases; focuses on those most used by students.
2016-04-04 15:33:40 -05:00
Andrew Nicols
658a922fa6
MDL-44626 repository: Correct error message when uploading large files
2016-02-11 08:08:57 +08:00
Andrew Nicols
64e7aa4de1
MDL-28286 JavaScript: Convert all uses of M.str to M.util.get_string
2014-12-01 08:32:04 +13:00
Marina Glancy
588ff74f11
MDL-46834 dndupload: Hide dnd message when user cant upload files
2014-09-09 10:02:25 +08:00
Marina Glancy
7b22e2ab54
MDL-46834 filepicker: dnd upload should respect the current context id
2014-09-09 10:02:24 +08:00
Jonathon Fowler
6b2b72d6f9
MDL-44270 files: handle drag-drop js error when event has null types
...
This can happen when the 'dragover' event fires as has been observed
in Safari. When the dataTransfer.types property of the event is null,
accessing types.length throws a JavaScript error.
2014-04-15 14:18:55 +10:00
Frederic Massart
04cbea2cd6
MDL-36900 files: D&D upload uses new file name increment function
2013-03-08 10:21:01 +08:00
Frederic Massart
d7d69396b0
MDL-37641 files: Improve file name suggestion and performance
2013-02-20 08:50:40 +08:00
Frederic Massart
39bb9b1f00
MDL-36472 files: Improved file area uploads error messages.
2013-01-31 15:09:44 +08:00
Dan Poltawski
0f94289c1d
Merge branch 'MDL-33688_dndupload_progress' of git://github.com/davosmith/moodle
...
Conflicts:
files/renderer.php
lib/outputrenderers.php
2013-01-16 11:18:18 +08:00
Paul Nicholls
a0dc7da9b4
MDL-29835: filemanager - zero means zero, not unlimited
...
The form_filemanager constructor was using empty() rather than !isset(),
so overwrote maxfiles=0 with the default (-1). In addition, the JS UI
treated 0 as unlimited - but the non-JS fallback UI treated it as zero.
This would result in a file manager which allowed files to be
chosen/uploaded, which would then vanish into the void when the backend
saw that the maximum number of files was 0.
2013-01-08 15:12:50 +13:00
Davo Smith
ead25632bf
MDL-33688 filemanager - display progress bars as files uploaded
...
Also improved the styling of the progress bars (used in course drag and drop upload as well)
2012-11-29 11:33:40 +00:00
Dan Poltawski
a56dc90320
Merge branch 'MDL-33766-master' of git://github.com/FMCorz/moodle
...
Conflicts:
version.php
2012-11-08 18:10:26 +08:00
Frederic Massart
68acd1157e
MDL-33766 files: Improved validation of areamaxbytes
2012-11-01 16:47:06 +08:00
Frederic Massart
21e3ea77a3
MDL-33766 files: Support for userquota/size limit in draft areas
2012-11-01 16:46:42 +08:00
Petr Škoda
e13b330d49
MDL-35771 lower the index values in file related code to prevent dragging problems in YUI
2012-10-21 14:37:10 +08:00
Marina Glancy
c81f332876
MDL-34221 disabledIf support for filemanager and filepicker elements
2012-07-20 10:49:30 +08:00
Davo Smith
b1c669a711
MDL-34221 Filepicker - disableIf now prevents drag and drop upload
2012-07-20 10:49:30 +08:00
Davo Smith
78b4da1963
MDL-33842 Filemanager dndupload - now displays error messages (including antivirus)
2012-06-19 14:27:12 +01:00
Davo Smith
d0b2d44528
MDL-33136 Dndupload filemanager - user asked to rename/overwrite file when droping file with existing name
2012-06-18 08:55:41 +01:00
Marina Glancy
52474d7497
MDL-33136 upload dnd files one after another
2012-06-15 14:48:02 +08:00
Marina Glancy
140669a9dd
MDL-33026 set default author and license in drag-n-drop upload
2012-05-28 17:05:25 +08:00
Marina Glancy
906e7d89a5
MDL-31901: user renderer for filemanager, decrease html generation in filemanager.js and dndupload.js
2012-05-21 11:57:52 +08:00
Sam Hemelryk
36d1d23179
Merge branch 'MDL-31642_dndupload_filemanager_notification_text' of git://github.com/davosmith/moodle
2012-03-05 13:31:08 +13:00
Davo Smith
adce023069
MDL-31642 added 'max attachments' to filemanager and 'drag and drop' message inside the box
2012-03-01 11:57:32 +00:00
Davo Smith
2561d6346c
MDL-31643 dndupload - prevent file upload when total file count would exceed the specified limit
2012-03-01 11:56:53 +00:00
Davo Smith
7d44996c2a
MDL-31114 Filemanager drag and drop upload - displays 'drop here' message when dragging over page / highlights when over element
2012-02-14 10:12:58 +00:00
Davo Smith
36dc50336e
MDL-31114 Alert when max files reached
2012-02-14 09:49:49 +00:00
Davo Smith
6d9121d3a8
MDL-31321 Drag and drop upload - can now cope with multiple filemanager/filepickers on a page
2012-02-07 07:45:41 +00:00
Eloy Lafuente (stronk7)
478ba353b0
Merge branch 'MDL-31113_multiple_files_file_manager' of https://github.com/davosmith/moodle
2012-01-25 01:06:00 +01:00
Davo Smith
910e1ecdaa
MDL-31113 filemanager element - refresh file list from server on load and prevent revertion to browser drag and drop behaviour when max files reached
2012-01-19 19:28:16 +00:00
Davo Smith
4069ae323d
MDL-31110 Filemanager drag and drop upload - always hide spinner, even when errors occur
2012-01-19 19:21:27 +00:00
Sam Hemelryk
6b37c2b093
MDL-31000 Added comment about the importance of repository array keys and hardened new dnd repository lookup
2012-01-10 12:21:24 +13:00
Davo Smith
f08fac7c89
MDL-29766 Add drag and drop upload to filemanager / filepicker elements
2012-01-09 17:27:32 +00:00