Commit Graph

109 Commits

Author SHA1 Message Date
m-lopez-f 7403890e6c Add selection modules in bulk operations: Add action alerts. 2017-01-12 15:51:59 +01:00
m-lopez-f 88879e8e6e Feature: Search by status module in bulk module delete/edit actions. Ticket: #4190 2016-11-17 12:55:29 +01:00
m-lopez-f 2437b0b81f Delete log lines 2016-09-19 10:46:12 +02:00
m-lopez-f 67e366cc9d Fixed javascript problems when configure ACL permmisions 2016-09-15 13:33:42 +02:00
m-lopez-f a0753238f7 When click in management permmision autoclicked in inferior options of same part. Ticket: #3912 2016-08-31 15:23:05 +02:00
Alejandro Gallardo Escobar 49d243b487 Fixed the error which prevented the opening of the QR dialog on the public console section
(cherry picked from commit 4cd2e7750b)
2016-06-09 17:01:22 +02:00
Alejandro Gallardo Escobar 6b8c92c6b3 Error fix 2016-05-24 16:33:32 +02:00
Alejandro Gallardo Escobar 732a651d6d Added a function to easily made a control which only appear on mouse move
(cherry picked from commit 8d69c50d4b6e23defd22eafe99aceeaf0e5927da)
2016-05-24 16:24:40 +02:00
mdtrooper 110241ecc8 Change the rossete icon for long strig module values in the console for a dialog. TICKET: #3019 2016-01-18 16:58:24 +01:00
mdtrooper 6105ed453e Fixed the javascript bug in get list of modules. 2015-08-14 11:42:42 +02:00
Alejandro Gallardo Escobar 8fb71f8413 Fixes and improvements in the use of agents and monitors multiselects 2015-08-05 10:39:16 +02:00
Alejandro Gallardo Escobar a7586d0a90 Fixed a SQL injection point and improved the code 2015-08-03 16:46:49 +02:00
Alejandro Gallardo Escobar ada30b1f03 Fixed a SQL injection point 2015-08-03 13:32:46 +02:00
Alejandro Gallardo Escobar a90111ac18 Restored the call 'get_agent_modules_json_for_multiple_agents' and improved their performance 2015-07-17 10:02:11 +02:00
Alejandro Gallardo Escobar a097aabf80 Replaced the use of the jQuery 'attr' function with the 'prop' function when using the 'selected' property.
The 'attr' function is going to be deprecated an may cause errors in Firefox.
2015-07-14 11:11:22 +02:00
mdtrooper 3d46327f55 Rewrote the ajax call 'get_agent_modules_json_for_multiple_agents' for to run with the agents cache in new metaconsole in 6 version. 2015-07-08 16:40:12 +02:00
mdtrooper 0952b96b49 Added the option 'last value' for the items 'general' and 'exception' in reports. TICKET: #1819 2015-02-23 13:43:26 +01:00
mdtrooper 2842970c83 Added feature of custom post process values. TICKET: #1743 2015-02-09 19:35:03 +01:00
Alejandro Gallardo Escobar 1fd8a8957b Added new functions to add or delete the tinymce editor with an element id 2015-02-04 16:20:20 +01:00
mdtrooper 531a7750bb First commit with the new feature for massive operations intags. Ticket: #1632 2015-01-21 18:58:17 +01:00
Alejandro Gallardo Escobar 4cbc91d24e Added the function "openURLTagWindow" 2014-10-20 13:11:38 +02:00
mdtrooper a3d27b749c 2014-05-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php,
	godmode/setup/setup_visuals.php, include/functions_config.php,
	include/config_process.php, include/functions_ui.php,
	include/javascript/qrcode.js, include/javascript/pandora.js,
	operation/visual_console/public_console.php, images/qrcode_icon.jpg,
	general/header.php: added the feature to show the QR code of the
	pages for to make for example sticker for the fisical machines or
	other things.
	
	Incident: #818




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 10:51:33 +00:00
zarzuelo 288a4789f7 2014-05-08 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php
	godmode/menu.php
	godmode/massive/massive_operations.php
	include/javascript/pandora.js: Add massive operation for
	satellite agents threshold edition. This is the part on the 
	open side that hooks with enterprise code.

	* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
	extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
	extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
	pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: 
	images/networkmap/satellite.png
	images/os_icons/satellite_small.png
	images/os_icons/satellite.png
	images/op_satellite.png: Add icon to satellite OS



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-08 07:54:51 +00:00
zarzuelo e3b9d4e77f 2013-12-13 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Added auto scroll
	and resizable attributes to module graphs pop up
	to improve usability with zoomed graphs.
	Incident: #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-13 08:47:05 +00:00
