Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: "Generate CI matrix"
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1"
with:
glpi-version: "11.0.x"
glpi-version: "12.0.x"
ci:
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}"
needs: "generate-ci-matrix"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [UNRELEASED]

### Added

- GLPI 12 compatibility

### Fixed

- Fix `Take item delivery` and `Cancel reception` action for `Software License`
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../../PluginsMakefile.mk
2 changes: 1 addition & 1 deletion ajax/billactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* -------------------------------------------------------------------------
*/

Session::checkRight("plugin_order_bill", READ);
Session::checkRight(PluginOrderBill::$rightname, READ);

header("Content-Type: text/html; charset=UTF-8");

Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownReference.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

include_once(__DIR__ . "/../../../inc/includes.php");

Session::checkRight("plugin_order_reference", READ);
Session::checkRight(PluginOrderReference::$rightname, READ);

// Make a select box for references
if (isset($_POST["itemtype"])) {
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownSupplier.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
Html::header_nocache();
}

Session::checkRight("contact_enterprise", READ);
Session::checkRight(Contact::$rightname, READ);

// Make a select box
if (isset($_POST["suppliers_id"])) {
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"php": ">=8.2",
"sboden/odtphp": "^3.2"
},
"require-dev": {
"glpi-project/tools": "^0.8"
},
"config": {
"optimize-autoloader": true,
"platform": {
Expand Down
Loading