Commit Graph

4517 Commits

Author SHA1 Message Date
zarzuelo 06b8dca841 2013-01-09 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	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:
	Add profile tags to the database structure

	* include/ajax/events.php
	include/functions.php
	include/functions_events.php
	include/functions_reporting.php
	include/functions_treeview.php
	include/functions_profile.php
	include/constants.php
	include/functions_tags.php
	operation/tree.php
	operation/users/user_edit.php
	operation/events/events_list.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	godmode/users/configure_user.php: Add new acl control with
	tags in events and tree views. Fix a lot of little bugs like ACLs
	in tree view (tags mode), add the tags mode on tree view of the normal 
	console, pass the ACL flag to some forgotten functions, etc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 09:25:07 +00:00
jsatoh 96bf87b9f2 2013-01-09 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_reporting_advanced_tab.php: Translated
	description for _REPORT_NAME_ into Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 07:18:38 +00:00
hkosaka 6d19ff0a33 2013-01-09 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions.php: Fixed that the console sometimes shows
	negative timestamp (e.g. '-2 sec') when using 'comparison in
	roll-over' format.  Merged from 4.0.x.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 01:48:47 +00:00
darode 1432549594 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* extensions/system_info.php: Added link to download System info file.

	MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 17:50:54 +00:00
juanmanuelr a08e754be1 2013-01-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/agent_template.php: Fixed duplication of modules
	when template is applied several times. 
	
	Bug id: #3599442



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 15:59:23 +00:00
juanmanuelr 347de55742 2013-01-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/agent_template.php: Fixed duplication of modules
	when template is applied several times. 
	
	Bug id: #3599442



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 15:36:33 +00:00
darode a5b80601d7 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/module_manager.php: changed text from Libray to Library



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 11:19:20 +00:00
darode ff95b38e9a 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/module_manager.php: Fixed a problem with link to module
	library because in trunk version there is an additional field to search
	modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 11:17:16 +00:00
darode 366deb9a91 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/reporting_builder.php: Added a default cover
	for PDF reports.
	include/help/ja/help_reporting_advanced_tab.php,
	include/help/en/help_reporting_advanced_tab.php,
	include/help/es/help_reporting_advanced_tab.php: Documented new macro
	called REPORT_NAME

	MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 11:05:14 +00:00
darode ac64dba549 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/module_manager.php: Added a link to module library
	in create module view.

	MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 08:32:44 +00:00
hkosaka f707b132c1 2013-01-07 Hirofumi Kosaka <kosaka@rworks.jp>
* godmode/reporting/graph_builder.php: Fixed bug that
	unspecified graph name was displayed in the header line
	when creating a new custom graph. Merged from branch 4.0.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-07 09:59:56 +00:00
jsatoh a39341cfd6 2013-01-07 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Added macro _email_tag_.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-07 08:53:53 +00:00
slerena cce38470cc 2013-01-05 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Fixed footer problem
        in Chrome. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-05 12:37:16 +00:00
juanmanuelr 1cdc8ef15f 2013-01-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Removed php notice in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-04 11:30:55 +00:00
juanmanuelr f2c453bd9a 2013-01-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_alert_macros.php
	 include/help/es/help_alert_macros.php: Added macro _email_tag_
	 to these help screens.
	* include/functions_reports.php: Added exception to templates when
	report types are displayed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-04 09:58:13 +00:00
mdtrooper 805cfcf46d 2013-01-03 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/resource_exportation.php,
	operation/events/event_statistics.php,
	operation/events/events_list.php,
	operation/reporting/reporting_viewer.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_alerts.php, include/functions_reports.php,
	include/functions_events.php, include/graphs/fgraph.php,
	include/functions_graph.php, include/styles/pandora.css,
	include/functions_reporting.php, include/functions_agents.php: a lot
	of changes and fixes from the branch for the reports.
	
	MERGED FROM PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-03 18:52:21 +00:00
juanmanuelr 739cf37f34 2013-01-02 Juan Manuel Ramon <juanmanuel.ramon@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: Added email
	 field to ttag table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-02 12:26:48 +00:00
juanmanuelr 415dd9901b 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/tag/tag.php
	 godmode/tag/edit_tag.php: Tag editor compatible with metaconsole.
	 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 09:02:10 +00:00
juanmanuelr 2d0eeb0720 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.php: Fixes in template
	metaconsole editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 08:41:52 +00:00
juanmanuelr 5b861cd064 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
zarzuelo 56e32fd698 2012-12-28 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_users.php
	include/functions_visual_map.php
	include/ajax/skins.ajax.php
	include/ajax/events.php
	include/functions_custom_graphs.php
	include/functions.php
	include/functions_agents.php
	include/functions_graph.php
	include/functions_events.php
	include/functions_reporting.php
	include/functions_config.php
	include/functions_reports.php
	operation/visual_console/render_view.php
	operation/agentes/exportdata.php
	operation/menu.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/reporting/reporting_viewer.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	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/main_menu.php
	godmode/menu.php
	godmode/events/event_edit_filter.php
	godmode/events/events.php
	godmode/events/event_filter.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/graphs.php: Change all the event and reporting
	acl control to new flags ER,EW,EM,RR,RW,RM



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-28 17:06:17 +00:00
juanmanuelr 2c3efcf892 2012-12-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php: Hide inventory changes report in
	temaplate functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-27 10:16:21 +00:00
hkosaka ce46a1fbec 2012-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* general/logon_ok.php: Fixed typo. (fixed a bug that the
	number of "Alerts defined" at Pandora Main Page showed always "-")
	Merged from branch 4.0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-27 08:24:11 +00:00
juanmanuelr 3c6ca26719 2012-12-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed typos.
	* operation/reporting/reporting_viewer.php: Fixed range selector
	in report viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-26 16:43:05 +00:00
mdtrooper 2168d81224 2012-12-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: erased double check for admin user
	in action to update config.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-26 14:56:32 +00:00
zarzuelo 54c49bab70 2012-12-26 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	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
	godmode/users/profile_list.php
	godmode/users/configure_profile.php: Added to the
	database and editor new reporting and events ACL flags



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-26 12:16:39 +00:00
ramonn f3312d5da0 2012-12-21 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/agent_template.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager.php,
	  include/functions_modules.php: Implemented a real not-init status.
	  Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 14:53:11 +00:00
zarzuelo 310b1ef259 2012-12-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_events.php: Adapt details view of events
	to metaconsole links



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 11:11:22 +00:00
jsatoh 5a738bd2d5 2012-12-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_module_interval.php: Translated into Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 00:35:04 +00:00
zarzuelo f4222e4f9c 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* operation/tree.php
	operation/events/events_list.php
	operation/events/events.php
	godmode/events/event_edit_filter.php
	godmode/events/event_responses.list.php
	godmode/events/custom_events.php
	godmode/events/events.php
	godmode/events/event_filter.php
	godmode/events/event_responses.editor.php: Fix several links
	in events manager for metaconsole (things like pure parameter)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 18:00:00 +00:00
