Commit Graph

535 Commits

Author SHA1 Message Date
vgilc a24a9e1cff 2014-03-17 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  extras/pandoradb_migrate_5.0_to_5.1.mysql.sql
	  godmode/agentes/configurar_agente.php: Fixed bug:
	'post_process' out of range.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-17 12:32:48 +00:00
vgilc 100966e460 2014-03-14 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb.sql
	  pandoradb_data.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
	  extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
	  godmode/reporting/graph_builder.graph_editor.php
	  godmode/setup/setup_visuals.php
	  include/functions_config.php
	  include/functions_graph.php: Changed weight and colors in
	combine graphs.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-14 08:33:13 +00:00
zarzuelo db9b118bdb 2014-03-05 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/javascript/pandora_alerts.js
	extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	extras/check_other_languages.sh
	extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
	extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
	extras/network_components.postgreSQL.sql
	extras/network_components.oracle.sql
	extras/network_components.mysql.sql
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_commands.php
	godmode/alerts/alert_view.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php: Clean sql scripts,
	reorganise the alert template creation interface, add field1 
	to template recovery fields and add action recovery fields. 
	Ticket #501




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-05 11:34:05 +00:00
zarzuelo ea3f69bba5 2013-12-09 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the 
	migration scripts a query to set default theme when update 
	from 4.x to 5 version. It prevents from ugly layouts due 
	not supported themes. Incident #421



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-09 11:20:14 +00:00
vgilc 5b55b7cd8f 2013-11-15 Vanessa Gil <vanessa.gil@artica.es>
* include/languages/ar.mo
	  include/languages/ar.po
 	  include/languages/cs.mo
	  include/languages/cs.po
	  include/languages/de.mo
	  include/languages/de.po
	  include/languages/el.mo
	  include/languages/el.po
	  include/languages/en_GB.mo
	  include/languages/en_GB.po
	  include/languages/es.mo
	  include/languages/es.po
	  include/languages/fr.po
	  include/languages/fr.mo
	  include/languages/it.po
	  include/languages/it.mo
	  include/languages/ja.po
	  include/languages/ja.mo
	  include/languages/nl.po
	  include/languages/nl.mo
	  include/languages/pl.po
	  include/languages/pl.mo
	  include/languages/pt.po
	  include/languages/pt.mo
	  include/languages/pt_BR.po
	  include/languages/pt_BR.mo
	  include/languages/ru.po
	  include/languages/ru.mo
	  include/languages/sk.po
	  include/languages/sk.mo
	  include/languages/tr.po
	  include/languages/tr.mo
	  include/languages/zh_CN.po
	  include/languages/zh_CN.mo: Updated translations.

	* include/languages/ca.mo
	  include/languages/ca.po: Added language.

	* include/languages/zh_TW.po
	  include/languages/zh_TW.mo: Deleted language.

	* pandoradb_data.oracle.sql
	  pandoradb_data.postgreSQL.sql
	  pandoradb_data.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
	  extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
	  extras/pandoradb_migrate_4.1_to_5.0.oracle.sql: Deleted 'zh_TW' and
	added 'ca'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-15 11:22:57 +00:00
mdtrooper 9039157070 2013-10-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_modules.php,
	include/functions_modules.php: fixed the delete modules with
	conf from the massive operations.

2013-10-16 Miguel de Dios <miguel.dedios@artica.es>

	* pandoradb_data.sql,
	extensions/update_manager/sql/update_manager.sql,
	extensions/update_manager/sql/update_manager.postgreSQL.sql,
	extensions/update_manager/sql/update_manager.oracle.sql,
	extensions/system_info.php, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, extras/pandora_diag.php: removed the
	unused path to keygen.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-16 10:30:35 +00:00
Ramon Novoa f929d49db2 2013-10-16 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed some queries
	  that were re-introduced in revision 8897.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-16 07:59:53 +00:00
jsatoh 822463979c 2013-10-16 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.1_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql: Removed duplicated
	queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-16 05:43:39 +00:00
vgilc b3d19291a4 2013-10-11 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb_data.sql
	  pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  pandoradb_migrate_4.1_to_5.0.mysql.sql
	  pandoradb_migrate_4.1_to_5.0.oracle.sql
	  pandoradb_migrate_4.1_to_5.0.postgreSQL.sql: Removed some
	languages from setup.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-11 13:26:31 +00:00
Ramon Novoa 6f9d69a8f7 2013-10-11 Ramon Novoa <rnovoa@artica.es>
* extensions/ssh_gateway.php: Added a help tip to show invalid
	  characters.

	* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed duplicated columns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-11 11:59:27 +00:00
Ramon Novoa 756d36a310 2013-10-07 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.1_to_5.0.mysql.sql: Added to repository.
	  4.1 to 5.0 migration scripts.

	* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed a suspicious
	  insert into tusuario.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-07 08:46:03 +00:00
jsatoh 8f5c8146ce 2013-10-07 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Removed
	duplicated queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-07 08:03:05 +00:00
jsatoh e4d9ed8dea 2013-10-05 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated
	queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-05 02:09:01 +00:00
juanmanuelr 658c55c600 2013-09-16 Juan Manuel Ramon <juanmanuel.ramon@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: 
        Changed data type in field 'name' of 'tnetwork_component' table
        to TEXT/CLOB.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-16 09:55:48 +00:00
Ramon Novoa ebfb062743 2013-09-09 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  include/ajax/events.php,
	  include/functions_api.php,
	  include/functions_events.php,
	  include/javascript/pandora_events.js,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for event custom data (via CLI
	  and API).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-09 16:21:45 +00:00
Ramon Novoa ca1a5f2160 2013-09-05 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/module_manager_editor.php,
	  include/functions_modules.php,
	  pandoradb.sql: Added support for module macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-05 16:46:21 +00:00
Ramon Novoa a8f275a175 2013-09-03 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  godmode/tag/tag.php,
	  godmode/tag/edit_tag.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  pandoradb_data.sql: Added support for tag phone information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-03 08:50:25 +00:00
mdtrooper 9492e6bcc6 2013-08-27 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/configurar_agente.php,
	godmode/massive/massive_edit_modules.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components.php,
	include/functions_events.php, include/functions.php,
	include/javascript/pandora_modules.js,
	include/functions_network_components.php,
	include/functions_modules.php, include/constants.php, pandoradb.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: first version of
	disabled unknown events for modules, now it is implemented in
	modules, massive operations and components, but it is necesary in
	local component, policy,  api, cli, pandora server and recond task.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-27 13:05:30 +00:00
Ramon Novoa ecd8db2561 2013-07-17 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  godmode/snmpconsole/snmp_alert.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for SNMP alert ordering.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-17 17:39:27 +00:00
Ramon Novoa 843b06401a 2013-07-10 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  godmode/snmpconsole/snmp_alert.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/snmpconsole/snmp_view.php: Added support to filter 10
	  binding vars. Added binding var automatic translation and other
	  small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 16:49:05 +00:00
zarzuelo 4c9b5aefb2 2013-07-03 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php
	include/help/en/help_custom_logo.php
	include/help/es/help_custom_logo.php
	include/help/ja/help_custom_logo.php
	images/custom_logo/sourceforge.jpg
	images/custom_logo/pandora_logo_head.jpg
	images/custom_logo/artica_logo.png
	images/custom_logo/sourceforge.png
	images/custom_logo/pandora_logo_head.png
	images/custom_logo/none.jpg
	images/pandora_header_logo_enterprise.png
	images/pandora_header_logo.png
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	general/header.php: Change the old system of custom logo
	to be used in the unique logo (left side) of Pandora FMS 5
	Bug #2241




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 10:15:25 +00:00
mdtrooper d1f0582c4d 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the new
	columns in the table "talert_snmp".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:57:28 +00:00
Ramon Novoa 5333840059 2013-04-25 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Removed an unused column from tagente_datos_inc.
	  Fixes bug #3611681.

	* godmode/servers/modificar_server.php: Fixed a comment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 09:22:58 +00:00
zarzuelo 8579aed0a8 2013-04-22 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_ui.php
	include/functions_db.php
	index.php
	images/splash_bg.png
	images/pandora_login.png
	images/login_background.jpg
	images/pandora_tinylogo.png
	images/input_user.png
	images/input_lock.png
	images/pandora_login_enterprise.png
	general/error_emptyconfig.php
	general/error_perms.php
	general/error_authconfig.php
	general/login_page.php
	general/error_noconfig.php
	general/logoff.php
	general/error_install.php
	general/error_dbconfig.php
	general/error_screen.php: Change the login appearence
	unifyng code of login, logout and error screens

	* 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/users/configure_user.php
	operation/users/user_edit.php: Added new options in user 
	configuration to metaconsole agents editor and more meta
	options. Avoid to show useless options when metaconsole
	is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-22 10:31:20 +00:00
jsatoh 14faedde2c 2013-04-03 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed an unnecessary
	modification, because 'talert_compound' is obsolete.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-03 00:32:54 +00:00
jsatoh 98a4e05c94 2013-04-02 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	godmode/alerts/alert_special_days.php,
	godmode/alerts/configure_alert_special_days.php: Added group ACL to
	'Special days list'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-02 06:29:38 +00:00
jsatoh 660852c5a8 2013-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Added missing
	types.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 01:26:26 +00:00
jsatoh 5af0508546 2013-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Fixed bad
	sql syntax.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-22 01:23:28 +00:00
Ramon Novoa f1c5e74d8e 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Updated and fixed
	  some column types.

	* include/functions_alerts.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for on-demand module status
	  calculations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 17:24:40 +00:00
zarzuelo b9f3732bad 2013-03-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php
	include/functions_graph.php: Added extral controls in status
	count retrieving functions to avoid negative numbers for
	bug 3607315

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	the data of unknown modules to new fields in migration




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 15:57:35 +00:00
mdtrooper 2bd6623e09 2013-03-07 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/planned_downtime.editor.php, pandoradb.sql,
	pandoradb.postgreSQL.sql: added id_user to planned_downtime table
	for to know who create or updte any downtime.
	
	Fixes: #3607172




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-07 17:20:41 +00:00
zarzuelo 2aef529f1d 2013-03-05 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added CPU
	and Process inventory change types to black list in default 
	SQL data script for bug 3606111



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 16:59:18 +00:00
zarzuelo f351944196 2013-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fix little
	bug of agents statistics

	* include/help/en/help_field_match_snmp.php
	include/help/en/help_snmp_alert_field1.php
	include/help/es/help_field_match_snmp.php
	include/help/es/help_snmp_alert_field1.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/alerts/configure_alert_action.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php: Adapt snmp alert
	editor to new alerts macro system. Now there are 10 fields
	and are dinamically charged from javascript. Bug 3605775



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 14:57:35 +00:00
zarzuelo e5adb86b98 2013-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	pandoradb.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: set the
	counts columns of agent table as "signed" to avoid overflow
	and add check to tactical statistics to avoid show negative
	numbers

	* godmode/agentes/module_manager_editor_plugin.php: Increase
	the size of text inputs in plugin modules for bug 3606401



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 09:23:03 +00:00
mdtrooper 73e7b20a88 2013-03-01 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: fixed bad
	formatted commmend line that crash with MariaDB.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-01 10:49:46 +00:00
