]> source.dussan.org Git - nextcloud-server.git/commit
better quota validation
authorArtur Neumann <info@individual-it.net>
Mon, 27 Feb 2017 06:49:15 +0000 (12:34 +0545)
committerArtur Neumann <info@individual-it.net>
Tue, 28 Feb 2017 01:53:11 +0000 (07:38 +0545)
commitf1fccaca0605a5d183f78b2c39d2e09a54753787
treeb63d877889120d12bc59e2103ad64c1568e8186b
parentd0c6179ec18d1e2c3ce86bdf03f36aaa1501c6e7
better quota validation

this fixes #3634

1. fixed computerFileSize to be more picky about incorrect values
2. more tests for computerFileSize
3. use computerFileSize to validate user quota

Signed-off-by: Artur Neumann <info@individual-it.net>
core/js/js.js
core/js/tests/specs/coreSpec.js
settings/js/users/users.js