Home
last modified time | relevance | path

Searched refs:space_quota (Results 1 – 8 of 8) sorted by relevance

/dports/www/seahub/seahub-8.0.7-server/seahub/base/management/commands/
H A Dexport_users.py84 user.space_quota = seafile_api.get_org_user_quota(org_id, user.email)
87 user.space_quota = seafile_api.get_user_quota(user.email)
91 user.space_quota = -1
102 if user.space_quota > 0:
104 space_quota_MB = round(float(user.space_quota) / MB, 2)
H A Dexport_user_storage_report.py53 space_quota_MB = byte_to_mb(user.space_quota)
/dports/www/seahub/seahub-8.0.7-server/seahub/institutions/
H A Dviews.py39 user.space_quota = seafile_api.get_user_quota(user.email)
43 user.space_quota = -1
140 space_quota = mute_seafile_api.get_user_quota(email)
171 'space_quota': space_quota,
/dports/www/seahub/seahub-8.0.7-server/seahub/views/
H A Dsysadmin.py174 user.space_quota = seafile_api.get_org_user_quota(org_id, user.email)
177 user.space_quota = seafile_api.get_user_quota(user.email)
181 user.space_quota = -1
251 if user.space_quota > 0:
253 space_quota_MB = round(float(user.space_quota) / MB, 2)
324 space_quota = space_quota_mb * get_file_size_unit('MB')
329 seafile_api.set_user_quota(email, space_quota)
338 seafile_api.set_org_user_quota(org_id, email, space_quota)
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/
H A Daccount.py152 space_quota = int(space_quota_mb) * get_file_size_unit('MB')
156 email, space_quota)
158 seafile_api.set_user_quota(email, space_quota)
H A Dusers_batch.py369 space_quota = int(space_quota_mb) * get_file_size_unit('MB')
370 seafile_api.set_user_quota(email, space_quota)
H A Dstatistics.py457 space_quota_MB = byte_to_mb(user.space_quota)
/dports/www/seahub/seahub-8.0.7-server/seahub/
H A Dforms.py154 space_quota = forms.IntegerField(min_value=0, variable in SetUserQuotaForm