zarzuelo 70a1554a35 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Change a
	useless macro of internal event commands

	* include/functions_graph.php
	include/functions_events.php
	operation/agentes/estado_generalagente.php: Improve the layout
	of the agent detail view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 14:26:00 +00:00
zarzuelo 916e18ffbe 2013-02-21 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
	godmode/alerts/configure_alert_action.php
	godmode/alerts/alert_commands.php: Update the commands data
	to new alerts macro in migration. Hide the not used fields
	on actions. bug #3605461



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 11:37:19 +00:00
mdtrooper 29e6819e69 2013-02-13 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: fixed a important
	bug when try to upgrade a Pandora4 (SVN version or updated version)
	to Pandora5 or have user defined groups in the table
	"tnetwork_component_group" that throw error when try to upgrade and
	stop the upgrading.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 12:23:49 +00:00
Ramon Novoa b8ce800b7a 2013-01-31 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  pandoradb.sql: Removed some indexes that caused deadlocks on high
	  load scenarios.

	* godmode/setup/setup_general.php,
	  include/functions_config.php: Added support for event storm
	  protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 18:05:22 +00:00
juanmanuelr be7e5dc1f4 2013-01-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added 
	meta_num_elements token to tconfig in pandora db dump.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 16:07:18 +00:00
mdtrooper 62e587d29f 2013-01-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: changed in the
	table "tlayout_data" the field "label" to text without limits.
	
	* godmode/extensions.php, include/functions_tags.php,
	include/functions_ui.php, include/functions_agents.php,
	include/functions_config.php: cleaned source code style.
	
	* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	include/styles/pandora.css, include/styles/pandora_legacy.css,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_visual_map_editor.php: added the formatted label
	into the item label with the help of tiny_mce.
	
	* include/javascript/tiny_mce/*: update the last version of
	tiny_mce.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-24 11:30:37 +00:00
zarzuelo 5d998a6f32 2013-01-23 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	the user, module and components tables to have nowizard value 
	by default (to normal console) and basic in default elements
	creation (to metaconsole)

	* godmode/users/configure_user.php: Updated the metaconsole
	access control in user form to be showed only in metaconsole
	and with only basic/advanced options for the new meta concept

	* include/config_process.php: Store the metaconsole access 
	of the current user in $config
	
	* operation/tree.php: Fixed pandora instances links from
	tree in metaconsole mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 14:20:54 +00:00
juanmanuelr 3953a28a4c 2013-01-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: switch to show 
	or hide visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-21 09:21:57 +00:00
juanmanuelr 583a6ef2aa 2013-01-17 Juan Manuel Ramon <juanmanuel.ramon@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: Changed
	 wizard level by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 13:55:19 +00:00
zarzuelo 7fd387b9d7 2013-01-14 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/network_components.oracle.sql
	extras/network_components.postgreSQL.sql: Delete old
	alert compound tables from database schemme

	* godmode/category/category.php
	godmode/category/edit_category.php: Adapt the category editor
	to metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 17:09:26 +00:00
darode 7e9a019065 2013-01-14 Dario Rodriguez <dario.rodriguez@artica.es>
* extras/network_components.postgreSQL.sql,
	extras/local_components.postgreSQL.sql,
	extras/network_components.mysql.sql,
	extras/network_components.oracle.sql,
	extras/local_components.mysql.sql,
	extras/local_components.oracle.sql: Renamed files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 11:17:05 +00:00
darode fea4125cfe 2013-01-14 Dario Rodriguez <dario.rodriguez@artica.es>
* extras/local_components.postgreSQL.sql,
	extras/local_components.mysql.sql,
	extras/local_components.oracle.sql: Create new sql script to 
	add new network components and groups by yourself if something
	fails.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 11:14:50 +00:00
darode 10f1268544 2013-01-14 Dario Rodriguez <dario.rodriguez@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added network
	components and groups to migration script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 11:09:00 +00:00
darode dbbb8da5e7 2013-01-14 Dario Rodriguez <dario.rodriguez@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Added network 
        components and groups to migration script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 10:53:54 +00:00
zarzuelo e623e950d8 2013-01-11 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_ui.php
	include/functions.php
	include/functions_agents.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/alerts_status.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/agentes/module_manager_editor.php
	godmode/users/profile_list.php
	godmode/users/configure_profile.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Clean deprecated compound
	alerts code, added new Agent disable flag into profiles, clean wizard mode
	combo from components in normal console (not metaconsole)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 13:18:27 +00:00
zarzuelo 949650deb2 2013-01-09 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql:
	Add profile tags to the database structure

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 09:25:07 +00:00
juanmanuelr 6007bf45ea 2013-01-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added email
	 field to ttag table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-02 12:26:48 +00:00
zarzuelo c731e11a2b 2012-12-28 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_users.php
	include/functions_visual_map.php
	include/ajax/skins.ajax.php
	include/ajax/events.php
	include/functions_custom_graphs.php
	include/functions.php
	include/functions_agents.php
	include/functions_graph.php
	include/functions_events.php
	include/functions_reporting.php
	include/functions_config.php
	include/functions_reports.php
	operation/visual_console/render_view.php
	operation/agentes/exportdata.php
	operation/menu.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/reporting/reporting_viewer.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	general/main_menu.php
	godmode/menu.php
	godmode/events/event_edit_filter.php
	godmode/events/events.php
	godmode/events/event_filter.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/graphs.php: Change all the event and reporting
	acl control to new flags ER,EW,EM,RR,RW,RM



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-28 17:06:17 +00:00
zarzuelo 4e47872140 2012-12-26 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/users/profile_list.php
	godmode/users/configure_profile.php: Added to the
	database and editor new reporting and events ACL flags



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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 15:01:45 +00:00
zarzuelo b6f9867ef0 2012-12-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added
	tags column to the network components table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 10:50:20 +00:00
zarzuelo f3922dda7f 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added
	database structure for new feature "module categories"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 12:55:44 +00:00
zarzuelo 10342303a1 2012-12-04 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/alerts/configure_alert_template.php: Add wizard_level flag to the
	alert templates table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 15:34:57 +00:00
Ramon Novoa d11d6751b1 2012-11-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_modules.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  install.php,
	  pandoradb.oracle.sql,
	  operation/tree.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Improved tree
	  view performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 16:14:45 +00:00
jsatoh 956daca4db 2012-11-18 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Removed duplicated
	query.



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

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-14 18:54:27 +00:00
mdtrooper 5203f1f878 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php, include/functions_reporting.php,
	include/ajax/agent.php: cleaned source code style.
	
	* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	'id_agent', 'server_name' and 'show_modulegroup' in the table
	'tnetwork_map'.
	
	* include/functions_ui.php: fixed the function
	"ui_print_agent_autocomplete_input".
	
	* include/functions_networkmap.php: added function
	"networkmap_create_module_group_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 16:06:21 +00:00
jsatoh 33077cb181 2012-11-11 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Fixed a typo.



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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 17:49:31 +00:00
Ramon Novoa b03592cef0 2012-11-06 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added a new
	  column to tagente_estado to store possible errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-06 17:57:24 +00:00
Ramon Novoa 6d33bd3d52 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Move the number
	  of retries for web modules from plugin_pass to max_retries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 18:41:20 +00:00
Ramon Novoa 0841750413 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/menu.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/servers/plugin.php,
	  godmode/menu.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_wmi.php,
	  godmode/modules/manage_network_components.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Added support for
	  custom timeout and retries to remote modules.

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



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 08:45:06 +00:00
mdtrooper 7d2d861527 2012-10-24 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	"show_groups", "show_modules" into the table "tnetwork_map".
	
	* include/functions_modules.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
	and "modules_get_agentmodule_status" for to extract data in the
	metaconsole enviroments.
	
	* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_agent_node" and "networkmap_create_module_node".




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

	* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/groups/configure_group.php,
	  godmode/groups/group_list.php: Added more information to agent
	  groups.



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

	* include/functions_html.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php: Added support for remote
	  cron modules.

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



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

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

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



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



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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 15:51:33 +00:00
Ramon Novoa 8578d87032 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_html.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/netflow/nf_edit_form.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf_edit.php: Added metaconsole integration to netflow
	  reports.



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



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

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	  migration scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
zarzuelo 12a7d7570a 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added
	owner and ack timestamp to event table and new last known status
	in tagente_estado table



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




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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-14 17:54:33 +00:00
zarzuelo f8c2c3bf29 2012-09-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora_legacy.css
	include/styles/pandora.css
	include/functions.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/events/events_list.php
	images/skin/skin_default/include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added images and styles
	for minor and major criticities



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 14:06:08 +00:00
vgilc 209cbf6007 2012-09-12 Vanessa Gil <vanessa.gil@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Fixed bug:
	error adding fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 15:11:28 +00:00
hkosaka e63212ce5a 2012-09-12 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_users.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	pandoradb.sql
	pandoradb_data.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Added
	'description' column to Group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 08:13:57 +00:00
vgilc c915c3c644 2012-09-10 Vanessa Gil <vanessa.gil@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/agentes/configurar_agente.php
	  godmode/agentes/module_manager_editor.php
	  godmode/agentes/module_manager_editor_common.php
	  godmode/modules/manage_network_components.php
	  godmode/modules/manage_network_components_form.php
	  godmode/modules/manage_network_components_form_common.php
	  include/functions_alerts.php
	  include/functions_events.php
	  operation/events/events_list.php: Added several fields to modules
	and events.


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




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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-29 09:46:05 +00:00
vgilc 8bf0fcc127 2012-06-27 Vanessa Gil <vanessa.gil@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  pandoradb_data.sql,
	  pandoradb_data.oracle.sql,
	  pandoradb_data.postgreSQL.sql,
	  general/header.php,
	  godmode/setup/setup_visuals.php,
	  include/functions_config.php: Disable autorefresh by default except
	some pages.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-27 14:53:46 +00:00
mdtrooper 81136417e8 2012-08-21 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager_editor.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php: added in the modules the same
	feature to set agent in "Quiet" mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 18:57:48 +00:00
mdtrooper 6eeda98886 2012-08-21 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.oracle.sql, operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/agent_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php, pandoradb.sql,
	pandoradb.postgreSQL.sql: added the feature to set a agent in
	"Quiet" mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 17:12:02 +00:00
vgilc 9369da7c80 2012-08-16 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.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/reporting/visual_console_builder.editor.js
	  godmode/reporting/visual_console_builder.php
	  godmode/reporting/visual_console_builder.wizard.php
	  include/functions_visual_map.php
	  include/functions_visual_map_editor.php
	  include/ajax/visual_console_builder.ajax.php: Optional links to agent and
	services in visual console items. Fixed bug: links not works.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 08:52:44 +00:00
mdtrooper cf3b29f546 2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* index.php, extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	general/login_page.php, general/logon_failed.php,
	godmode/users/configure_user.php, include/api.php,
	include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: added the feature to set any user with
	"not login" for only the user can work across the API.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 18:06:04 +00:00
mdtrooper f6ef1381a2 2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.main.php,
	godmode/reporting/reporting_builder.php,
	include/functions_reports.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: now the reports
	can set the group can edit or private edition.
	
	* include/functions_users.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 13:12:53 +00:00
slerena 49f4e814f0 2012-08-17 Sancho Lerena <slerena@artica.es>
* pandoradb.sql
        pandoradb.postgreSQL.sql
        pandoradb.oracle.sql
        extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql:New fields for
        tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 18:11:02 +00:00
mdtrooper be61f4454a 2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the error messages althought you
	have event data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 11:39:25 +00:00
vgilc f2117a3c2b 2012-08-16 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.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: Changed
	type 'subnet' and 'field1' to trecon_task table.

	* godmode/servers/manage_recontask_form.php: Added help tip:
	several networks to recon task.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-16 15:46:49 +00:00
vgilc c4d355a411 2012-08-16 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb.data.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Added example:
	 several communities to recon task.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-16 11:23:25 +00:00
zarzuelo 23240b4cd6 2012-08-14 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	include/ajax/module.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_network_components_form_plugin.php: Change all the
	manage plugins form adding the dynamic macros in this side. Change the 
	network components form to put the macro fields in this side.

	* operation/users/user_edit.php: Change the "Flash chart" string
	by "Interactive chart"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-14 12:52:29 +00:00
jsatoh 99f4ca991d 2012-07-27 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Changed to use DateTimeZone instead of
	'ttimezone' table for timezone setting.

	* include/function_config.php: Fixed that timezone is changed to
	default (Europe/Berlin) when update button is clicked without any
	changes in setup window.

	* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	pandoradb_data.sql, pandoradb.data.postgreSQL.sql, 
	pandoradb.data.oracle.sql, pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	pandoradb_migrate_4.0.x_to_5.0.oracle.sql, 
	pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Removed 'ttimezone'
	table and its data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-27 00:37:44 +00:00
zarzuelo b063fc814c 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
zarzuelo c1685e188d 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
jsatoh ae54d12913 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
jsatoh ada10dc012 2012-07-08 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-08 13:38:38 +00:00
jsatoh 21c29acdfb 2012-07-08 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-08 13:33:45 +00:00
zarzuelo 7fcaeb94e0 2012-07-06 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: Changed flag
	only_wizard by only_enterprise



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-06 11:57:35 +00:00
zarzuelo 8bf7d40fc2 2012-07-06 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/users/configure_user.php: Changed some last fields
	of the wizard level, metaconsole access etc. And interface
	strings for metaconsole access in user edition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-06 10:58:00 +00:00
zarzuelo 863c25e4bc 2012-07-05 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added fields to
	wizard access to modules, network components and users tables.
	Remove all scripts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-05 16:45:40 +00:00
juanmanuelr d5fec61b8a 2012-07-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	 extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Replaced 
	 version in db scripts.
	 
	* 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: Delete old
	 named db scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-03 15:15:10 +00:00
juanmanuelr a779a86252 2012-07-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	 pandoradb.data.postgreSQL.sql
	 pandoradb.data.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 
	 meta_style row in tconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-03 11:58:23 +00:00
vgilc 38e5bfc682 2012-06-20 Vanessa Gil <vanessa.gil@artica.es>
* 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
	  godmode/setup/setup_visuals.php: Fixed bug: Inside Visual styles menu 
	there is an option "Timestamp or time comparation" which has not a selected
	value by default.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 14:54:37 +00:00
mdtrooper 6857d8f6c8 2012-06-12 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added the lost
	semicolons in some standments.
	
	* godmode/reporting/visual_console_builder.php: restore the search
	modules without entities, because there was a bug into the recon
	server that recode two times the name, now run all parts fine.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 12:57:22 +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
vgilc 0f66156cc4 2012-05-28 Vanessa Gil <vanessa.gil@artica.es>
* 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: Update 'tconfig' fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-28 09:22:56 +00:00
vgilc 76d5c92db2 2012-05-21 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: Added column 'login_blocked'
	to 'tusuario'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 09:25:52 +00:00
zarzuelo 3ba8291166 2012-05-21 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.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 
	new alert command for validate events to the database
	schemma and migration scripts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 09:03:25 +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 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
vgilc 24d2450003 2012-04-30 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.php
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Fixed: BLOB/TEXT column 
	can't have a default value.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 12:21:38 +00:00
jsatoh a7158cfdc2 2012-04-28 Junichi Satoh <junichi@rworks.jp>
* pandoradb.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Fixed database
	creation failure with before 9.1 version of PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-28 05:48:54 +00:00
vgilc fbf1c84533 2012-04-19 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.data.oracle.sql
	  pandoradb.data.postgreSQL.sql
	  include/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  include/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  include/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added
	table 'ttimezone' and data.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 17:24:20 +00:00
jsatoh 506809d4e5 2012-04-13 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/configure_alert_compound.php: Added special days
	feature.

	* 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 column
	'special_day' to 'talert_compound'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-13 06:41:28 +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
vgilc 2fcf1801d7 2012-03-30 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb_data.sql
	  pandoradb.data.postgreSQL.sql
	  pandoradb.data.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 default value
	to 'section' field.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-30 08:51:49 +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
jsatoh 4f1cadae00 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added a missing
	query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 04:03:04 +00:00
jsatoh b8ac47ef33 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql,
	pandoradb.postgreSQL.sql: Fixed bad sql	syntaxes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 01:45:57 +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
mdtrooper 1da151df03 2012-03-08 Miguel de Dios <miguel.dedios@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 the field
	shortcut_data for to save as serialize the quick links.

	* general/shortcut_bar.php: added code to new feature to save in the
	sortcut the important links for quick access.

	* include/functions_menu.php, godmode/agentes/modificar_agente.php: added
	class "item_drag_shortcut" to links for drag to shorcut. For make a example.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 18:09:21 +00:00
vgilc 91eda84092 2012-03-08 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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: Added fields
	'section' and 'data_section' to tusuario.

	* index.php
	  include/functions.php
	  operation/users/user_edit.php: Customize home screen.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 16:42:31 +00:00
vgilc a9ff31edae 2012-02-28 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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: Fixed bug: Wrong module
	type names in create module view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 16:18:07 +00:00
vgilc 7d85b5066e 2012-02-27 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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: Removed
	'tgraph_template' and 'tgraph_source_template' tables.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-27 09:42:44 +00:00
vgilc ae5c7e3437 2012-02-23 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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: Added
	column 'id_graph_template' to 'tgraph' table.

	* include/functions_reporting.php: Added function to apply
	templates for combined graphs.

	* godmode/reporting/graph_template_wizard.php: Added file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-23 11:28:26 +00:00
juanmanuelr f141df7752 2012-02-22 Juan Manuel Ramon <juanmanuel.ramon@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 fields 
	 id_template to treport and foreign key to treport_content_item to 
	 propagate delete over report tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-22 14:55:28 +00:00
vgilc d0149da3e5 2012-02-20 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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: Added
	'tgraph_template' and 'tgraph_source_template' tables.

	* godmode/reporting/graphs.php
	  include/functions_reporting.php: Added templates for combined
	graphs.

	* godmode/reporting/graph_template_editor.php
	  godmode/reporting/graph_template_item_editor.php
	  godmode/reporting/graph_template_list.php: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-20 16:15:34 +00:00
juanmanuelr 754fa00e02 2012-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* 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 
	 'tevento_fields' row in tconfig table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-16 17:21:25 +00:00
juanmanuelr 15c42f53e6 2012-02-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Migrate 
	tconfig ACL list. Pending to change it in Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 15:38:05 +00:00
mdtrooper 4fc57e4a87 2012-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, godmode/setup/setup.php
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: fixed the list of ACL ip in
	the table tconfig, before the data was in several rows, now it is in one
	row, and of course I have made in the SQL for the migration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-14 14:35:49 +00:00
vgilc b704562946 2012-02-10 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: Changed type of 'value'
	to tconfig table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 10:32:05 +00:00
juanmanuelr 3038a32f5b 2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_snmp_alert_configuration.php	
	 include/help/es/help_snmp_alert_configuration.php	
	 include/help/en/help_snmp_alert_filters.php
	 include/help/es/help_snmp_alert_filters.php
	 include/help/es/help_field_match_snmp.php	 
	 include/help/en/help_field_match_snmp.php: Added helps for snmp
	 alert editor.

	* include/help/en/help_snmp_alert_custom.php
	 include/help/es/help_snmp_alert_custom.php: Modified helps due to
	 field renamed in thie view.

	* 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 
	 id_group_filter in tevent_filter table.

     * operation/events/events_list.php
	 operation/events/events.php
	 godmode/events/event_edit_filter.php
	 godmode/events/event_filter.php: If update button have been pushed 
	 toogle filter is not hide. And added group filter in live filter
	 editor and in filter editor.
       
	* godmode/snmpconsole/snmp_alert.php: Changed position of fields and 
	 added helps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 11:20:28 +00:00
vgilc dfc90a0a8a 2012-02-08 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: Removed 'criticity_alert'
	to tevento table.
 
	 * godmode/events/custom_events.php: Modify fields selection to
	show events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 17:21:16 +00:00
juanmanuelr 0b2168912d 2012-02-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/skin/skin_default/include/styles/menu.css
	 include/styles/menu.css: Added godmode events icon in menu.

	* include/functions_events.php: Added functions to support custom 
	event filters. 

	* 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 table 
	 tevent_filter.
      
	* operation/events/events_list.php
	 operation/events/events.php: Added event filters 'live' editor.

	* general/shortcut_bar.php: Fixed some bugs due to ACLs.
	
	* general/header.php: Removed trace.

	* godmode/menu.php: Added event godmode section.
	 
	* godmode/events/event_edit_filter.php
	 godmode/events/custom_events.php
	 godmode/events/events.php
	 godmode/events/event_filter.php: Added files: Entry point in event
	 godmode section, events filter editor and event custom fields view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 13:04:18 +00:00
vgilc 29a784086f 2012-02-08 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 'criticity_alert'
	to tevento table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-08 10:25:57 +00:00
darode dcc279845f 2012-02-07 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Fixed an error with 
	weight field of custom graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 09:47:51 +00:00
vgilc e8f55b31eb 2012-02-06 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: Removed field
	unique_id to tevento table.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:25:40 +00:00
mdtrooper ac64e51233 2012-02-03 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: change the
	size of the field "post_process" in the tables "tagente_modulo" and
	"tnetwork_component".
	
	Fixes: #3483814 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-03 12:43:22 +00:00
Ramon Novoa 6ca8e2cc11 2012-02-03 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql: Added a default special_days value
	  to alert templates.

	* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php: Added suport for ff
	  interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-03 12:33:45 +00:00
juanmanuelr f179b20ade 2012-02-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_snmp_alert_custom.php
	 include/help/es/help_snmp_alert_custom.php
	 operation/snmpconsole/snmp_view.php
	 godmode/snmpconsole/snmp_alert.php: Added eight new fields for snmp
	 alerts and a filter in trap search. 

	 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 
	 _snmp_f1_ ... _snmp_f6_, trap_type and single_value fields to 
	 talert_snmp table.

	* general/shortcut_bar.php: Fixed shorcut style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-02 12:00:30 +00:00
vgilc 45cc7ae535 2012-02-01 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
	 fields in tevento.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-01 11:04:41 +00:00
juanmanuelr 5d9b0630bc 2012-02-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/incidents/incident.php: removed trace.
	
	* operation/agentes/alerts_status.php
	 index.php
	 operation/users/user_edit.php
	 general/shortcut_bar.php: Added shortcut bar.

	* 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 shorcut
	 field in tusuario table.	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-01 10:57:43 +00:00
vgilc 8f0066dc89 2012-01-27 Vanessa Gil <vanessa.gil@artica.es>
* 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: Fixed error adding delete
	cascade	in tplanned_dowtime_agents.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-27 13:52:49 +00:00
vgilc cfa50dbcdc 2012-01-27 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: Added delete cascade
	in tplanned_dowtime_agents.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-27 13:28:34 +00:00
jsatoh 7238782cda 2012-01-25 Junichi Satoh <junichi@rworks.jp>
* godmode/menu.php, godmode/alerts/alert_special_days.php,
	godmode/alerts/configure_alert_special_days.php,
	godmode/alerts/configure_alert_template.php,
	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,
	pandoradb.oracle.sql, pandoradb.postgreSQL.sql, pandoradb.sql,
	include/functions_alerts.php: Added special days feature. It allows
	to define special days (holidays and special working days) for 
	alert templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-25 06:13:43 +00:00
Ramon Novoa e4c2d6b68e 2012-01-24 Ramon Novoa <rnovoa@artica.es>
* include/functions_config.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/netflow/nf_live_view.php,
	  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_prediction.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/menu.php,
	  godmode/netflow/nf_edit_form.php: Added support for enterprise
	  netflow modules.

	* godmode/netflow/nf_manage.php: Moved to
	  godmode/setup/setup_netflow.php.

	* godmode/netflow/nf_option_form.php: Removed from repository. Not used.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-24 17:11:12 +00:00
juanmanuelr ace4c9c5b9 2012-01-23 Juan Manuel Ramon <juanmanuel.ramon@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: Modified
	 tagente table.
 	
	* operation/agentes/estado_generalagente.php
	 operation/agentes/url_address.php
	 operation/agentes/ver_agente.php
	 godmode/agentes/agent_incidents.php
	 godmode/agentes/configurar_agente.php
	 godmode/agentes/agent_manager.php: Added url_address functionality.

	Pending task: #3472445



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 18:36:22 +00:00
juanmanuelr 8d0120baab 2012-01-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/incidents/incident.php
	 operation/incidents/incident_detail.php
     operation/agentes/ver_agente.php
	 godmode/agentes/agent_incidents.php
	 godmode/agentes/configurar_agente.php: Added the possibility to add
	 agent to an incident and added new tab in agent view if the agent
	 has incidents associated.
  
	 * pandoradb.postgreSQL.sql
	 pandoradb.oracle.sql
	 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: modified 
	 table tincidencia.
	 
	 Pending task: # 3472447
	 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 17:01:00 +00:00
vgilc 9275406929 2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Update
	table tnetflow_report_content.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-13 12:11:00 +00:00
vgilc 193f890d24 2012-01-12 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
	  pandoradb.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: Changes in group
	fields of netflow tables.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-12 12:55:17 +00:00
vgilc ad38df3345 2012-01-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.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
	  godmode/netflow/nf_edit_form.php
	  operation/netflow/nf_view.php: Changes in output format
	of netflow.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-10 15:23:56 +00:00
vgilc 6c789d6a03 2012-01-09 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
	  pandoradb.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: Added migration 
	script for 4.1 version.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-09 11:45:00 +00:00
zarzuelo 9287abce07 2012-01-03 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php
	include/auth/mysql.php
	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/users/user_list.php: Added to users the 
	disable/enable feature



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-03 13:07:40 +00:00
slerena 8857902df4 2011-12-22 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Added migration
        script for 4.1 version. Added netflow tables.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-22 19:26:17 +00:00
koichirok 578ece55b8 2011-11-29 Koichiro Kikuchi <koichiro@rworks.jp>
* extras/pandora_migrate_v3.2_to_v4.0.sql: Added missing alter statements
	for tnetwork_component table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:06:32 +00:00
Aldrioth f070bbfa40 2011-10-10 Tomas Palacios <tomas.palacios@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated to provide
        additional compatibility with older versions of MySQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 17:02:22 +00:00
slerena d0424d2903 2011-09-23 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Update version and DB Build.

        * DEBIAN/control, 
        DEBIAN/make_deb_package.sh
        include/config.php
        include/config_process.php
        pandora_console_install
        install.php
        pandora_console.spec
        pandora_console.redhat.spec: Updated version.

        * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Update version after
        migrate.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 11:37:40 +00:00
juanmanuelr 8f5d4b44a8 2011-09-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added btree index on table
	tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 17:16:32 +00:00
zarzuelo cdf7404409 2011-09-22 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Deleted
	duplicated line

	* godmode/reporting/reporting_builder.php: Fixed report graph
	insertion of id 0 in the reports for bugs 3412316 and 3412866 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 14:48:53 +00:00
zarzuelo bf06007505 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
	cleaning in the modules table to avoid possible past modules with
	wrong name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:09:05 +00:00
slerena c60fa8f0d4 2011-08-23 Sancho Lerena <slerena@artica.es>
* pandora_migrate_v3.2_to_v4.0.sql: Missing some alter sentences
        for trecon_task table. Added.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-23 17:53:53 +00:00
slerena 5215fbb641 2011-08-17 Sancho lerena <slerena@artica.es>
* pandoradb.oracle.sql,
        pandoradb.postgreSQL.sql,
        extras/pandoradb_migrate_v3.2_to_v4.0.sql, 
        pandoradb.sql: custom_oid now is text instead varchar(200).
        This allows alerts with huge regexp inside :-)

        * operation/snmpconsole/snmp_view.php: Custom info now is
        shown in only one label (Custom Data). Minor changes on layout.

        * godmode/snmpconsole/snmp_alert.php: Added help, resized controls
        and some other minor adjustments.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 20:14:56 +00:00
darode f4f8d74255 2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
* pandoradb_data.sql, images/os_icons/so_vmware.png, 
	images/os_icons/so_vmware_small.png, 
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new icon for VMware
	architectures.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 09:27:50 +00:00
Ramon Novoa 9d616ed5dc 2011-08-10 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql: Added
	  a new column to store extended module information.

	* operation/agentes/status_monitor.php,
	  operation/agentes/estado_monitores.php: Added help tips to display
	  extended module information.

	* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/agentes/agent_manager.php,
	  include/styles/tip.css,
	  include/functions_ui.php: Added support for help tips with custom
	  images.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 16:51:42 +00:00
Ramon Novoa 9de866ef60 2011-08-09 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added
	  another index on tevento.estado. Thanks Manuel! :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-09 08:54:00 +00:00
Ramon Novoa bf28bad8d4 2011-08-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added a
	  few more indexes suggested by Manuel Arostegui. Thanks a lot!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-08 15:18:07 +00:00
Ramon Novoa 3783bfbef0 2011-08-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added an
	  index on tagente_modulo.nombre to improve alert listings. Thanks to
	  Manuel Arostegui. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-08 11:58:27 +00:00
Ramon Novoa 6e4b1d6fe3 2011-08-04 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added two indexes to the
	  database schema to improve queries on talert_template_modules and
	  tserver_export. Thanks to Manuel Arostegui.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-04 12:31:09 +00:00
zarzuelo d040ba901e 2011-07-26 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Changed null languages
	by "default" in tusuario to new languages system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-26 15:36:00 +00:00
Ramon Novoa 8ed29b2e11 2011-07-21 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-21 10:18:36 +00:00
Ramon Novoa e56a79a69e 2011-07-21 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Removed already existing
	  tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-21 09:44:58 +00:00
jsatoh b6a2b62c02 2011-07-20 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-20 03:53:57 +00:00
zarzuelo 4da9bdafcf 2011-07-13 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql
	godmode/agentes/module_manager_editor_prediction.php: Fix a check
	bug and added to migration database schemma a fix for the prediction
	modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 17:16:52 +00:00
zarzuelo 47b551da9a 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'always' to the
	possible values into talert_templates.type



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 09:56:18 +00:00
Ramon Novoa d462c4cb08 2011-07-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_ui.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/agentes/status_monitor.php,
	  operation/agentes/estado_monitores.php,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/module_manager.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/massive/massive_edit_modules.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_common.php,
	  godmode/modules/manage_network_components.php: Added support for
	  warning/critical status regexp (works with both numeric and string
	  data types).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 11:12:15 +00:00
zarzuelo d281058ef2 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql
	godmode/agentes/planned_downtime.php: Added only_alerts 
	flag to planned downtimes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 10:50:49 +00:00
zarzuelo 424bd638f9 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added to the database
	schemma the disabled attribute to recon task table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 10:07:19 +00:00
zarzuelo f7cabcc508 2011-07-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/networkmap.topology.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Add to the topology
	network maps a switch to show the snmp_inc modules with their 
	ip addresses if they have for task 3296127



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-04 13:07:04 +00:00
Ramon Novoa 207b60c541 2011-07-01 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/servers/manage_recontask.php,
	  godmode/servers/manage_recontask_form.php: Changes needed by the
	  improved Recon Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-01 12:41:56 +00:00
juanmanuelr a520a4e740 2011-06-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/module_groups/brick.png
	images/skin/skin_default/images/agents_group.png
	images/skin/skin_default/images/note.png
	images/skin/skin_default/images/os_icons/android_small.png: Added 
	new icons.
	
	* include/styles/pandora.css
	include/functions_ui.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/module_groups.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/extensions.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/status_events.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/users/user_edit.php
	operation/gis_maps/index.php
	operation/events/events_list.php
	operation/messages/message.php
	operation/reporting/custom_reporting.php
	images/skin/skin_default/include/styles/pandora.css
	extras/pandora_diag.php
	general/logon_ok.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/extensions.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Css style improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 13:31:52 +00:00
jsatoh 584f010c8d 2011-06-27 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added missing INDEX.
	(Merged from pandoradb.sql)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-27 02:37:20 +00:00
Ramon Novoa 19fea4a864 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added support for
	  configuration change events (enterprise).
	
	* operation/events/events_list.php: Improved event grouping.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:38:59 +00:00
juanmanuelr 42bf4f324d 2011-06-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: New field "tags" in 
	"tevento" table for Oracle, Postgresql and migration script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:38:16 +00:00
juanmanuelr 86c82310a8 * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column "unit"
to "tagente_modulo" table.  

	* include/functions_modules.php
	include/functions_tags.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Now it's possible to add tags
	to modules.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 11:09:14 +00:00
juanmanuelr c87a3dd689 2011-05-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/menu.css: Added new background image on css 
	tag entry.
	* include/functions_tags.php: Added new function code for tag 
	functionality.
	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new tables "ttag",
	"ttag_module", "ttag_policy_module" and "ttag_event".
	* godmode/tag: Added new path.
	* godmode/menu.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Tag editor for events correlation engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-26 10:51:17 +00:00
javilanz 2d73a374af 2011-05-20 Javier Lanz <javier.lanz@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'server_name' column
	to treport_content, treport_content_sla_combined and treport_content_item


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-20 11:44:35 +00:00
zarzuelo 033cd59c90 2011-05-13 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Moved some alter tables 
	from Enterprise side



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 11:16:18 +00:00
mdtrooper 36d4a89535 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
	zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".

	* include/functions_graph.php,include/db/postgresql.php,
	include/functions_modules.php, include/functions_agents.php,
	operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php, operation/servers/view_server.php,
	operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
	godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
	PostgreSQL engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 15:20:49 +00:00
juanmanuelr ae8410e36e * include/functions_graph.php
include/functions_html.php
	include/functions_messages.php
	include/db/postgresql.php
	include/db/mysql.php
	include/db/oracle.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/auth/ldap.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_network_components.php
	include/ajax/skins.ajax.php
	include/ajax/reporting.ajax.php
	include/ajax/visual_console_builder.ajax.php
	include/ajax/alert_list.ajax.php
	include/ajax/module.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/config_process.php
	include/functions_ui.php
	include/functions_custom_graphs.php
	include/fgraph.php
	include/functions_incidents.php
	include/api.php
	include/functions_reports.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/update_manager.php
	extensions/ssh_console.php
	extensions/dbmanager.php
	extensions/vnc_view.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/export_csv.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/menu.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	mobile/index.php
	general/error_authconfig.php
	general/links_menu.php
	general/logon_ok.php
	general/error_dbconfig.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php
	include/functions_db.php: Added some includes and functions of this code have "db_" prefix.
	* include/functions.php: Moved function check_login(), check_acl(), 
	dame_nombre_pluginid(), get_os_name() from functions_db.php to functions.php. 
	* include/functions_groups.php: Moved functions get_childrens(), safe_acl_group()
	 and get_parents(), give_disabled_group(), isAllGroups(), get_group_icon(), get_all_groups(), 	 
	get_id_groups_recursive(), get_user_groups_tree_recursive(), get_group_status(), 
	get_group_name(), get_group_users() from functions_db.php to this code. 
	* include/functions_profile.php: New library with profile functions. Moved functions 
	get_profile_name(), get_profiles(), create_user_profile(), delete_user_profile(), 
	delete_profile() from functions_db.php to this code. Added new parameter in function 
	get_profile() to retrieve profiles with filter conditions applied.
	* include/functions_users.php: New library with users functions. Moved functions 
	get_users_info(), get_all_model_groups(), get_user_groups(), get_user_groups_tree(), 
	get_user_first_group(), user_access_to_agent() from funtions_db.php to this code.
	* godmode/users/configure_user.php: Changed get_profile_filter() function to get_profile(). 
	* include/functions_agents.php: Moved functions get_group_agents(), get_agent_modules(), 
	get_agent_module_id(), get_agent_id(), get_agent_name(), get_agent_modules_data_count(), 
	check_alert_fired(), get_agent_interval(), get_agent_os(), give_agentmodule_flag(), 
	agent_add_address(), agent_delete_address(), get_agent_address(), get_agent_with_ip(), 
	get_agent_addresses(), get_agent_status(), delete_agent(), get_agentmodule_group(), 
	get_agent_group() from functions_db.php to this code.
	* include/functions_modules.php: Moved functions get_agentmodule(), get_agentmodule_id(), 
	get_agentmodule_is_init(), get_agent_modules_count(), get_module_type_name(), 
	get_module_type_icon(), get_agentmodule_agent(), get_agentmodule_agent_name(), 
	get_agentmodule_name(), get_agentmodule_type(), get_monitor_downs_in_period(), 		
	get_monitor_last_down_timestamp_in_period(), get_monitors_in_group(), 
	get_monitors_in_agent(), get_monitors_down(), get_moduletype_name(), 
	get_moduletype_description(), get_moduletypes(), get_module_interval(), show_icon_type(), 		
	give_modulecategory_name(),
 	give_agent_id_from_module_id(), get_module_status(), get_agent_module_last_value(), 
	get_previous_data(), get_agentmodule_modulegroup(), get_modulegroups(), 
	get_modulegroup_name() from functions_db.php to this code.
	* include/functions_alerts.php: Moved functions get_alert_type(), get_agent_alert_fired(),
	 get_module_alert_fired(), get_alert_fires_in_period(), get_group_alerts(), get_alerts_fired(), 
	get_alert_last_fire_timestamp_in_period(), get_agentmodule_status(), 
	get_agentmodule_last_status() from functions_db.php to this code.
	* include/functions_exportserver.php: Moved function dame_nombre_servidorexportacion() 
	from functions_db.php to this code.
	* include/functions_events.php: Moved functions get_group_events(), get_agent_events(), 
	get_module_events() from functions_db.php to this code.
	* include/functions_servers.php: Moved functions get_server_name(), show_server_type(), 
	check_server_status(), server_status() from functions_db.php to this code.
	* include/functions_network_profiles.php: Moved function get_networkprofile_name() 
	from functions_db.php to this code.
	* include/functions_visual_map.php: Moved functions get_layoutdata_x(), get_layoutdata_y() 
	from fucntions_db.php to this code.
	* include/functions_io.php: Moved function __() from functions_db.php to this code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 18:42:49 +00:00
Ramon Novoa 8c7a7431ea 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  general/logon_ok.php, godmode/admin_access_logs.php: Several fixes to
	  make things work in MySQL, PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:30:53 +00:00
jsatoh 62566f5d3e 2011-04-14 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	pandoradb.sql,
	pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: Changed tperfil.name type to fix field length
	shortage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 04:50:54 +00:00
juanmanuelr 78870b8ae3 2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_html.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/functions_networkmap.php
	include/functions_visual_map.php
	include/ajax/reporting.ajax.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/functions_ui.php
	include/functions.php
	include/functions_db.php
	include/functions_ui_renders.php
	index.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/dbmanager.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident.files.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.workunits.php
	operation/incidents/incident.list.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_generalagente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/estado_agente.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/networkmap.groups.php
	operation/agentes/bulbs.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/gis_maps/index.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.list.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_results.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/events/events.php
	mobile/operation/servers/view_servers.php
	mobile/include/functions_web.php
	general/footer.php
	general/noaccess.php
	general/logon_ok.php
	general/main_menu.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Now all functions of 
	include/functions_ui have ui_ prefix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:11:02 +00:00
juanmanuelr f27b28d4a3 2011-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_messages.php
	include/db/oracle.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_groups.php
	include/functions_gis.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_components.php
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/fgraph.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_fsgraph.php
	include/functions_alerts.php
	include/functions_reports.php
	pandoradb.oracle.sql
	install.php
	extensions/system_info.php
	extensions/update_manager.php
	extensions/dbmanager.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/sql/update_manager.oracle.sql
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/events/events_rss.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/search_alerts.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	pandoradb.data.oracle.sql
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/events/events.php
	general/logon_ok.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/setup/setup.php
	godmode/modules/manage_network_templates.php
	godmode/modules/manage_network_templates_form.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Support for Oracle DBMS
	over Console code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 17:05:20 +00:00
javilanz d0346fc2f5 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields 
	to treport_content table
	* pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' &
	'id_module_group' fields to treport_content table


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 15:42:05 +00:00
mdtrooper 1ad4276daf 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: added column "style" for to
	add style (as json encode) the many styles for the contents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 14:35:08 +00:00
javilanz 11d0a0f0b2 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added creation of treport_content_item and updated
	treport_content table
	* pandoradb.postgreSQL.sql: Added creation of treport_content_item and
	updated treport_content table
	* pandoradb.oracle.sql: Added creation of treport_content_item and
	updated treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added creation of
	treport_content_item and updated treport_content table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:57:26 +00:00
jsatoh c4aa91189d 2011-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 01:26:26 +00:00
javilanz 67dc758841 2011-03-21 Javier Lanz <javier.lanz@artica.es>
* include/functions_events.php: Truncated agent and module name
	* include/functions_reporting.php: Added functionality to store info of
	General, Top n and Exception reports
	* include/pchart_graph.php: Added function graph_sla_horizontal to print
	sla horizontal graph bar. (Not working properly yet)
	* include/pandora_graph.php: Added prototipe for
	function graph_sla_horizontal
	* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
	* include/functions.php: Added options top n, exception and general for
	the combo box to select report type.
	* pandoradb.sql: added fome fields to treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to 
	treport_content table
	* godmode/reporting/reporting_builder.list_items.php: Truncated agent
	and module name
	* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
	bar to the report table
	* godmode/reporting/reporting_builder.php: Added variables for the new
	kinds of reports, top n, exception and general
	* godmode/reporting/reporting_builder.item_editor.php: Added html
	elements for the new kind of reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 17:20:18 +00:00
mdtrooper f619a76404 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php, include/functions_reporting.php,
	include/functions_gis.php, include/functions_servers.php,
	include/ajax/reporting.ajax.php, include/fgraph.php,
	include/functions_db.php, include/functions_alerts.php,
	include/functions_reports.php, extensions/system_info.php,
	extensions/agents_modules.php, operation/agentes/group_view.php,
	operation/events/events_rss.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php, extras/pandora_diag.php,
	general/logon_ok.php, godmode/db/db_audit.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/agentes/planned_downtime.php,
	godmode/setup/setup.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.php: changes for to use character " in
	the SQL queries for PostgreSQL, in some cases. In other case there are more
	changes for to create SQL query PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 16:59:14 +00:00
Ramon Novoa 716c90b318 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/functions_alerts.php,
	  pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/alerts/alert_list.list.php, godmode/alerts/alert_list.php,
	  godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php,
	  godmode/alerts/alert_list.builder.php: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:40:23 +00:00
juanmanuelr 7a571a501c 2011-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added "block_size" and 
	"flash_chart" columns on tusuario table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 09:54:06 +00:00
javilanz e4217ce9d8 2011-02-09 Javier Lanz <javier.lanz@artica.es>
* include/functions_reportings.php: Added functionality to show only
	wrong modules
	* pandoradb.sql: Added column 'only_display_wrong" to treports_content
	* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
	'only_display_wrong" to treports_content
	* godmode/reporting/reporting_builder.php: Added functionality to show
	only wrong modules
	* godmode/reporting/reporting_builder.item_editor.php: Added functionality
	to show only wrong modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 12:57:00 +00:00
mdtrooper e6e1f0c071 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components.php: added the "post process"
	parameter to network component and use in network component editor and
	module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 09:23:05 +00:00
raulmateos 4d2dce37db 2010-01-16 Raúl Mateos <raulofpandora@gmail.com>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
	year, just to know these files are updated from v3.2

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-16 22:56:39 +00:00
javilanz ab5b664f07 2010-01-14 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
	* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
	* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
	* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
	* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 12:33:31 +00:00
slerena 8076ebef09 2010-12-22 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql,
        pandoradb.sql: Some fields are now TEXT due the problem with new
        HTML entities encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 19:41:05 +00:00
mdtrooper 8ecc1abbbe 2010-12-15 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the
	size of field "nombre" in table "tagente" for html entities.
	
	Fixes: #3136610



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-15 13:37:27 +00:00
mdtrooper 03437f134e 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: erase the problematic
	foreign key in trecon_task.
	
	Fixes: #3118273
	
	* godmode/servers/recon_script.php: when I readed source code for
	to check that when delete a recon_script delete recon task that use
	this. Cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 10:15:41 +00:00
raulmateos aaaeb5de25 2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated database schema
	version when updating database.

	* extras/pandora_diag.php: Small update.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 14:37:51 +00:00
raulmateos 81b6c6f149 2010-11-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_install: Updated year/version and link to update script
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 12:14:25 +00:00
slerena 234c127254 2010-10-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql
        extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
        fields with small length now with the HTML encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 14:11:42 +00:00
slerena 0ae912e31d 2010-10-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
	custom script items (due the referencial integrity).
	
	* pandoradb_data.sql: Octopods instead octopus.
	
	* godmode/menu.php,
	* godmode/servers/recon_script.php: Added new option to manage recon scripts
	
	* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Changes to manage the new recon
	tasks using custom-defined scripts to detect and monitor things (neeed some
	Javascript improvements).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 18:16:45 +00:00
Ramon Novoa 62783e5bfb 2010-10-18 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 10:15:35 +00:00
slerena d57418949d 2010-10-16 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
    more size now (custom SQL reports could be huge SQL sentences).

    * godmode/reporting/reporting_builder.php, 
    godmode/reporting/reporting_builder.item_editor.php: Added suppor for the 
    new SQL graph reports (vbar, hbar and pie).

    * include/fgraph.php: Support for new SQL graphs, with new function 
    graph_custom_sql_graph().

    * include/functions_reporting.php:  Support for new SQL graphs.

    * operation/reporting/reporting_xml.php: Fixed some problems and added
    support for graphs using session_id.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-16 10:47:21 +00:00
mdtrooper e2edbcb416 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
	table "tagente_modulo" the field "policy_adopted" for to set a module
	pre exist in policy as adopted.
	
	*operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted 
	but unlinked" in the list of modules.
	
	Pending tasks: #3083123
	

	
	* include/functions_modules.php: cleaned source code style in function
	"update_agent_module".
	
	* godmode/agentes/module_manager_editor_network.php: fixed warning messages
	when use this file in policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 15:09:29 +00:00
mdtrooper fb5e20eced 2010-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the execution in as script.
	
	* include/fgraph.php: fixed in the "graphic_combined_module" when is empty.
	And cleaned source code style.
	
	* include/functions_extensions.php: cleaned source code style.
	
	* extensions/pandora_logs.php: cleaned source code style. And set to
	translation a string.
	
	* extras/pandora_diag.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 10:37:34 +00:00
mdtrooper f6893f2079 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added default sound events in
	tconfig, fixed bug that found Raul. Thanks for the tips, Raul.
	
	Fixes: #3073370



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 14:56:17 +00:00
zarzuelo fc8307a53b 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed a
	two lines ALTER statment to one line for bug 3065850



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 07:16:35 +00:00
zarzuelo 428e4e0baf 2010-09-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Deleted several
	columns from the events view and adding a
	show/hide advanced fields feature. 
	Added a new state 'in process' to validation
	and an input comment when a status is changed.

	* include/fgraph.php: Fixed quotes
	in constant definition

	* include/functions_ui.php
	include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php
	images/bell_pause.png
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_standby_alerts.php: Added
	the feature of set and set off on standby an alert
	in the alets management and view if an alert is in
	standby in the rest of views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 12:34:11 +00:00
jsatoh 07aa1226e0 2010-09-17 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 01:35:30 +00:00
Ramon Novoa d850cd98fa 2010-09-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
          new column to talert_template_modules to support standby alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 14:21:05 +00:00
slerena 724c0b96d3 2010-08-26 Sancho Lerena <slerena@gmail.com>
* include/functions_agents.php: Call to get_agents () with current
    user and without returning "all" group, this avoid to render non-visible
    (ACL) agents in the AJAX control to return an agent.

    * pandoradb.sql: ttrap value* information resized.

    * extensions/users_connected.php: ACL check before show users.

    * operation/events/events_marquee.php: Added ACL check.

    * operation/events/events.php: System events not shown to normal
    users.

    * operation/menu.php: Server view is now only for PM.

    * extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
    table.

    * general/noaccess.php: Added code to avoid image usage when called
    from different directories than standard.

    * godmode/agentes/agent_manager.php: Proper call to
    get_user_groups().

    * godmode/menu.php: Profiles are now under user management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-26 15:51:09 +00:00
zarzuelo fe100460f5 2010-08-25 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/ver_agente.php
	operation/agentes/agent_fields.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	godmode/agentes/fields_manager.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/agent_manager.php
	godmode/menu.php: Added the custom field feature
	including agents custom fields managment, agent
	custom field viewer, custom fields added at the 
	agent configuration, customization of the custom
	fields to display it in the agent details and
	the creation of two new tables into the sql scripts
	All for pending task: 3052918



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-25 12:04:42 +00:00
zarzuelo 5c93a42a43 2010-08-19 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on
	agente_modulo to unlink the modules from policies
	
	* images/unlinkpolicy.png
	images/linkpolicy.png: Added two icons to linked and unlinked policies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-19 08:24:09 +00:00
slerena 555f05848a 2010-08-18 Sancho Lerena <slerena@artica.es>
* include/functions_io.php: safe_input() modified to detect SQL injection
    attacks using /**/ strings.

    * index.php: Prevent HTTP response splitting attacks.

    * pandora_console.spec: Updated some spec variables and description.

    * pandoradb.sql,
    extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
    to store the snmp_community on detected hosts in a recon task.

    * extras/pandora_diag.php: Fixed security problem in relative path.

    * general/pandora_help.php, 
    general/footer.php: Fixed security problem in relative path/include.

    * general/login_page.php: Fixed security problem in URL parsing.

    * godmode/servers/manage_recontask_form.php, 
    manage_recontask.php: Implemented new feature to use a snmp comunity on all
    network modules added to a new detected host.

    * config_process.php: Updated build.

    * functions.php: New version of safe_url_extraclean() function (security fix)
    and modified also enterprise_include* functions to have a secure include.

    * functions_ui.php: Secured function get_include_contents().

    * operation/agentes/gis_view.php: Secured url extraction/parsing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-18 11:35:42 +00:00
