Giter VIP home page Giter VIP logo

glpi-plugins-projectbridge's Introduction

GLPI ProjectBridge Plugin

By Probesys: https://probesys.com

Language: french / english ( and more if you want translate it in other languages )

Works with: GLPI 9.3.x, 9.4.x and 9.5.x

This plugin allows to count down time from contracts by linking tickets with project tasks and project tasks with contracts.

History

This plugin is based on the old glpi plugin "Best management". We have rewritten and rethought all the code and the features.

Features

  • configure recipients of expiration alerts and reached quota alerts
  • link default contracts to entities: tickets created in that entity will automatically be linked to selected contract (and thus corresponding ongoing project task)
  • link contracts to projects
  • automatically create a project and it's task when creating a contract
  • renew a contract when quota is reached or it expired
  • change a ticket's link to another project, and thus another contract

Configuration

From configuration panel you can :

  1. Match status names and their values in your GLPI configuration.
  2. Define users receiving alerts from ProjectBridge.
  3. Include private ticket tasks duration to contract.

Setup

Usage

  • From the contract page, if no project task is active, you can create new one :

Usage

  • Renew a contract when quota is reached or it expired :

Usage

Known issues

  • when there is no contract start date or a wrongly formatted one, renewal does not work
  • link_data.php script does not link all existing contracts with projects, a manual check is required
  • alerts are still sent even if notifications are disabled

Possible evolutions

  • add a way to link all concerned tickets to their project tasks in link_data.php
  • use GLPI notifications to send the contract alerts

Contact

[email protected]

glpi-plugins-projectbridge's People

Contributors

cedric-anne avatar felag avatar p-bo avatar philgprobesys avatar pvesian avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glpi-plugins-projectbridge's Issues

GLPI 10+

Is the upgrade to glpi 10+ planned?

Regards

Appel de méthode non-statique

Dans les journaux de GLPi, je vois des erreurs sur une action automatique de ProjectBridge, apparemment sans incidence:

[2023-11-01 16:42:02] glpiphplog.CRITICAL:   *** Uncaught Exception Error: Non-static method PluginProjectbridgeTask::closeTaskAndCreateExcessTicket() cannot be called statically in /var/www/support/html/plugins/projectbridge/inc/task.class.php at line 182
  Backtrace :
  src/CronTask.php:1018                              PluginProjectbridgeTask::cronProcessTasks()
  front/cron.php:84                                  CronTask::launch()

Valeur par défaut quand on modifie un contrat

Quand un contrat est modifié après avoir install ProjectBridge, la valeur par défaut pour l'alerte est à 0%.

Il serait bienvenu que cette valeur soit celle configurée pour le plugin (80% par défaut).

Add suport for localization

To be more useful for wider audience, it would be very helpful if this plugin would be possible to translate into other languages too.
Thanks :)

Suppression de l'entrée du menu Outils

Une fois le plugin ProjectBridge installé, il y a une entrée de menu ProjectBridge dans le menu Outils.

Ce n'est pas utilisé et peut être soumis à mauvaise interprétation: à supprimer dans la prochaine version.

Alertes à l'installation

Lorsque j'installe le plugin avec la commande bin/console plugin:install, les alertes suivantes apparaissent:

PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_entities`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_entities`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_contracts`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_contracts`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_tickets`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_tickets`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_configs`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_configs`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_states`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_states`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_contracts_quotaAlert`.`id`. in /var/www/glpidemo/html/src/DBmysql.php at line 2174
PHP Warning:  Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_projectbridge_contracts_quotaAlert`.`id`. in /var/www/glpidemo/html/src/DBmysql.php on line 2174

La commande bin/console migration:utf8mb4 effectue la migration.

Il serait bienvenu de ne pas avoir d'alerte à l'installation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.