Commit Graph

2160 Commits

Author SHA1 Message Date
slerena 4ea345aac6 2012-06-20 Sancho Lerena <slerena@artiac.es>
* extensions/update_manager/sql/update_manager.sql: 4.0.2 comes with a fixed
        last package installed of 412

        * extensions/update_manager/load_updatemanager.php: Fixed execution
        of keygen: now uses dbtype as last parameter in execution.

        * include/functions_config.php: Avoid to check for new update on each
        page render (BAD!)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 16:44:28 +00:00
mdtrooper 412ddf8cdb 2012-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php,
	extensions/update_manager/lib/functions.php: uploaded lost changes.
	
	* include/functions_filemanager.php: cleaned source code style.
	
	* include/functions.php: added function "copy_dir" for use in the
	bug #3527247.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 15:43:41 +00:00
juanmanuelr 367ad38f93 2012-06-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/pChart/pPie.class.php: ixed a bug in pie3d graph
	function when graph data only has one element.
	
	 include/functions_reporting.php
	 operation/reporting/reporting_viewer.php: Fixed a visualization 
	 problem in agent_modules report item.
	 
	 godmode/users/profile_list.php: Fixed a bug when profile creation
	fails.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 11:45:12 +00:00
zarzuelo c091275af2 2012-06-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	operation/agentes/estado_agente.php: Fixed sort actions
	of agents operation view

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 10:17:09 +00:00
zarzuelo bcce0e52b3 2012-06-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	godmode/agentes/module_manager.php: Added not init status
	in the manage modules view for bug 3533341

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 09:03:30 +00:00
mdtrooper e7349acfd0 2012-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions.php: cleaned source
	code style.
	
	* extensions/extension_uploader.php: fixed the upload enterprise
	extension.
	
	Fixes: #3532208
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 08:28:34 +00:00
hkosaka 0690e32063 2012-06-20 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions.php: Changed ambiguous time representation
	"MM:SS minutes", that can read 'MM hours SS minute', to 
	"MM minutes SS seconds".
	Merged from 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 03:34:57 +00:00
zarzuelo 174f3b0c96 2012-06-19 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Fixed check referer bug with 
	https when is not forced. Bug #3525494
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-19 11:07:38 +00:00
zarzuelo 33d048263e 2012-06-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_incidents.php: Changed a parameter
	of the xml2array function to set it equal to recent
	fix in 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-19 09:49:49 +00:00
zarzuelo e042e0154f 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Added categories in the
	combo of sections (Operation and Administration)
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 16:51:32 +00:00
zarzuelo ee7084bf5a 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Added missed sec2 to the menu 
	structure data. The main sec2 (not subsection). Clean code
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 15:39:52 +00:00
zarzuelo a9637c201f 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/ajax/menu.ajax.php: Added an ajax file to the functions
	of menu category
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 15:26:22 +00:00
zarzuelo bfe6fb2504 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	index.php
	operation/menu.php
	godmode/menu.php: Added functions to manage sec and sec2 to control
	access in ACLs. Rename variables in menu construction to can get 
	all the sata structures in other sections
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 15:16:17 +00:00
vgilc a6fceeb5a1 2012-06-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Fixed bug: Notice to change
	Admin password is displayed for other users.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 14:08:02 +00:00
mdtrooper 5e3c15d43c 2012-06-18 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/javascript/pandora.js,
	include/functions_incidents.php: cleaned source code style.
	
	* include/functions_users.php, operation/users/webchat.php: a lot of
	fixes, the "error connection" don't appear when timeout the
	connection for to get new messages, fixed empty messages, and
	fixed when make freak actions with user connect in webchat for
	example delete. And the most important the chat files (logs and
	others) now Pandora save this files in attachment dir instead the
	tmp system dir.
	
	* godmode/users/user_list.php: added to call to delete from the
	chat user list when delete a user.
	
	MERGED from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 12:36:18 +00:00
juanmanuelr d75e0dc869 2012-06-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	 godmode/agentes/module_manager_editor_common.php: Modified width
	 of module type select in module editor when you are 
	 editing/creating a network module.
	 
	* include/functions.php
	 godmode/reporting/visual_console_builder.php: Fixed autorefresh
	 functionality.

	* include/functions_ui.php
	 godmode/massive/massive_edit_modules.php 
	 operation/agentes/ver_agente.php: Several Php warnings
	 fixed over console code.

	* godmode/reporting/reporting_builder.list_items.php: Fixed broken 
    view due to a bad sintax statement.

	Merged fro branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 11:22:13 +00:00
zarzuelo a67900b5da 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Cleaning the mess when 
	update setup fields. Now, looking the $sec2, only
	will be updated the fields of the current setup section
	In this way, set fields as empty value has been
	fixed
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 11:10:57 +00:00
juanmanuelr d60ed8d98d 2012-06-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php
	 operation/users/user_edit.php
	 godmode/massive/massive_add_action_alerts.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/graphs.php: Fixed Php warning due to pass by
	 references variables and improvement in skins update.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 10:45:00 +00:00
vgilc b5600a680a 2012-06-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Don't display
	notice to update.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 10:05:46 +00:00
mdtrooper 45641e2d38 2012-06-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_reporting.php,
	include/functions_groups.php, include/functions_visual_map.php,
	include/ajax/reporting.ajax.php, include/functions_ui.php,
	extensions/agents_modules.php, extensions/module_groups.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php.
	operation/integria_incidents/incident.incident.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/view_alerts.php,
	mobile/operation/events/events.php,
	godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
	godmode/users/configure_user.php,
	godmode/modules/manage_network_templates.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
	now we are trying that more easy and standar, now the string name of
	agent have the equal number of characters in all code...but there
	are two styles, small and medium size for agents text name, modules
	text name, but description is only size. You can set this sizes in
	the visual setup page into your Pandora.
	
	MERGED from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 16:23:23 +00:00
vgilc 85086ef5cd 2012-06-14 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php
	  godmode/agentes/modificar_agente.php
	  operation/agentes/estado_agente.php: Fixed bug: sort doesn't work.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 16:10:10 +00:00
zarzuelo aaf245c9d4 2012-06-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php
	include/api.php: Change the names of the functions_api
	functions with prefix 'api_' for security. Improve
	the wildcards of the ACL's IP list to allow place 
	wilcard anywhere. Add to API the possibility 
	of be extended from extensions.
	MERGED from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 15:07:40 +00:00
zarzuelo 677f5c017b 2012-06-14 Sergio Martin <sergio.martin@artica.es>
* include/api.php: Change the security checks adding
	a new parameter to API pass
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 11:59:10 +00:00
Ramon Novoa 4948486eff 2012-06-14 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php: Merged from 4.0 branch. Added history
	  database support to combined graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 10:11:35 +00:00
mdtrooper 5bc0b9947f 2012-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/functions_ui.php,
	include/functions.php, include/constants.php,
	mobile/operation/agents/monitor_status.php,
	godmode/setup/setup_visuals.php: started to working into the set
	a standar truncate string in all code of Pandora Console.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 18:01:43 +00:00
mdtrooper 3692c286b8 2012-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/ver_agente.php: cleaned source code from  merge
	some cosmetic changes in the trunk and this branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 16:59:36 +00:00