zarzuelo 222119ed26 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_events.php
	include/javascript/pandora_events.js: Adapt responses
	to metaconsole connection (retrieving of event address macro)
	and set format to tags in event view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 15:33:23 +00:00
zarzuelo 021935d472 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php: Added missed translation of 
	All group name

	* operation/events/events_list.php: Added compatibility on groups
	filter in events for metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 12:24:21 +00:00
ramonn 0dd6c74286 2012-12-19 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	  include/help/en/help_module_interval.php,
	  include/help/es/help_module_interval.php,
	  include/help/ja/help_module_interval.php: Added help files for
	  module interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 10:25:09 +00:00
zarzuelo 99ebf3f2da 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/ajax/agent.php
	include/functions_ui.php
	include/constants.php
	operation/events/events_list.php: Modify the event list
	filter to adapt the agent search to metaconsole.
	Fix little bug of autocomplete control too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 10:09:52 +00:00
juanmanuelr 06c9b7c6ce 2012-12-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_users.php: Fixed warning when chat log file
	doesn't exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 17:33:40 +00:00
juanmanuelr 4d6caee081 2012-12-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/module_groups.php: Fixed view, colors in cells were
	bad printed and alert popup also had sql errors.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 14:04:47 +00:00
hkosaka e3dd9abe99 2012-12-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added function
	'api_get_pandora_servers'.

        * include/functions_servers.php: Fixed a type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 08:48:12 +00:00
juanmanuelr 6e8b5a435a 2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	include/functions_reports.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixed report
	templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 15:47:11 +00:00
mdtrooper 57c85500b3 2012-12-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed check if it set the id_user
	in the session.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 14:43:33 +00:00
zarzuelo f801b1bc75 2012-12-18 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php
	godmode/events/custom_events.php: Fixed
	a couple of bugs of style and event viewer
	normal



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 12:16:26 +00:00
juanmanuelr e6c3925f36 2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Resize URL item report to make it
	taller.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 12:01:54 +00:00
zarzuelo 2fda3b196f 2012-12-18 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora_events.js
	operation/events/events_list.php
	operation/events/events.php
	godmode/events/custom_events.php
	godmode/events/events.php: Add compatibility 
	with metaconsole in the event viewer



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 11:54:22 +00:00
hkosaka 87c661e88e 2012-12-18 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_events.php: Fixed a typo (have a small
          meaning for localization). Merged from branch 4.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 07:58:15 +00:00
mdtrooper e2bb2d12de 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/alert_list.builder.php,
	operation/messages/message_edit.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/graph_builder.graph_editor.php: cleaned source
	code style.
	
	* include/functions_io.php: improved the function "__" for to hook
	the translations from metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:50:38 +00:00
mdtrooper eaee64f417 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/file_manager.php, include/functions_filemanager.php:
	some fixes and added support for the metaconsole.
	
	* include/get_file.php: fixed lost check "is_user".
	
	* operation/netflow/nf_live_view.php: cleaned source code style.
	
	* include/functions_config.php: added check the flag of "is_admin"
	when try to change some config from setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 13:44:28 +00:00
zarzuelo eadc5d5749 2012-12-14 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Disable the events view
	when event replication is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-14 08:26:50 +00:00
slerena 40a209bfee 2012-12-10 Sancho Lerena <slerena@artica.es>
* datos_agente.php, snapshot.php: Seems some browsers
        doesnt like mono, added monospace to style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 19:09:59 +00:00
mdtrooper 1bc4868132 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
ramonn a86b2c5adb 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Style improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:12:17 +00:00
zarzuelo 3ee313b21f 2012-12-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Changed parameter names of
	some replication event options of the setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 17:18:49 +00:00
mdtrooper fa02b30917 2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/setup/setup.php, include/functions_config.php: cleaned
	source code style.
	
	* include/functions_visual_map.php, include/functions_graph.php:
	re-added lost code for the visualmap in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 17:04:19 +00:00
ramonn 25062d6da9 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/netflow/nf_live_view.php: Fixes to the metaconsole part of
	  the viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 14:49:05 +00:00
slerena 834edfad33 2012-12-13 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: Uses "mono" instead
        "lucida console" because CSS doesn't speak proper font language :)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 12:29:13 +00:00
ramonn 76b9db40cd 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Further improved netflow
	  performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 11:04:12 +00:00
juanmanuelr 630d4800d8 2012-12-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	include/javascript/jquery.pandora.controls.js
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_commands.php
	godmode/users/configure_user.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php: New
	editors for metaconsole: alerts, components, users and groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 19:37:35 +00:00
zarzuelo 98ff3ae81d 2012-12-12 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.list_items.php: Fixed the
	modules/agents shown in the table of report items in inventory
	kind
	merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 14:23:04 +00:00
mdtrooper 3d8c0cd2a8 2012-12-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map_editor.php: increased the size of
	agent autocomplete widget.
	
	* include/functions_visual_map.php: in the function
	"visual_map_print_visual_map" changed for to print corretly the
	urls in public view in metaconsole.
	
	* include/ajax/agent.php: restore the search for any string in
	the autocomplete agent.
	
	* operation/reporting/reporting_xml.php,
	operation/search_results.php,
	operation/visual_console/public_console.php,
	godmode/setup/setup_auth.php, godmode/servers/modificar_server.php:
	cleaned source code style.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed when
	finish a resize action or put the grid, before these actions
	was make a corrupt data of items.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 13:51:45 +00:00
ramonn e0bd5f334f 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php: Added the maximum netflow chart
	  resolution to the setup. Added byte and byteperseconds units.
	  Small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 12:10:16 +00:00
zarzuelo 451185161c 2012-12-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Added configuration
	parameters for the events replication



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 09:35:40 +00:00
hkosaka 62ce961cbf 2012-12-12 Hirofumi Kosaka <kosaka@rworks.jp>
* godmode/agentes/module_manager_editor.php: Fixed a bug only
	for the Enterprise version.  When 'Remote Configuration' is
	enabled and you try to create new module, which name includes
	meta characters, you will get the error "The field name and
	name in module_name in data configuration are different."

	Merged from branch 4.x.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 03:37:54 +00:00
juanmanuelr cba92b1a08 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
ramonn 16e038ff15 2012-12-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Added a new way of retrieving netflow
	  data using multiple calls to nfdump that vastly improves the
	  performance of netfow data charts.

	* operation/netflow/nf_live_view.php: Check that the nfdump binary
	  exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 16:43:29 +00:00
