-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
858 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# gappessentials | ||
GLPI companion plugin for Gapp mobile app | ||
# Gapp Essentials GLPI plugin | ||
|
||
<img src="https://raw.githubusercontent.com/ticgal/gappessentials/multimedia/{LNAME}-logo-trans.png" alt="GappEssentials Logo" height="250px" width="250px" class="js-lazy-loaded"> | ||
|
||
[](https://twitter.com/ticgalcom) | ||
[](https://tic.gal/) | ||
|
||
Gapp Essentials is a companion plugin to enhance Gapp features. | ||
Gapp benefits from using Gapp Essentials by: | ||
* Giving access to documents to self-service users | ||
* List GLPI plugins | ||
|
||
## Contributing | ||
|
||
* Open a ticket for each bug/feature so it can be discussed | ||
* Refer to [GitFlow](http://git-flow.readthedocs.io/) process for branching | ||
* Work on a new branch on your own fork | ||
* Open a PR that will be reviewed by a developer |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
/* | ||
------------------------------------------------------------------------- | ||
GappEssentials plugin for GLPI | ||
Copyright (C) 2019 by the TICgal | ||
https://tic.gal | ||
https://github.com/pluginsGLPI/gappessentials | ||
------------------------------------------------------------------------- | ||
LICENSE | ||
This file is part of GappEssentials. | ||
GappEssentials 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. | ||
GappEssentials 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 GappEssentials. If not, see <http://www.gnu.org/licenses/>. | ||
-------------------------------------------------------------------------- | ||
*/ | ||
|
||
define('GLPI_ROOT', substr(__DIR__,0,strpos(__DIR__,"/plugins"))); | ||
define('DO_NOT_CHECK_HTTP_REFERER', 1); | ||
ini_set('session.use_cookies', 0); | ||
|
||
include_once (GLPI_ROOT . "/inc/based_config.php"); | ||
include_once(GLPI_ROOT."/plugins/gappessentials/inc/apirest.class.php"); | ||
|
||
$GLPI_CACHE = Config::getCache('cache_db'); | ||
|
||
$api = new PluginGappEssentialsApirest(); | ||
$api->call(); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<root> | ||
<name>GappEssentials</name> | ||
<key>gappessentials</key> | ||
<!-- stable, beta, development, alpha, ... --> | ||
<state>stable</state> | ||
<logo>https://raw.githubusercontent.com/pluginsGLPI/gappessentials/master/{LNAME}.png</logo> | ||
<description> | ||
<short> | ||
<!-- Add as many lang tag you want --> | ||
<en>GappEssentials GLPI plugin.</en> | ||
<es>Plugin GLPI GappEssentials</es> | ||
</short> | ||
<long> | ||
<!-- Add as many lang tag you want --> | ||
<en>A long description for GappEssentials GLPI plugin.</en> | ||
<fr>Un description longue pour le plugin GLPI GappEssentials</fr> | ||
</long> | ||
</description> | ||
<homepage>https://github.com/pluginsGLPI/gappessentials</homepage> | ||
<download>https://github.com/pluginsGLPI/gappessentials/releases</download> | ||
<issues>https://github.com/pluginsGLPI/gappessentials/issues</issues> | ||
<readme>https://github.com/pluginsGLPI/gappessentials/blob/master/README.md</readme> | ||
<authors> | ||
<!-- Add as many author tag you want --> | ||
<author>TICgal</author> | ||
</authors> | ||
<versions> | ||
<!-- Add as many version tag you want --> | ||
<version> | ||
<num>0.0.1</num> | ||
<!-- Add as many compatibility tag you want --> | ||
<compatibility>9.4</compatibility> | ||
</version> | ||
</versions> | ||
<langs> | ||
<!-- Add as many lang tag you want --> | ||
<lang>en_GB</lang> | ||
<lang>es_ES</lang> | ||
</langs> | ||
<license>GPL V3+</license> | ||
<!--tags> | ||
<en> | ||
<tag>One tag</tag> | ||
<tag>Another tag</tag> | ||
</en> | ||
<fr> | ||
<tag>Un tag</tag> | ||
<tag>Un autre tag</tag> | ||
</fr> | ||
</tags--> | ||
<!--screenshots> | ||
<screenshot>https://github.com/pluginsGLPI/fields/raw/master/screenshot.png</screenshot> | ||
<screenshot>https://github.com/pluginsGLPI/fields/raw/master/screenshot2.png</screenshot> | ||
</screenshots--> | ||
</root> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
/* | ||
------------------------------------------------------------------------- | ||
GappEssentials plugin for GLPI | ||
Copyright (C) 2019 by the TICgal | ||
https://tic.gal | ||
https://github.com/pluginsGLPI/gappessentials | ||
------------------------------------------------------------------------- | ||
LICENSE | ||
This file is part of GappEssentials. | ||
GappEssentials 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. | ||
GappEssentials 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 GappEssentials. If not, see <http://www.gnu.org/licenses/>. | ||
-------------------------------------------------------------------------- | ||
*/ | ||
|
||
/** | ||
* Plugin install process | ||
* | ||
* @return boolean | ||
*/ | ||
function plugin_gappessentials_install() { | ||
return true; | ||
} | ||
|
||
/** | ||
* Plugin uninstall process | ||
* | ||
* @return boolean | ||
*/ | ||
function plugin_gappessentials_uninstall() { | ||
return true; | ||
} |
Oops, something went wrong.