Home
last modified time | relevance | path

Searched refs:quota_total_mb (Results 1 – 3 of 3) sorted by relevance

/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/
H A Dusers_batch.py164 quota_total_mb = request.POST.get('quota_total', None)
165 if not quota_total_mb:
170 quota_total_mb = int(quota_total_mb)
175 if quota_total_mb < 0:
179 quota_total_byte = quota_total_mb * get_file_size_unit('MB')
H A Dusers.py173 if quota_total_mb:
229 if quota_total_mb is not None:
622 if quota_total_mb:
624 quota_total_mb = int(quota_total_mb)
629 if quota_total_mb < 0:
637 if quota_total_mb > org_quota_mb:
661 quota_total_mb=quota_total_mb)
1065 if quota_total_mb:
1067 quota_total_mb = int(quota_total_mb)
1072 if quota_total_mb < 0:
[all …]
/dports/www/seahub/seahub-8.0.7-server/tests/api/endpoints/admin/
H A Dtest_users.py305 quota_total_mb = quota_total * get_file_size_unit('mb')
306 assert json_resp['quota_total'] == quota_total_mb
307 assert seafile_api.get_user_quota(self.tmp_email) == quota_total_mb