Commit Graph

5640 Commits

Author SHA1 Message Date
mdtrooper 22fa90d004 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/file_manager.php, godmode/setup/news.php,
	godmode/users/configure_user.php, godmode/users/user_list.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/netflow/nf_edit.php, godmode/netflow/nf_edit_form.php,
	godmode/netflow/nf_item_list.php,
	godmode/netflow/nf_report_item.php, godmode/netflow/nf.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/agentes/tactical.php,
	operation/agentes/estado_generalagente.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/integria_incidents/incident_detail.php,
	operation/gis_maps/index.php, operation/events/events_list.php,
	operation/events/events.php, operation/messages/message_edit.php,
	operation/messages/message_list.php,
	operation/reporting/graph_viewer.php, operation/search_reports.php,
	operation/netflow/nf_view.php: cleaned source code.
	
	* godmode/massive/massive_operations.php,
	godmode/massive/massive_edit_modules.php: fixed the massive edition
	of "any" module in agents.
	
	Fixes: #3543484




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 16:38:48 +00:00
juanmanuelr a986c601eb 2012-07-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 include/functions_tags.php: Support for metaconsole tree counts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 14:16:24 +00:00
zarzuelo daf16f2d83 2012-07-24 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_plugin.php: Put back the
	dynamic macros to open version



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 13:25:30 +00:00
mdtrooper d12e86db9a 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/Tools.pm,
	lib/PandoraFMS/PredictionServer.pm: cleaned source code style.
	
	* lib/PandoraFMS/DB.pm: added functions "get_agent_status",
		"get_agent_modules" and "get_agentmodule_status".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 13:23:27 +00:00
zarzuelo 6176401c55 2012-07-24 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added 
	missed field to migrate scripts

	* godmode/agentes/module_manager_editor.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_plugin.php: 
	Improve code of dinamic macros and encapsulate it on enterprise
	side



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 11:55:02 +00:00
darode 4071876f27 2012-07-24 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Added comment to insert tag based
	ACL function in the future.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 10:10:34 +00:00
darode 77486d5c64 2012-07-24 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_networkmap.php
	operation/agentes/networkmap_list.php: Fixed several problems with
	network maps

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 10:09:25 +00:00
mdtrooper 79e34957cc 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask_form.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/modules/manage_network_components.php,
	include/functions_ui.php, include/functions_incidents.php,
	include/functions_agents.php, include/functions_alerts.php,
	include/functions_messages.php, include/db/mysql.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/auth/ldap.php, operation/events/events.php,
	operation/incidents/incident_detail.php, operation/tree.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/users/user_edit.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 08:54:40 +00:00
mdtrooper 9892515199 2012-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_prediction.php,
	include/functions_modules.php,
	include/functions_agents.php, operation/tree.php,
	operation/agentes/estado_agente.php: fixed typo bug in the name of
	"agetns_tree_view_status_img" for "agents_tree_view_status_img".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-23 14:58:33 +00:00
juanmanuelr f9cd9a04d1 2012-07-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/mysql.php
	 include/functions_groups.php
	 include/functions_agents.php: Added functions to count global 
	 elements (groups or agents), counting disabled elements too. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-20 12:07:16 +00:00
hkosaka 0eb06195fb 2012-07-20 Hirofumi Kosaka <kosaka@rworks.jp>
* index.php: bug fix: 'Enforce https' led to wrong URL to
	cause "error 310: too many redirects".
	* include/functions_ui.php: bug fix: ui_get_full_url() had
	returned URL with unnecessary wrong port specifier ":80",
	when switching 'http' to 'https' by 'enforce https'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-20 06:50:28 +00:00
zarzuelo 4da392a6b2 2012-07-19 Sergio Martin <sergio.martin@artica.es>
* godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_plugin.php: Fix some
	bugs as allow delete first macro, show at least one macro, etc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-19 16:51:58 +00:00
zarzuelo c5b7b285b4 2012-07-19 Sergio Martin <sergio.martin@artica.es>
* godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_plugin.php: Add 
	first version of dynamic macros in network components of type
	plug-in



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-19 16:44:15 +00:00
zarzuelo 68c30b0ce2 2012-07-19 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_network_components_form_plugin.php: Added
	to plugin components the macro fields and modify database schemma



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-19 14:32:34 +00:00
mdtrooper 50efd4d4a1 2012-07-19 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed the doc header for the
	function "agent_autocomplete" that was very wrong, and now in this
	function when call with the id_server_name equal to false, the
	function doesn't save the id_server in hidden input.
	
	* include/functions_agents.php: added function
	"agents_check_agent_exists" that check if any agent exists into the
	DB (of course you can check if exist and it is enabled).
	
	* operation/search_agents.php: fixed the link to manage the agents
	show in the search.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-19 13:42:51 +00:00
