Skip to content

Commit

Permalink
update licence header and use completename field for entity info in c…
Browse files Browse the repository at this point in the history
…ron taks

fixes #20
  • Loading branch information
Philippe GODOT committed Dec 19, 2023
1 parent edcef5a commit 3710c89
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 41 deletions.
4 changes: 2 additions & 2 deletions ajax/get_renewal_tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions ajax/get_tickets_actiontime.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions front/config.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions front/contract.form.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions front/projecttask.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/contract.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/contractQuotaAlert.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/entity.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/projecttask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions inc/state.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
8 changes: 4 additions & 4 deletions inc/task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down Expand Up @@ -861,7 +861,7 @@ public static function cronAlertContractsToRenew($task = null) {
$entity = new Entity();
$entity->getFromDB($contract_data['contract']->fields['entities_id']);
$html_parts[] = '<strong>' . __('Entity') . '</strong> : ';
$html_parts[] = $entity->fields['name'];
$html_parts[] = $entity->fields['completename'];
$html_parts[] = '<br />' . "\n";

$bridge_contract = new PluginProjectbridgeContract($contract_data['contract']);
Expand Down Expand Up @@ -967,7 +967,7 @@ public static function cronAlertContractsOverQuota($task = null) {
$entity = new Entity();
$entity->getFromDB($contract_data['contract']->fields['entities_id']);
$html_parts[] = '<strong>' . __('Entity') . '</strong> : ';
$html_parts[] = $entity->fields['name'];
$html_parts[] = $entity->fields['completename'];
$html_parts[] = '<br />' . "\n";
$html_parts[] = '</li>' . "\n";
}
Expand Down
4 changes: 2 additions & 2 deletions inc/ticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions js/projectbridge.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
5 changes: 5 additions & 0 deletions projectbridge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/Probesys/glpi-plugins-projectbridge/releases/download/v2.7.7/projectbridge-2.7.7.tbz</download_url>
</version>
<version>
<num>2.7.8</num>
<compatibility>~10.0.0</compatibility>
<download_url>https://github.com/Probesys/glpi-plugins-projectbridge/releases/download/v2.7.8/projectbridge-2.7.8.tbz</download_url>
</version>
</versions>
<langs>
<lang>fr_FR</lang>
Expand Down
4 changes: 2 additions & 2 deletions scripts/link_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
4 changes: 2 additions & 2 deletions scripts/tasks_set_percent_done.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand Down
6 changes: 3 additions & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
*
* This file is part of projectBridge.
*
* rgpdTools is free software; you can redistribute it and/or modify
* projectBridge 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 3 of the License, or
* (at your option) any later version.
*
* rgpdTools is distributed in the hope that it will be useful,
* projectBridge 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.
Expand All @@ -29,7 +29,7 @@
*/


define('PLUGIN_PROJECTBRIDGE_VERSION', '2.7.7');
define('PLUGIN_PROJECTBRIDGE_VERSION', '2.7.8');

define('PLUGIN_PROJECTBRIDGE_MIN_GLPI_VERSION', '10.0');
define('PLUGIN_PROJECTBRIDGE_MAX_GLPI_VERSION', '11.0');
Expand Down
4 changes: 2 additions & 2 deletions tools/HEADER
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

This file is part of projectBridge.

rgpdTools is free software; you can redistribute it and/or modify
projectBridge 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 3 of the License, or
(at your option) any later version.

rgpdTools is distributed in the hope that it will be useful,
projectBridge 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.
Expand Down

0 comments on commit 3710c89

Please sign in to comment.