- Author
- Contact
Michael JasonSmith <mpj17@onlinegroups.net>
- Date
2015-05-22
- Organization
- Copyright
This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.
The main task of this product is to set up the initial GroupServer instance, and the first site. This product also contains the GroupserverSite class, which forms the core of a GroupServer instance, not a site (despite its name). This product does very little, as most of the functionality of GroupServer is provided by the many gs.*
eggs.
The setup of the initial GroupServer instance and site is handled by the functions (yes, functions) in the Products.GroupServer.creation
module. The entry-point is the manage_addGroupserverSite
function.
The Products.GroupServer.GroupserverSite
class is based on OFS.OrderedFolder
, but it provides three extra methods.
get_site
returns theGroupServerSite
instance. This is useful to find theacl_users
,Contents
, orListManager
instances:s = self.context.get_site() # Almost everything has self.context acl_users = s.acl_users # Get the acl_users instance. contents = s.Contents # The folder that contains the sites ListManager = s.ListManager # The folder that contains the mailing lists
standard_error_message
over-rides the standard Zope2 error message, and calls the messages ings.errormesg
.- The
fail
method provides the "page"/fail
, which is used for testing the error-handling system.
- Documentation: http://groupserver.readthedocs.org
- Code repository: https://github.com/groupserver/Products.GroupServer/
- Questions and comments to http://groupserver.org/groups/development
- Report bugs at https://redmine.iopen.net/projects/groupserver