Skip to content

Commit

Permalink
Merge branch 'release/1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Aug 21, 2020
2 parents 0a390c5 + 1083f24 commit e00f748
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions front/selfservice.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

include ("../../../inc/includes.php");
Session::checkLoginUser();

Html::helpHeader(__('Metbase'), $_SERVER["PHP_SELF"]);
$central = new Central;
PluginMetabaseDashboard::showForCentral($central);
Html::helpFooter();
5 changes: 5 additions & 0 deletions metabase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ Il permet actuellement de:
<author>Teclib'</author>
</authors>
<versions>
<version>
<num>1.2.0</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/pluginsGLPI/metabase/releases/download/1.2.0/glpi-metabase-1.2.0.tar.bz2</download_url>
</version>
<version>
<num>1.1.0</num>
<compatibility>~9.5.0</compatibility>
Expand Down
3 changes: 2 additions & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
--------------------------------------------------------------------------
*/

define('PLUGIN_METABASE_VERSION', '1.1.0');
define('PLUGIN_METABASE_VERSION', '1.2.0');

// Minimal GLPI version, inclusive
define("PLUGIN_METABASE_MIN_GLPI", "9.5");
Expand Down Expand Up @@ -71,6 +71,7 @@ function plugin_init_metabase() {

// add dashboards
Plugin::registerClass('PluginMetabaseDashboard', ['addtabon' => 'Central']);
$PLUGIN_HOOKS['helpdesk_menu_entry']['metabase'] = '/front/selfservice.php';

// profile rights management
Plugin::registerClass('PluginMetabaseProfileright', ['addtabon' => 'Profile']);
Expand Down

0 comments on commit e00f748

Please sign in to comment.