zarzuelo 2a735ea45e 012-12-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/functions.php
	include/functions_config.php
	godmode/setup/setup_visuals.php: Add interval values
	configuration into visual setup and limit the 
	advanced control of interval combos only for
	administrators



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 16:20:10 +00:00
mdtrooper ada9da21e4 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
juanmanuelr d6b8d71d0a 2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php: Fixed propagate parameter in 
	function groups_get_parent.
	* extensions/update_manager.php: Check UM is installed. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 12:32:42 +00:00
zarzuelo 6573f7a72b 2012-12-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_network_components.php: Improve 
	network component retrieving to get the category name too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 11:35:08 +00:00
zarzuelo 6851da50c3 2012-12-11 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor.php: Fix tags and 
	latest fields on web modules editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 09:45:38 +00:00
slerena 3f7d4cbbc2 2012-12-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: removed utimestamp index on tsesion.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 19:22:56 +00:00
slerena f8221c0ef8 2012-12-10 Sancho Lerena <slerena@artica.es>
* include/config_process.php,
        install.php,
        index.php: Version build update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 19:14:42 +00:00
zarzuelo 07553720f2 2012-12-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added tags support
	to the network components



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 18:04:27 +00:00
juanmanuelr f0e06e69dc 2012-12-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	 pandoradb.sql
	 pandoradb.postgreSQL.sql
	 pandoradb.oracle.sql
	 extensions/update_manager.php
	 pandoradb.data.postgreSQL.sql
	 pandoradb.data.oracle.sql: Added table tupdate_settings;



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 15:52:51 +00:00
mdtrooper f9d7906523 i2012-12-10 Miguel de Dios <miguel.dedios@artica.es>
* db/mysql.php: finish to fixed the insert in the metaconsoles.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 14:58:05 +00:00
zarzuelo 149cd29d66 2012-12-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	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: Added
	tags column to the network components table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 10:50:20 +00:00
slerena 0ddabe12c4 2012-12-09 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Replaced ^---.. comments with "-- -.." to avoid problems
	with MySQL 5.0.x
	
	* include/config_process.php: Fixed some problems with default timezone, because
	config function was called before timezone was setup.
	
	* include/styles/pandora.css: Added new style for netflow report render (HTML).
	
	* include/functions_netflow.php: Replaced some code for use new CSS styles.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 00:05:09 +00:00
slerena 0adbeddb32 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
ramonn 1dee9a57db 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_categories.php: Add categories
	  library of functions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:43:53 +00:00
zarzuelo 0a5f4d4248 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_categories.php: Add categories
	library of functions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:30:16 +00:00
zarzuelo a728401b83 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added id_category
	to network components and module editors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:25:40 +00:00
ramonn 3705b8b925 2012-12-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_reporting.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Aesthetic fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:03:00 +00:00
jsatoh ce35bf97a3 2012-12-07 Junichi Satoh <junichi@rworks.jp>
* index.php: Fixed undefined function error in case of login
	failures without enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 06:36:22 +00:00
mdtrooper dcd02553b1 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, include/functions_html.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/db/mysql.php: fixed into the function
	"mysql_db_process_sql" a big bug that runs fine the select querys in
	a metaconsole enviorement with several DBs but the insert querys
	make in the previous connection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 18:12:28 +00:00
mdtrooper c422f1a9b5 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php,
	operation/integria_incidents/incident.php,
	godmode/massive/massive_delete_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_plugin.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/module_manager.php, godmode/users/profile_list.php,
	godmode/events/event_filter.php: cleaned source code style.
	
	* operation/tree.php: fixed the url to childrem consoles from the
	metaconsole tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 12:52:01 +00:00
ramonn 2dcd884f15 2012-12-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php,
	  godmode/netflow/nf_edit_form.php: Performance improvements. Use csv
	  output to avoid using regular expressions. Removed byte, flow and
	  packet unit and added kilobyte, megabyte, kilobytes per second and
	  megabytes per second.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:29:06 +00:00
zarzuelo d8f36e50c1 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/menu.php
	godmode/category
	godmode/category/category.php
	godmode/category/edit_category.php: Add categories editor
	and the category combo in the modules editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:02:47 +00:00
mdtrooper 1b4ab4b9a6 2012-12-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/libupdate_manager.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/integria_incidents/incident.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/functions_visual_map_editor.php: uploaded the changes of
	source code style previous to my next commit for to make the next
	commit more easy.
	
	* godmode/reporting/visual_console_builder.php: set empty string
	for the new visualmap.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the regular
	expresion to extract the url for the graph.
	
	* include/functions_html.php: fixed into the function
	"html_print_select_groups" lost code for to show the selectbox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 14:20:47 +00:00
zarzuelo 99e2e179b4 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	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: Added
	database structure for new feature "module categories"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 12:55:44 +00:00
zarzuelo 26a9477ef3 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix a statistics bug on
	compared graphs merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 11:41:52 +00:00
zarzuelo 800ffa9ccf 2012-12-04 Sergio Martin <sergio.martin@artica.es>
* extensions/dbmanager.php
	godmode/servers/recon_script.php: Comment missed check_referer 
	calls to disable it by the moment



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 16:34:36 +00:00
zarzuelo dac3e5d0ef 2012-12-04 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	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
	godmode/alerts/configure_alert_template.php: Add wizard_level flag to the
	alert templates table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 15:34:57 +00:00
mdtrooper c840569e80 2012-12-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	include/functions_visual_map_editor.php,
	operation/reporting/reporting_xml.php,
	operation/agentes/exportdata.excel.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/alerts_status.php,
	operation/agentes/exportdata.csv.php: uploaded the changes of source
	code style previous to my next commit for to make the next commit
	more easy.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 12:21:39 +00:00
ramonn 25799f0bbb 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed id decoding under the
	  metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 17:58:15 +00:00
juanmanuelr dc6206ff83 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	 pandoradb.data.postgreSQL.sql
	 pandoradb.data.oracle.sql: Added meta_num_elements token in tconfig
	 to support metaconsole views with a lot of elements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 14:47:27 +00:00
juanmanuelr 28659d81b4 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Added agent statistics for 
	batch statistic branch in function reporting_get_group_stats. 
	 operation/agentes/status_monitor.php: Cleaned code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 13:23:30 +00:00
ramonn 36111a928e 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* operation/tree.php: Fixed the icon of the last element of a sub-tree.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 11:04:34 +00:00
ramonn 0841ad650c 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:28:53 +00:00
zarzuelo 7b9f671661 2012-12-03 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Fixed macros update of
	plugin components for bug #3591104



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:14:34 +00:00
ramonn 7c6b29c4ab 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php: Removed debugging code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:09:13 +00:00
ramonn aa1964a678 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php,
	  include/functions_treeview.php: Improved error detection and small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:05:20 +00:00
