Review Request 124589: Add Disk Quota Plasmoid
Dominik Haumann
dhaumann at kde.org
Wed Nov 4 15:46:47 UTC 2015
> On Oct. 23, 2015, 10:15 p.m., David Edmundson wrote:
> > Bump? We have a "no huge merges freeze" on the 5th of November for 5.5
>
> Dominik Haumann wrote:
> Thanks for the bump, I will have some time next weekend, will go over the reviews again and then push this if all is good. (Due to moving, I have no internet right now, so a bit inconvenient situation atm).
>
> Dominik Haumann wrote:
> @David: Unfortunately, I still don't have internet access right now.
>
> If you want, you can merge the current state (I can't right now). Apart from minor known issues, the current version should work as expected, and it would be cool to get feedback that further improves the applet for following releases.
>
> Known minor issues:
> - the icons are a bit too big, I guess the margin somehow is wrong. A hint how to fix this is appreciated.
>
> Marco Martin wrote:
> it's pushed now, so it's in for the freze. you can still eventually push fixes to it until 19th :)
Thanks, will test again for certain.
- Dominik
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124589/#review84600
-----------------------------------------------------------
On Nov. 4, 2015, 1:51 p.m., Dominik Haumann wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124589/
> -----------------------------------------------------------
>
> (Updated Nov. 4, 2015, 1:51 p.m.)
>
>
> Review request for Plasma, Kai Uwe Broulik and Sebastian Kügler.
>
>
> Repository: kdeplasma-addons
>
>
> Description
> -------
>
> The disk quota is usually used in enterprise installations where network shares are mounted locally. Typically, sysadmins want to avoid that users copy lots of data into their folders, and therefor set quotas (the quota limit has nothing to do with the physical size of a partition). Typically, once a user gets over the hard limit of the quota, the account is blocked and the user cannot login anymore. This happens from time to time, since the users are not really aware of the current quota limit and the already used disk space.
>
> Here is where the "Disk Quota" plasmoid helps: It continusouly monitors the disk quota and warns the quota apprpriately.
>
> A detailed description including screenshots can be found in this blog: http://kate-editor.org/?p=3591
>
> (I had a KDE4 hack of this plasmoid running at university, and it proved very usable over the years, so it is probably a good idea to have it by default in plasma)
>
> Issues:
> - the panel icon is larger than the others (some wrong margin?)
> - an icon for the metadata.desktop is missing (the shipped quota.svg file is not available here, it seems).
> - the grid units probably need some more tuning
>
>
> Diffs
> -----
>
> applets/CMakeLists.txt c60c350
> applets/diskquota/CMakeLists.txt PRE-CREATION
> applets/diskquota/Messages.sh PRE-CREATION
> applets/diskquota/icons/quota.svg PRE-CREATION
> applets/diskquota/package/contents/ui/ListDelegateItem.qml PRE-CREATION
> applets/diskquota/package/contents/ui/main.qml PRE-CREATION
> applets/diskquota/package/metadata.desktop PRE-CREATION
> applets/diskquota/plugin/DiskQuota.h PRE-CREATION
> applets/diskquota/plugin/DiskQuota.cpp PRE-CREATION
> applets/diskquota/plugin/QuotaItem.h PRE-CREATION
> applets/diskquota/plugin/QuotaItem.cpp PRE-CREATION
> applets/diskquota/plugin/QuotaListModel.h PRE-CREATION
> applets/diskquota/plugin/QuotaListModel.cpp PRE-CREATION
> applets/diskquota/plugin/plugin.h PRE-CREATION
> applets/diskquota/plugin/plugin.cpp PRE-CREATION
> applets/diskquota/plugin/qmldir PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/124589/diff/
>
>
> Testing
> -------
>
> Tested combinations:
> - no quota installed: A nice message is displayed telling the user that 'quota' is missing.
> - quota installed, but no quota restrictions set: The applet says "No quota restrictions found"
> - quota installed, quotas active: The applet continuously shows the data. The quota entries are in a QAbstractItemModel derived class, so inserting/removing quotas all works (tested).
> - filelight installed: the item under mouse gets highlighted. If clicked, filelight starts with the correct location.
>
>
> Thanks,
>
> Dominik Haumann
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151104/4f5ef69a/attachment.html>
More information about the Plasma-devel
mailing list