mdtrooper 08cf7253f8 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/plugin_registration.php,
	operation/incidents/incident.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php: cleaned source code style.

	* operation/tree.php: improve the code for to set more readble.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 14:31:58 +00:00
mdtrooper ed1c79730c 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* general/logon_ok.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, include/functions_config.php,
	include/functions_ui.php, include/functions_netflow.php,
	include/functions.php, include/constants.php,
	include/functions_graph.php,
	operation/agentes/estado_ultimopaquete.php: clean source code style
	and kill some unicorns and magical numbers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 13:25:51 +00:00
mdtrooper 8c3d85b507 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_agents.php,
	include/functions_db.php, include/functions_html.php,
	include/db/postgresql.php, include/db/mysql.php,
	include/db/oracle.php: cleaned source code style and killed some
	unicorns and magical numbers.
	
	* operation/agentes/stat_win.php: a lot fixes, cleaned source code
	style, added magical widget for times for refresh. And yes I fixed
	the bug with jquery that failed with new graphs.
	
	Fixes: #3520966
	
	* operation/agentes/estado_ultimopaquete.php: fixed the links to
	window graph popup, now all the links have 10 minutes for the
	refresh.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 09:34:10 +00:00
zarzuelo 0a50fbcb1d 2012-07-17 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.scrollTo.js: Added jquery 
	library to do smooths and customized scrolls



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-17 12:54:24 +00:00
juanmanuelr 51d54b7321 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/tree.php: Fixed some bugs in policy tree view. 
	 And cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 17:02:54 +00:00
zarzuelo af16327f62 2012-07-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Added a function to get the
	kind of a module (dataserver, networserver...) as a string 
	from the module id



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 16:47:35 +00:00
darode 1d65057bbc 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/Core.pm: Updated statistic queries from php
        code to unify this calculus.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 16:13:20 +00:00
darode 872de3bc13 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed a bug which shows agents with
        not init modules when they must be hidde.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 15:20:56 +00:00
juanmanuelr 1d59916018 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/constants.php
	 operation/tree.php: Fixed filters, counts and info displayed
	 in monitor and policy tree view. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 13:48:59 +00:00
darode bb8186b219 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_groups.php: Included void agents on
        normal status.
        include/functions_os.php: Included void agents on
        normal status.
        operation/tree.php: Fixed OS, groups and included void agents
        in groups and OS views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 13:17:30 +00:00
darode 0fd6adf599 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed all views: deleted alert fired
        when module is disabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 10:36:21 +00:00
juanmanuelr 44ea56e7d5 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/tree.php: Fixed module view: agents and modules disabled
	are hidden. Also fixed broken footer when an empty filter is 
	selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 10:27:16 +00:00
darode 7c59bdbeb4 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/agentes/configurar_agente.php: Fixed a bug
        with variable allocation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 10:21:00 +00:00
mdtrooper 23cccf20ed 2012-07-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php, extensions/users_connected.php,
	extensions/agents_alerts.php,
	operation/visual_console/render_view.php,
	operation/visual_console/public_console.php,
	operation/agentes/networkmap.groups.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/networkmap.topology.php, general/header.php,
	godmode/db/db_refine.php, godmode/agentes/configurar_agente.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/setup/setup_visuals.php, godmode/snmpconsole/snmp_alert.php,
	godmode/modules/manage_network_components_form_wmi.php,
	include/functions_config.php, include/functions_api.php,
	include/functions_agents.php, include/functions_forecast.php:
	cleaned source code style and change magic numbers for time
	constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 09:24:04 +00:00
juanmanuelr a437aba1c0 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/tree.php: Removed trace.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 08:46:20 +00:00
santimunin c6ec602b3a 2012-07-14 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Now uses the new getEvents() method in API class.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-14 20:59:29 +00:00
santimunin eb7b272ed3 2012-07-14 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: Now uses the new getEvents() method in API class.
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Little changes.
	* src/pandroid_event_viewer/pandorafms/API.java: Now the getEvents() method accepts all parameters of get_events petition in Pandora API.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-14 20:13:54 +00:00
