Skip to content

Commit

Permalink
Fix licence headers
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Jan 31, 2022
1 parent 83f9f05 commit 05f0d83
Show file tree
Hide file tree
Showing 15 changed files with 725 additions and 48 deletions.
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions ajax/extract_json.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

include ("../../../inc/includes.php");

header("Content-Type: text/html; charset=UTF-8");
Expand Down
29 changes: 29 additions & 0 deletions front/collections.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

include ("../../../inc/includes.php");

Html::header(
Expand Down
28 changes: 28 additions & 0 deletions front/config.form.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

include ("../../../inc/includes.php");

if (isset($_REQUEST["create_database"])) {
Expand Down
28 changes: 28 additions & 0 deletions front/profileright.form.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

include ("../../../inc/includes.php");

if (isset($_REQUEST['update'])) {
Expand Down
28 changes: 28 additions & 0 deletions front/selfservice.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

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

Expand Down
50 changes: 26 additions & 24 deletions hook.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
<?php
/*
-------------------------------------------------------------------------
metabase plugin for GLPI
Copyright (C) 2017 by the metabase Development Team.

https://github.com/pluginsGLPI/metabase
-------------------------------------------------------------------------
LICENSE
This file is part of metabase.
metabase is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
metabase is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with metabase. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

/**
Expand Down
28 changes: 28 additions & 0 deletions inc/apiclient.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access this file directly");
}
Expand Down
28 changes: 28 additions & 0 deletions inc/config.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access directly to this file");
}
Expand Down
28 changes: 28 additions & 0 deletions inc/dashboard.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access directly to this file");
}
Expand Down
28 changes: 28 additions & 0 deletions inc/profileright.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
<?php

/**
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

if (!defined('GLPI_ROOT')) {
die("Sorry. You can't access directly to this file");
}
Expand Down
28 changes: 28 additions & 0 deletions metabase.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
/*!
* -------------------------------------------------------------------------
* Metabase plugin for GLPI
* -------------------------------------------------------------------------
*
* LICENSE
*
* This file is part of Metabase.
*
* Metabase is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Metabase is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Metabase. If not, see <http://www.gnu.org/licenses/>.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2018-2022 by Metabase plugin team.
* @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
* @link https://github.com/pluginsGLPI/metabase
* -------------------------------------------------------------------------
*/

.metabase_config {
text-align: left;
width: 950px;
Expand Down
Loading

0 comments on commit 05f0d83

Please sign in to comment.