Project

General

Profile

Feature #4792

Add optional limits for hosting

Added by Yannick Warnier over 7 years ago. Updated over 7 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
-
Target version:
Start date:
24/05/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

This is a specific feature for hosting Chamilo portals with users, courses, sessions and total disk space limits.

The idea is to define specific limits in the configuration.php file (out of a customer's reach) so that the users cannot pass over a specific number.

Settings are of this form:

// Set a maximum number of users. Default (0) = no limit
$_configuration[1]['hosting_limit_users'] = 0;
// Set a maximum number of teachers. Default (0) = no limit
$_configuration[1]['hosting_limit_teachers'] = 0;
// Set a maximum number of courses. Default (0) = no limit
$_configuration[1]['hosting_limit_courses'] = 0;
// Set a maximum number of sessions. Default (0) = no limit
$_configuration[1]['hosting_limit_sessions'] = 0;
// Set a maximum disk space used, in MB (set to 1024 for 1GB, 5120 for 5GB).
// Default (0) = no limit
$_configuration[1]['hosting_limit_disk_space'] = 0;

A limit of 0 is not a limit, so everything will work as expected (this is the default behaviour, of course, and has to be enabled to take effect). The idea is to allow for the limitation of certain hosting solutions to a specific number of users, for example, to enable the offering of cheaper Chamilo sites.

This is a highly arguable feature, I can imagine, but there's no intention of closing the code or anything, it's just practical (it could be implemented separately by any hosting provider anyway, we're just making their work easier as well). Actually, writing this task down is proof that I don't want to do that in private

Associated revisions

Revision 14682adf (diff)
Added by Yannick Warnier over 7 years ago

Added portal users limit management - only activates when set to something different from 0 - refs #4792

Revision 5a39be93 (diff)
Added by Yannick Warnier over 7 years ago

Added portal courses limit management - only activates when set to something different from 0 - refs #4792

Revision 3de61a1f (diff)
Added by Yannick Warnier over 7 years ago

Added portal sessions limit management - only activates when set to something different from 0 - refs #4792

Revision 087e4e5e (diff)
Added by Yannick Warnier over 7 years ago

Added experimental total portal volume usage measurement - refs #4792

Revision 36c97ee8 (diff)
Added by Yannick Warnier over 7 years ago

Improvements to conditions in portal limits management - refs #4792

Revision a67c0a2c (diff)
Added by Yannick Warnier over 7 years ago

Added support for access urls in portal limits management - refs #4792

History

#1

Updated by Yannick Warnier over 7 years ago

  • Status changed from Assigned to Feature implemented
  • % Done changed from 0 to 100

Multiple URLs management should be extended, still, but that's another problem yet.

Also available in: Atom PDF