mdtrooper e1013140e4 2012-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_reporting.php,
	include/functions_groups.php, include/functions_visual_map.php,
	include/ajax/reporting.ajax.php, include/functions_config.php,
	include/functions_ui.php, include/functions.php,
	extensions/agents_modules.php, extensions/module_groups.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: a lot of fixes in
	relation with entities and clean source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 15:29:00 +00:00
juanmanuelr 66499928c0 2012-06-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Added options for progress_bar graph.
	* include/functions_modules.php: Fixed typo.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 19:26:26 +00:00
juanmanuelr 7c208fe177 2012-06-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	 include/functions_agents.php: Fixed problem when modules are 
	 repeated in source and target agents. 
	 
	* operation/events/events_list.php: Delete double confirmation when
	an event is deleted.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 15:45:37 +00:00
Ramon Novoa 204b1c7b6b 2012-06-12 Ramon Novoa <rnovoa@artica.es>
* include/functions_servers.php,
	  godmode/servers/modificar_server.php: Merged from 4.0 branch. Added
	  real-time export server stats.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 13:37:15 +00:00
juanmanuelr e5b71b53ee 2012-06-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_forecast.php
	 include/ajax/agent.php
	 include/functions_ui.php
	 godmode/reporting/reporting_builder.list_items.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/reporting_builder.item_editor.php: Fixes in 
	 forecasting reports (avoid php timeout) and empty inventory report.
	 Also fixed bug with autorefresh an referer check.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 09:21:02 +00:00
vgilc d5f305e8d4 2012-06-12 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Fixed bug: update password 
	parameters.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 09:15:16 +00:00
mdtrooper dde8590f76 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php: fixed the function "io_safe_output" for
	arrays, now into the function call other function with the name
	"io_safe_output_array".
	
	* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php: fixed a lot
	of things about simple value and derivates.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 19:13:20 +00:00
darode ad866c1a38 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_agents.php,
	operation/tree.php: Improved performance for
	tree view module tab.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 15:08:25 +00:00
darode f5d28d4bcf 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_agents.php,
	operation/tree.php: Improved tree view for module groups.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 12:57:53 +00:00
mdtrooper 496fa04da6 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: cleaned source code style.
	
	* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js: fixed the set
	status to items when change somethings that module or method to get
	status that agent to module status item.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 12:26:20 +00:00
mdtrooper 60db76bc53 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_gd.php, include/graphs/fgraph.php:
	cleaned source code style.
	
	* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the
	strange behavior of the bars and bubbles in the editor.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 10:24:02 +00:00
juanmanuelr 774cdbaf50 2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions.php: Added pass of check_referer by url to
	 solve problems with autorefresh functionality.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 08:09:30 +00:00
juanmanuelr 67ec5cfe38 2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 operation/reporting/reporting_xml.php: Fixed XML items exportation
	 and item editor for alert agent and alert event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 07:27:14 +00:00
slerena 6c5a6943b0 2012-06-09 Sancho Lerena <slerena@artica.es>
* functions_config.php: Fixed API password problem when
	you try to set it blank.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-09 17:31:22 +00:00
Ramon Novoa 5d83e0e461 2012-06-08 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php,
	  include/db/mysql.php,
	  include/db/oracle.php,
	  include/config_process.php,
	  include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed and
	  improved the history database feature.

	* include/graphs/fgraph.php: Merged from 4.0 branch. Protect against
	  accidental output that might corrupt an image.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:18:03 +00:00
darode e6a9fb0d29 2012-06-08 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_groups.php,
	include/functions_os.php,
	operation/tree.php: Fixed a problem with unknown agent
	counting.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:11:58 +00:00
jsatoh 05cfebeaeb 2012-06-08 Junichi Satoh <junichi@rworks.jp>
* include/functions_config.php, godmode/setup/setup.php: Fixed that
	ACL with API access cannot be removed after once configured. (Merged
	from 4.0.2)
	Fixed multiple recording of list_ACL_IPs_for_API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 07:57:53 +00:00
darode 7298ddd183 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
        operation/tree.php: Improved performance of tree
        view for modules, its not very good but now works...

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 14:29:00 +00:00
juanmanuelr 005a738ee3 2012-06-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_minimal.css
	 operation/extensions.php
	 operation/menu.php
	 general/header.php
	 godmode/extensions.php: Hide not valid sections with metaconsole 
	 activated.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 14:22:38 +00:00
darode a3d94759dd 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_os.php: Created this file.
        include/functions_groups,
        operation/tree.php: Fixed a bug related to search
        improved performance of OS tab for tree view.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 11:44:08 +00:00
hkosaka 0a8d926336 2012-06-07 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_ui.php: Merged from 4.0.x: Fixed bug:
	string truncation did not always work for multi-byte
	characters.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 09:54:03 +00:00
darode 5c009d2ddc 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php,
	include/functions_groups.php: Fixed some errors and 
	improved performance of group tree view.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 09:24:05 +00:00
vgilc 1a871c7603 2012-06-05 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_modules.php: Fixed bug: When you
	copy a policy module, still liked to policy.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 12:07:51 +00:00
juanmanuelr 8747f5c2b3 2012-06-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php: Fixed function search_agent when 
	metaconsole is activated an one of the nodes return no agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-04 14:18:21 +00:00
zarzuelo 374a1c30d4 2012-06-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_io.php: Added new safe string function
	to scape strings to use it in regular expressions and
	change the parameters of enterprise functions to be
	compatible con last changes
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-04 09:05:32 +00:00
santimunin fa907a169d 2012-05-31 Santiago Munin <burning1@gmail.com>
* include/functions_tags.php: Added a method to get all tags.
        * include/functions_api.php: Added de get_tags api call. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 17:03:03 +00:00
juanmanuelr ebaaaabd9f 2012-05-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/functions_pchart.php
	 include/graphs/pChart/pDraw.class.php: Graphs with all data equal 
	 to zero are displayed correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 14:37:34 +00:00
slerena e243e7c19f 2012-05-30 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php
	include/functions_groups.php: Group/tactical stats
	are now done with functins in function_group. This
	method is also used in the server for the batch
	stats system.

	* operation/agentes/estado_ultimopaquete.php: Fixed
	view on non-init policy modules, shown in the data tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 17:20:55 +00:00
zarzuelo 77771b13ec 2012-05-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Duplicate the operations
	too when duplicate a synthetic module for bug 
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 16:46:02 +00:00
zarzuelo 72ae46344b 2012-05-30 Sergio Martin <sergio.martin@artica.es>
* include/constants.php: Add new error control
	constant to connection errors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 15:20:50 +00:00
vgilc e193f5a2c2 2012-05-30 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  pandoradb_data.sql
	  pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
	  index.php
	  godmode/users/configure_user.php
	  include/functions_config.php
	  include/auth/mysql.php
	  include/javascript/jquery.pandora.js: Added admin users to password policy
	and added password history.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 12:07:26 +00:00
