[ postfixadmin-Patches-2974928 ] Domain Level Quotas
Brought to you by:
christian_boltz,
gingerdog
|
From: SourceForge.net <no...@so...> - 2011-04-19 11:34:39
|
Patches item #2974928, was opened at 2010-03-23 00:14 Message generated for change (Comment added) made by christian_boltz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2974928&group_id=191583 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: W. Rossmann () Assigned to: Nobody/Anonymous (nobody) Summary: Domain Level Quotas Initial Comment: Enables domain-level quota management by modifing the check_quota function in functions.php to check against the current total quota for the domain. A third, optional argument $username has been added for the case of modifying a quota, the user's current quota is excluded from the total. Minor modification to edit-mailbox.php to pass the username in the third argument. Notes: - Currently provides no front-end modification to a domain-level quota information, domain quotas must be set in the database - Patch created based on v2.3 ---------------------------------------------------------------------- >Comment By: Christian Boltz (christian_boltz) Date: 2011-04-19 13:34 Message: FYI: I'm currently (finally!) working on including this patch in SVN trunk. I have some small modifications (for example I "recycle" some $LANG strings to avoid duplicate work for translators, and have to redo the template changes because trunk uses smarty templates in the meantime). I'll commit it in the next days. ---------------------------------------------------------------------- Comment By: W. Rossmann () Date: 2010-03-25 19:57 Message: The add/edit domain pages were simpler and faster to modify than I thought. The unified patch below rolls in quota checking, display, and addition/editing as well as the relevant additions to $CONF and english language file. This patch also rolls in a resolution to the edit-alias.php bug: https://sourceforge.net/tracker/?func=detail&aid=2976010&group_id=191583&atid=937964 ---------------------------------------------------------------------- Comment By: W. Rossmann () Date: 2010-03-25 19:02 Message: added a patch to display domain quotas in super-admin and domain-admin list-domain.php, line numbering in config.inc.php might be a bit squiffy. also, list-domain.php does the legwork for gathering domain information into the $domain_properties array, why does templates/overview_get.php do it over again with get_domain_properties()? ---------------------------------------------------------------------- Comment By: W. Rossmann () Date: 2010-03-23 00:18 Message: * also assumes 'domain.quota' field is in MB ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2974928&group_id=191583 |