nextcloud/apps
Daniel Calviño Sánchez fc2069c1dd 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-23 18:53:01 +01:00
..
accessibility [tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
admin_audit [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
cloud_federation_api [tx-robot] updated from transifex 2020-12-10 02:20:14 +00:00
comments [tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
contactsinteraction [tx-robot] updated from transifex 2020-12-16 02:20:41 +00:00
dashboard [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
dav Merge pull request #22222 from nextcloud/enh/social-index 2020-12-22 14:42:28 +01:00
encryption [tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
federatedfilesharing [tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
federation Drop all dead packages 2020-12-23 09:11:23 +01:00
files Fix total upload size overwritten by next upload 2020-12-23 18:53:01 +01:00
files_external Merge pull request #22916 from J0WI/unifiy-links-to-php.net 2020-12-22 09:53:31 +01:00
files_sharing [tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
files_trashbin Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
files_versions [tx-robot] updated from transifex 2020-12-17 02:20:20 +00:00
lookup_server_connector [tx-robot] updated from transifex 2020-12-10 02:20:14 +00:00
oauth2 Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
provisioning_api Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
settings [tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
sharebymail [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
systemtags Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
testing Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
theming [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2020-12-20 02:19:27 +00:00
updatenotification [tx-robot] updated from transifex 2020-12-23 02:20:11 +00:00
user_ldap Merge pull request #22916 from J0WI/unifiy-links-to-php.net 2020-12-22 09:53:31 +01:00
user_status Catch the error on heartbeat update 2020-12-23 09:47:09 +00:00
weather_status [tx-robot] updated from transifex 2020-12-18 02:20:09 +00:00
workflowengine Merge pull request #24703 from nextcloud/fix/noid/wfe-filename-mountpoint-check 2020-12-18 11:43:40 +01:00