Repository navigation
DITools Beta v2.1.2
This update introduces a key improvement to the "Sync" tool:
Module-Specific Settings Filename: The Save Settings function now automatically appends a module-specific suffix (e.g., _sync) to the saved JSON file. For instance, if the job name is “Acme”, the settings file will be saved as Acme_sync.json, ensuring clear identification and avoiding conflicts with settings from other modules.
Consistent Settings Controls: The settings controls have been updated for consistency with other modules. The code now includes a "module" identifier in the saved settings to help differentiate files.
Simplified Import Behavior: The previously included transformation logic for modifying directory paths has been removed. The transform_imported_settings function now returns settings unmodified, focusing solely on ensuring that saved settings files are named appropriately.
Minor Refactoring: Code readability and maintainability have been improved through refactoring without altering core functionalities.
This update introduces a key improvement to the "File Comparator" tool:
Removed File Hash Comparison: The “Compare File Hash” functionality and its associated code were removed to streamline comparisons.
Added Creation Date Comparison: A new “Compare Creation Date” checkbox was introduced (using os.path.getctime) and placed next to the “Compare Modification Date” option, enabling file creation date comparisons.
Drive Management Enhancements:
Introduced “+” and “–” buttons below the drive list to facilitate adding and removing drives.
Centered these buttons for a more balanced layout.
Renamed the “Add Drive” button to “Add All Drives,” which now scans the /Volumes directory (like the auto-reference function) without automatically selecting a reference drive.
General performance and stability improvements.