Giter Site home page Giter Site logo

probesys / glpi-plugins-groupcategory Goto Github PK

View Code? Open in Web Editor NEW
5.0 11.0 4.0 55 KB

GLPI plugin that allows to limit the number of categories available for ticket requesters.

License: GNU Affero General Public License v3.0

PHP 94.99% Shell 2.79% Perl 2.22%
glpi glpi-plugin groups ticket categories

glpi-plugins-groupcategory's People

Contributors

ctresvaux avatar ctresvauxp6 avatar felag avatar philgprobesys avatar pvesian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glpi-plugins-groupcategory's Issues

Problem when the category list is large

Hello,
I noticed a problem when the category list is large.
After scrolling the drop-down list, when you go to select the category, the list goes back to the start.

Problème changement de la catégorie v 1.2.3

Bonjour,
J'ai le plugin version 1.2.3 sous GLPI 9.4.5.
Si je modifie un ticket (ajout suivi par exemple), la catégorie est modifiée et passe sur la première de la liste.
Cette réaction provoque des exécutions en chaîne de règles et notification...
Serait-il possible de corriger ce problème ?
Cordialement.

Is possible has the same functions by Entity instead Groups?

First of all, thanks advanced ! This plugin help a lot of users to segment their services.

I was reading the code of this plugin, trying to create a fork to instead of restrict Categories by Group, I was trying to restrict by Entity.
(Im not dev, so Im justing use trial and error process)

We known that we can set categories by entities using Dynamic mode, but for MSPs it will be very useful If we can create a "GLOBAL CATEGORIES TREE" in the root entity in recursive mode and than each client should be set to wich categories they has signed.

So, we could represent our ITILCategories as our ServiceCatalog (Global) and than each Entity (Clients) Will just allowed consum the categories selected.

Error in simplified interface

I am using the plugin in a GLPI 10.0.7 installation, and for users belonging to a group that uses the simplified interface, it does not allow selecting the category when creating a ticket. Thank you for your assistance.

GLPI 9.5.X Porting ?

Hello,
I would like to know if a port was going to be done for the 9.5.X version ?
Best regards,

Alerte à l'installation

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

PHP User Warning (512): Usage of "utf8_unicode_ci" charset/collation detected, should be "utf8mb4_unicode_ci" in /var/www/glpidemo/html/src/DBmysql.php at line 2136
PHP Warning:  Usage of "utf8_unicode_ci" charset/collation detected, should be "utf8mb4_unicode_ci" in /var/www/glpidemo/html/src/DBmysql.php on line 2136
PHP User Warning (512): Usage of signed integers in primary or foreign keys is discouraged, please use unsigned integers instead in `glpi_plugin_groupcategory_groupcategories`.`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_groupcategory_groupcategories`.`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

Add localization support

In order to this plugin be useful for broader audience, it would be very helpful to be possible to localize it into other languages as well (especially English).

How to install?

Hi,
I unzipped the file in the ./plugins directory but the plugin did not appear in the glpi interface.

Problems v1.2.2

Groupcategory v1.2.2

  1. Child categories cannot be selected.
  2. In the created tickets, all categories are visible.
  3. It is not possible to change the category in an existing ticket (not an administrator)
    You don't have permission to perform this action.

GroupCategory v1.2

Hello.
GLPI v9.4.3
GroupCategory v1.2
The plugin does not work in Simplified interface, all categories are displayed.
In Standard interface, parent categories work, child categories are not selected.
Checked on a new installation, without additional plugins.

Settings not displayed

GLPI 9.4.3
groupcategory 1.2.1
Hi.
The settings of allowed / disallowed categories in the group are not displayed.
Снимок экрана в 2019-09-16 13-45-09

Now to install glpi 9.4

Hi. It is possible to install the plugin on GLPI 9.4?
Error:
[error] 7757#7757: *1805656 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function TableExists() in /var/www/glpi/plugins/groupcategory/hook.php:12 Stack trace: #0 /var/www/glpi/inc/plugin.class.php(493): plugin_groupcategory_install() #1 /var/www/glpi/front/plugin.form.php(47): Plugin->install('8') #2 {main}

[9.5.0] le plugin n'est pas conforme CSRF

//PHP 7.3.16 ; Centos 8.1 stable
//logs below

Unwanted current behavior:
When activating plugin : "Message n'est pas conforme CSRF" ; however if I enter the plugin name in the setup.php line 31 like this : $PLUGIN_HOOKS['csrf_compliant'][GroupCategory] = true;
Then the plugin activates but with the error messages below

Wanted proper behavior :
No error message when activating the plugin

Logs:
PHP Warning (2): Use of undefined constant GroupCategory - assumed 'GroupCategory' (this will throw an Error in a future version of PHP) in /home/newsurf9/glpidemo1/plugins/GroupCategory/setup.php at line 31
PHP Warning (2): Cannot modify header information - headers already sent by (output started at /home/newsurf9/glpidemo1/inc/application/errorhandler.class.php:364) in /home/newsurf9/glpidemo1/ajax/displayMessageAfterRedirect.php at line 37
PHP Warning (2): Cannot modify header information - headers already sent by (output started at /home/newsurf9/glpidemo1/inc/application/errorhandler.class.php:364) in /home/newsurf9/glpidemo1/inc/html.class.php at line 2203
PHP Warning (2): Cannot modify header information - headers already sent by (output started at /home/newsurf9/glpidemo1/inc/application/errorhandler.class.php:364) in /home/newsurf9/glpidemo1/inc/html.class.php at line 2204

Erreur lors de l'activation en ligne de commandes

Lorsque j'utilise la commande bin/console plugin:activate groupcategory pour activer le plugin, cela ne fonctionne pas et les messages suivants s'affichent:

Plugin "groupcategory" activation failed.
Plugin GroupCategory is not CSRF compliant!

Il est possible de contourner l'erreur en activant le plugin sur l'interface web (dans ConfigurationPlugins).

Il serait bienvenu de pouvoir activer ce plugin depuis la ligne de commandes.

Problème affichage dans ticket v1.2.3

GLPI 9.4.4
Bonjour,
A la création d'un ticket le choix de la catégorie fonctionne sans problème et l'attribue correctement au ticket.
Par contre, au niveau affichage, la 1ère catégorie de la liste est affichée et reprise à chaque enregistrement.
Ce qui est dérangent car il faut vérifier et remettre la catégorie à chaque fois que l'on veut éditer le ticket.
Cordialement,

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.