Ramon Novoa 1e1c97f2b2 2010-08-12 Ramon Novoa <rnovoa@artica.es>
* include/functions_alerts.php,
          godmode/alerts/configure_alert_template.php: Added support for
          unknown status alerts.

        * pandoradb.sql, godmode/menu.php,
          extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for SNMP
          filters.

        * godmode/snmpconsole/snmp_filters.php: Added to repository. SNMP
          filter editor.

        * operation/snmpconsole/snmp_view.php: Fixed header placement.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-12 12:23:25 +00:00
zarzuelo 75520723ff 2010-08-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed the creation of
	tnetwork_map table creation adding the missed column 'center'



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 12:34:21 +00:00
mdtrooper 33e11d7034 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added parameter $readOnly in the
	function "file_explorer".
	
	*pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added into the
	table "talert_template_modules" the column "id_policy_alerts".
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-05 17:02:45 +00:00
zarzuelo 30053e9fcc 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module
	field into agente_modulo table for future use



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:23:16 +00:00
zarzuelo 7608c66cc2 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Typo fix 
	into new table name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:16:55 +00:00
zarzuelo 08adfae6d0 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	pandoradb.sql
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
	storage on database, clean the network maps code and fixed some
	little bugs of the same section



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:03:23 +00:00
mdtrooper 986a09f3ea 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added new parameters in the function
	"get_agentmodule_sla", the parameters days of week to search and range of
	time. And use new parameteres in the call for SLA data in function
	"render_report_html_item".
	
	* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
	"treport_content" added the fields for set days of week and range time
	for SLA.
	
	* operation/reporting/reporting_xml.php: use new parameters in the call for
	SLA data.

	* godmode/reporting/reporting_builder.php: added source code for save,
	update new fields (days of week and time range).
	
	* godmode/reporting/reporting_builder.item_editor.php: added source code to
	show the fields (days of week and time range).
	
	Pending task: #3033457



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 18:11:42 +00:00
raulmateos c156fe55b8 2010-07-19 Raul Mateos <raulofpandora@gmail.com>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 21:11:06 +00:00
mdtrooper 263416f343 2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
	use in the subgroups trees (new feature in comming for 3.2).
	
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
	migrate from 3.1 to 3.2.
	
	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
	repository the branch 3.1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 09:59:00 +00:00
