nextcloud/apps
Daniel Calviño Sánchez acdf895c2d Fix total upload size overwritten by next upload
The upload progress is based on the "totalToUpload" variable. However,
as the variable is set when an upload is submitted, if another upload is
submitted before the previous one finished the upload progress only took
into account the size of the new upload (although the upload itself
worked fine; the files of the new submitted upload are added to the
active one). Now "totalToUpload" is either increased or set depending on
whether an upload is active or not.

Note that although "data.total" holds the total size of the files being
uploaded "totalToUpload" needs to be used in "fileuploadprogressall"
instead; "totalToUpload" is calculated when the upload is submitted, but
since 7c4c5fe6ae the actual upload of the files, and thus updating the
value of "data.total", may be deferred until the parent folders were
created.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-28 10:24:12 +00:00
..
accessibility [tx-robot] updated from transifex 2020-12-23 02:20:29 +00:00
admin_audit Update license headers for 19 2020-04-29 11:57:22 +02:00
cloud_federation_api Update license headers for 19 2020-04-29 11:57:22 +02:00
comments [tx-robot] updated from transifex 2020-12-28 02:19:28 +00:00
contactsinteraction Convert the card resource to a string if necessary 2020-11-13 18:21:22 +00:00
dav [tx-robot] updated from transifex 2020-12-27 02:25:03 +00:00
encryption [tx-robot] updated from transifex 2020-12-18 02:20:29 +00:00
federatedfilesharing [tx-robot] updated from transifex 2020-12-18 02:20:29 +00:00
federation [tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
files Fix total upload size overwritten by next upload 2020-12-28 10:24:12 +00:00
files_external [tx-robot] updated from transifex 2020-12-22 02:19:25 +00:00
files_sharing [tx-robot] updated from transifex 2020-12-24 02:20:28 +00:00
files_trashbin Only attempt to move to trash if a file is not in appdata 2020-12-01 22:02:43 +01:00
files_versions [tx-robot] updated from transifex 2020-12-17 02:20:37 +00:00
lookup_server_connector Update license headers for 19 2020-04-29 11:57:22 +02:00
oauth2 [tx-robot] updated from transifex 2020-11-25 02:19:13 +00:00
provisioning_api Fix the user email issue while creating a user 2020-10-05 19:34:19 +00:00
settings [tx-robot] updated from transifex 2020-12-23 02:20:29 +00:00
sharebymail [tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
systemtags [tx-robot] updated from transifex 2020-12-07 02:21:00 +00:00
testing Update license headers for 19 2020-04-29 11:57:22 +02:00
theming [tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2020-12-20 02:19:49 +00:00
updatenotification [tx-robot] updated from transifex 2020-12-23 02:20:29 +00:00
user_ldap [tx-robot] updated from transifex 2020-12-18 02:20:29 +00:00
workflowengine [tx-robot] updated from transifex 2020-12-26 02:20:08 +00:00