zarzuelo d1789ba232 2013-12-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/javascript/pandora.js
	include/styles/pandora.css
	operation/agentes/stat_win.php: A lot of fixes on the
	javascript graphs to be shown correctly in IE. Tested
	and working fine on IE9 with compatibility mode on.
	Incident: #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-12 14:49:36 +00:00
zarzuelo 87e9e7fc48 2013-11-12 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fix ugly chars in the
	title of the many select options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-12 12:21:22 +00:00
mdtrooper c0cf75417c 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* index.php, include/javascript/pandora.js: fixed code style.
	
	* godmode/massive/massive_edit_modules.php: fixed the javascript
	that showed some rows before to select modules to edit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 09:29:36 +00:00
mdtrooper c7e78e0190 2013-07-30 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/networkmap.php, godmode/users/user_list.php,
	include/javascript/pandora.js,
	include/javascript/openlayers.pandora.js,
	include/functions_snmp_browser.php, include/api.php,
	include/functions_api.php, operation/snmpconsole/snmp_browser.php,
	operation/agentes/networkmap.dinamic.php: improved the source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-30 10:25:49 +00:00
mdtrooper 0875fb0af9 2013-07-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
	include/javascript/jquery.pandora.controls.js: improved the
	functions to pass the php vars to js, now it supports json.
	
	* include/javascript/d3.v3.js: added this library for to make
	beautiful things.
	
	* include/functions_ui.php, include/graphs/fgraph.php,
	include/javascript/pandora_events.js, include/javascript/pandora.js,
	include/functions_treeview.php,
	include/include_graph_dependencies.php,
	include/functions_categories.php, include/db/postgresql.php,
	include/db/oracle.php, include/db/mysql.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-16 14:13:23 +00:00
zarzuelo 836417756b 2013-04-29 Sergio Martin <sergio.martin@artica.es>
* include/functions.php
	include/javascript/pandora_modules.js
	include/javascript/pandora.js
	index.php
	ajax.php: Added a simple system of interchange of
	data from php to javascript with invisible divs.
	Fixed ajax call of server plugin components macros
	for bug 3612145



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-29 08:59:03 +00:00
mdtrooper dc569d5bbe 2013-04-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: set the title for the large
	modules.
	
	Fixes: #3609509




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:14:51 +00:00
zarzuelo 637521475a 2013-02-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora.js
	operation/agentes/estado_generalagente.php: Improve agent view
	interface, work in hidden menus to improve more the graphs 
	layout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:48:10 +00:00
mdtrooper feb89b87f0 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* general/shortcut_bar.php, godmode/alerts/alert_actions.php,
	godmode/category/edit_category.php, include/functions_reports.php,
	include/db/postgresql.php, include/functions_gis.php,
	include/functions_treeview.php,
	include/functions_network_components.php: improved the code style.
	
	* include/javascript/pandora.js: in function
	"agent_changed_by_multiple_agents" added hook for to call any
	function when loaded the module list. (now used in the wizzard
	of reports in enterprise).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 12:31:32 +00:00
juanmanuelr 478de7caf3 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Added new column email to ttag table.


	* include/styles/pandora.css: Fixed loading class.

	* include/functions_api.php: Fixed get_all_agents api function. 
	 
	* include/functions_ui.php
	include/javascript/pandora.js: Improvement in agent_autocomplete
	function.
	
	* operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixes in report
	viewer for metaconsole.
	
	* godmode/tag/tag.php
	godmode/tag/edit_tag.php: Added email fields in editors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 08:01:28 +00:00
mdtrooper 4775f4268c 2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed lost var id_server.
	
	* operation/agentes/ver_agente.php: fixed call of get modules for
	to get modules.
	
	* godmode/reporting/visual_console_builder.php: fixed lost var.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed check
	the var metaconsole in firefox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:40:30 +00:00
juanmanuelr 8f88287bdf 2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php
	include/functions_ui.php
	include/javascript/pandora.js
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/alerts/alert_list.builder.php
	godmode/users/user_list.php
	godmode/users/profile_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php: Added user and alert editor
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 17:39:48 +00:00
mdtrooper 57be759cea 2012-12-11 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
	"tlayout_data" added the column "id_metaconsole" for to show
	visualmaps in the metaconsole.
	
	* operation/visual_console/render_view.php,
	include/functions_visual_map.php, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/agent.php, include/functions_visual_map_editor.php,
	
	
	* operation/agentes/datos_agente.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/functions_ui.php: in function 
	"ui_require_javascript_file_enterprise" fixed when need a
	enterprise javascript instead metaconsole enterprise path.
	
	* include/javascript/pandora.js: fixed the function
	"agent_changed_by_multiple_agents" that needs in the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 15:01:45 +00:00
