nextcloud-server/core/vendor
Yaojin Qian d41d48bd43
Fix upload remaining time and uploadrate value
1. The upload remaining time is always 'a few second' whatever a big or a
small file uploading.
This commit fixes it. The `new Date().getMilliseconds()` only return a
three digits number. When time arrived the next second, the millisecond
start from ZERO again. So `new Date().getTime()` is the righe choice.
And remaining time variables shoule be initialized when the file starts
uploading, otherwise the remaining time of a new upload will always be
'Infinity years' until you refresh the page.

2. The unit of `data.bitrate` is bit, but the argument unit of
`humanFileSize` function is byte, so it should be divided by 8.

Signed-off-by: Yaojin Qian <i@ume.ink>
2017-06-16 22:03:28 +07:00
..
DOMPurify Bump DOMPurify version to 0.8.9 2017-05-17 18:23:21 +07:00
autosize Move to autosize.min.js 2017-04-03 13:42:33 +07:00
backbone
base64
blueimp-md5 [js] Bump blueimp-md5 a major version 2017-04-10 20:56:56 +07:00
bootstrap Add .bower.json to version control 2016-10-12 12:03:38 +07:00
clipboard Use minified clipboard.js 2017-03-29 00:27:50 +07:00
davclient.js Update davclient.js to 0.1.1 2017-03-22 17:58:52 +07:00
es6-promise Add .bower.json to version control 2016-10-12 12:03:38 +07:00
handlebars Move to handlebars.min.js 2017-04-12 22:22:38 +07:00
jcrop
jquery downgrade jquery, update jquery-migrate 2016-04-15 13:55:23 +07:00
jquery-migrate downgrade jquery, update jquery-migrate 2016-04-15 13:55:23 +07:00
jquery-ui Moved to jquery-ui.custom.min.js 2017-04-12 20:03:00 +07:00
jsTimezoneDetect
marked Add marked 2017-01-13 18:33:42 +07:00
moment use moments.js min in core.js 2017-03-26 10:25:15 +07:00
select2
snapjs
strengthify Update strengthify and fix password strength 2017-03-27 10:06:30 +07:00
underscore
zxcvbn [3rdparty] Bump zxcvbn 2017-03-25 20:56:20 +07:00
.gitignore Move to handlebars.min.js 2017-04-12 22:22:38 +07:00
core.js Fix upload remaining time and uploadrate value 2017-06-16 22:03:28 +07:00