Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-01Enable bugprone-narrowing-conversions clang-tidy checkKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-07-02Don't display quota information when the user has no quota.Camila
- The code handling the api response was not up to date with the latest api changes. - Unlimited quota display: use qint64 to avoid data loss - Change total with quota: total holds the quota total and not the storage total. Signed-off-by: Camila <hello@camila.codes>
2020-05-20Use auto to avoiding repeating type namesKevin Ottens
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
2020-02-14Add UserInfo class and fetch quota via API instead of PropfindJobMichael Schuster
The PropfindJob quota includes the size of shares and thus leads to confusion in regard of the real space available, as shown in the UI. This commit aims to streamline the behaviour with the Android and iOS apps, which also utilize the API. Details: - Refactor the QuotaInfo class into UserInfo - Use JsonApiJob (ocs/v1.php/cloud/user) instead of PropfindJob - Let ConnectionValidator use the new UserInfo class to fetch the user and the avatar image (to avoid code duplication) - Allow updating the avatar image upon AccountSettings visibility, using UserInfo's quota fetching Signed-off-by: Michael Schuster <michael@schuster.ms>