224
edits
Mikrosha2000 (talk | contribs) (Create documentation page for Calibration & Equipment Pro v1.1.6) Tag: 2017 source edit |
Mikrosha2000 (talk | contribs) (Update to version 1.1.7 – Security and Permission Hardening, Dolibarr 24 compatibility and automated validation results.) Tag: 2017 source edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateDocDev}} | {{TemplateDocDev}} | ||
| Line 7: | Line 8: | ||
The module is designed for laboratories, quality control departments, production environments, workshops and organizations that need structured traceability of equipment calibration and maintenance activities. | The module is designed for laboratories, quality control departments, production environments, workshops and organizations that need structured traceability of equipment calibration and maintenance activities. | ||
[[File:CalibrationEquipmentPro_Cover.png| | [[File:CalibrationEquipmentPro_Cover.png|900x900px]] | ||
==Features== | ==Features== | ||
| Line 37: | Line 38: | ||
*Signature areas in generated PDF records | *Signature areas in generated PDF records | ||
*Dashboard with equipment and compliance indicators | *Dashboard with equipment and compliance indicators | ||
*Role-based access control | |||
*Server-side permission enforcement | |||
*Equipment deletion protection when dependent calibration or maintenance records exist | |||
==Dashboard== | ==Dashboard== | ||
| Line 52: | Line 56: | ||
*Equipment out of service | *Equipment out of service | ||
[[File:CalibrationEquipmentPro_Dashboard.png| | [[File:CalibrationEquipmentPro_Dashboard.png|900x900px]] | ||
==Equipment management== | ==Equipment management== | ||
| Line 71: | Line 75: | ||
The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records. | The equipment card provides direct access to calibration history, maintenance history, QR labels and PDF records. | ||
[[File:CalibrationEquipmentPro_Equipment.png| | Equipment deletion is restricted when associated calibration or maintenance records exist, helping preserve historical traceability. | ||
[[File:CalibrationEquipmentPro_Equipment.png|900x900px]] | |||
==QR code and QR labels== | ==QR code and QR labels== | ||
| Line 78: | Line 84: | ||
The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr. | The QR code can be scanned with a smartphone or other compatible device to open the equipment card directly in Dolibarr. | ||
Access to the equipment record remains subject to Dolibarr authentication and module permissions. | |||
Printable QR labels can include equipment identification information such as: | Printable QR labels can include equipment identification information such as: | ||
| Line 88: | Line 96: | ||
*Location | *Location | ||
[[File:CalibrationEquipmentPro_QRLabel.png| | [[File:CalibrationEquipmentPro_QRLabel.png|700x700px]] | ||
==Calibration management== | ==Calibration management== | ||
| Line 106: | Line 114: | ||
Calibration records can be classified automatically as upcoming or overdue. | Calibration records can be classified automatically as upcoming or overdue. | ||
[[File:CalibrationEquipmentPro_Calibration.png| | [[File:CalibrationEquipmentPro_Calibration.png|900x900px]] | ||
==Calibration certificates== | ==Calibration certificates== | ||
| Line 121: | Line 129: | ||
This allows the calibration documentation to remain associated with the corresponding equipment and calibration record. | This allows the calibration documentation to remain associated with the corresponding equipment and calibration record. | ||
Certificate upload, replacement and removal require the appropriate module permissions. | |||
==Maintenance management== | ==Maintenance management== | ||
| Line 138: | Line 148: | ||
*Notes | *Notes | ||
[[File:CalibrationEquipmentPro_Maintenance.png| | [[File:CalibrationEquipmentPro_Maintenance.png|900x900px]] | ||
Maintenance schedules are monitored separately from calibration schedules. | Maintenance schedules are monitored separately from calibration schedules. | ||
| Line 165: | Line 175: | ||
Contains equipment identification, maintenance information, cost, work description, QR code and signature areas. | Contains equipment identification, maintenance information, cost, work description, QR code and signature areas. | ||
[[File:CalibrationEquipmentPro_PDFRecords.png| | [[File:CalibrationEquipmentPro_PDFRecords.png|900x900px]] | ||
==User permissions== | |||
The module integrates with the standard Dolibarr user permission system. | |||
The following permissions are available: | |||
{| class="wikitable" | |||
! Permission | |||
! Description | |||
|- | |||
| READ | |||
| Read equipment, calibrations and maintenance records. | |||
|- | |||
| WRITE | |||
| Create or modify equipment, calibrations and maintenance records. | |||
|- | |||
| DELETE | |||
| Delete equipment, calibrations and maintenance records, subject to applicable dependency restrictions. | |||
|} | |||
Version 1.1.7 introduces enhanced server-side permission enforcement for equipment, calibration and maintenance operations. | |||
Users with read-only permissions cannot access restricted creation, modification or deletion forms. | |||
Direct access to restricted operations is checked on the server, independently of menu and button visibility. | |||
==Installation== | ==Installation== | ||
| Line 178: | Line 214: | ||
Configure user permissions if required. | Configure user permissions if required. | ||
==Updating an existing installation== | |||
To update from version 1.1.6 to version 1.1.7: | |||
#Create a backup of the Dolibarr database and existing module files. | |||
#Deploy the new module ZIP package. | |||
#Verify the installed module version. | |||
#Verify user permissions and access to existing records. | |||
Version 1.1.7 does not introduce database schema changes. | |||
Deactivation and reactivation are not required for this specific update. | |||
==Requirements== | ==Requirements== | ||
*Dolibarr 23.x | *Declared Dolibarr compatibility: 23.x – 24.x | ||
*PHP 7.4 | *Minimum declared PHP version: 7.4 | ||
*MySQL / MariaDB | *MySQL / MariaDB | ||
*Standard Dolibarr document storage | *Standard Dolibarr document storage | ||
Version 1.1.7 was tested on Dolibarr 24.0.0 with PHP 8.3.37. | |||
The previous version 1.1.6 was tested on Dolibarr 23.0.3. | |||
Full regression testing of version 1.1.7 on Dolibarr 23 and older PHP versions has not yet been completed. | |||
The module does not require an external web service. | The module does not require an external web service. | ||
| Line 194: | Line 249: | ||
*English | *English | ||
*Romanian | *Romanian | ||
==Testing and validation== | |||
Version 1.1.7 was evaluated using the PanciucSoft Universal QA Tester. | |||
The consolidated validation results include: | |||
{| class="wikitable" | |||
! Validation area | |||
! Result | |||
|- | |||
| GET permission validation | |||
| 55/55 PASS | |||
|- | |||
| POST permission validation | |||
| 18/18 PASS | |||
|- | |||
| Functional regression | |||
| 29/29 PASS | |||
|- | |||
| Stable release smoke test | |||
| 22/22 PASS | |||
|- | |||
! Total | |||
! 124/124 PASS | |||
|} | |||
The validation covered equipment CRUD operations, calibration and maintenance workflows, dependency protection, user access restrictions, PDF generation and software-based QR decoding. | |||
Permission and regression tests were performed on version 1.1.7-dev1, followed by a smoke test of the stable 1.1.7 package. | |||
These results apply to the documented test scenarios and do not represent exhaustive validation or regulatory certification. | |||
==Changelog== | |||
===Version 1.1.7 – 2026-12-01=== | |||
'''Security & Permission Hardening''' | |||
*Enhanced server-side permission enforcement. | |||
*Restricted unauthorized access to equipment creation and modification forms. | |||
*Restricted unauthorized access to calibration creation and modification forms. | |||
*Restricted unauthorized access to maintenance creation and modification forms. | |||
*Improved permission checks for deletion confirmation actions. | |||
*Enhanced permission checks for calibration certificate management. | |||
*Validated restricted-user and read-only access. | |||
*Completed automated security and functional regression testing on Dolibarr 24. | |||
*No database schema changes. | |||
==Version== | ==Version== | ||
Current version: '''1.1. | Current version: '''1.1.7 Stable''' | ||
==Availability== | |||
The module is available through DoliStore. | |||
https://www.dolistore.com | |||
==Support== | ==Support== | ||
edits