slerena 68abd3bf5b 2010-05-18 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Update build/version to rc1.

        * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Revised upgrade script.
        Tested with several 3.0 versions.

        * pandora_console_upgrade: Updated script, tested to work with 3.1




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 12:28:36 +00:00
zarzuelo 961ff28145 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* extras/pandora_diag.php: Fixed the SQL error
	into diagnostic info section. Now the system
	check the enterprise version before to show 
	tlocal_component info. Bug: 2998918



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 12:13:30 +00:00
zarzuelo 24e7d86f72 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
        extras/pandoradb_migrate_v3.0_to_v3.1.sql
        godmode/setup/gis_step_2.php
        godmode/gis_maps/configure_gis_map.php: Added at the combos the
        group All and asigned in creation layers -1 value to None value 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 08:25:20 +00:00
mdtrooper f61c1f50b9 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the
	column "row_separator" to more exactly name "column_separator". Sorry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 19:33:14 +00:00
slerena 3f1a98cb70 2010-04-28 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated version to 3.1

        * pandoradb_migrate_v3.0_to_v3.1.sql: Fix, set log4x correct type id.

        * include/functions_gis.php: Fixed a notice by undefined value.

        * images/gis_maps/icons: Deleted several non-useful icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 18:59:11 +00:00
zarzuelo dab1439636 2010-04-27 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed
	the database values of group from 1 to 0 and 
	remove the group with Id=1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 12:01:46 +00:00
