Skip to content

Commit

Permalink
Generic search/list controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval authored Oct 23, 2024
1 parent edbc793 commit 4deafb1
Show file tree
Hide file tree
Showing 199 changed files with 842 additions and 3,375 deletions.
12 changes: 0 additions & 12 deletions .phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2287,18 +2287,6 @@
'count' => 1,
'path' => __DIR__ . '/src/Glpi/Form/Section.php',
];
$ignoreErrors[] = [
// identifier: classConstant.nonObject
'message' => '#^Cannot access constant class on Glpi\\\\Asset\\\\AssetModel\\|false\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Glpi/Http/LegacyDropdownRouteListener.php',
];
$ignoreErrors[] = [
// identifier: classConstant.nonObject
'message' => '#^Cannot access constant class on Glpi\\\\Asset\\\\AssetType\\|false\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Glpi/Http/LegacyDropdownRouteListener.php',
];
$ignoreErrors[] = [
// identifier: booleanNot.alwaysFalse
'message' => '#^Negated boolean expression is always false\\.$#',
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ The present file will list all changes made to the project; according to the
- `CommonDBTM::getSNMPCredential()`
- `CommonDBTM::showDebugInfo()`
- `CommonDevice::title()`
- `CommonDropdown::$first_level_menu`, `CommonDropdown::$second_level_menu` and `CommonDropdown::$third_level_menu` properties.
- `CommonDropdown::displayHeader()`
- `CommonGLPI::$type` property.
- `CommonGLPI::getAvailableDisplayOptions()`
Expand Down
2 changes: 1 addition & 1 deletion front/agent.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
);
Html::back();
} else {//print agent information
$menus = ["admin", "glpi\inventory\inventory", "agent"];
$menus = ["admin", "glpi\inventory\inventory", "Agent"];
Agent::displayFullPageForItem((int) $_GET['id'], $menus, [
'withtemplate' => $_GET["withtemplate"],
'formoptions' => "data-track-changes=true",
Expand Down
42 changes: 0 additions & 42 deletions front/agent.php

This file was deleted.

48 changes: 0 additions & 48 deletions front/allassets.php

This file was deleted.

2 changes: 1 addition & 1 deletion front/apiclient.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@
);
Html::redirect($CFG_GLPI["root_doc"] . "/front/config.form.php");
} else {
$menus = ["config", "config", "apiclient"];
$menus = ["config", "config", "APIClient"];
APIClient::displayFullPageForItem($_GET["id"], $menus);
}
42 changes: 0 additions & 42 deletions front/appliance.php

This file was deleted.

55 changes: 0 additions & 55 deletions front/asset/asset.php

This file was deleted.

49 changes: 0 additions & 49 deletions front/asset/assetdefinition.php

This file was deleted.

2 changes: 1 addition & 1 deletion front/authldap.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
Html::back();
}

$menus = ['config', 'auth', 'ldap'];
$menus = ['config', 'auth', 'AuthLDAP'];
AuthLDAP::displayFullPageForItem($_GET['id'], $menus, $_GET);
42 changes: 0 additions & 42 deletions front/authldap.php

This file was deleted.

2 changes: 1 addition & 1 deletion front/authmail.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@
Html::back();
}

$menus = ["config", "auth", "imap"];
$menus = ["config", "auth", "AuthMail"];
AuthMail::displayFullPageForItem($_GET['id'], $menus);
42 changes: 0 additions & 42 deletions front/authmail.php

This file was deleted.

Loading

0 comments on commit 4deafb1

Please sign in to comment.