nextcloud/apps
Daniel Calviño Sánchez 2a15573905 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 12:27:30 +01:00
..
accessibility [tx-robot] updated from transifex 2020-12-23 02:20:37 +00:00
admin_audit Update license headers for 18 2019-12-20 09:23:25 +01:00
cloud_federation_api Update license headers 2019-12-05 15:38:45 +01:00
comments [tx-robot] updated from transifex 2020-12-28 02:19:36 +00:00
dav [tx-robot] updated from transifex 2020-12-27 02:25:11 +00:00
encryption [tx-robot] updated from transifex 2020-12-18 02:20:37 +00:00
federatedfilesharing [tx-robot] updated from transifex 2020-12-18 02:20:37 +00:00
federation [tx-robot] updated from transifex 2020-12-20 02:19:57 +00:00
files Fix total upload size overwritten by next upload 2020-12-28 12:27:30 +01:00
files_external [tx-robot] updated from transifex 2020-12-22 02:19:33 +00:00
files_sharing [tx-robot] updated from transifex 2020-12-24 02:20:36 +00:00
files_trashbin Only attempt to move to trash if a file is not in appdata 2020-12-01 16:49:06 +01:00
files_versions [tx-robot] updated from transifex 2020-12-17 02:20:45 +00:00
lookup_server_connector Update license headers 2019-12-05 15:38:45 +01:00
oauth2 [tx-robot] updated from transifex 2020-11-25 02:19:21 +00:00
provisioning_api Fix the user email issue while creating a user 2020-10-05 19:38:26 +00:00
settings [tx-robot] updated from transifex 2020-12-23 02:20:37 +00:00
sharebymail [tx-robot] updated from transifex 2020-12-20 02:19:57 +00:00
systemtags [tx-robot] updated from transifex 2020-12-07 02:21:08 +00:00
testing Update license headers 2019-12-05 15:38:45 +01:00
theming [tx-robot] updated from transifex 2020-12-20 02:19:57 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2020-12-20 02:19:57 +00:00
updatenotification [tx-robot] updated from transifex 2020-12-23 02:20:37 +00:00
user_ldap [tx-robot] updated from transifex 2020-12-18 02:20:37 +00:00
workflowengine [tx-robot] updated from transifex 2020-12-26 02:20:16 +00:00