zarzuelo 476035f4a8 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
       extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
        foreign key between treport and tgrupo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 09:54:34 +00:00
mdtrooper 5eb65d93df 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
	add_sla actions.
	
	* include/functions.php: added in the function "get_report_types" new types
	of items/contents for reporting.

	* pandoradb.sql: added columns custom_logo, header, first_page, footer,
	custom_font into the table treport. And in the table treport_content have
	new columns text, external_source, treport_custom_sql_id, header_definition,
	row_separator, line_separator. Added new table treport_custom_sql.
	
	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
	same to pandoradb.sql. 

	* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
	images for order list items for reports.

	* godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: made new forms to
	manage the reporting, now Pandora have tabs and list of items. In the list
	of items, you can order manually or automatically the items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 19:01:47 +00:00
jsatoh eb5096e25c 2010-04-20 Junichi Satoh <junichi@rworks.jp>
* extras/check_other_languages.sh: Added missing '/'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-20 02:20:10 +00:00
slerena 7932ff9239 2010-03-21 Sancho Lerena <slerena@gmail.com>
* include/help/en/check_other_languages.sh: Moved from include/help 
        and rewritten to be more usable. This is a script to check if there
        are missing help files for each language (taken as parameter).

        * operation/agentes/datos_agente.php: Cannot detete data from here.
        Removed old support for individual data delete due the new table 
        schema.

        * extras/check_other_languages.sh: Moved from include/help

        * godmode/agentes/modificar_agente.php: Admin can see everything
        even if agent has a invalid group (group which not exist). This
        was important because agents with invalid group was "Invisible"
        until now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-22 15:32:16 +00:00
