What this solution does
SenDev: iBlock History provides full control over changes in Bitrix information blocks. Standard platform tools do not allow detailed tracking of what exactly was changed and when. This module resolves this issue by recording all content edits.
Automatic Versioning
Versions are created when elements are added, modified, or deleted. The 'significant changes only' mode is active, excluding service fields from the history. Automatic version creation can be disabled for mass imports.
Visual Version Comparison
Changes in fields and properties are highlighted during comparison. Two display modes are available: separate columns or a unified view with highlighting. Any saved version can be compared with the current state of the element.
Data Restoration
Full restoration of an element to any saved version is possible. Files are restored automatically, and replaced file versions are archived in a separate folder.
File Management
All files are copied to each version. Deduplication by hash is used to save disk space. Replaced files are stored in a dedicated directory.
Flexible Settings
Storage policy settings allow defining the number of days and version limits. Information blocks can be excluded from versioning. Parameters can be configured separately for each information block.
Integration
The 'History' tab is available directly in the element card within the administrative panel.
The SenDev: iBlock History module provides detailed control over information block changes. The solution supports working with trade offers in catalogs, high-load blocks (HL), as well as forms and business processes.
Export and import functionality allows saving change history in ZIP archives along with files, importing data to other sites, and performing migrations between projects. For automation and integration, a full-featured REST API, CLI commands for scripts, and webhooks for notifying external systems are provided.
Data reliability and integrity are ensured through transactional security for all version write operations, preventing partial saves. Before upload, ZIP archives are validated for viruses, zip bombs, and path correctness. During restoration, the existence of files and links is automatically verified.
The security system includes access control for viewing, restoring, and deleting versions (R/W/X), along with complete action logging in EventLog. Data and comments are sanitized before saving to protect against XSS attacks.
Performance optimization is implemented via file deduplication: copies with identical content are stored in a single instance, allowing savings of up to 70% of disk space.
The module provides automatic history cleanup: agents remove outdated versions and obsolete files according to defined policies. In 'Significant Changes Only' mode, service fields (TIMESTAMP_X, SHOW_COUNTER) are ignored to prevent unnecessary database growth. The system supports high loads through table partitioning for version records, which is essential for projects with millions of entries.
Administration is streamlined via deep search capabilities across field content, properties, and comments within the history. The 'History' tab is embedded directly into the element or section edit card. Visual diff comparison highlights added and removed data, functioning similarly to code version control systems.
Configuration offers high flexibility: individual retention periods and version limits can be set for each information block. Versioning can be completely disabled for specific information blocks or individual fields. The module supports extensibility through the OnAfterVersionCreate event, enabling integration with external notifications and webhooks.
General iT can install and configure this module and check how it works on your website.