mdtrooper f704670749 2012-07-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php,
	godmode/servers/manage_recontask_form.php,
	include/functions_filemanager.php, include/functions_networkmap.php,
	include/constants.php, include/graphs/functions_gd.php,
	include/graphs/functions_pchart.php,
	operation/events/events_list.php, operation/agentes/graphs.php,
	operation/agentes/networkmap.php, operation/agentes/stat_win.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	operation/gis_maps/render_view.php: cleaned source code style and
	change magic numbers for time constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-13 10:59:40 +00:00
zarzuelo f078f74d2a 2012-07-13 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed missed column name change



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-13 09:21:20 +00:00
santimunin 184acd0c5d 2012-07-13 Santiago Munín <burning1@gmail.com>
* ChangeLog: Fixed a line.
	* src/pandroid_event_viewer/pandorafms/Main.java: Fixed a bug. Default profile can't be deleted.
	* res/layout/main.xml,
	  res/layout/item_list_event_layout.xml,
	  res/layout/about.xml,
	  res/layout/item_list_event_extended.xml,
	  res/layout/options.xml,
	  res/values/styles.xml: UI improvements.
	* res/values/strings.xml


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-12 22:07:02 +00:00
juanmanuelr 5950c09e08 2012-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
		 include/functions_groups.php
		 include/functions_os.php
		 include/functions_tags.php
		 operation/tree.php: Fixes in tree view counts.
		 
		* operation/agentes/status_monitor.php: Fixed module group 
		filter.
		 
		 Pending to port to branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-12 18:10:44 +00:00
santimunin 28786fb450 2012-07-11 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/API.java,
	  src/pandroid_event_viewer/pandorafms/Main.java: Added some SupressWarning annotations.
	* res/layout/options.xml: Textview 
	* res/drawable-ldpi/incident.png,
	  res/drawable-ldpi/house.png,
	  res/drawable-ldpi/lightning_go.png: Removed, no longer needed.
	* res/values/strings.xml,
	  res/values-es/strings.xml,
	  res/values-ja/strings.xml: Removed some entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 23:02:39 +00:00
santimunin 60922ba366 2012-07-10 Santiago Munín <burning1@gmail.com>
* res/layout/item_list_incident_layout.xml: Deleted file, no longer needed.
	* res/layout/main.xml: Little changes.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Removed some commented lines.
	* src/pandroid_event_viewer/pandorafms/Core.java: Set HTTP request timeout.
	* src/pandroid_event_viewer/pandorafms/Main.java: Set default profile.
	* src/pandroid_event_viewer/pandorafms/OnBootLoader.java,
	  src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java.
	* src/pandroid_event_viewer/pandorafms/Core.java: Added a method to cancel the background service.
	* src/pandroid_event_viewer/pandorafms/Options.java: Now users can choose if they want the program to check events periodically in background.
	* res/layout/options.xml: New checkbox and textview.
	* res/values/strings.xml,
	  res/values-es/strings.xml: Added and modified some entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 21:58:38 +00:00
juanmanuelr e844ca60e0 2012-07-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/agentes/estado_agente.php: Modified changed 
	 agents_get_agents function to accomplish agent status general 
	 conditions (like in functions_groups.php). Also status constants
	 where changed to standard.

	* operation/menu.php: Don't hide any menu entry when metaconsole is
	activated (new metaconsole has a different entry point).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 15:18:00 +00:00
mdtrooper 9411b1bd79 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added more constants into the constants
	block of time conversion to seconds.
	
	* godmode/alerts/alert_commands.php, godmode/setup/performance.php,
	include/help/en/help_date_format.php, include/functions_netflow.php,
	include/functions_tags.php, include/graphs/functions_pchart.php,
	include/functions_modules.php, extensions/agents_modules.php,
	extensions/update_manager.php, extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/system_info.php, operation/events/events_rss.php,
	operation/events/export_csv.php, mobile/operation/events/events.php,
	mobile/include/system.class.php: used the new constants time instead
	the magic numbers, and cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 13:31:34 +00:00
mdtrooper 6c37935339 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: moved the constants for the status
	images to contants file.
	
	* include/constants.php: added the contants for the
	"Agent module status" and added contants for the "Status images"
	from functions_ui.php.
	
	* include/functions_modules.php: killed a unicorn (magic number)
	into the function "modules_get_agentmodule_status".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 11:37:14 +00:00
mdtrooper 2cbd2b69bf 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_netflow.php,
	extensions/snmp_explorer.php, operation/netflow/nf_live_view.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/networkmap.php,
	godmode/netflow/nf_report_form.php,
	godmode/netflow/nf_edit_form.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 11:03:00 +00:00