mdtrooper e2d9a80a8a 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in
	the sql data file of pandora.
	
	include/config_process.php: update the version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:02:23 +00:00
slerena 9c8b33b3d9 2010-02-25 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Alert information now show the default
	actions properly,and the action conditions (max/min).

	* include/functions_alerts.php: Added support on get_alert_templates_types
	for new alert type "onchange".

	* pandoradb.sql,
	extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert
	type "onchange".

	* godmode/alerts/alert_list.php: Alert information now shows the default
	action (if exist) and have a link to edit the template directly from here.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:48:36 +00:00
slerena 1cb2846036 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_menu.php: Add calls for new enterprise ACL system.

	* include/config_process.php
	include/functions_config.php: Added new setup token for ACL enterprise.

	* index.php: Implemented new Enterprise ACL on page load.

	* extras/pandora_diag.php: Added new header style.

	* general/noaccess.php: Ending <div> was breaking layout. Fixed.

	* godmode/db/db_main.php: Added new header style.

	* godmode/menu.php: Added new Setup option for Enterprise ACL system.

	* godmode/snmpconsole/snmp_alert.php,
	godmode/setup/news.php
	godmode/users/configure_user.php
	godmode/reporting/map_builder.php: Added new header style.

	* godmode/setup/setup.php: Added new Setup option for Enterprise ACL system.

	* godmode/setup/setup_visuals.php: Added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:03:55 +00:00