slerena 74634b8676 2012-12-09 Sancho Lerena <slerena@artica.es>
Ported new feature (Command Snapshot) from 4.0.3 code.

        *  include/javascript/pandora.js: Added new javascript function
        to open a generic URL with custom width / height.

        * operation/agentes/snapshot_view.php: New feature for command
        snapshot rendering.

        * operation/agentes/datos_agente.php,
        operation/agentes/estado_monitores.php: Changes for new feature
        command snapshot monitoring.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-09 22:31:29 +00:00
juanmanuelr 5f73897a4f 2012-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js
	 operation/agentes/ver_agente.php: Fixed multiselect in wizards 
	 of Pandora Console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 18:04:57 +00:00
mdtrooper f24f80c3b4 2012-09-20 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_api.php: cleaned
	source code style. And erased deprecated functions.
	
	* include/functions_ui.php: I hope that is finished the changes for
	the function "ui_print_agent_autocomplete_input" (at the moment) and
	added a huge header doc on the function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-20 13:45:23 +00:00
mdtrooper 38411e1f7c 2012-09-14 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: cleaned source code
	style.
	
	* godmode/agentes/module_manager_editor_prediction.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-14 17:54:33 +00:00
mdtrooper 8afc508476 2012-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident_detail.php,
	operation/agentes/exportdata.php, operation/events/events_list.php,
	operation/events/events.php, godmode/events/event_edit_filter.php,
	godmode/massive/massive_edit_agents.php, include/functions_api.php,
	include/constants.php, include/javascript/pandora.js,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 17:47:21 +00:00
mdtrooper 22aee5956d 2012-09-12 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php,
	operation/incidents/incident_detail.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* godmode/agentes/agent_manager.php: erased unused source code for
	old ajax call, and started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* operation/agentes/exportdata.php: erased duplicated source code
	for call ajax, and rewrote some javascript to use same page to
	ajax.
	
	* godmode/alerts/alert_list.builder.php,
	godmode/events/event_edit_filter.php,
	godmode/reporting/visual_console_builder.editor.js: rewrote some
	javascript to use same page to ajax.
	
	* include/ajax/agent.php: cleaned source code style.
	
	* include/functions_ui.php: removed the old unused code as
	the functions "ui_print_ui_agents_list" and "ui_popup_help". And
	added the first version of "ui_print_agent_autocomplete_input", and
	this function maybe will be changing for a some time.
	
	* include/functions_html.php: into the function
	"html_print_input_text_extended" added code to use the $alt
	parameter (never it have been used before) and added the function
	"html_print_input_hidden_extended" with more parameters than the
	simple "html_print_input_hidden" function.
	
	* include/javascript/pandora.js: marked as Deprecated the function
	"agent_module_autocomplete".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 15:53:58 +00:00
juanmanuelr 5dc689693e 2012-09-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php
	 operation/reporting/reporting_viewer.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/reporting_builder.item_editor.php: Urls 
	 compatible with reverse proxy functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 19:16:11 +00:00
mdtrooper 575b4a39ab 2012-09-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_ui.php,
	include/functions_html.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 15:51:47 +00:00
juanmanuelr b391b9f1de 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php: Fixes in global, exception and sla
	 metaconsole reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 13:38:05 +00:00
juanmanuelr d265738e99 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js: Fix over agent_module_autocomplete
	function due to problems with Chrome.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 12:54:02 +00:00
juanmanuelr e302839db0 2012-09-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/graphs/fgraph.php
	include/functions_reporting.php
	include/javascript/pandora.js
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/ver_agente.php
	operation/reporting/reporting_viewer.php
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	general/header.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Integration of reports
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-07 12:01:23 +00:00
mdtrooper 3e09903967 2012-08-29 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	include/db/mysql.php,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/planned_downtime.list.php,
	godmode/agentes/planned_downtime.editor.php, godmode/menu.php,
	include/ajax/planned_downtime.ajax.php: refactoriced the code for
	planned downtime, now this have new feature such as set a downtime
	with a periodicity each week, each month and set the agents and
	the modules with Quiet state instead the old form (but the old still
	is). And the page is more easy and quickly to set or config a
	planned downtime.
	
	* godmode/alerts/configure_alert_template.php,
	include/javascript/pandora.js: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-29 09:46:05 +00:00
zarzuelo b9fa8a5a49 2012-08-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_groups.php
	include/javascript/pandora.js: Fix minor issues
	in the select for time advanced control. Improve some
	functions to use from metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-09 11:45:33 +00:00