mirror of
https://github.com/nextcloud/server.git
synced 2026-05-16 10:30:10 -04:00
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> |
||
|---|---|---|
| .. | ||
| autosize | ||
| backbone | ||
| base64 | ||
| blueimp-md5 | ||
| bootstrap | ||
| clipboard | ||
| davclient.js | ||
| DOMPurify | ||
| es6-promise | ||
| handlebars | ||
| jcrop | ||
| jquery | ||
| jquery-migrate | ||
| jquery-ui | ||
| jsTimezoneDetect | ||
| marked | ||
| moment | ||
| select2 | ||
| snapjs | ||
| strengthify | ||
| underscore | ||
| zxcvbn | ||
| .gitignore | ||
| core.js | ||