hkosaka ea4f826625 2012-12-03 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_html.php: Use "autocomplete=off" in all
	password fields (this is re-apply of rev5823, that was
	dropped at rev6607).  Merged from branch 4.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 03:29:29 +00:00
jsatoh c03b4d6b23 2012-12-03 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Changed not to depend on DateTimeZone
	constants with timezone setting to support php 5.2.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 02:37:48 +00:00
zarzuelo db57ad130b 2012-11-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.php: Fix a pure fail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 19:01:21 +00:00
juanmanuelr 5f71419dab 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/status_monitor.php: Added check in group filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:27:37 +00:00
ramonn 97afbc6b82 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Detect errors when retrieving stats.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:16:40 +00:00
ramonn 29fa7fbb6e 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:01:56 +00:00
juanmanuelr 27528249d8 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 17:34:51 +00:00
mdtrooper 7d3afcfb29 2012-11-29 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: optimiced the ajax hook "search_agents_2"
	for the metaconsoles.
	
	*include/functions_ui.php, include/functions_agents.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 16:14:45 +00:00
vgilc b1c4db4b9a 2012-11-29 Vanessa Gil <vanessa.gil@artica.es>
* godmode/menu.php: Changed netflow title.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 16:03:55 +00:00
ramonn 1620ff0fc7 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/config_process.php: Reverted an accidental commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:19:06 +00:00
ramonn 2368e9ee9d 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  include/config_process.php,
	  operation/tree.php,
	  godmode/setup/setup.php: Manually defined DateTimeZone constants
	  since they don't seem to be available in certain PHP versions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:14:08 +00:00
zarzuelo 90a0c45ea7 2012-11-29 Sergio Martin <sergio.martin@artica.es>
* operation/netflow/nf_live_view.php
	godmode/netflow/nf_edit_form.php
	godmode/netflow/nf_edit.php: Pass the parameter pure 
	to keep full screen



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 10:30:46 +00:00
zarzuelo 420f1dfbb6 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_graph.php
	include/functions_reporting.php
	include/functions_networkmap.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
	networkmap like foreach problems and filter issues




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 18:29:24 +00:00
juanmanuelr ae78f30fff 2012-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php
	 include/functions_reporting.php: Added functionality for tactical
	 view of metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 17:29:25 +00:00
darode 1fd479f66e 2012-11-28 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/netflow/nf_edit.php,
	operation/netflow/nf_live_view.php: Added title 
	for metaconsole sections.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 15:04:27 +00:00
ramonn 8b7c5b8e7f 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Small fixes to the treeview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 13:04:11 +00:00
zarzuelo 53d8d65271 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php
	operation/tree.php: Fix some bugs of treeview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 09:58:42 +00:00
ramonn 4110c7c954 2012-11-27 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  operation/tree.php: Added support for agent and module navigation
	  from the metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 19:11:55 +00:00
darode 49f125468b 2012-11-27 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/status_monitor.php: Added  title for metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:59:31 +00:00
zarzuelo b836781406 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php: Fix some bugs of
	reports on metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:20:38 +00:00
juanmanuelr 2e6fd3e492 2012-11-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed progress_bar in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:31 +00:00
zarzuelo af6087e37d 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Performance improvements
	in networkmaps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:02 +00:00
zarzuelo d94883c1eb 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Performance improvements
	in networkmaps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 09:42:41 +00:00
zarzuelo 5ed542cd4d 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_delete_modules.php: Fixed a bug 
	on massive delete modules due of a copypaste



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 09:10:43 +00:00
zarzuelo 417dcbbe28 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	include/functions_networkmap.php
	operation/agentes/status_monitor.php
	operation/netflow/nf_live_view.php: Improve the 
	performance of networkmap with the new status counts.
	Modify some common code between console and metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 18:38:09 +00:00
ramonn 1f25998d49 2012-11-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Added metaconsole support to the tree view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 16:44:41 +00:00
zarzuelo dfb75a1496 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_results.php
	godmode/netflow/nf_edit.php: Fix paths problems



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 10:27:16 +00:00
darode 2a123e5788 2012-11-21 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed a bug in integration
	between Integria and Pandora on Incident management.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 16:18:55 +00:00
mdtrooper f97cededf3 2012-11-20 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/load_updatemanager.php,
	extensions/update_manager/debug.php: fixed the execution of keygen
	when there is some wrong in the execution the message for user is
	more clean now show "Error in execution the keygen." instead the
	message "Error Server authorisation rejected". And added other forms
	to get debugData for the update.
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 19:27:36 +00:00
ramonn 4b5566d01f 2012-11-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_modules.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  install.php,
	  pandoradb.oracle.sql,
	  operation/tree.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: Improved tree
	  view performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 16:14:45 +00:00
darode 70e7f441c1 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php: Fixed a problem with
	incident search, in incident integrated with Integria.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:59:59 +00:00
darode 9dedf000e3 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: Fixed several fields of manage
	incident form.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:09:52 +00:00
darode 8f198cebab 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed an error printing messages
        which appear before the header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 08:29:27 +00:00
darode 92301209b7 2012-11-19 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.workunits.php: Fixed several errors
	in behavior, added messages about operation result and added style to buttons.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 18:10:48 +00:00
jsatoh 750a5b190a 2012-11-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.editor.php: Allowed to change
	type of planned downtime while it's not active.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 06:23:24 +00:00
jsatoh a4f0d8f2b4 2012-11-18 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated
	query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-18 06:59:15 +00:00
ramonn c13a86afe8 2012-11-14 Ramon Novoa <rnovoa@artica.es>
* include/functions_modules.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  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,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager.php,
	  godmode/agentes/agent_manager.php: Added support for server-side
	  module status calculation.

	* godmode/agentes/configurar_agente.php: Show 'None' when no server is
	  selected for an agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-14 18:54:27 +00:00
mdtrooper c98fbb2c65 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php: fixed the javascript urls.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 19:08:41 +00:00
mdtrooper 05ac3763aa 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php, include/functions_reporting.php,
	include/ajax/agent.php: cleaned source code style.
	
	* 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, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	'id_agent', 'server_name' and 'show_modulegroup' in the table
	'tnetwork_map'.
	
	* include/functions_ui.php: fixed the function
	"ui_print_agent_autocomplete_input".
	
	* include/functions_networkmap.php: added function
	"networkmap_create_module_group_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 16:06:21 +00:00
mdtrooper adcd7716a4 2012-11-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* include/functions_api.php: fixed typo error that stoped the
	execution of api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-12 14:53:33 +00:00
jsatoh 899fac693d 2012-11-11 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-11 02:24:44 +00:00
slerena e452ca8ac6 2012-11-08 Sancho Lerena <slerena@artica.es>
* include/functions_config.php: Fixed a XSS in login :-O. Thanks
        to gobejishvili for reporting.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 15:09:24 +00:00
