Open
Conversation
Migrated from GLPI 10.x (v2.7.1) to GLPI 11.x (v3.0.0) compatibility. Tested on: GLPI 11.0.6 | Rocky Linux 10 | PHP 8.4.19 | MariaDB Changes: - Update version bounds to 11.0.0-11.0.99 - Remove deprecated csrf_compliant hook (GLPI 11) - Replace Plugin::getWebDir() with direct paths (deprecated in GLPI 11) - Fix DB queries: replace query()+die() with doQueryOrDie() - Fix PRIMARY KEY uppercase bug in hook.php (MariaDB strict mode) - Fix PHP 8.4 QR content encoding - removed __() from QR embedded text - Improve massive action UI with descriptive labels per column - Add security validation in send.php and document.send.php - Require PHP >= 8.1 - Add README.md (EN) and README_MIGRACION.md (ES) Co-authored with Claude (Anthropic) - claude.ai Migration by Cristian David Baquero - Dawing S.A.S. (https://dawing.com.co)
fix: remove nested barcode subdirectory
Migrated from GLPI 10.x (v2.7.1) to GLPI 11.x (v3.0.0) compatibility. Tested on: GLPI 11.0.6 | Rocky Linux 10 | PHP 8.4.19 | MariaDB Changes: - Update version bounds to 11.0.0-11.0.99 - Remove deprecated csrf_compliant hook (GLPI 11) - Replace Plugin::getWebDir() with direct paths (deprecated in GLPI 11) - Fix DB queries: replace query()+die() with doQueryOrDie() - Fix PRIMARY KEY uppercase bug in hook.php (MariaDB strict mode) - Fix PHP 8.4 QR content encoding - removed __() from QR embedded text - Improve massive action UI with descriptive labels per column - Add security validation in send.php and document.send.php - Require PHP >= 8.1 - Add README.md (EN) and README_MIGRACION.md (ES) Co-authored with Claude (Anthropic) - claude.ai Migration by Cristian David Baquero - Dawing S.A.S. (https://dawing.com.co)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GLPI 11.x Compatibility Migration
Migrates the Barcode plugin from GLPI 10.x (v2.7.1) to GLPI 11.x (v3.0.0).
Tested on: GLPI 11.0.6 | Rocky Linux 10 | PHP 8.4.19 | MariaDB
Changes
setup.php10.0.99blocked install11.0.0–11.0.99setup.phpcsrf_complianthook removed in GLPI 11setup.phpPlugin::getWebDir()deprecatedhook.php$DB->query() or die()forbiddendoQueryOrDie()hook.phpPRIMARY KEY (ID)uppercase bugidinc/qrcode.class.php__()from QR textinc/qrcode.class.phpinc/config.class.phparray_keys()[0]deprecated patternarray_key_first()front/send.phpfront/document.send.phpfinfoMIME type checkfront/checkItemByInv.phpis_subclass_of(CommonDBTM)composer.json7.4>=8.1Additional
README.md(EN) with full installation guideREADME_MIGRACION.md(ES) with Spanish installation guideCo-authored with Claude (Anthropic) — claude.ai
Migration by Cristian David Baquero — Dawing S.A.S. (https://dawing.com.co)