.po
6 | source_file = locales/mreporting.pot
7 | source_lang = en
8 | type = PO
9 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to this project will be documented in this file.
4 |
5 | The format is based on [Keep a Changelog](http://keepachangelog.com/)
6 | and this project adheres to [Semantic Versioning](http://semver.org/).
7 |
8 | ## [1.8.7] - 2025-01-29
9 |
10 | ### Fixed
11 |
12 | - Remove the message about a deprecated php function in debug mode
13 |
14 | ## [1.8.6] - 2024-02-13
15 |
16 | ### Added
17 |
18 | - Slovak locale and reports translations
19 |
20 | ## [1.8.5] - 2023-10-19
21 |
22 | ### Fixed
23 |
24 | - No data displayed when using "week" period
25 |
26 | ## [1.8.4] - 2023-10-11
27 |
28 | ### Fixed
29 |
30 | - Error during migration
31 |
32 | ## [1.8.3] - 2023-09-14
33 |
34 | ### Added
35 |
36 | - Japanese (Japan) locale
37 | - Spanish (Ecuador) locale
38 | - Polish translations for reports
39 |
40 | ### Fixed
41 |
42 | - Wrong entity filtering in `reportHbarComputersByEntity`
43 | - Undefined index `f_name`
44 |
45 | ## [1.8.2] - 2022-09-29
46 |
47 | ### Fixed
48 |
49 | - Display all windows distributions
50 |
51 | ## [1.8.1] - 2022-08-22
52 |
53 | ### Fixed
54 |
55 | - Prevent useless DB queries on plugin state checks
56 | - Missing title breaks menu
57 |
58 | ## [1.8.0] - 2022-04-20
59 |
60 | ### Added
61 |
62 | - GLPI 10.0 compatibility
63 |
64 | ## [1.7.4] - 2022-03-01
65 |
66 | ### Added
67 |
68 | - Spanish (Venezuela) locale
69 |
70 | ## [1.7.3] - 2021-04-27
71 |
72 | ### Fixed
73 |
74 | - Deprecated usage of `$order` param in `getAllDataFromTable()`
75 |
76 | ## [1.7.2] - 2021-03-09
77 |
78 | ### Fixed
79 |
80 | - Unable to install from marketplace
81 |
82 | ## [1.7.1] - 2020-12-18
83 |
84 | ### Fixed
85 |
86 | - OpenSuse not included in Linux category for ComputerByOS report
87 |
88 | ## [1.7.0] - 2020-07-07
89 |
90 | ### Added
91 |
92 | - GLPI 9.5 compatibility
93 | - Croatian (Croatia) locale
94 |
95 | ### Fixed
96 |
97 | - Load of JS/CSS resources only when needed
98 | - Autocompletion fields whitelist
99 |
100 | ## [1.6.1] - 2019-02-15
101 |
102 | ### Fixed
103 |
104 | - Icons not displayed
105 |
106 | ## [1.6.0] - 2018-12-10
107 |
108 | ### Added
109 |
110 | - GLPI 9.4 compatibility
111 |
112 | ## [1.5.3] - 2018-10-26
113 |
114 | ### Fixed
115 |
116 | - SQL error on update process on MySQL 5.7
117 | - Useless rights management for simplified profiles
118 | - Missing reports in select list
119 | - Missing javascript loading
120 |
121 | ## [1.5.2] - 2018-09-04
122 |
123 | ### Added
124 |
125 | - Chinese locale
126 |
127 | ### Changed
128 |
129 | - Use InnoDB as DB table engine
130 |
131 | ### Fixed
132 |
133 | - Display of `Windows 10` in inventory report
134 | - Usage of methods deprecated in GLPI 9.3
135 |
136 | ## [1.5.1] - 2018-07-06
137 |
138 | ### Fixed
139 |
140 | - Finnish (Finland) locale
141 | - Undefined index in profile form
142 |
143 | ## [1.5.0] - 2018-06-28
144 |
145 | ### Added
146 |
147 | - GLPI 9.3 compatibility
148 |
149 | ### Fixed
150 |
151 | - Usage of deprecated `each` PHP function
152 |
153 | ## [1.4.1] - 2018-06-21
154 |
155 | ### Added
156 |
157 | - Czech, German and Portuguese translations
158 |
159 | ### Fixed
160 |
161 | - Error while using `GLPI` graphtype
162 | - Deprecated calls to NotificationTarget class
163 | - Deprecated usage of `fieldExists()`
164 | - Notifications not working on GLPI 9.2
165 | - Compatibility check for GLPI < 9.2
166 |
167 | ## [1.4.0] - 2017-09-22
168 |
169 | ### Added
170 |
171 | - GLPI 9.2 compatibility
172 |
173 | ## [1.3.1] - 2016-11-18
174 |
175 | ### Fixed
176 |
177 | - Bad comparaison in Nb tickets per SLA bug (thanks to awslgr)
178 | - Review dashboard feature on helpdesk interface
179 | - Remove require `GLPI_PHPMAILER_DIR`
180 | - Selection from the dropdown itilcategory (thanks to myoaction)
181 | - Don't use Templates and Deleted computers (thanks to johannsan)
182 | - Error Ext on GLPI 0.90 (thanks to tsmr - Infotel Conseil)
183 | - Queries filtered by status for inventory reporting (thanks to sebfun)
184 |
185 | ## [1.3.0] - 2016-10-17
186 |
187 | ### Added
188 |
189 | - GLPI 9.1 compatibility
190 |
191 | ### Fixed
192 |
193 | - Fix SLA graph
194 | - Fix manufacturer graph
195 | - Prevent not logged in users to display graphs
196 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # More reporting GLPI plugin
2 |
3 | [](https://gitter.im/TECLIB/mreporting?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4 |
5 | 
6 |
7 | * Download : https://github.com/PluginsGLPI/mreporting/releases
8 | * Translations on Transifex service : https://explore.transifex.com/teclib/glpi-project-plugin-mreporting/
9 | * WIKI (Develop new reports) : https://github.com/PluginsGLPI/mreporting/wiki
10 |
11 | ## Contributing
12 |
13 | * Open a ticket for each bug/feature so it can be discussed
14 | * Follow [development guidelines](http://glpi-developer-documentation.readthedocs.io/en/latest/plugins/index.html)
15 | * Refer to [GitFlow](http://git-flow.readthedocs.io/) process for branching
16 | * Work on a new branch on your own fork
17 | * Open a PR that will be reviewed by a developer
18 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | **⚠️ Please never use standard issues to report security problems; vulnerabilities are published once a fix release is available. ⚠️**
4 |
5 | ## Reporting a Vulnerability
6 |
7 | If you found a security issue, please contact us by:
8 |
9 | - [our huntr page](https://huntr.dev/repos/pluginsGLPI/mreporting/)
10 | - a mail to \[glpi-security AT ow2.org\]
11 |
12 | You should provide us all details about the issue and the way to reproduce it.
13 | You may also provide a script that can be used to check the issue exists.
14 |
15 | Once the report will be handled, and if the issue is not yet fixed (or in progress)
16 | we'll add it to the GitHub security tab, and add you as observer. Meanwhile,
17 | you will reserve a CVE for the issue.
18 |
19 | Thank you for improving the security of GLPI and its plugins.
20 |
21 | ## Supported Versions
22 |
23 | We follow the same version support policy as GLPI.
24 | This means that we provide security patches to versions of the plugin that target a version of GLPI itself maintained from a security point of view.
25 |
--------------------------------------------------------------------------------
/ajax/common.tabs.php:
--------------------------------------------------------------------------------
1 | .
24 | * -------------------------------------------------------------------------
25 | * @copyright Copyright (C) 2003-2023 by Mreporting plugin team.
26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
27 | * @link https://github.com/pluginsGLPI/mreporting
28 | * -------------------------------------------------------------------------
29 | */
30 |
31 | include('../../../inc/includes.php');
32 | header('Content-Type: text/html; charset=UTF-8');
33 | Html::header_nocache();
34 |
35 | Session::checkLoginUser();
36 |
37 | $common = new PluginMreportingCommon();
38 | $common->showCentral($_REQUEST);
39 |
40 | Html::ajaxFooter();
41 |
--------------------------------------------------------------------------------
/ajax/dashboard.php:
--------------------------------------------------------------------------------
1 | .
24 | * -------------------------------------------------------------------------
25 | * @copyright Copyright (C) 2003-2023 by Mreporting plugin team.
26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
27 | * @link https://github.com/pluginsGLPI/mreporting
28 | * -------------------------------------------------------------------------
29 | */
30 |
31 | include('../../../inc/includes.php');
32 | Html::header_nocache();
33 |
34 | Session::checkLoginUser();
35 |
36 | if (isset($_REQUEST['action'])) {
37 | switch ($_REQUEST['action']) {
38 | case 'removeReportFromDashboard':
39 | PluginMreportingDashboard::removeReportFromDashboard($_REQUEST['id']);
40 | break;
41 |
42 | case 'updateWidget':
43 | PluginMreportingDashboard::updateWidget($_REQUEST['id']);
44 | break;
45 |
46 | case 'getConfig':
47 | PluginMreportingDashboard::getConfig();
48 | break;
49 |
50 | case 'centralDashboard':
51 | Html::includeHeader();
52 | echo '';
53 | $dashboard = new PluginMreportingDashboard();
54 | $dashboard->showDashboard(false);
55 |
56 | //load protovis lib for dashboard render
57 | $version = Plugin::getInfo('mreporting', 'version');
58 | $php_dir = Plugin::getPhpDir('mreporting', false);
59 | echo Html::script($php_dir . '/lib/protovis/protovis.js', ['version' => $version]);
60 |
61 | Html::popFooter();
62 | break;
63 |
64 | default:
65 | echo 0;
66 | }
67 | } else {
68 | echo 'No action defined';
69 | }
70 |
--------------------------------------------------------------------------------
/ajax/dropdownExport.php:
--------------------------------------------------------------------------------
1 | .
24 | * -------------------------------------------------------------------------
25 | * @copyright Copyright (C) 2003-2023 by Mreporting plugin team.
26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html
27 | * @link https://github.com/pluginsGLPI/mreporting
28 | * -------------------------------------------------------------------------
29 | */
30 |
31 | include('../../../inc/includes.php');
32 | header('Content-Type: text/html; charset=UTF-8');
33 | Html::header_nocache();
34 |
35 | Session::checkLoginUser();
36 |
37 | if (
38 | isset($_POST['ext'])
39 | && !empty($_POST['ext'])
40 | ) {
41 | if ($_POST['ext'] == 'odt') {
42 | echo ' ';
43 | $option = [];
44 | $option[1] = __('With data', 'mreporting');
45 | $option[0] = __('Without data', 'mreporting');
46 | Dropdown::showFromArray('withdata', $option, []);
47 | }
48 |
49 | if ($_POST['ext'] == 'svg') {
50 | //close previous form
51 | Html::Closeform();
52 |
53 | $randname = $_POST['randname'];
54 | echo "