mdtrooper 3973c62408 2012-11-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, include/functions_tags.php: cleaned
	source code style.
	
	* godmode/events/event_edit_filter.php: fixed the lost vars in
	the javascript code for the none elements in the tag select widgets.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 12:24:27 +00:00
zarzuelo 7bd0abe2f8 2012-11-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/pChart/pData.class.php
	include/functions_reporting.php
	include/constants.php: Improve performance to the SLA 
	report items, added unknown periods and fix planned downtimes
	in SLAs. Adapt the default pchart graph engine colors to pandora



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 07:42:11 +00:00
mdtrooper 760271a0c0 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* index.php: cleaned source code style.
	
	* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	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: added the field
	"tag_with" and "tag_without", and removed the field "tags" in the
	table "tevent_filter".
	* operation/events/events_list.php,
	godmode/events/event_edit_filter.php: added widgets for to filter
	the events by tags with the events or and tags without the
	events.
	
	* include/functions_tags.php: cleaned source code style, and
	clarifity the function "tags_search_tag".
	
	* include/functions_html.php: into the function
	"html_print_input_hidden" fixed when the value have double quotes or
	single quotes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 17:49:31 +00:00
mdtrooper c7e071f853 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php, index.php: cleaned
	source code style.
	
	* godmode/alerts/alert_commands.php: fixed the check the name of
	command that it did not make the update the data.
	
	MERGED FROM THE BRANCH PANDORA_4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 15:15:18 +00:00
ramonn b4d419afe8 2012-11-06 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  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: Added a new
	  column to tagente_estado to store possible errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-06 17:57:24 +00:00
mdtrooper 76d09bfcaf 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php: fixed the lost tag span (with
	styles) in the Event description.
	
	* operation/events/events.php: fixed the default value for id_agent
	set 0 (as All) in the filter of events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 18:31:18 +00:00
mdtrooper e5bb1f6962 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: improved the function
	"ui_print_agent_autocomplete_input" to get the default value for
	"hidden_input_idagent_value" from the GET or POST instead to set
	as 0.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 13:03:09 +00:00
mdtrooper 32fd0fd87c 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleaned source code style.
	
	* operation/events/events_list.php: cleaned source code style and
	fixed the lost id_agent when reload.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:52:26 +00:00
vgilc cdabd8f2fd 2012-11-05 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Moved functions
	to functions_xml.php
	* include/functions_xml.php: Added file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:41:13 +00:00
zarzuelo e8cc98e827 2012-11-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed a bug of the events/alerts/unwknown
	period calculation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 11:18:52 +00:00
zarzuelo e5587d562d 2012-11-05 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_macros.php
	include/help/es/help_alert_macros.php: Fixed typo in macro name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 08:50:37 +00:00
mdtrooper 6d86616e7a 2012-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: improved the page status
	monitor, show in another column the tags and added a select box with
	the tags in user in the filter form.
	
	Pending task: #3581578




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-04 19:10:19 +00:00
jsatoh 6600a12f15 2012-11-04 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.editor.php: Fixed that time range
	of once planned downtime cannot be changed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-04 14:41:14 +00:00
jsatoh bd8688e786 2012-11-04 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/planned_downtime.list.php: Improved to show time
	range of periodically planned downtime.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-04 13:58:43 +00:00
mdtrooper 027920182e 2012-11-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: cleaned source code style.
	
	* include/styles/pandora.css, godmode/users/user_list.php: improved
	the row aspect of disabled users in the list.
	
	Pending task: #3540077




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-03 16:41:26 +00:00
mdtrooper 41ca6b430c 2012-11-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, extensions/update_manager.php:
	cleaned source code style.
	
	* include/functions_ui.php: fixed or improved the function
	"ui_print_agent_autocomplete_input" for to get the data when the
	user stop to typing and lost the focus this widget.
	
	Fixes: #3573762




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-02 19:18:20 +00:00
vgilc 28f0a31717 2012-11-02 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Removed html entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-02 11:00:00 +00:00
jsatoh 72f178f5c0 2012-11-01 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_fields_description.php,
	include/help/ja/help_alert_fields_values.php: Added new help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-01 03:13:17 +00:00
zarzuelo 42ac739002 2012-10-31 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Changed the default data
	of alert commands to fields customization



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-31 09:58:45 +00:00
zarzuelo 98aaeea0a7 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_alerts.js
	godmode/alerts/configure_alert_action.php: Fix some bugs in
	the action form (jquery headache)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 16:52:56 +00:00
vgilc 3298ab9392 2012-10-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php: Changed agent 
	configuration report header.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 14:14:43 +00:00
zarzuelo f5d4cd70fc 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/ajax/events.php
	include/functions_api.php
	godmode/alerts/alert_commands.php: Fix some
	event viewer bugs and command editor little
	aesthetic issues

	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql: Delete ttag_event table




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 11:48:28 +00:00
vgilc 36c30c2f73 2012-10-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php: Changed format of agent 
	and group configuration reports.
	*operation/reporting/reporting_xml.php: Added custom field
	to xml report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 10:31:03 +00:00
hkosaka a229c3efbb 2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added 'description' parameter to
	'create_group' API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 07:59:55 +00:00
ramonn ab836ed3f8 2012-10-29 Ramon Novoa <rnovoa@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: Move the number
	  of retries for web modules from plugin_pass to max_retries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 18:41:20 +00:00
mdtrooper 4cb272f934 2012-10-29 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.php: silenced the notice PHP message
	when it has connection to internet.
	
	Fixes: #3560632
	
	MERGED FROM THE BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 12:18:31 +00:00
ramonn 11ef33fe73 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php: Fixed a path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 11:31:38 +00:00
zarzuelo 198d3c8b38 2012-10-29 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_fields_description.php
	include/help/en/help_alert_fields_values.php
	include/help/es/help_alert_fields_description.php
	include/help/es/help_alert_fields_values.php
	godmode/alerts/configure_alert_command.php: Add help to the command
	new fields system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:23:55 +00:00
ramonn b09cfacf69 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/menu.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,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/servers/plugin.php,
	  godmode/menu.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_wmi.php,
	  godmode/modules/manage_network_components.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Added support for
	  custom timeout and retries to remote modules.

	* operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf.php: Deleted from repository. Netflow reports are
	  now integrated into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:13:49 +00:00
zarzuelo 97373f2eb2 2012-10-29 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/javascript/pandora_alerts.js
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	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
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_commands.php: Added 7 more fields to 
	alert actions and adapted templates to this feature (recovery
	included). Add the feature of custom the label and the possible
	data (to use textarea or select) from the command



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 08:45:06 +00:00
jsatoh 4a62374fc8 2012-10-29 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Translated new macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 06:13:33 +00:00
mdtrooper ebc3460ff2 2012-10-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function
	"api_set_apply_all_policies".
	
	Fixes: #3576289
	
	* include/functions.php, include/functions_filemanager.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 17:37:57 +00:00
