package documentation
__init__.py - ZMS product initialization module.
This module handles the core initialization of the ZMS (Zope Management System) product during Zope startup. It is responsible for:
- Registering ZMS content types (ZMS, ZMSCustom, ZMSSqlDb, ZMSLinkContainer, ZMSLinkElement, MediaDb, ZMSAttributeContainer) with the Zope application context to make them available for object instantiation.
- Configuring language resources by parsing the _language.yaml import file and automatically generating language-specific JavaScript files (i18n/<lang>.js) for client-side internationalization support.
- Setting up session storage infrastructure by ensuring the existence of temp_folder and session_data containers for temporary data storage during user sessions.
- Performing automated minification of static assets (JavaScript and CSS files) based on configuration parameters to reduce file sizes and improve performance. This includes generation of hash values for cache-busting.
- Registering language dictionaries and configuration dictionaries in the Zope misc container (OFS.misc_.misc_.zms) for global access across the application.
- Monkey-patching Products.CMFCore.zcml.registerDirectory() to support directory registration outside of package context, and registering additional file extensions (xlsx, xls, doc, docx, ppt, pptx, svg, etc.) for proper content type handling.
Note: The module expects configuration files to be present at specific paths within the package home directory, particularly version.txt and import/_language.yaml.
License: GNU General Public License v2 or later, Organization: ZMS Publishing
| Module | coauthor |
No module docstring; 0/1 variable, 6/6 functions, 1/1 class documented |
| Module | content |
content_extraction.py - ZMS Content Extraction Toolkit for Search Indexing |
| Module | |
IZMSActionListContributor.py |
| Module | |
IZMSCatalogAdapter.py |
| Module | |
IZMSCatalogConnector.py |
| Module | |
IZMSConfigurationProvider.py |
| Module | |
IZMSFormatProvider.py |
| Module | |
IZMSLLMConnector.py |
| Module | |
IZMSMetacmdProvider.py |
| Module | |
IZMSMetamodelProvider.py |
| Module | |
IZMSRepositoryManager.py |
| Module | |
IZMSRepositoryProvider.py |
| Module | |
IZMSWorkflowProvider.py |
| Module | llmapi |
ZMS LLM API utility module |
| Module | llmtools |
llmtools.py – ZMS tool registry for LLM function/tool calling. |
| Module | mock |
mock_http.py |
| Module | pilutil |
pilutil.py |
| Module | repositoryutil |
repositoryutil.py - ZMS repository utility module. |
| Module | rest |
rest_api.py |
| Module | standard |
standard.py |
| Module | svgutil |
svgutil.py |
| Module | yamlutil |
yamlutil.py - Utility helpers for YAML. |
| Module | zms |
zms.py - ZMS Root Object and Lifecycle Management |
| Module | |
ZMSCharformatManager.py - ZMS Character Format Manager |
| Module | zmscontainerobject |
zmscontainerobject.py - ZMS Container Object |
| Module | zmscustom |
zmscustom.py - ZMS Custom Content Class for Site-Specific Customization and Plugin Extensions |
| Module | |
ZMSFilterManager.py - ZMS Filter Manager |
| Module | |
ZMSFormatProvider.py - ZMS Format Provider |
| Module | |
ZMSFormatProviderAcquired.py - ZMS Acquired Format Provider |
| Module | zmsindex |
zmsindex.py - ZMS Object Index |
| Module | |
ZMSItem.py - ZMS Base Content Object |
| Module | zmslinkcontainer |
zmslinkcontainer.py |
| Module | zmslinkelement |
zmslinkelement.py |
| Module | |
ZMSLLMConnector.py - ZMS LLM Connector for AI/LLM Integration |
| Module | zmslog |
zmslog.py - ZMS Log Viewer |
| Module | |
ZMSMetacmdProvider.py - ZMS Meta-Command Provider |
| Module | |
ZMSMetacmdProviderAcquired.py - ZMS Acquired Metacommand Provider |
| Module | |
ZMSMetadictManager.py - ZMS Meta-Dictionary Manager |
| Module | |
ZMSMetamodelProvider.py - ZMS Metamodel Provider |
| Module | |
ZMSMetaobjManager.py - Meta-object model management for ZMS. |
| Module | zmsobject |
zmsobject.py - Base ZMS object implementation. |
| Module | zmsproxyobject |
zmsproxyobject.py - ZMS Proxy Object |
| Module | |
ZMSRepositoryManager.py - ZMS Repository Manager |
| Module | zmssqldb |
zmssqldb.py - Relational Database Content Type for ZMS |
| Module | |
ZMSTextformat.py - Text-format model and rendering helpers for ZMS rich-text output. |
| Module | |
ZMSTextformatManager.py - ZMS Text-format Manager |
| Module | zmstrashcan |
zmstrashcan.py- Trashcan Management and Deletion Recovery |
| Module | |
ZMSWorkflowActivitiesManager.py - ZMS Workflow Activities Manager |
| Module | |
ZMSWorkflowItem.py - ZMS Workflow Item |
| Module | |
ZMSWorkflowProvider.py - Workflow management provider for ZMS content objects. |
| Module | |
ZMSWorkflowProviderAcquired.py - Acquired Workflow Provider for ZMS |
| Module | |
ZMSWorkflowTransitionsManager.py - ZMS Workflow Transitions Manager |
| Module | |
ZMSZCatalogAdapter.py - Catalog adapter implementation for indexing ZMS content. |
| Module | |
ZMSZCatalogConnector.py - ZMS Catalog Connector for ZCatalog Integration |
| Module | zopeutil |
zopeutil.py - ZMS Zope Utility for Object Management and Data Handling |
| Module | _accessmanager |
_accessmanager.py - Access and permission management for ZMS |
| Module | _blobfields |
_blobfields.py - Blob, Image, and File Field Management for ZMS |
| Module | _builder |
_builder.py - XML builder for ZMS object tree construction |
| Module | _cachemanager |
_cachemanager.py - Request-local caching helpers used across ZMS managers. |
| Module | _conf |
_conf.py - ZMS Configuration Class |
| Module | _confmanager |
_confmanager.py - ZMS Configuration Manager |
| Module | _copysupport |
_copysupport.py - ZMS Copy and Move Support |
| Module | _deprecatedapi |
_deprecatedapi.py - ZMS Deprecated API |
| Module | _enummanager |
_enummanager.py - ZMS Enumeration Manager |
| Module | _exportable |
_exportable.py - ZMS Exportable Mixin |
| Module | _fileutil |
_fileutil.py - ZMS File System Utilities |
| Module | _filtermanager |
_filtermanager.py - ZMS Import/Export Filter Pipeline Helpers |
| Module | _globals |
_globals.py - ZMS Global Constants and Utilities |
| Module | _importable |
_importable.py - ZMS Importable Mixin |
| Module | _mediadb |
_mediadb.py - ZMS Media Data Management |
| Module | _mimetypes |
_mimetypes.py - ZMS MIME Type Icon Mappings |
| Module | _multilangmanager |
_multilangmanager.py - ZMS Multi-Language Manager |
| Module | _objattrs |
_objattrs.py - ZMS Object Attributes Management |
| Module | _objchildren |
_objchildren.py - ZMS Object Children Management |
| Module | _objinputs |
_objinputs.py - ZMS Object Input Field Generation and Form Rendering |
| Module | _objtypes |
_objtypes.py - ZMS Object Type Definitions and Meta-Class Registration |
| Module | _pathhandler |
_pathhandler.py - ZMS Path Handler for URL Routing and Traversal |
| Module | _sequence |
_sequence.py - ZMS Sequence Object for Unique ID Generation |
| Module | _textformatmanager |
_textformatmanager.py - ZMS Text Format Manager for Content Formatting and Rendering |
| Module | _version |
_version.py - ZMS Version Information |
| Module | _versionmanager |
_versionmanager.py - ZMS Version Manager for Content Versioning and Workflow |
| Module | _xmllib |
_xmllib.py - ZMS XML Parsing and Serialization Utilities |
| Module | _zcatalogmanager |
_zcatalogmanager.py - ZMS Catalog Manager for Search Query Formatting and Object Traversal |
| Module | _ziputil |
_ziputil.py - ZMS ZIP Utility for Exporting and Importing ZODB Objects |
| Module | _zmi |
_zmi_actions_util.py - ZMS ZMI Actions Utility for Action List Generation and Command Handling |
| Module | _zmsattributecontainer |
_zmsattributecontainer.py - ZMS Attribute Container for Custom Attribute Storage and Management |
| Module | _zreferableitem |
_zreferableitem.py - ZMS Referable Item Mixin for Internal Reference Handling and Link Validation |
From __init__.py:
| Function | create |
Ensure containers for temporary data. |
| Function | get |
Undocumented |
| Function | get |
Undocumented |
| Function | initialize |
Initialize the product. |
| Function | register |
Add a new directory to the registry. |
| Function | translate |
translate path |
| Variable | _directory |
Undocumented |