mdtrooper f2c0c0762f 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/reporting/reporting_xml.php,
	operation/netflow/nf_live_view.php, operation/netflow/nf_view.php,
	operation/tree.php, operation/agentes/gis_view.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/networkmap.php,
	operation/agentes/datos_agente.php,
	operation/agentes/alerts_status.php, operation/menu.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	godmode/groups/configure_group.php,
	godmode/groups/configure_modu_group.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/servers/manage_recontask.php,
	godmode/alerts/alert_compounds.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_special_days.php, godmode/setup/links.php,
	godmode/setup/os.php, godmode/users/configure_profile.php,
	godmode/events/events.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_menu.php, include/functions_visual_map.php,
	include/functions_db.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 10:38:02 +00:00
mdtrooper ae4a12872c 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_alerts.php, extensions/net_tools.php,
	extensions/ssh_gateway.php,
	extensions/update_manager/lib/libupdate_manager_components.php,
	extensions/update_manager/lib/libupdate_manager_updates.php,
	general/main_menu.php: cleaned source code style and added into some
	strings the call to translation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 09:21:19 +00:00
zarzuelo f5ac7cc261 2012-07-09 Sergio Martin <sergio.martin@artica.es>
* operation/extensions.php
	operation/menu.php
	godmode/extensions.php
	godmode/menu.php: Show the hidded menus and 
	extensions when metaconsole is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 15:51:32 +00:00
mdtrooper 90df82e3fb 2012-07-09 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/About.java,
	src/pandroid_event_viewer/pandorafms/Options.java,
	src/pandroid_event_viewer/pandorafms/EventList.java,
	src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java,
	src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
	src/pandroid_event_viewer/pandorafms/Main.java: erased the
	preprocesor "@Override" for to avoid error messages in a compiler
	with default configs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 10:59:03 +00:00
markholland 1b9b0c4b21 2012-07-09 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added Pandora FMS 
	comment to header.

	* res/layout/About.xml: Swapped hardcoded
	text for strings.

	* res/layout/help.xml: Added scrollview.

	* res/layout/password_choose.xml: View for dialog
	when choosing whether to have a password.

	* res/layout/password_create.xml: Added textviews
	with instructions.

	* res/layout/password_entry.xml: Swapped hardcoded
	text for strings.

	* res/layout/setup.xml: Added checkboxes for all
	modules.

	* res/layout/setupnosim.xml: View that only
	shows checkboxes for modules that don't need a sim
	card present.

	* res/values/strings.xml: Updated help string
	(english only). Lots of new strings, also
	added to strings-en and strings-es.

	* src/pandroid/agent/About.java: Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/core.java: Added Pandora FMS 
	comment to header. Added variable for hello signal.
	Added reporting variables for all modules. Changed 
	alarm to be accessed in a static way. changed agent
	identifier from pandroid plus simID to pandroid plus
	install uid.

	* src/pandroid/agent/Help.java:	Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/Installation.java: Calculates a
	unique installation uid.

	* src/pandroid/agent/PandroidAgent.java: hasSim now 
	works whether phone without sim and also tablet without
	capability for sim card. On resume sets hello signal to 1.

	* src/pandroid/agent/PandroidAgentListener.java: Removed
	unnecessary variables, all defaults come from Core.java.
	Ensure Hello signal changed to 0 after every connection.
	Variables for all module reporting, data only added to xml
	if enabled in setup.

	* src/pandroid/agent/setup.java: Added Pandora FMS 
	comment to header. Different views loaded depending
	on whether sim card is present. Added button for changing
	password. Added checkboxes for all modules. Added dialog
	for choosing whether to set a password. Added minimum
	password length and empty to remove password. Keyboard 
	dismissed upon completing dialogs.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Added 
	Pandora FMS comment to header.

	* src/pandroid/agent/status.java: Added Pandora FMS 
	comment to header. Remove incorrect toast message
	when pressing start button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:35:48 +00:00
vgilc c099ad6241 2012-07-09 Vanessa Gil <vanessa.gil@artica.es>
* clock2.png: Add image.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:17:53 +00:00
juanmanuelr 0b9aeeecbb 2012-07-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* ajax.php: If we are executing metaconsole define metaconsole 
	constant.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:07:05 +00:00
jsatoh 83e1f18f68 2012-07-08 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	pandoradb.postgreSQL.sql: Fixed SQL error with version 8.x of
	PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-08 14:34:50 +00:00