ramonn c340567b3a 2012-10-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  XML and PDF netflow reports into custom reports. Fixed some broken
	  links.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 09:48:32 +00:00
ramonn cf971e3762 2012-10-25 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/functions_netflow.php,
	  include/functions.php,
	  include/functions_reports.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  netflow reports into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 18:34:53 +00:00
mdtrooper e33cebbd8e 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php, extensions/pandora_logs.php,
	extensions/update_manager.php, extensions/resource_registration.php,
	extensions/resource_exportation.php, extensions/module_groups.php,
	extensions/plugin_registration.php, extensions/snmp_explorer.php,
	extensions/system_info.php, operation/menu.php: cleaned source code
	style.
	
	* include/functions_menu.php: fixed the hidden icons the extensions
	in  menu.
	
	Fixes: #3568966




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 16:46:52 +00:00
vgilc 6f27f7ec28 2012-10-25 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php
	  include/functions_report.php
	  operation/reporting/reporting_xml.php
	  operation/reporting/reporting_viewer.php
	  godmode/reporting/reporting_builder.item_editor.php
	  godmode/reporting/reporting_builder.php: Changed XML reports
	and added two new types of report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 15:03:18 +00:00
mdtrooper b26cbb23e4 Update lost lines in the file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 14:41:23 +00:00
mdtrooper 9667426b1a 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: fixed the lost fields in the table "tgrupo"
	when install.
	 
	* install.php: fixed the installation on DBs with names as for
	example "name1.name2".
	
	Fixes: #3573766




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 14:39:04 +00:00
zarzuelo 34eb90e1dc 2012-10-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/render_view.php
	operation/gis_maps/render_view.php
	operation/search_maps.php: Fixed some ACL Enterprise bugs
	merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 12:38:08 +00:00
mdtrooper ef3e851c63 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: updated the links and tooltips
	for the nodes in the networkmap on metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 11:02:22 +00:00
mdtrooper bbc75f1e97 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_group_node" and "networkmap_create_networkmap"
	for to extract data in the metaconsole enviroments. And in the
	function "networkmap_create_module_node" fixes the default value of
	flag for metaconsole and the links and url tooltips for the
	metaconsole networkmap.
	
	* operation/agentes/ver_agente.php: in the request for the
	"get_agentmodule_status_tooltip" added code for get data in the
	metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 08:53:44 +00:00
mdtrooper 81cde4dc91 2012-10-24 Miguel de Dios <miguel.dedios@artica.es>
* 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, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	"show_groups", "show_modules" into the table "tnetwork_map".
	
	* include/functions_modules.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
	and "modules_get_agentmodule_status" for to extract data in the
	metaconsole enviroments.
	
	* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_agent_node" and "networkmap_create_module_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-24 14:01:54 +00:00
ramonn c4f23d0442 2012-10-23 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_alert_macros.php,
	  include/help/es/help_alert_macros.php,
	  include/help/ja/help_alert_macros.php: Update macro help files. The
	  Japanese help file needs to be translated.

	* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  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,
	  godmode/groups/configure_group.php,
	  godmode/groups/group_list.php: Added more information to agent
	  groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-24 08:57:36 +00:00
ramonn 4fb3f07a42 2012-10-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_cron.php: Added to repository. Cron related
	  functions.

	* include/functions_html.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  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,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php: Added support for remote
	  cron modules.

	* godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  operation/netflow/nf_view.php,
	  include/functions_netflow.php: Added a description to report items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-23 10:45:25 +00:00
vgilc 7af1746c77 2012-10-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_events.php
	  operation/reporting/reporting_xml.php: XML reports: graphs, events
	and modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 13:38:09 +00:00
ramonn 3679d7db92 2012-10-16 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php, include/db/mysql.php,
	  include/db/oracle.php, include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed
	  history database connection when the main database and the history
	  database are on the same host. Allow switching between the main
	  database and the history database to retrieve module data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 11:49:13 +00:00
darode 4e6ebfa912 2012-10-15 Dario Roriguez <dario.rodriguez@artica.es>
* extensions/agents_alerts.php: Modified to show
        its verions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 10:31:48 +00:00
darode 9a8bd91e86 2012-10-15 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/extensions.php,
	godmode/extensions.php,
	include/functions_extensions.php,
	extensions/insert_data.php,
	extensions/snmp_explorer.php,
	extensions/system_info.php,
	extensions/net_tools.php,
	extensions/extension_uploader.php,
	extensions/pandora_logs.php,
	extensions/agents_modules.php,
	extensions/update_manager.php,
	extensions/ssh_gateway.php,
	extensions/dbmanager.php,
	extensions/vnc_view.php,
	extensions/resource_registration.php,
	extensions/users_connected.php,
	extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/plugin_registration.php: Modified extension to 
	show versions.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 10:23:31 +00:00
vgilc a7162b0f6b 2012-10-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function validate_event_
	by_id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 08:44:40 +00:00
zarzuelo 1ee1923efb 2012-10-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/constants.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Change the validation events 
	system to validate passing the ids searialized avoiding a lot
	of operations. Improve counts and fix several bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:49:17 +00:00
mdtrooper 16a8340e1d 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the order of vars in the
	asignation into the code of function "agents_get_modules".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:24:41 +00:00
ramonn 8d46ff6ccf 2012-10-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php: Small fixes to netflow reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 15:52:26 +00:00
darode dd7ebc8f0a 2012-10-11 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/graph_builder.php: Fixed a problem
        with entities and custom graph wizard to add new modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 11:02:51 +00:00
mdtrooper 9b0ac6ed2e 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/networkmap.ajax.php: added the code for the
	metaconsole in the call "get_networkmap_summary" and added the
	call "get_networkmap_summary_pandora_server" for the tooltips in
	the metaconsole networkmap in the pandoras children nodes.
	
	* include/functions_agents.php: improve the execution time and
	cleaned the code for the function "agents_get_modules".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 10:20:37 +00:00
jsatoh 6f0c7613cc 2012-10-11 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_response_parameters.php,
	include/help/ja/help_response_macros.php: Added new help files,
	parameters and macros in event responses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 01:50:09 +00:00
juanmanuelr d6b43d845d 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 f39fdfcff1 2012-10-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: fixes and changes for the new
	form to set the urls and url images.
	
	* include/functions_html.php: fixed the "html_print_image" for the
	relative urls images (uses in the networkmap).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 14:49:03 +00:00
