-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodule.combodo-tawk-integration.php
More file actions
64 lines (59 loc) · 1.95 KB
/
module.combodo-tawk-integration.php
File metadata and controls
64 lines (59 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* Copyright (C) 2013-2020 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
*/
/** @noinspection PhpUnhandledExceptionInspection */
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'combodo-tawk-integration/1.1.2',
array(
// Identification
//
'label' => 'Chat integration with tawk.to',
'category' => 'integration',
// Setup
//
'dependencies' => array(
// Dependency on request management must remain optional as we might want the chat widget only and not the ticket creation feature.
// That's why we put a module that is always present (itop-config-mgmt for iTop 2.7, itop-structure for iTop 3.0+) in the expression, to keep the itop-request-mgmt|-itil] optional
'itop-config-mgmt/3.0.0||itop-structure/3.0.0||itop-request-mgmt/3.0.0||itop-request-mgmt-itil/3.0.0',
),
'mandatory' => false,
'visible' => true,
// Components
//
'datamodel' => array(
// Module's autoloader
'vendor/autoload.php',
// Explicitly load APIs classes
'src/Hook/ConsoleTalkScriptExtension.php',
'src/Hook/PortalUIExtension.php',
),
'webservice' => array(),
'dictionary' => array(
),
'data.struct' => array(),
'data.sample' => array(),
// Documentation
//
'doc.manual_setup' => '',
'doc.more_information' => '',
// Default settings
//
'settings' => array(),
)
);