zarzuelo d0831d8d37 2012-05-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added to API a test function
	to test the API connection returning OK when success



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 09:20:55 +00:00
darode 3a7a821b7a 2012-05-30 Dario Rodriguez <dario@artica.es>
* include/functions_reporting.php: Fixed group view,
        unkown agent count was wrong.

	MERGED PANDORA 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 08:30:40 +00:00
hkosaka 652dee3801 2012-05-29 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added "event_type" to the
	get_events filters. Some fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-29 08:55:51 +00:00
slerena e5ca336684 2012-05-28 Sancho Lerena <slerena@artica.es>
* godmode/agentes/module_manager_editor_plugin.php: A bit more
	space on IP target field (a URL doesn't fit there!). 

	* include/styles/pandora.css: Plugin description is not shown
	in small font.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-28 17:19:49 +00:00
jsatoh fcfab78247 2012-05-27 Junichi Satoh <junichi@rworks.jp>
* general/pandora_help.php: Fixed i18n translation does not work
	in the help window.

	* include/help/ja/help_main_help.php: Added new general
	introduction help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-27 02:20:43 +00:00
santimunin 3efaf75d3d 2012-05-24 Santiago Munin <burning1@gmail.com>
* include/functions_api.php: Added "group id" and "tag" to the current get_events filters.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-24 19:37:24 +00:00
zarzuelo d777cd8f94 2012-05-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/ajax/agent.php
	include/functions_io.php
	include/constants.php
	operation/agentes/ver_agente.php
	godmode/groups/group_list.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.item_editor.php: Change the
	metaconsole error controls to adapt the calls to last changes
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 12:23:49 +00:00
slerena 3cdf47e5b6 2012-05-22 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Added definition for module unknown.

        * operation/agentes/status_monitor.php: unknown modules are always
        drawn in grey. Fixed inconsistent behaviour.

        * images/status_sets/color_text/module_unknown.png: Missing image.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 10:00:21 +00:00
zarzuelo 5fd61467d8 2012-05-21 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_alerts.js
	godmode/alerts/configure_alert_action.php: Added descrption of
	the selected command under the combo when select one in 
	the action editor to help user.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 10:28:35 +00:00
zarzuelo b7d52a2503 2012-05-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added create_network_module_from_component 
	operation to API



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 13:41:54 +00:00
vgilc 9cc02bfaf5 2012-05-17 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  pandoradb_data.sql
	  pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
	  index.php
	  godmode/users/configure_user.php
	  include/functions_config.php
	  include/javascript/jquery.pandora.js: Added password policy.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 11:08:11 +00:00
zarzuelo c6cb4ba961 2012-05-16 Sergio Martin <sergio.martin@artica.es>
* include/constants.php: Added a constants for
	more common used colors in pandora: critical, 
	warning, normal, unknown...

	* extensions/agents_alerts.php: Added new view of
	agents/alerts for pending tasks #3468889



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-16 14:52:49 +00:00
juanmanuelr add0143e94 2012-05-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css: Added transparent background in input
	html elements of image type.
	
	Bugfix merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-14 16:12:27 +00:00
zarzuelo 9882ab6c0d 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
	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: Fix some layout
	little bugs in module editor and added unit parameter
	to network components for pending task #3520706



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 15:35:28 +00:00
mdtrooper 614db7dce4 2012-05-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_users.php: fixes from the equal chat in the
	Integria IMS.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 15:05:18 +00:00
jsatoh 4fefd5f467 2012-05-10 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Added to help two new macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 09:39:53 +00:00
zarzuelo db3148848b 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_macros.php
	include/help/es/help_alert_macros.php: Added to help two new
	macros



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 08:45:55 +00:00
zarzuelo 007e4b389a 2012-05-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Merged from 4.0 the extra_sql
	get code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 16:13:31 +00:00
zarzuelo 535b4b642d 2012-05-09 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_macros.php
	include/help/es/help_alert_macros.php
	include/functions.php
	include/functions_agents.php: Fixing some missing or wrong macros
	into help and added Minor and Major severities to alerts 
	and clean some code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 16:05:16 +00:00
slerena a27d2305cd 2012-05-08 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: Fixed search, was
        not working due html encoding in the SQL. Alter some layout
        issues (centering data in columns)

        * extensions/ssh_gateway*: New extension to connect SSH/Telnet
        servers from the console, using external anytermd daemon running
        in the pandora server.

        * pandora.css: Fix title height.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-08 15:43:45 +00:00
juanmanuelr 7ffe2eb915 2012-05-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css: Reverted changes (bag visualization
	in Firefox).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-07 14:54:23 +00:00
juanmanuelr 16e05c51c8 2012-05-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css: Fixed input layout in login screen.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-07 14:37:28 +00:00
juanmanuelr 17d54e5249 2012-05-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php: Changed way of truncate agent 
	name in header due to bad visualization if agent name has entities.
		
	* include/styles/pandora.css
	images/header_f2.png: Modified header image with 3000px width. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-04 08:43:26 +00:00
mdtrooper a64560c081 2012-05-03 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: fixed ".is_submenu2 li" because there
	is not ":".
	
	* include/functions_reporting.php: cleaned source code style.
	
	* godmode/reporting/reporting_builder.php: removed a PHP notice
	message about a uninicialized var.
	
	* godmode/reporting/graphs.php: fixed lost icon in the header bar
	in this page.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 13:57:55 +00:00
mdtrooper a9281ed51f 2012-05-03 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/menu.css: fixed bad colour name "#grey" for correct
	colour name "grey".
	
	* include/constants.php: added constants for backup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 11:29:04 +00:00
juanmanuelr 488e584e72 2012-05-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css: Removed background color of 
	header separators and background header font color in godmode views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 11:11:22 +00:00
juanmanuelr e1e2b45d38 2012-05-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_legacy.css
	 include/styles/pandora.css
	 images/skin/skin_default/include/styles/pandora.css: Fixed 
	 information messages in other css files different than the default
	 css file. Also resized header image to 100% width.
	 
	* operation/agentes/tactical.php: Fixed print_cells_temp function 
	when it has not color like argument.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 10:44:07 +00:00
mdtrooper 5a8b19b129 2012-05-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: refixed the add the
	items with modules with entities.
	
	* include/functions_reporting.php, include/functions_networkmap.php,
	include/functions_visual_map.php: cleaned source code style.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 09:35:30 +00:00
slerena 7a84bf9cd3 2012-04-30 Sancho Lerena <slerena@artica.es>
All changes (except a small patch on function_groups) are
	ported from 4.0.2 development branch. 

	* include/help/en/help_main_help.php: Added new general
	introduction help file. Need work.

	* include/functions_events.php: Fixed link colors and other 
	aesthetic improvements.
	
	* include/styles/pandora_legacy.css
	include/styles/pandora_black.css
	include/styles/pandora.css
	include/styles/pandora_bluenavy.css
	include/styles/pandora_minimal.css
	include/styles/pandora_blackmetal.css
	include/styles/pandora_green.css:
	
	
	* extensions/agents_modules.php,
	include/functions_groups.php: now colors uses CSS instead
	fixed codes in code. In function_groups also I've also applied a missing
	patch from the 4.0 with corrections on the Group extration from the DB.
	
	* operation/events/sound_events.php: Fixed small format problem.
	
	* operation/events/events_list.php: Link on event now "zoom it" instead
	filter for the same events (nosense since agrupatio is the default view!). 
	Fixed a	lof of aesthetic issues, now uses CSS for most issues.

	* operation/agentes/tactical.php
	operation/agentes/estado_generalagente.php: more work in the visual
	aspect of the information.
	
	* images/status_sets/default/agent_ok.png
	images/status_sets/default/module_warning.png
	images/status_sets/default/module_ok.png
	images/status_sets/default/agent_warning.png: Replaced colors with
	more contrast, easier to view for operators!.
	
	* images/header_f2b.png
	images/header_f2.png: new style headers.
	
	* general/header.php: New icon for general help.
	
	* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
	agent icons. Now it's much better :)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 19:22:07 +00:00
vgilc 17fcf15146 2012-04-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_filemanager.php: Fixed: Collection list
	looks bad.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 15:21:38 +00:00
mdtrooper 61dca6acd6 2012-04-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: fixed when the
	module have a spaces or other entities in the name when try to
	create a items with the wizzard.
	
	* godmode/reporting/visual_console_builder.wizard.php: changed the
	style of form to show more horizontality.
	
	Fixes: #3521724
	
	
	
	* include/functions_reporting.php: fixed the "Top-N".
	
	Fixes: #3521724
	
	* include/functions_agents.php: cleaned source code style.
	
	* operation/agentes/ver_agente.php: return more data in the ajax
	request for the modules.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 12:44:26 +00:00
vgilc 81e4534839 2012-04-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_server.php: Fixed broken link in server view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 09:25:07 +00:00
mdtrooper a3f8d63556 2012-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php: into the function
	"events_validate_event" fixed the return false when fail validation.
	
	* include/functions_network_components.php: fixed the includes.
	
	* operation/agentes/exportdata.php: cleaned source code style.
	
	* include/functions_api.php: fixed the checking error to healty
	level into the function "get_events".
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 12:52:33 +00:00
zarzuelo 862e2e6ae8 2012-04-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php
	include/functions_ui.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_monitores.php
	godmode/reporting/visual_console_builder.elements.php: Fixed several 
	title text in force icon (green donut)

	* operation/menu.php: Fixed missed "Edit my user" option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 11:13:03 +00:00
juanmanuelr 8d2c8167c5 2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css
	 include/javascript/jquery.pandora.js
	 index.php
	 general/login_help_dialog.php: Added input for license in blocking
	 license modal windows.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 20:46:38 +00:00
mdtrooper c440b53603 2012-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php,
	operation/events/events_list.php: cleaned source code style.
	
	* include/functions_events.php,
	include/functions_network_components.php,
	include/functions_api.php: fixed some things, the function
	"events_validate_event" when can't update as validate any event
	return false, into the file "functions_network_components" added
	$config['homedir'] for situations where include in a other path that
	index. And show error when make a bad validate event.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 14:42:48 +00:00
juanmanuelr da5f54ffd8 2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_forms.css
	 include/functions_themes.php: Removed bad Css files from visual 
	 styles.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 13:57:30 +00:00
vgilc 6e285177d9 2012-04-26 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_filemanager.php: Changed all messages.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 11:34:34 +00:00
mdtrooper b2dbe16678 2012-04-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/agentes/exportdata.php:
	cleaned source code style.
	
	* include/functions_api.php: fixed prevent the empty string in the
	status into the search events.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 10:03:53 +00:00
juanmanuelr f16b3e48e5 2012-04-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 index.php: Added support for new login help modal window.

	* general/login_help_dialog.php: New login help modal window.
	 
	* include/functions_ui.php
	 general/logoff.php: Added required javascript files.
      
	* extensions/update_manager.php: Changed license modal 
	window style to Chrome box model.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 19:20:23 +00:00
mdtrooper 2f6aa54e9c 2012-04-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/api.php: fixed when some error
	in get_events__user, and added constants flags for debug in the
	header of source file.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 18:09:05 +00:00
mdtrooper a380cb1f90 2012-04-24 Miguel de Dios <miguel.dedios@artica.es>
* install.php: cleaned source code style.
	
	* include/functions_graph.php: added into the src attribute the
	$config['homeurl'] in the functions "progress_bar" and
	"progress_bubble" to show the images in other paths that usually
	path.
	
	* include/functions_ui.php: fixed into the function
	"ui_process_page_head" when try to use in others paths that usually
	path (like as homeurl) and this bug have been for js and css.
	
	* operation/visual_console/public_console.php: fixed and re-design
	the page.
	
	Fixes: #3520670
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 13:45:02 +00:00
mdtrooper 0b01ae6fc6 2012-04-24 Miguel de Dios <miguel.dedios@artica.es>
* include/Image/image_functions.php: fixed into the function
	"createthumb" when you have a path with "." character try to extract
	the extension of file before of name of file.
	
	* include/config_process.php: disabled warning message of PHP5 about
	the timezone.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 11:52:07 +00:00
juanmanuelr c5226a3b4b 2012-04-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 operation/agentes/stat_win.php: Added units to Y axis in static 
	graphs. Also changed layout of launcher module graph window. 
	
	Fixes: #3520728



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 11:20:27 +00:00
mdtrooper 463c5f6fcc 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed into the function
	"visual_map_print_visual_map" the unclose links of percentile bar.
	
	Fixes: #3520640
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 17:21:46 +00:00
mdtrooper 5b392d839d 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* index.php: fixed notice message php.
	
	* extensions/update_manager/lib/libupdate_manager.php: fixed into
	the function "um_db_load_settings" the cache of DB, and set to
	translate some untranslate text.
	
	* include/config_process.php: added for a long time the setting the
	$develop_bypass as global.
	
	* extensions/update_manager/settings.php, operation/menu.php,
	operation/search_agents.php: cleaned source code style.
	
	* include/functions_config.php: fixed php noticie message of the
	var "$config['update_manager_installed']" in the first execution
	after intallation.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 14:29:34 +00:00
zarzuelo ac69a23786 2012-04-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/ajax/networkmap.ajax.php
	operation/agentes/networkmap.topology.php: Fixed several
	errors in the apache log when generate networkmap and add
	to the root node a little map summary



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 14:21:54 +00:00
mdtrooper 31843ad2a0 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_users.php, operation/users/webchat.php: added
	list users in chat.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 12:36:53 +00:00
juanmanuelr f1f5c6ccdb 2012-04-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_networkmap.php
	 operation/agentes/networkmap_list.php
	 operation/menu.php: Added new view with a list of networkmaps.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:37:17 +00:00
mdtrooper db8628453a 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/javascript/jquery.pandora.js,
	include/functions_db.php: cleaned source code style.
	
	* include/functions_users.php, index.php, operation/menu.php,
	operation/users/webchat.php, include/javascript/webchat.js,
	general/header.php: added first version of webchat.
	
	* include/functions.php: into the function "check_login" added the
	parameter $output for some cases don't want see the error page like
	as the ajax querys.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:20:28 +00:00
jsatoh 5bec9afe72 2012-04-21 Junichi Satoh <junichi@rworks.jp>
* include/functions_config.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-21 14:50:33 +00:00
jsatoh 1f34d27715 2012-04-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_network_map.php: Updated description to
	follow usability improvement of network map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-21 09:25:19 +00:00
zarzuelo ad1202bbf9 2012-04-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Setted last_reference database
	field to actual utimestamp when create an alert to avoid
	unecessary charge on server 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 11:38:04 +00:00
zarzuelo a2a56fa550 2012-04-20 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	operation/agentes/networkmap.php: Fixed bug changing the
	map name and improved the usability of the settings form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 11:09:43 +00:00
koichirok 1f181bdfa9 2012-04-20 Kikuchi Koichiro <koichiro@rworks.jp>
* extensions/update_manager.php,
	  extensions/update_manager/sql/update_manager.sql,
	  extensions/update_manager/sql/update_manager.postgreSQL.sql,
	  extensions/update_manager/sql/update_manager.oracle.sql,
	  extensions/update_manager/lib/libupdate_manager_client.php,
	  extensions/update_manager/lib/libupdate_manager.php,
	  include/db/postgresql.php,
	  include/db/oracle.php,
	  include/db/mysql.php,
	  include/functions_config.php,
	  include/config_process.php,
	  include/functions_db.php: Now pandora_console support DB
	 running on non-standard port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 07:18:01 +00:00
juanmanuelr 3e1cc1475d 2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Added check for update manager in 
	the config process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 16:00:32 +00:00
mdtrooper 4bd469036b 2012-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, extensions/update_manager.php,
	extensions/update_manager/lib/functions.php: fixed the first
	intallation of update manager.
	
	Merged from the branch "pandora_4.0".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 18:39:58 +00:00
slerena 9195bc889b 2012-04-18 Sancho Lerena <slerena@artica.es>
* operation/servers/recon_view.php: Fix	column header.

        * godmode/agentes/module_manager_editor_plugin.php: Now	plugin description
        is shown formatted (\n -> <br>). Some fields have better layout.

        * godmode/servers/plugin.php: Ajax load	of description is now formatted.

        * godmode/servers/manage_recontask.php:	Fix link to show recon server.

        * godmode/servers/manage_recontask_form.php: Wider textarea.

        * pandoradb_data.sql: New defaults (4 plugins, 2 recon scripts).

        * include/functions_events.php:	More space visible in event info, smaller
        font.

        * include/config_process.php: Updated version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 18:28:08 +00:00
juanmanuelr cd7d77a224 2012-04-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_minimal.css
	 include/javascript/pandora.js
	 operation/agentes/stat_win.php: Changed layout of interactive graph
	 menu.
	
	* images/graphmenu_arrow.png
	 images/graphmenu_arrow_hide.png: Added images for interactive 
	 graph menu.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 16:08:48 +00:00
mdtrooper e2d77a9803 2012-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: into the function
	"agents_get_agent_id" the parameter "$io_safe_input" for transform
	the names if true, by default false.
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.php, include/functions_ui.php: cleaned
	source code style.
	
	Merged from th branch "pandora_4.0".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 12:56:14 +00:00
juanmanuelr 8ecadd3c90 2012-04-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	 include/styles/pandora.css
	 include/javascript/jquery.pandora.js
	 include/functions_config.php
	 include/functions_ui.php
	 extensions/update_manager.php
	 extensions/update_manager/load_updatemanager.php
	 extensions/update_manager/lib/functions.ajax.php
	 extensions/update_manager/settings.php
	 operation/system_alert.php
	 general/login_page.php
	 godmode/setup/setup.php: Changed layout in modal windows for 
	 license information also changed several styles.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 08:08:04 +00:00
zarzuelo 63d96bf549 2012-04-17 Sergio Martin <sergio.martin@artica.es>
* include/config_process.php
	extensions/users_connected.php: Improved users connected extension
	to know users connected last 5 minutes (connected means charge
	any page, not only login)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 13:44:10 +00:00
mdtrooper 641e7cffcb 2012-04-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, extensions/net_tools.php: cleaned
	source code style.
	
	* include/functions_networkmap.php: into the functions
	"networkmap_generate_dot" and "networkmap_create_agent_node"
	added new parameter $relative for set the url of icons as relative.
	It is used in networmap enterprise.
	
	* include/functions_ui.php: fixed into the function
	"ui_print_message" lost the javascript code when the first messages
	are without close button. And into the function "ui_print_os_icon"
	added new parameter $relative for set the url of icons as relative.
	It is used in networmap enterprise.
	
	Merged from the branch "pandora_4.0".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 13:08:08 +00:00
zarzuelo 82eb1e9407 2012-04-17 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Stripped # character in a 
	string before converted it to image 3504479



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 09:36:28 +00:00
zarzuelo a668e7a00e 2012-04-16 Sergio Martin <sergio.martin@artica.es>
* include/graphs/fgraph.php
	include/functions_visual_map.php: Improved the 
	min size of the area graphs and clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-16 15:34:54 +00:00
juanmanuelr 2ddbea117c 2012-04-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 include/styles/pandora.css
	 operation/system_alert.php
	 include/functions_config.php
	 general/login_page.php: Modified style in UM license advises, also
	 modified style in system alerts dialog. 

	* include/functions_ui.php: Modified function ui_print_message to 
	allow force the style.
	
	* include/styles/pandora_legacy.css: New css style with Pandora old
	style "legacy". New style has 100% page width.

	* images/spinner.gif
	 images/spinner.png: Added new spinners with transparency.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-16 11:24:47 +00:00
jsatoh 5db82019c5 2012-04-14 Junichi Satoh <junichi@rworks.jp>
* include/functions_tags.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-14 14:51:14 +00:00
zarzuelo 74553e4e34 2012-04-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	godmode/reporting/visual_console_builder.editor.js: Fixed several
	bugs in the simple value item in the visual console and unified 
	repeated code merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-13 11:15:14 +00:00
mdtrooper 9169cd5ea5 2012-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, index.php,
	extensions/update_manager/lib/functions.ajax.php,
	extensions/update_manager/lib/functions.php,
	extensions/update_manager/main.php,
	extensions/update_manager/update_pandora.php,
	general/logon_ok.php:: some fixeds and some changes for run fine and
	pretty the update manager. 
	
	Merged from the branch "pandora_4.0"
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-13 10:39:28 +00:00
juanmanuelr 274518b31e 2012-04-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/jquery.pandora.js
	 extensions/update_manager.php
	 extensions/update_manager/settings.php: Added modal window with UM
	 license info.
	
	* extensions/update_license_info.php: Added extension with UM 
	license info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 14:43:26 +00:00
mdtrooper bf59a377e1 2012-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: add changes for the new standarized messages.
	 
	* extensions/update_manager/update_pandora.php: reverded the deleted file,
	sorry.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 12:38:42 +00:00
mdtrooper f927caa9c8 2012-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: standariced the messages and added one more for
	info.
	
	* include/functions.php: added function "enterprise_installed".
	
	* extensions/update_manager/update_pandora.php: removed file, because it is
	into update_manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 12:20:38 +00:00
mdtrooper d73b391e16 2012-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, extensions/update_manager.php,
	extensions/update_manager/lib/functions.ajax.php,
	extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/functions.php,
	extensions/update_manager/settings.php,
	extensions/update_manager/main.php,
	extensions/update_manager/update_pandora.php: added feature to update the
	Pandora Console open.

	Merged from the branch "pandora_4.0"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 11:31:45 +00:00
juanmanuelr 6c382e5e48 2012-04-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 include/styles/pandora.css
	 include/auth/mysql.php
	 general/login_page.php: Modal windows improved and changes in login 
	 page error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 09:26:51 +00:00
zarzuelo 271a578cd8 2012-04-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed pendigdelete
	rename of the modules when the agent is erased for
	bug 3509327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 09:08:08 +00:00
juanmanuelr c6233b0266 2012-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php: Fixed ui_print_timestamp function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-11 09:37:30 +00:00
juanmanuelr 45b9a6c960 2012-04-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/reporting.ajax.php
	 godmode/reporting/reporting_builder.list_items.php
	 godmode/reporting/graph_builder.main.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/reporting_builder.item_editor.php: Several fixes 
	 in metaconsole reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 15:33:26 +00:00
zarzuelo a7344af05e 2012-04-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed an error when try
	to retrieve policy acl's without agents choosed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 13:37:06 +00:00
zarzuelo ddceabbe8d 2012-04-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_add_action_alerts.php: Improve some parts
	of massive operations section as add ALL/COMMON switch in the
	agents/modules selectors, allow to select multiple alert actions 
	in the delete/add operations, add the period advanced control to
	the modules edition section and improve this period control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 11:28:36 +00:00
mdtrooper 3f3bfb1629 2012-04-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: cleaned source code style.
	
	* extensions/update_pandora,
	extensions/update_pandora/functions.ajax.php,
	extensions/update_pandora/functions.php,
	extensions/update_manager/lib/functions.ajax.php,
	extensions/update_manager/lib/functions.php: moved this files into the
	extension update_manager.

	* extensions/update_manager/main.php: added hook (as a tab) the 
	"update_pandora".

	Merged from the branch pandora_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 15:23:51 +00:00
juanmanuelr a93d5c5bdf 2012-04-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js
	 include/ajax/agent.php: Fixed autocomplete agent functionality when
	 metaconsole is activated.
	 
	 Fixes: #3514539



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 14:09:13 +00:00
zarzuelo d601e83dde 2012-04-09 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js
	godmode/groups/group_list.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_add_action_alerts.php: Improved the 
	template actions sections into massive operations 
	deleting compound deprecated alerts and showing only the
	agents with templates in the combos



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 11:09:40 +00:00
zarzuelo 151d887a7f 2012-04-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_reports.php: Fixed "forecating"
	typo error



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 08:32:46 +00:00
jsatoh 647ac2625a 2012-04-08 Junichi Satoh <junichi@rworks.jp>
* include/db/postgresql.php, include/functions_config.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_edit_modules.php: Fixed SQL error with
	PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-08 12:43:18 +00:00
juanmanuelr 99248c0eaf 2012-04-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora_modules.js
	 include/functions.php
	 extensions/snmp_explorer.php
	 godmode/agentes/module_manager_editor.php: Fixed several errors in
	 snmp walk and snmp explorer functionality.
	 
	 Fixes: #3514508



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 12:30:11 +00:00
vgilc 57e54397a9 2012-04-04 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_messages.php: Fixed bug duplicate
	sent messages.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 11:40:34 +00:00
zarzuelo 2a4f9be626 2012-04-03 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_edit_modules.php: Added the same
	extended form of the massive edit modules to massive
	delete modules section. Added to both a new combo to 
	select the behavior of the multi select of agents/modules
	selecting all or common for the result.
	Fixed some bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 16:33:38 +00:00
vgilc 12af21cb24 2012-04-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_groups.php:
	  godmode/users/configure_user.php: Fixed bug creating users.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 14:07:42 +00:00
darode 972149366e 2012-04-03 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php: Deleted extension icon on menus.

	* extensions/extension_uploader.php: Fixed wrong link to menu for this
	extension.

	* operation/menu.php,
	godmode/menu.php: Fixed duplicated extension links on menus.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 13:26:22 +00:00
vgilc b8fd0e493b 2012-04-03 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql,
	  include/functions_groups.php: : removed 'created_by'
	to tusuario table and modify select users.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 09:08:42 +00:00
mdtrooper c3879f3c50 2012-04-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added into function "html_debug_print" the
	equal output to log file, this is with more data.
	
	* include/functions_db.php: cleaned source code style.
	
	* extensions/update_pandora/functions.ajax.php,
	extensions/update_pandora/functions.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/update_pandora.php: added extension to update pandora from the
	targz of Sourceforge.
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 15:57:48 +00:00
juanmanuelr 0451f52652 2012-04-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 include/javascript/jquery.pandora.js: Changed style in license 
	 advises to new appearance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 14:40:55 +00:00
darode 979415912c 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php
	extensions/users_connected.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php,
	operation/menu.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.list.php,
	operation/messages/message_edit.php,
	operation/messages/message_list.php: Create new menu item called 
	workspace.
	* godmode/reporting/map_builder.php
	operation/visual_console/render_view.php: Fixed some errors related to
	new menu structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 14:33:34 +00:00
darode f115819659 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php
	operation/menu.php
	godmode/menu.php: Finish changes in reporting menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 09:49:12 +00:00
zarzuelo b9557f1cb1 2012-04-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php: Fixed little bugs
	of the inventory reports and translation strings

	* operation/reporting/reporting_viewer.php: Added fixed
	configuration line of the pickdate jquery control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 09:43:58 +00:00
hkosaka 582c135fe3 2012-04-02 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added new functions
	get_module_groups and get_plugins to the API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 07:14:42 +00:00
jsatoh 3d97ab3afa 2012-03-31 Junichi Satoh <junichi@rworks.jp>
* include/functions_graph.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-31 06:45:05 +00:00
juanmanuelr b8d182ffac 2012-03-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/splash_error.png: Added background image for error views.
	
	* include/styles/pandora.css
	 general/error_emptyconfig.php
	 general/error_perms.php
	 general/error_authconfig.php
	 general/error_noconfig.php
	 general/error_install.php
	 general/error_dbconfig.php: Changed views to the new look and feel. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-30 14:42:12 +00:00
vgilc 51907a0a9b 2012-03-28 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: added 'created_by'
	to tusuario table and modify 'mensaje' field to tmensajes.

	* general/header.php
	  godmode/users/configure_user.php
	  include/functions_groups.php
	  include/functions_messages.php
	  include/javascript/jquery.pandora.js
	  operation/menu.php: Added operation: Fixed several bugs and
	modify sending and receiving messages.

	* images/email_go.png
	  images/email_edit.png
	  operation/messages/message_list.php
	  operation/messages/message_edit.php: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 14:54:27 +00:00
zarzuelo 15d750a69f 2012-03-28 Sergio Martin <sergio.martin@artica.es>
* include/styles/images/ui-bg_gloss-wave_35_f6a828_500x100.png
	include/styles/images/ui-bg_flat_10_000000_40x100.png
	include/styles/images/ui-bg_diagonals-thick_20_666666_40x40.png
	include/styles/images/ui-icons_228ef1_256x240.png
	include/styles/images/ui-icons_ffd27a_256x240.png
	include/styles/images/ui-bg_diagonals-thick_18_b81900_40x40.png
	include/styles/images/ui-icons_ffffff_256x240.png
	include/styles/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
	include/styles/images/ui-bg_glass_65_ffffff_1x400.png
	include/styles/images/ui-icons_222222_256x240.png
	include/styles/images/ui-icons_ef8c08_256x240.png
	include/styles/images/ui-bg_glass_100_fdf5ce_1x400.png
	include/styles/images/ui-bg_glass_100_f6f6f6_1x400.png
	include/functions_ui.php
	include/languages/datepicker
	include/languages/datepicker/jquery.ui.datepicker-eo.js
	include/languages/datepicker/jquery.ui.datepicker-bs.js
	include/languages/datepicker/jquery.ui.datepicker-fo.js
	include/languages/datepicker/jquery.ui.datepicker-ta.js
	include/languages/datepicker/jquery.ui.datepicker-cs.js
	include/languages/datepicker/jquery.ui.datepicker-es.js
	include/languages/datepicker/jquery.ui.datepicker-eu.js
	include/languages/datepicker/jquery.ui.datepicker-ko.js
	include/languages/datepicker/jquery.ui.datepicker-is.js
	include/languages/datepicker/jquery.ui.datepicker-no.js
	include/languages/datepicker/jquery.ui.datepicker-hu.js
	include/languages/datepicker/jquery.ui.datepicker-sk.js
	include/languages/datepicker/jquery.ui.datepicker-vi.js
	include/languages/datepicker/jquery.ui.datepicker-uk.js
	include/languages/datepicker/jquery.ui.datepicker-ms.js
	include/languages/datepicker/jquery.ui.datepicker-hy.js
	include/languages/datepicker/jquery.ui.datepicker-ro.js
	include/languages/datepicker/jquery.ui.datepicker-de-CH.js
	include/languages/datepicker/jquery.ui.datepicker-zh-HK.js
	include/languages/datepicker/jquery.ui.datepicker-sq.js
	include/languages/datepicker/jquery.ui.datepicker-ru.js
	include/languages/datepicker/jquery.ui.datepicker-af.js
	include/languages/datepicker/jquery.ui.datepicker-id.js
	include/languages/datepicker/jquery.ui.datepicker-fr-CH.js
	include/languages/datepicker/jquery.ui.datepicker-el.js
	include/languages/datepicker/jquery.ui.datepicker-ar.js
	include/languages/datepicker/jquery.ui.datepicker-sr-SR.js
	include/languages/datepicker/jquery.ui.datepicker-fr.js
	include/languages/datepicker/jquery.ui.datepicker-et.js
	include/languages/datepicker/jquery.ui.datepicker-nl.js
	include/languages/datepicker/jquery.ui.datepicker-zh-TW.js
	include/languages/datepicker/jquery.ui.datepicker-hr.js
	include/languages/datepicker/jquery.ui.datepicker-az.js



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 11:55:23 +00:00
juanmanuelr 6b00414b4a 2012-03-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/bottom_logo_enterprise.png
	 images/bottom_logo.png
	 images/login_bottom.png
	 images/login_background.png
	 images/pandora_login.png
	 images/login_botton.png
	 images/ui_title.png
	 images/ui_dialog_background.png
	 images/pandora_login_enterprise.png
	 images/splash_logout.png: Added images for new login screen.
	 
	* images/splash_pandora.png
	 include/styles/images/dialog-titlebar-close.png
	 include/styles/images/dialog-titlebar-close-hover.png: Modified 
	 images for login screen.

	* include/styles/dialog.css
	 include/styles/pandora.css: Modified css files for login screen.
	 
	* general/login_page.php
	 general/logoff.php: Login and logout screens modified.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-27 17:00:55 +00:00
zarzuelo f92a43ca52 2012-03-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed duplicy agents in the
	main screen summary



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-27 16:30:28 +00:00
zarzuelo 97edcb10f2 2012-03-27 Sergio Martin <sergio.martin@artica.es>
* include/styles/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
	include/functions_reporting.php
	include/functions.php
	include/constants.php
	include/functions_reports.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Clean code, 
	fix a baseline graph report, and add a new tipe of report item:
	inventory



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-27 07:44:54 +00:00
hkosaka c46b9da534 2012-03-26 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed set_create_plugin_module
	to look proper data in checking input parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-26 01:02:52 +00:00
jsatoh cce5eed769 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/functions_graph.php, operation/events/events_list.php: Fixed
	SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 12:32:18 +00:00
jsatoh 8d999ead87 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/db/postgresql.sql: Removed unnecessary quotes for making
	query in postgresql_db_get_all_rows_filter().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 08:04:36 +00:00
jsatoh 1d3442f6cd 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/db/postgresql.php: Fixed bad syntax for WHERE clause in
	postgresql_db_format_array_where_clause_sql().

	* include/functions_config.php: Back to previous version, because
	fixed bad sql in include/db/postgresql.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 00:59:34 +00:00
jsatoh e4ac6834b6 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* include/db/postgresql.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 14:31:23 +00:00
jsatoh f120f5b288 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* include/functions_agents.php, include/functions_config.php,
	include/db/postgresql.php, operation/agentes/estado_agente.php: Fixed
	SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 12:15:18 +00:00
jsatoh ba636a0eae 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_wmifield.php: Fixed wmi field help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 07:46:55 +00:00
vgilc 4ea5b7e229 2012-03-23 Vanessa Gil <vanessa.gil@artica.es>
* include/help/en/help_wmifield.php
	  include/help/es/help_wmifield.php: Fixed wmi field help.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-23 12:21:06 +00:00
zarzuelo fc07ea169a 2012-03-22 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Added calculation
	of the left side of the graph space. Merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 17:47:55 +00:00
vgilc 011b44a072 2012-03-22 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: added 'operation'
	to treport_content_item table.

	* godmode/reporting/reporting_builder.item_editor.php
	  include/functions_reporting.php
	  include/ajax/reporting.ajax.php
	  include/javascript/pandora.js: Added operation: sum,max,min or avg to
	global reports.

	* images/sum.png
	  images/avg.png
	  images/min.png
	  images/max.png: Added icons.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 16:05:42 +00:00
zarzuelo ced185dcbb 2012-03-22 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	  include/graphs/pChart/pDraw.class.php: Added to pchart library the
	parameter to set an independent font size to graph ticks and set it
	on the graph charts one point less



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 12:56:53 +00:00
mdtrooper d21b47222d 2012-03-22 Miguel de Dios <miguel.dedios@artica.es>
& Sergio Martin <sergio.martin@artica.es> using Gobby collaborative
	real-time editor http://obby.0x539.de
	
	* include/functions.php: changed into the function "get_report_types" the
	array types to tree for show better the select box, and changed into the
	function "get_report_name".
	
	* include/functions_forecast.php: fixed into the function
	"forecast_projection_graph" when zero data and change to user the user conf
	style for the dates.

	* include/functions_html.php: the function "html_debug_print" was improved
	to show type and sizes.

	* include/functions_reporting.php: renamed the function "header_content" to
	"reporting_header_content" and in this function change to use the user conf
	style for the dates.
	
	* include/functions_networkmap.php: cleaned source code style.
	
	Merged from the branch pandora_4.0
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 12:14:15 +00:00
zarzuelo 610a8d2a1b 2012-03-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	operation/agentes/stat_win.php: Fixed period control
	in the popup graph menu (stat_win) merged from 4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 11:22:07 +00:00
zarzuelo 0228582a75 012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions.php
	include/functions_alerts.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_list.builder.php: Improved the
	periods control and added it to the alerts action threshold 
	and alert template threshold



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 10:58:52 +00:00
zarzuelo 1d2cb33c36 2012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/config_process.php
	include/functions.php
	include/constants.php: Add a new include file
	only for constants



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 08:50:14 +00:00
zarzuelo 7630a88fbd 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Recoded the human_time_description_raw
	function fixing bugs and improving exactly mode even years accuracy



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 16:45:32 +00:00
zarzuelo e0599fe050 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Improved period form in the
	report view and navegability merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 15:17:44 +00:00
mdtrooper 4b0b2ebecd 2012-03-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: now the function
	"html_print_input_text_extended" accept a script code as string for event
	"keyup" or as array where the index is string for each event where you want
	add javascript code. And make more pretty the page of report and cleaned
	source code style. 

	* include/functions_reporting.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.php: changed the old method to order
	items in a report for the method with checks and move the block of items.

	* godmode/reporting/reporting_builder.preview.php: removed this file, now
	it use the html view in operation. 
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:46:24 +00:00
zarzuelo 99a189d468 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/public_console.php: Fixed the
	public visual console graphs adding homeurl



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:03:06 +00:00
zarzuelo cb7af0a717 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: add
	new period control to the visual console graph item editor




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 10:03:22 +00:00
zarzuelo 84b5c86cf7 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fixed typo bug from last
	commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:08:10 +00:00
zarzuelo 07a1087613 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js: Fixed problem with two 
	or more time controls at the same time adding uniq id
	to selects

	* godmode/agentes/module_manager_editor_common.php
	godmode/reporting/reporting_builder.item_editor.php: Clean
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:03:59 +00:00
zarzuelo c54d341691 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	images/pencil.png
	images/default_list.png: Improved the usability
	of the periods advanced control toggling between
	manual and default mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 09:23:09 +00:00
zarzuelo 3534f3747c 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fix a little bug
	of default value in time advance control

	* operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.preview.php: Remove 
	the preview graphs and replace it by link of the
	operation mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 18:35:23 +00:00
zarzuelo 6724671bae 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/agentes/module_manager_editor_common.php: Added 
	advanced select for time to modules create/update form,
	improve layout of this form and add default value of 
	5 minutes to select



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 17:30:13 +00:00
zarzuelo a6d22bc5e3 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions_custom_graphs.php
	include/functions.php
	operation/agentes/datos_agente.php
	operation/agentes/gis_view.php
	operation/agentes/graphs.php
	operation/agentes/stat_win.php
	operation/reporting/graph_viewer.php
	mobile/operation/agents/view_agents.php
	godmode/agentes/agent_manager.php
	godmode/massive/massive_edit_agents.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/graph_builder.preview.php: changed the 
	html_print_extended_select_for_time function to select
	easily the custom period and do it genericly.
	Clean all the calls to this function and unify the 
	combo periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 16:03:51 +00:00
hkosaka ec6d0458a5 2012-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Fixed the function "set_new_agent"
	to refer to the proper $config.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 02:57:16 +00:00
mdtrooper 23cc6b8192 2012-03-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixes and changes for to show better the
	html reports.
	
	* include/functions_groups.php: cleaned source code.
	
	* include/functions.php: fixed and changed the function "string2image" to
	create the text with any size and use ttf font.
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 18:08:40 +00:00
vgilc 5e0977a287 2012-03-14 Vanessa Gil <vanessa.gil@artica.es>
* godmode/alerts/alert_actions.php
	  godmode/alerts/alert_commands.php
  	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_template.php
	  godmode/modules/manage_nc_groups.php
	  godmode/modules/manage_netwok_components.php
	  godmode/modules/manage_network_templates.php
	  godmode/modules/manage_network_templates_form.php
	  godmode/reporting/graph_builder.php
	  godmode/reporting/graphs.php
	  godmode/reporting/map_builder.php
	  godmode/reporting/reporting_builder.php
	  godmode/reporting/visual_console_builder.php
	  godmode/snmpconsole/snmp_alert.php
	  godmode/tag/edit_tag.php
	  godmode/tag/tag.php
	  include/functions_config.php
	  include/functions_events.php: Extended system audit log.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 17:51:39 +00:00
mdtrooper 58f71e17c2 2012-03-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: fixed into function
	"pch_slicebar_graph" unset var $antialias.

	Merged bugfix from branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 12:30:36 +00:00
mdtrooper e94d26e789 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed when the Pandora
	have not enterprise part and show "-1" instead empty string.

	* operation/reporting/reporting_viewer.php: added the enterprise posibility
	to generate PDF from this report. And added the posibility to go to edit the
	report from this page. Finally fixed the hidden first row of form, now show
	again the check to select method to calculate and the title and other
	things.

	* include/functions_ui.php: fixed into the function "ui_print_page_header"
	when the header have not any active tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:56:39 +00:00
mdtrooper c8c4b93ded 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed the calendar js
	show, fixed the double update button and added the enterprise posibility to
	generate PDF from this report.
	
	* include/javascript/pandora.js: fixed the re-enable the module list widget
	when sometimes start as disabled.

	* include/functions_reporting.php, operation/reporting/reporting_viewer.php:
	cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:01:36 +00:00
mdtrooper 8345131eb5 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the show value in the
	item simple value, now show formated and with units.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 13:14:28 +00:00
juanmanuelr 49a514bb62 2012-03-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Removed legend in 
	graphic_module_events function due to attachment overload.
	* include/functions_agents.php: Non-init count was bad because 
	normal modules are counted too.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 11:29:13 +00:00
mdtrooper 4a70cb0c2e 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: refixed again, removed the old method
	to put the items, the new method is with top and left instead the margin-top
	and margin-left. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 19:30:12 +00:00
mdtrooper cf8f5dc043 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: set to blue more light the
	color for unknow status for percentile item, and set the size of items
	create from the wizzard to 20 characteres.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 19:05:14 +00:00
mdtrooper 6d855e89c2 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: into the function "html_print_select" removed
	the hardcode style for the selectbox.
	
	* godmode/reporting/visual_console_builder.wizard.php: force the style of
	content table of form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 18:53:32 +00:00
mdtrooper 05b28e1302 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: apply format to graph in the
	data when show value in percentile item.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 18:31:15 +00:00
juanmanuelr ac9e81dede 2012-03-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php: Skin is not used on logon error.
	
	Fixes: #3464062
	
	* godmode/menu.php: Delete autorefresh in Pandora db interface.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 17:40:53 +00:00
mdtrooper 7e49bb8135 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php: added lost feature to set into
	the wizard the kind of label ("agent", "module", "agent-module" or empty).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 17:28:23 +00:00