zarzuelo 4f95a7b2d5 2012-10-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Add the default 
	responses to data scripts.

	* pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: 
	Added the new table of event responses to oracle 
	and postgresql schemmas. 

	* godmode/events/event_responses.editor.php 
	include/help/en/help_response_parameters.php
	include/help/en/help_response_macros.php
	include/help/es/help_response_parameters.php
	include/help/es/help_response_macros.php: Add help to
	parameters and macros in event responses



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 10:46:19 +00:00
zarzuelo b127395138 2012-10-09 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql: Added tevent_response to 
	creation schemma



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 16:08:18 +00:00
zarzuelo d0c85e24b2 2012-10-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/styles/jquery-ui-1.8.23.custom.css
	include/javascript/pandora_events.js
	include/ajax/events.php
	operation/events/events_list.php
	operation/events/events.php
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	godmode/menu.php
	godmode/events/event_responses.list.php
	godmode/events/custom_events.php
	godmode/events/event_responses.php
	godmode/events/events.php
	godmode/events/event_responses.editor.php: Added several changes on
	events system as responses editor and performer, and several
	fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 16:05:32 +00:00
mdtrooper c6b977c0a5 2012-10-09 Miguel de Dios <miguel.dedios@artica.es>
* 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, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
	"pandoras_children" into the table "tnetwork_map".
	
	* extras/check_other_languages.sh, include/functions_agents.php,
	operation/agentes/networkmap_list.php: cleaned source code style.
	
	* include/functions_networkmap.php: a lot of fixes for the
	metaconsole, and other changes now generate a graphviz code more
	clean and human readble (good for maintenaince).
	
	* include/ajax/networkmap.ajax.php: into the ajax call
	"get_networkmap_summary" started to adapt to call from the
	metaconsole (WIP).
	
	* include/functions_ui.php: fixes for metaconsole links to images in
	the functions "ui_print_message", "ui_print_group_icon" and
	"ui_toggle". And added the parameter $return in the function
	"ui_toggle" for to return the html code as string.
	
	* operation/agentes/ver_agente.php: into the ajax call
	"get_agent_status_tooltip" adapt to call from the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 15:51:33 +00:00
hkosaka e86a0e68ef 2012-10-09 Hirofumi Kosaka <kosaka@rworks.jp>
* pandoradb.sql: cleaned code style, to be acceptable by
	Clustrix's SQL parser, for examples.  Merged from branch 4.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 02:02:25 +00:00
ramonn 57cedf5d55 2012-10-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_html.php,
	  include/graphs/fgraph.php,
	  include/functions_ui.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php: Small improvements and fixes.
	  Added support for PDF netflow reports (enterprise only).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-08 19:19:58 +00:00
slerena df2db13c6b 2012-10-07 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Deleted index on utimestamp for tevento. This
        will produce a performance penalty for no reason.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-07 20:38:19 +00:00
juanmanuelr adca78f659 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed print_image when source image 
	doesn't exists on metaconsole then try to search it in normal 
	console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 16:21:27 +00:00
ramonn a17b8530ca 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php:  Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:53:22 +00:00
ramonn 24c33577d8 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_html.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.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,
	  godmode/netflow/nf_edit_form.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf_edit.php: Added metaconsole integration to netflow
	  reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:49:11 +00:00
juanmanuelr 0d5ebd12d7 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed path to images in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 09:12:01 +00:00
hkosaka 948aa965bb 2012-10-04 Hirofumi Kosaka <kosaka@rworks.jp>
* general/login_help_dialog.php: Fixed obsolete URL for
	documentation, on "Welcome to Pandora FMS" dialog.
	Merged from 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 03:48:36 +00:00
slerena 3f422387c5 2012-10-04 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed AGAIN the prooblem
        with tactical view, users with several groups or ALL group
        doesnt work fine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 23:34:48 +00:00
vgilc e02bffe5ad 2012-10-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Changed function create
	event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 13:04:56 +00:00
darode 7ef446d008 2012-10-03 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Replaced baseline
        graph by compare graph feature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 11:07:21 +00:00
jsatoh b478e564d4 2012-10-03 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 06:27:40 +00:00
darode 6c6a3fb0ec 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Fixed a problem with
        max and min in boolean graph. This graphs don't have
        max and min series.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:54:22 +00:00
darode 88d09cb3c4 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/styles/pandora.css: Fixed a wrong change
        in style of table background.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:30:24 +00:00
darode 1e9c6e4a23 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php: Fixed all bugs
        related to graph stats improvements



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:15:27 +00:00
darode e042c58e74 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Fixed
        several errors in mysql migration script to 5.0 version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:51:46 +00:00
zarzuelo 7ea22f7939 2012-10-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Fix another screen
	in eACL
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:32:34 +00:00
ramonn 0fda5870f6 2012-10-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php: Added XML netflow reports and many
	  changes to enable metaconsole integration.

	* 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: Updated
	  migration scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
darode 052c8ade2b 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/setup/setup_visuals.php
	include/functions_config.php
	include/functions_graph.php
	operation/agentes/stat_win.php: Fixed some problesm
	with graphs (visual and statistics)

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 09:07:20 +00:00
zarzuelo f25e0f7a92 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	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: Added
	owner and ack timestamp to event table and new last known status
	in tagente_estado table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 14:04:30 +00:00
mdtrooper ededdd89cb 2012-10-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/recon_script.php, godmode/setup/setup.php,
	godmode/users/configure_user.php, include/functions.php,
	include/functions_config.php, extensions/dbmanager.php: now the
	"check_referer" can be disabled in the setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 13:28:34 +00:00
zarzuelo f5008e68ca 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	general/header.php 
	include/functions_modules.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/functions.php
	operation/events/events_list.php
	operation/events/events.php: Change the event details view
	to modal window

	* include/styles/pandora_legacy.css
	include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png: Change the 
	major/minor icons and colors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 11:15:31 +00:00
mdtrooper 04635d711d 2012-09-28 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/agentes/stat_win.php, general/footer.php,
	include/config_process.php, include/functions_ui.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/functions_visual_map.php: change the $config['home_url'],
	now it is generated dinamicly.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-28 14:06:20 +00:00
mdtrooper f701cdc957 2012-09-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, operation/agentes/tactical.php: cleaned
	source code style.
	
	* include/functions_reporting.php: fixed the ACL into the function
	"reporting_get_group_stats".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 15:17:50 +00:00