slerena e76cdb0747 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00
Pablo de la Concepción Sanz fc6c4c678a 2010-02-17 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified data
    model using a new table tgis_data_status to save the current GIS data and
    the table tgis_data_history to store the historical GIS data. That also
    means that the GIS related fields from the table tagente are now in the
    table tgis_data_status. The foreign key in the table tgis_map_layer to
    tgrupo has been droped because now it's possible to have layers without
    group, just agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 19:35:39 +00:00
Pablo de la Concepción Sanz e56cad3176 2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added cusstom colums (
    custom_string_1, custom_string_2, custom_string_3, custom_integer_1 and
    custom_integer_2) to tnetwork_component, added also some configuration
    parameters that were missing. Reordering a bit. And fixed a missplaced ';'



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 19:11:25 +00:00
eric_ross_c e65d77e934 Updating migration sql
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 15:46:47 +00:00
Pablo de la Concepción Sanz 2a113ca682 2010-02-10 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/gis_maps/index.php: Fixed regresion, standarized using map_id
    as parameter.

    * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
    default_map to table tgis_map to mark the default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:31:26 +00:00
slerena 1a0d72164f 2010-02-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
	Added several index and dropped some fields in tagente_datos and 
	tagente_datos_string tagent_access.
	
	* godmode/setup/setup.php, 
	* include/functions_config.php: Management of new timezone settings and
	realtime stats parameters.

	* include/config_process.php: New timezone management. Updated build.

	* pandoradb_data.sql: Build update. Added new tokens realtimestats and
	stats_interval.

	* install.php: Several changes: Now display GPL licence, better SQL error
	management, and steps are shown now as text instead a progress bar. Also 
	show version and build of the installer.

	* extensions/dbmanager.php: Removed some warnings

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.

	* godmode/agentes/module_manager_editor_network.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Implemented partial support for
	SNMP v3. Miguel will finish the work :-)

	* index.php: Session close function deprecated, replaced by a more standard
	method with unset.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:10:10 +00:00
Pablo de la Concepción Sanz e164d8103a 2010-01-25 Pablo de la Concepción <pablo.concepcion@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added group column to control
    ACLs as it was done in pandoradb.sql.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-25 15:43:06 +00:00
Pablo de la Concepción Sanz 53b034fbd0 2010-01-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql, 
    pandoradb_data.sql: Modified the GIS related tables, to make a better
    GIS Data model, also included the activate_gis config parameter on tconfig.
    Added column timezone_offset to table tserver_export so the export server
    can send timezone information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-22 14:18:23 +00:00
Pablo de la Concepción Sanz d6140f4b3c 2010-01-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
    number_of_packages to tgis_data to track the number of data packages
    received while the agent is in the same position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-18 10:33:17 +00:00
Pablo de la Concepción Sanz a34bcfecc1 2010-01-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to give a default value to start_timestamp on tgis_data, without
    it as is a timestamp MySQL sets the default value as CURRENT_TIMESTAMP
    and also sets the CURRENT_TIMESTAMP ON UPDATE, setting the DEFAULT
    CURRENT_TIMESTAMP prevents MySQL to set the ON UPDATE CURRENT_TIMESTAMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-15 14:03:31 +00:00
Pablo de la Concepción Sanz 98917006f3 2010-01-14 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to add, group_id and zoom_level to the table tgis_map and set the
    primary keys of the new tables as autoincremet.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-14 14:03:33 +00:00
Pablo de la Concepción Sanz 0b1a5833e8 2010-01-13 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
    schema to store more efficiently the GIS information,and added some
    comments to explain the use of the new columns. Also added the last
    change on the graph weights to the migrate script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-13 17:32:52 +00:00
Pablo de la Concepción Sanz 3cbf275395 2010-01-12 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandoradb.sql: Added GIS tables, and timezone_offset,
    icon, and update_gis_data to tagente.

    * extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new migration script

    * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed old migration script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 18:08:08 +00:00
slerena 8616146e8f 2009-12-29 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: upps, too small, in huge systems could give a 
        problem in the autoinsert ID.

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line
        that make problems in our upgrade script. Added upgrade for
        update manager from 2.x to 3.0 version URL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-30 19:26:05 +00:00
mdtrooper c5109fccb8 2009-10-07 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: change the field
	"name" in the table "tagente" to binary varchar.
	* include/functions_events.php, operation/events/events.php: add new
	columns, the severity colummn and the validate colummn.
	* images/tag_red.png, images/tick.png,
	images/status_sets/default/severity_informational.png,
	images/status_sets/default/severity_maintenance.png,
	images/status_sets/default/severity_critical.png,
	images/status_sets/default/severity_warning.png,
	images/status_sets/default/severity_normal.png: add the new files to use in
	the events list new colummns.
	* include/help/en/help_eventview.php: change the content in this help for
	show help info of new colummns.
	Comments: I hate the massive and mixed commits...but I have not choice, and
	in this commit there are two parts, the changes in the sql table and the
	changes in the event list colummn. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-07 18:43:08 +00:00
slerena 690cf5e4e3 2009-09-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Added id_group to talert_action, talert_templates and   
        tplanned_downtime to be able to segregate all pandora functions for
        different groups/users. Need to implement in interface code.

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Updated migration script 
        for latest SQL changes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 10:40:52 +00:00
