-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show color bar in quota column of % used space #117
Comments
The problem here was that it wasn't easy to fetch all the quota without mounting all the home directories of each user. I think we have done a lot there. Maybe worth to look into this again. |
Maybe it´s possible to compute the Quota of each user in a background cronjob? Just add a "last_quota_calc" column to the users table. If last_quota_calc < last_action in activity, the quota is recalculated. |
@icewind1991 Is it nowadays easier to get the quota? |
For those looking for a way to at least detect when someone hits their limit, here is a one-liner that you can put in cron.daily or similar:
It checks for any user who maxed out during the previous day. It requires jq to be installed beyond what is usually included in distros. |
The color bar could have two levels: one for active storage (equivalent of |
It's possible at least in ownCloud to get user quota via an API call: owncloud/core#26829 (comment) Also a SQL query to get the used space for all users: |
is it implemented yet ? How do we see users usage ? |
As this ticket is still open: no.
Currently not possible. |
PR is here: #5342 |
Thanks @icewind1991! This is totally awesome, and I really like how you can hover to get a more accurate idea of the used space. One small thing I noticed is that the last login column starts to overlap at about 1390px width or less in Chrome, but I bet some CSS magic could fix that. |
in settings/users new feature:
show color bar of % user used space of quota
http://i.imgur.com/ayvNt6L.png
The text was updated successfully, but these errors were encountered: