Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d2a048e
Fix header
Lainow Sep 15, 2025
da9563e
Add units tests and PR template
Lainow Sep 15, 2025
5dcb974
Update tests/units/ConfigTest.php
Lainow Sep 15, 2025
2b7ae74
Fix comments
Lainow Sep 15, 2025
95f0cd3
Fix units tests
Lainow Sep 15, 2025
4f2b093
Fix units tests
Lainow Sep 15, 2025
ca8b5c6
Fix phpstan
Lainow Sep 15, 2025
746ad07
Fix phpstan
Lainow Sep 15, 2025
f53756f
Fix phpstan and gitignore
Lainow Sep 16, 2025
bb315c9
Fix phpstan
Lainow Sep 16, 2025
4365e83
Fix phpstan
Lainow Sep 16, 2025
d51bbb3
Fix phpstan
Lainow Sep 16, 2025
08be56e
Fix phpstan
Lainow Sep 16, 2025
71ee797
Remove tests files
Lainow Sep 16, 2025
c84656d
Assign item group to technician group
Lainow Sep 18, 2025
f4e7aa4
Add mandatory field to change and problem
Lainow Sep 18, 2025
1f0d0d9
Add index
Lainow Sep 18, 2025
296e37e
Fix units tests
Lainow Sep 18, 2025
f12a2d2
Implement suggestions
Lainow Sep 18, 2025
f4becd5
Implement suggestions
Lainow Sep 18, 2025
9db8fec
Update src/Controller.php
Lainow Sep 22, 2025
298fa17
Implement assign technical group ans manager when category changed
Lainow Sep 22, 2025
f660911
Fix phpstan
Lainow Sep 23, 2025
3fcee53
Add recursivity
Lainow Sep 25, 2025
d305879
Fix lints
Lainow Sep 25, 2025
8e2674c
Fix php cs
Lainow Sep 25, 2025
20bbe93
FIx php units
Lainow Sep 25, 2025
4eec0e3
Merge branch 'main' into fix-recursivity
Lainow Oct 2, 2025
2c83424
Fix lint
Lainow Oct 2, 2025
7fb0d2e
Fix units tests
Lainow Oct 6, 2025
4c90d0b
Apply suggestions from code review
Lainow Oct 6, 2025
627def4
Fix units tests
Lainow Oct 6, 2025
8022516
Use getConfig
Lainow Oct 7, 2025
1a20c84
Update src/Config.php
Lainow Nov 13, 2025
0c0fe50
Fix units tests
Lainow Nov 27, 2025
f235b89
Fix units tests
Lainow Nov 27, 2025
edabf7a
Use createItem and updateItem
Lainow Nov 27, 2025
ea671a9
Fix units tests
Lainow Jan 9, 2026
ca3e88c
FIx units tests
Lainow Jan 9, 2026
9d674db
FIx units tests
Lainow Jan 9, 2026
a9c7ebb
Fix units tests
Lainow Jan 9, 2026
bddb736
Fix units tests
Lainow Jan 9, 2026
8a1eaac
Fix lint
Lainow Jan 9, 2026
6fc60fe
Merge branch 'main' into fix-recursivity
Lainow Jan 12, 2026
25f7f4b
Fix lint and Unit tests
Lainow Jan 27, 2026
88e70c8
Fix CI
Lainow Jan 27, 2026
571fe59
Implement suggestions
Lainow Jan 27, 2026
15effa9
Fix log define
Lainow Jan 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix header
  • Loading branch information
Lainow committed Sep 15, 2025
commit d2a048ecde0258202491495cc1e05ea4a53b0cc4
31 changes: 31 additions & 0 deletions hook.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
<?php

/**
* -------------------------------------------------------------------------
* MoreOptions plugin for GLPI
* -------------------------------------------------------------------------
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
* -------------------------------------------------------------------------
* @copyright Copyright (C) 2025 by the MoreOptions plugin team.
* @license MIT https://opensource.org/licenses/mit-license.php
* @link https://github.com/pluginsGLPI/moreoptions
* -------------------------------------------------------------------------
*/

use Glpi\Inventory\Conf;
use GlpiPlugin\Moreoptions\Config;

Expand Down