zarzuelo 5d4df358e6 2012-09-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	index.php
	operation/menu.php
	godmode/agentes/modificar_agente.php
	godmode/menu.php: Fixed some pages to ACL Enterprise
	and the full screen pages loading menu structure when is not
	shown
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 13:02:16 +00:00
zarzuelo f3ad8d629d 2012-09-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	operation/agentes/estado_agente.php: Add a manually list of the
	pages (sec2) not accessibles from menu to link it to the
	section where appear (sec). Fix a bad section
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-26 16:54:25 +00:00
mdtrooper 316228d9f2 2012-09-25 Miguel de Dios <miguel.dedios@artica.es>
* general/login_page.php, general/logoff.php, general/header.php,
	general/login_help_dialog.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/agentes/planned_downtime.editor.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	include/styles/jquery-ui-1.8.23.custom.css,
	include/javascript/jquery.jquery-ui-1.8.17.custom.min.js,
	include/javascript/jquery.timeentry.js,
	include/javascript/jquery.ui.droppable.js,
	include/javascript/jquery.ui.draggable.js,
	include/javascript/jquery.ui-timepicker-addon.js,
	include/javascript/jquery.ui.resizable.js,
	include/javascript/jquery.autocomplete.js,
	include/javascript/jquery.ui.core.js,
	include/javascript/jquery-1.8.2.js,
	include/javascript/jquery.ui.dialog.js,
	include/javascript/jquery.jquery-ui-1.8.23.custom.min.js,
	include/functions_ui.php, index.php,
	extensions/update_manager/update_pandora.php,
	extensions/insert_data.php, operation/agentes/datos_agente.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php: updated the jquery and
	jquery.ui, and removed old useless files. And added the jquery
	library to timepicker and implemented the calls into the code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-25 15:34:36 +00:00
mdtrooper dd48690877 2012-09-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	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: added the fields
	"text_filter" and "dont_show_subgroups" for to new filters to
	generate the networkmap. 
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	include/functions_networkmap.php, include/functions_servers.php:
	added the new filters for free text for agents and hidden the
	subgroups of any group in the group networkmap.
	
	* extensions/resource_registration.php,
	operation/agentes/networkmap.php, general/header.php,
	godmode/netflow/nf_report_form.php,
	godmode/agentes/module_manager.php, include/functions_groups.php,
	include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
	include/functions.php, include/functions_db.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 11:59:05 +00:00
ramonn 3f0f929fa0 2012-09-21 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php: Added netflow traffic summary
	  reports. Small performance improvements. Fixed a bug in the
	  scale of area charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 13:42:13 +00:00
mdtrooper 624c8b64a6 2012-09-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: added the small form to
	filter the modules/monitors in the agent general view and of course
	pagination.
	
	* include/functions_html.php, operation/events/events.php,
	operation/events/export_csv.php, operation/events/sound_events.php,
	operation/events/events_list.php,
	operation/netflow/nf_live_view.php, operation/tree.php,
	operation/agentes/ver_agente.php, operation/agentes/stat_win.php:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 11:24:16 +00:00
jsatoh ab54f5caba 2012-09-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_macros.php: Added a new help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 00:32:59 +00:00
mdtrooper 75b7a13c91 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
vgilc 25bcc36d8c 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function: tactical
	view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 15:28:15 +00:00
zarzuelo bc916ea0ab 2012-09-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fix several bugs of the 
	event graph and event special features on flot graphs when
	compare periods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:59:31 +00:00
mdtrooper 02a119099f 2012-09-19 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php, extensions/system_info.php,
	extensions/update_manager/lib/libupdate_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.list.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_edit_modules.php,
	godmode/servers/manage_recontask.php,
	godmode/setup/setup_visuals.php, include/functions_api.php,
	include/functions_graph.php, include/functions_messages.php,
	include/graphs/functions_flot.php,
	include/graphs/flot/pandora.flot.js, operation/tree.php,
	operation/agentes/status_events.php,
	operation/agentes/ver_agente.php, operation/events/events_list.php,
	operation/events/events_marquee.php,
	operation/events/events_rss.php: cleaned source code style.
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php, include/ajax/agent.php: continue to change
	to 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@6988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:45:59 +00:00
vgilc b4e5748f7e 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* gomode/netflow/nf_item_list.php
	  godmode/netflow/nf_report_form.php
	  godmode/netflow/nf_report_item.php: Fixed bug adding items
	to reports.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:28:29 +00:00
vgilc f47b2c135d 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions: event_info
	and create_event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 11:28:57 +00:00
vgilc 1de54a4128 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Fixed bug in netflow
	setup.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 16:05:53 +00:00
vgilc b66163ade3 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added new
	functions to API.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 13:32:54 +00:00
mdtrooper 4f629c08e5 2012-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_list.list.php,
	godmode/gis_maps/configure_gis_map.php,
	include/functions_visual_map_editor.php, include/functions_ui.php,
	operation/tree.php, operation/agentes/exportdata.excel.php,
	operation/agentes/exportdata.php, operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/gis_maps/ajax.php, operation/events/events_validate.php,
	operation/messages/message_edit.php,
	operation/messages/message_list.php,
	operation/reporting/reporting_viewer.php,
	operation/netflow/nf_live_view.php,
	operation/incidents/incident.php, operation/search_modules.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@6983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 11:28:09 +00:00
ramonn 06d7ae7d34 2012-09-18 Ramon Novoa <rnovoa@artica.es>
* pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added inverse critical and warning intervals to
	  the Oracle and PostgreSQL database schemas.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:46:05 +00:00
vgilc 600e87fecb 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Fixed bug creating
	new agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:08:21 +00:00
zarzuelo 7ff81bd1dd 2012-09-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php  
	include/functions_modules.php: Added unknown status
	to graphs and improve some little aesthetic things of
	flot graphs

	* include/functions.php
	include/functions_html.php: Fixed html checkbox issue
	with get_parameter_checkbox function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:02:49 +00:00
vgilc b793755cc0 2012-09-17 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php
	  extensions/plugin_registration.php
	  operation/agentes/status_monitor.php
	  godmode/agentes/agent_template.php
	  godmode/massive/massive_edit_modules.php
	  godmode/modules/manage_network_templates.php
	  include/javascript/pandora_modules.js
	  include/functions_network_components.php: Added instructions to modules,
	events, policies, massive operations...


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 16:03:38 +00:00
ramonn fdb73fb29f 2012-09-17 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  pandoradb.sql,
	  extensions/plugin_registration.php,
	  operation/agentes/status_monitor.php,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/module_manager.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/massive/massive_edit_modules.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_components_form_common.php,
	  godmode/modules/manage_network_components.php: Added inverse intervals for
	  warning and critical limits.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 14:29:45 +00:00
mdtrooper fd7a76859c 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 1fdbcd86f6 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
zarzuelo 7099768cc7 2012-09-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora_legacy.css
	include/styles/pandora.css
	include/functions.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/events/events_list.php
	images/skin/skin_default/include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png
	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: Added images and styles
	for minor and major criticities



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 14:06:08 +00:00
vgilc 9c42cdf8cc 2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: Display instructions for
	the event criticity.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 13:26:57 +00:00