Skip to content

Commit

Permalink
Implement new guidelines to build an extension
Browse files Browse the repository at this point in the history
1.0.0 version
  • Loading branch information
xtophe38 committed Mar 8, 2021
1 parent af5392e commit c0a486c
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 64 deletions.
Binary file added teemip-ip-discovery/asset/img/binoculars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teemip-ip-discovery/asset/img/ipmini-lookup-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teemip-ip-discovery/asset/img/ipmini-ping-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added teemip-ip-discovery/asset/img/ipmini-scan-xs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions teemip-ip-discovery/datamodel.teemip-ip-discovery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<attribute id="org_id"/>
</attributes>
</reconciliation>
<icon>images/binoculars.png</icon>
<icon>asset/img/binoculars.png</icon>
</properties>
<fields>
<field id="last_discovery_date" xsi:type="AttributeDateTime">
Expand Down Expand Up @@ -826,7 +826,7 @@
<dashlet id="teemip-disc-104" xsi:type="DashletHeaderStatic">
<rank>0</rank>
<title>Menu:IPDiscovery:IPv4Statistics</title>
<icon>teemip-ip-mgmt/images/ipaddress.png</icon>
<icon>teemip-ip-mgmt/asset/img/ipaddress.png</icon>
</dashlet>
</dashlets>
</cell>
Expand All @@ -843,7 +843,7 @@
<dashlet id="teemip-disc-302" xsi:type="DashletHeaderDynamic">
<rank>1</rank>
<title>Menu:IPDiscovery:IPv4Ping</title>
<icon>teemip-ip-discovery/images/ipmini-ping-xs.png</icon>
<icon>teemip-ip-discovery/asset/img/ipmini-ping-xs.png</icon>
<subtitle>By status</subtitle>
<query>SELECT IPv4Address WHERE responds_to_ping = 'yes'</query>
<group_by>status</group_by>
Expand All @@ -852,7 +852,7 @@
<dashlet id="teemip-disc-303" xsi:type="DashletHeaderDynamic">
<rank>2</rank>
<title>Menu:IPDiscovery:IPv4Scan</title>
<icon>teemip-ip-discovery/images/ipmini-scan-xs.png</icon>
<icon>teemip-ip-discovery/asset/img/ipmini-scan-xs.png</icon>
<subtitle>By status</subtitle>
<query>SELECT IPv4Address WHERE responds_to_scan = 'yes'</query>
<group_by>status</group_by>
Expand All @@ -861,7 +861,7 @@
<dashlet id="teemip-disc-304" xsi:type="DashletHeaderDynamic">
<rank>3</rank>
<title>Menu:IPDiscovery:IPv4Lookup</title>
<icon>teemip-ip-discovery/images/ipmini-lookup-xs.png</icon>
<icon>teemip-ip-discovery/asset/img/ipmini-lookup-xs.png</icon>
<subtitle>By status</subtitle>
<query>SELECT IPv4Address WHERE responds_to_iplookup = 'yes'</query>
<group_by>status</group_by>
Expand Down
21 changes: 2 additions & 19 deletions teemip-ip-discovery/de.dict.teemip-ip-discovery.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
<?php
// Copyright (C) 2016 TeemIp
//
// This file is part of TeemIp.
//
// TeemIp 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.
//
// TeemIp 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
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>

/**
* @copyright Copyright (C) 2016 TeemIp
/*
* @copyright Copyright (C) 2021 TeemIp
* @license http://opensource.org/licenses/AGPL-3.0
*/

Expand Down
21 changes: 2 additions & 19 deletions teemip-ip-discovery/en.dict.teemip-ip-discovery.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
<?php
// Copyright (C) 2016 TeemIp
//
// This file is part of TeemIp.
//
// TeemIp 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.
//
// TeemIp 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
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>

/**
* @copyright Copyright (C) 2016 TeemIp
/*
* @copyright Copyright (C) 2021 TeemIp
* @license http://opensource.org/licenses/AGPL-3.0
*/

Expand Down
21 changes: 2 additions & 19 deletions teemip-ip-discovery/fr.dict.teemip-ip-discovery.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
<?php
// Copyright (C) 2016 TeemIp
//
// This file is part of TeemIp.
//
// TeemIp 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.
//
// TeemIp 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
// along with TeemIp. If not, see <http://www.gnu.org/licenses/>

/**
* @copyright Copyright (C) 2016 TeemIp
/*
* @copyright Copyright (C) 2021 TeemIp
* @license http://opensource.org/licenses/AGPL-3.0
*/

Expand Down
9 changes: 7 additions & 2 deletions teemip-ip-discovery/module.teemip-ip-discovery.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<?php
/*
* @copyright Copyright (C) 2021 TeemIp
* @license http://opensource.org/licenses/AGPL-3.0
*/

SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'teemip-ip-discovery/0.6.0',
'teemip-ip-discovery/1.0.0',
array(
// Identification
//
Expand All @@ -11,7 +16,7 @@
// Setup
//
'dependencies' => array(
'teemip-ip-mgmt/2.6.0',
'teemip-ip-mgmt/2.7.1',
),
'mandatory' => false,
'visible' => true,
Expand Down

0 comments on commit c0a486c

Please sign in to comment.