slerena 43db0f308e 2009-09-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: more changes to schema :(. Added id_group to custom graph

        * pandoradb_data.sql: Updated build number of DB schema,

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
        script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 18:36:20 +00:00
slerena 3cedd7b69c 2009-09-01 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated version, added two new module groups and 
	some cleanup.
	
	* pandoradb.sql: Added cascade_protection field in tagente and removed 
	old server information from 2.x scheme.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new fields (trecon_task 
	and tagente) and drop old server information from tagente table.
	
	* configurar_agente.php, agent_manager.php: Added cascade protection 
	GUI checkbox and logic.
	
	* images/help: Added graph directory for help.
	
	* help/en/cascade_protection.php: Added help topic.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-01 15:25:18 +00:00
slerena 4703838318 2009-06-01 Sancho lerena <slerena@artica.es>
* extras/pandora_diag.php: Diagnostic tool. This reports some  
        details of database usage, configuration and version who can
        Pandora FMS dev. team some hints about possible problems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-01 14:41:00 +00:00
Esteban Sanchez 8741c00690 2009-05-22 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,
	pandoradb.sql: Added id_plugin. Database breakage requested and
	approved.

	* godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_plugin.php: Added
	to repository. New editor for network components.

	* godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php: Adapted to changes
	in component editors and missing fields. Added option to create
	plugin components.

	* godmode/modules/manage_network_components_form.php: Make the 
	different network component editors to reutilize the code and
	have a common UI.

	* godmode/agentes/module_manager_editor.php: Style correction.

	* include/styles/pandora.css: Style for network component editor.

	* include/functions_ui.php: Security fix in get_url_refresh() to
	avoid showing login info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-22 09:08:55 +00:00
Esteban Sanchez 7bfeb2f6fc 2009-04-24 Esteban Sánchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed local components table
	
	* godmode/servers/manage_recontask_form.php: Added "any" option to
	operating system combo.
	
	* godmode/snmpconsole/snmp_alert.php: Changed alert templates with actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-24 08:54:04 +00:00
Esteban Sanchez 80108d54e6 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
	created without name. Added support for new server assignment via server
	name instead of lot of comboboxes. Added os preview.
	
	* godmode/agentes/configurar_agente.php: Added support for new server
	assignment via server name. Do not show tabs on creation mode. Some 
	translatable strings replaced with common ones.
	
	* godmode/agentes/modificar_agente.php: Use Pandora agents.
	
	* godmode/modules/manage_nc_groups.php,
	godmode/setup/news.php,
	godmode/modules/manage_network_components.php,
	godmode/reporting/map_builder.php,
	godmode/agentes/planned_downtime.php: Some translatable strings replaced
	with common ones.
	
	* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
	get_server_info() for that.
	
	* include/functions_db.php: Updated to changes in tserver about
	server_type field on get_server_info(). Style correction.
	
	* include/functions_servers.php: Added to repository. Servers API.
	
	* operation/servers/view_server.php: Style correction.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
	server_name field on tagente.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:05:21 +00:00
Esteban Sanchez 62b2912d29 2009-04-13 Esteban Sanchez <estebans@artica.es>
* general/footer.php: Removed Firefox icon. Style correction.

	* godmode/agentes/agent_manager.php: Replaced &gt; with &raquo;. Style
	correction when setting bold attributes.

	* godmode/agentes/manage_config_remote.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/module_manager.php,
	godmode/alerts/alert_list.php, godmode/db/db_audit.php,
	godmode/db/db_event.php, godmode/db/db_info.php, godmode/db/db_main.php,
	godmode/db/db_purge.php, godmode/db/db_refine.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_network_templates.php, 
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/module_list.php, godmode/profiles/profile_list.php,
	godmode/reporting/graph_builder.php, godmode/reporting/map_builder.php,
	godmode/reporting/reporting_builder.php, godmode/servers/manage_export.php,
	godmode/servers/manage_export_form.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	godmode/servers/modificar_server.php, godmode/setup/setup_visuals.php,
	godmode/setup/links.php, godmode/setup/news.php,
	godmode/snmpconsole/snmp_alert.php, godmode/users/configure_user.php,
	godmode/users/user_list.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/estado_grupo.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/agentes/status_monitor.php, operation/agentes/tactical.php,
	operation/events/events.php, operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php,
	operation/messages/message.php, operation/reporting/custom_reporting.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php, operation/servers/view_server.php,
	operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php, operation/visual_console/index.php,
	godmode/agentes/agent_template.php: Replaced &gt; with &raquo;

	* operation/agentes/datos_agente.php: Return instead of exit

	* include/javascript/jquery.pandora.controls.js: Added pandoraSelectOS
	control to preview the OS icon on a select.

	* include/functions_reports.php: Fixed a bug on delete_report() that
	returns error when the report has no content.

	* include/functions_ui.php: Removed border attribute on print_os_icon().
	Some fixes to meta refresh element on process_page_head(). Fixed 
	format_filesize() when length is zero.
	
	* godmode/menu.php: Replaced link to file manager. Added enterprise hook.

	* godmode/setup/file_manager.php: Renamed from obfuscated name filemgr.php

	* include/styles/pandora.css: Textarea width reduced to 99%

	* godmode/setup/setup.php: Added get_os_icon AJAX operation.
	
	* images/mimetypes/, images/mimetypes/zip.png, images/mimetypes/image.png,
	images/mimetypes/unknown.png, images/mimetypes/directory.png: Added to
	repository. Mime type icons.

	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed date comments.
	
	* include/functions_filemanager.php: Added to repository. Minimal API for
	file manager system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 09:50:56 +00:00
slerena 36426d4c9e 2009-04-02 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Final DB changes proposed for closing this month the DB
	scheme. tagente-> new server_name field to assign server (old fields will
	be removed).  talert_templates has two new types (warning, critical).
	tevento has "user_comment" new field. Tserver has three new fields, 
	server_type (so some old fields will be deleted), threads and queued_modules
	this last two are for statistical options. Tusuario add language type to
	override global language.
	
	* update_manager/main.php: Minor changes for correct ACL usage. Non PM
	users could see in what revision it the system, but only that.
	
	* pandoradb_migrate_v2.x_to_v3.0.sql: Updated script for new DB changes.
	
	* general/noaccess.php: Added footer and ending div. Page was very ugly
	when showing noaccess errors, nobody see it ???.
	
	* godmode/menu.php: A LOT of ACL fixes on several options.
	
	* godmode/agentes/agent_manager.php: Fixed a crazy floating icon.
	
	* godmode/agentes/manage_config_remote.php: A LOT of changes, rewriting
	stuff, because was not working. This also adds a lot of ACL checks. 
	
	* godmode/agentes/massive_config.php, massive*: ACL changes.
	
	* godmode/agentes/modificar_agente.php: Fixed ACL problems.
	
	* godmode/agentes/module_manager_editor.php: Fixed bad module categories for
	some types (data, plugin and prediction).
	
	* godmode/alerts/alert_list.php: Fixed ACL problem.
	
	* godmode/reporting/graph_builder.php: Added ACl restriction for 
	non-viewable agents for current user. Seems to be a problem with data
	with more than 2 sources.
	
	* godmode/reporting/map_builder.php: ACL checks improved.
	
	* godmode/reporting/reporting_builder.php: ACL checks added (was missing), 
	some code ported from 2.1, other is new. New fields shown in list.
	
	* include/functions.php: Fixed the annoying bug of "bad counters" in
	function human_time_description_raw(). Function used,format_numeric() should
	not be used never to calculate nothing, only to print formatted strings.
	
	* include/functions_db.php: Added function user_access_to_agent() to know
	if a given user has access to a given agent.
	
	* include/functioins_report.php: get_report() should let admin to watch any
	report. Fixed.
	
	* agentes/alerts_status.php: Fixed ACL problem for view alert.
	
	* operation/incidents/incident.php: Bad call for pagination() was giving
	problems to pagination call. Somebody changes pagination() interface and 
	make this broken. Please if you change any interface, be sure that is compatible
	with old code or make a post in the list about this !
		
	* godmode/users/user_edit.php: Additional ACL check to do not let anybody
	to watch non accesible users. Even for see the username or description.
	
	* reporting/pchart_graph.php:Progress bar shown text in white when > 60%.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:16:59 +00:00
Esteban Sanchez 610fe5042b 2009-04-02 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed id on tconfig
	inserts.

	* godmode/agentes/configurar_agente.php: Min and max module values
	were not being updated.

	* godmode/alerts/configure_alert_template.php: Removed duplicated
	example. Added support for next warning and critical template types.

	* include/functions_ui.php, include/functions_alerts.php: Added new
	alert template types.

	* include/functions_db.php: temp_sql_delete() moved out of
	delete_agent() because there were errors if it was calling more than
	once.

	* include/functions_reports.php: Fixed doc for get_reports().

	* include/config_process.php: Updated build number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 12:53:27 +00:00
Esteban Sanchez 4afa5e190b 2009-04-01 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	priority field to talert_templates and removed from
	talert_template_module.

	* godmode/alerts/alert_list.php: Fixed SQL notice when fetching
	groups.

	* godmode/alerts/alert_templates.php: Added priority to the template
	tooltip.

	* godmode/alerts/configure_alert_template.php: Added priority field to
	alert templates.

	* include/functions_db.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 11:25:58 +00:00
Esteban Sanchez 68716acb0d 2009-03-27 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed
	constraint restrictions on alert actions.

	* godmode/users/configure_user.php: Many bugfixes when creating and
	editing.
	
	* include/auth/mysql.php: Fixed return value on create_user() because
	it does not return an insert id.

	* include/functions_db.php: Call debug() on SQL errors to get a
	backtrace.

	* include/functions_ui.php: Added a return value to debug().

	* operation/users/user_edit.php: Renamed user_update().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-27 11:33:11 +00:00
slerena 7e895479da 2009-03-26 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: SLA parameters now accept float values.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: SLA parameters now accept 
	float values after a table update.
	
	* godmode/setup/filemgr.php: New feature: a file manager, accesible only by
	pandora Administrators. Have some security checks but is not intended to be
	used by anyone not admin.
	
	* godmode/menu.php: Added filemanager and fixed minor problem under SNMP
	Godmode (fake submenu).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 18:00:56 +00:00
slerena 2758d024d7 2009-03-25 Sancho Lerena <slerena@artica.es>
*  extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added field missing in 
	ttrap (This gives the problems with SNMP Alerts in trunk version (Manu!)).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 18:17:02 +00:00
Esteban Sanchez 8bd22e5ca8 2009-03-24 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_compound.php: Fixed clean up div for
	variable width styles. Min and max fire values commented because it's
	not implemented yet.

	* include/config_process.php: Keep database connection resource in
	config.

	* include/functions.php: Use mysql_real_escape_string(), replacing
	deprecated function.

	* include/functions_alerts.php: Updated to use process_sql_*
	functions. Many fixes done such as updating a template name or
	escaping the value when duplicating a template.

	* include/functions_ui.php: Fixed an error on refresh header when
	using other web servers like Cherokee.

	* operation/agentes/estado_agente.php: Style corrections.

	* reporting/fgraph.php: Fixed a typo on grafico_db_agentes_paquetes().

	* pandora_db.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	foreign key on treport_content and id field on
	talert_compound_actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-24 10:22:37 +00:00
slerena 2d1132d9e0 2008-03-04 Sancho Lerena <slerena@artica.es>
* /extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed defaults in tconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-04 18:00:34 +00:00
slerena 1b19caa4f1 2009-03-04 Sancho Lerena <slerena@artica.es>
* extras/: New directory with extra contents (scripts, tools, samples)
	
	* index.php: Add new permission check for /attachment directory. Probably
	could be extended and wrapped into a function. This should be only called 
	once, this is the reason why is placed here and not in config_process.
	
	* pandora_console_upgrade: Force MYSQL run, even if SQL return error (useful
	for applying over a older 3.0 version for example).
	
	* pandoradb_data.sql: Was missing some tconfig variables.
	
	* extras/*.sql: Missing somre tconfig variables and other minor issues fixed
	
	* extensions/update_manager/main.php: Description of update manager patch
	wider. Probably needs more formatting in the future.
	
	* extras/sample_login.php: Sample on how to implement autologin feature.
	
	* footer.php: I hope solve the frakkin image problem.
	
	* godmode/agents/agent_manager.php: proper ACL check notice.
	
	* godmode/alerts/alert_list.php: Fixed notice.
	
	* godmode/reporting/map_builder.php: Added link to wizard and item count.
	
	* godmode/reporting/map_builder_wizard.php: Added new feature, a wizard
	to populate the visual map, using agents from a combo, depending on the
	map selected. Could have a lot of improvements, it's a basic start. Allow
	to choose agents and image maps and space between images. Puts in a reticle
	automatically adjusting at 600px width.
	
	* godmode/setup.php: Checkbox for trap_forward was bad, fixed.
	
	* config_process.php: Fixed version to 3.0-dev
	
	* functions_html.php: Default of 0 in text boxes makes them unusable on
	default values, funny :-)
	
	* include/functions_reporting.php: Fixed a notice on unknown variable
	on function get_group_stat().
	
	* operation/agentes/alerts_status.php: Filter on module status is made now
	with combos, like the rest of the filters in the GUI.
	
	* operation/events/events.php: a missing div makes graph float outside the
	filter box. TODO: Hidder filter makes free-width style buggy here.
	
	* operation/reporting/reporting_viewer.php: Fixed layout issue.
		
	* operation/visual_console/render_view.php: Added ACL check.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-04 17:57:00 +00:00