Commit Graph

1552 Commits

Author SHA1 Message Date
mdtrooper 5b01cde66e 2010-05-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: added the style for disabled
	agent and tooltip, in the name agent.
	
	* operation/search_results.php: added the style for disabled
	agent and tooltip.
	
	* godmode/agentes/modificar_agente.php: added tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-21 08:59:14 +00:00
raulmateos d1b6be5e11 2010-05-20 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.php: Added code to show different
	header depending on GET parameter.
	* godmode/alerts/alert_list_builder.php: Changed final icon.
	* godmode/agentes/planned_downtime.php: Center some icons. Now table
	header is shown only if there are planned downtimes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 14:35:14 +00:00
Ramon Novoa 2156da2ec0 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh,
          include/config_process.php, pandora_console.spec: Updated for the
          release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:05:34 +00:00
raulmateos 349dbebcd5 2010-05-20 Raul Mateos <raulofpandora@gmail.com>
* operation/users/user_edit.php: Updated year. Use better table in group
	list.
	* godmode/snmp_console/snmp_alert.php: Updated year. Removed old header.
	Added code to show different header depending on GET parameter.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 12:07:19 +00:00
mdtrooper b43ba4d954 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 10:57:03 +00:00
mdtrooper 58526fe07e Lost changeLog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 16:32:48 +00:00
mdtrooper 7b2f8f6b29 2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fixed the fgraph when cron get a report in PDF for to
	send, and this situation the fgraph execute in localhost althought it'snt
	login.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 15:32:43 +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 91f35b72cf 2010-05-18 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php: Fixed the
	multiple agents selection on visual console wizard 
	for bug 2997750



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 12:10:39 +00:00
mdtrooper 1850cb9251 2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function 
	"agent_changed_by_multiple_agents_id" for response to change agent in
	wizard in visual console editor.

	* operation/agentes/ver_agente.php: added response to
	"get_agent_modules_json_for_multiple_agents_id" for the ajax previous
	function.
	
	* godmode/reporting/visual_console_builder.wizard.php: used new javascript
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 10:03:06 +00:00
zarzuelo a3a715e33e 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* include/languages/cs.po
	include/languages/nl.mo
	include/languages/pt_BR.po
	include/languages/es.po
	include/languages/pl.mo
	include/languages/ko.po
	include/languages/it.mo
	include/languages/sl.mo
	include/languages/sk.po
	include/languages/uk.po
	include/languages/ro.po
	include/languages/pt.mo
	include/languages/ast.mo
	include/languages/index.pot
	include/languages/bn.po
	include/languages/ar.po
	include/languages/cs.mo
	include/languages/pt_BR.mo
	include/languages/es.mo
	include/languages/ko.mo
	include/languages/fr.po
	include/languages/sk.mo
	include/languages/uk.mo
	include/languages/ro.mo
	include/languages/ca.po
	include/languages/da.po
	include/languages/tr.po
	include/languages/de.po
	include/languages/sv.po
	include/languages/ja.po
	include/languages/zh_TW.po
	include/languages/he.po
	include/languages/bn.mo
	include/languages/fi.po
	include/languages/ar.mo
	include/languages/hi.po
	include/languages/zh_CN.po
	include/languages/fr.mo
	include/languages/te.po
	include/languages/eu.po
	include/languages/hu.po
	include/languages/ca.mo
	include/languages/da.mo
	include/languages/tr.mo
	include/languages/de.mo
	include/languages/sv.mo
	include/languages/ru.po
	include/languages/ja.mo
	include/languages/zh_TW.mo
	include/languages/he.mo
	include/languages/fi.mo
	include/languages/hi.mo
	include/languages/zh_CN.mo
	include/languages/el.po
	include/languages/gl.po
	include/languages/te.mo
	include/languages/eu.mo
	include/languages/nl.po
	include/languages/hu.mo
	include/languages/pl.po
	include/languages/it.po
	include/languages/sl.po
	include/languages/pt.po
	include/languages/ru.mo
	include/languages/ast.po
	include/languages/el.mo
	include/languages/gl.mo: Updated the languages files
	from Launchpad



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 16:45:28 +00:00
mdtrooper d53235091b 2010-05-17 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js,
	godmode/agentes/module_manager_editor.php: fixed the snmp_walk for version
	2, 2c and 3. Need more test for version 3.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 12:08:44 +00:00
mdtrooper 5e9d2802f9 2010-05-17 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js,
	godmode/reporting/visual_console_builder.wizard.php: fixed the select box
	modules for when select many agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 09:57:09 +00:00
zarzuelo ff3dae54cd 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed the
	Warning monitor stauts in tactical view
	for bug: 3002602



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 08:45:08 +00:00
zarzuelo 0792f35a10 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* operation/extensions.php
	godmode/extensions.php: Fixed the undefined
	variable display on extensions sections
	for bug 2989967



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 07:34:38 +00:00
jsatoh d28fb180fb 2010-05-17 Junichi Satoh <junichi@rworks.jp>
* include/gettext.php: Changed the judgment method for 64bit systems.
	'x86_64' is not acceptable by some systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 03:31:18 +00:00
raulmateos 9ecbd9599b 2010-05-14 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/gis_view.php, tactical.php: Clean code. Updated year.
	* Changelog: Fixed language error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 12:55:16 +00:00
mdtrooper 22fed25b31 2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed the request of group data when get
	data about "All" group.
	Fixes: #2993501



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 10:36:19 +00:00
zarzuelo b70b7fd786 2010-05-14 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: Fixed
	the adding at visual map only the agent if module is 
	no selected and only the module if is selected.
	Bug: 2989339



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 10:34:37 +00:00
mdtrooper 249d4d65a5 2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fixed the title of button to
	"update layer", and now by default the group of new layer is none.
	Fixes: #2990762



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 10:11:55 +00:00
zarzuelo d8d2d23ba1 2010-05-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/agentes/massive_edit_modules.php: Fixed the
	ACL check into groups combo for bug 3001500 and 
	All agents display for bug 2999431



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 09:25:39 +00:00
mdtrooper c06b11a83d 2010-05-14 Miguel de Dios <miguel.dedios@artica.es>
* include/gettext.php: Sorry I forget part of changes in "fixed the bug of
	pseudo-gettext with diferent arquitectures. Now check the arquitecture
	before." 
	Fixes: #2991545
	
	* godmode/agentes/configurar_agente.php: fixed lost the require file.
	Fixes: #3000337



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 09:01:38 +00:00
raulmateos 9fd8a5a297 2010-05-13 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/group_view.php: Clean code. Close tags. Now, if 
	there's no agent, it shows a text. Inefficient?
	* godmode/agentes/agent_manager: Solved typo with .png files, but
	those files doesn't exists in repository...
	*  ChangeLog: Changed date error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 18:29:46 +00:00
raulmateos 6c67a39f0d 2010-05-11 Raul Mateos <raulofpandora@gmail.com>
* install.php: Updated year. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 16:44:27 +00:00
zarzuelo d66340b9df 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* godmode/gis_maps/configure_gis_map.php: Fixed the 
	Gis map without map connection. Now is impossible 
	to create or update a GIS map without map connection
	Bug: 3000014



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:36:47 +00:00
mdtrooper f262b323d7 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* include/gettext.php: fixed the bug of pseudo-gettext with diferent
	arquitectures. Now check the arquitecture before. 
	Fixes: #2991545



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:30:57 +00:00
mdtrooper 7c89c8954e 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: fixed the syntax of sql for compatibility of mysql 5.0 that
	this versión is used in Debian Lenny for example. Now run in 5.0 and next
	versións.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:14:38 +00:00
zarzuelo 3b989805d0 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed negative timestamp 
	for bug: 2926876



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:45:52 +00:00
zarzuelo d3c6e43fd2 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php: Fixed full monitor
	checks in tactical view and monitor status filter 
	on monitor detail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:09:13 +00:00
mdtrooper ce9a609683 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the empty cell.
	Fixes: #2996522



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:01:21 +00:00
mdtrooper e20156606a 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: check if exist the "any" text translation.
	* godmode/reporting/visual_console_builder.wizard.php: add the "any"
	translation.
	Fixes: #3000496



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 11:51:23 +00:00
mdtrooper d433c39fdc 2010-05-13 Miguel de Dios <miguel.dedios@artica.es>
* install.php: check the exit library "Multibyte String".
	Fixes: #3001028



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 09:32:37 +00:00
zarzuelo d7498b7eb1 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fixed unknown
	and no init monitors queries for monitor checks. 
	Bug: 3000460



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:28:31 +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 8ab93583b8 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_gis.php: Fixed the maps of
	type Googlemaps in agent view for bug: 2993745



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 08:52:25 +00:00
Ramon Novoa 599280bdce 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/stat_win.php: Pass the start date to min, max and
          avg functions.

        * godmode/alerts/configure_alert_action.php: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 18:29:19 +00:00
raulmateos 3b84361a5d 2010-05-11 Raul Mateos <raulofpandora@gmail.com>
* godmode/gis_maps/index.php: Updated year. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 17:07:33 +00:00
zarzuelo 1c0c23f5f0 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* godmode/setup/gis_step_2.php: Fixed the creation
	of connection map in GIS maps for bug 3000031



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 15:54:49 +00:00
raulmateos d25cf8c368 2010-05-11 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Fixed a typo.
	* godmode/gis_maps/index.php: Updated year. Show text if no map defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 15:17:09 +00:00
zarzuelo 95a0d90bad 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* godmode/gis_maps/index.php: Fixed the change
	of default map for bug: 2993745



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 14:23:30 +00:00
jsatoh 0e0d9d9cf6 2010-05-11 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_cascade_protection.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 01:25:20 +00:00
jsatoh 9b58a7a441 2010-05-11 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_cascade_protection.php: Updated a help file
	to reflect recursive cascade protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 01:15:08 +00:00
Ramon Novoa e0aa566f88 2010-05-10 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_cascade_protection.php,
          include/help/es/help_cascade_protection.php,
          images/help/cascade_protection_ilustration.png: Updated
          help files to reflect recursive cascade protection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 16:13:51 +00:00
zarzuelo f11f5c9f26 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* godmode/db/db_refine.php: Fixed the pendingdelete
	word showed in database purge for bug: 2922769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 15:06:25 +00:00
Ramon Novoa 513d593ea4 2010-05-10 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Fixed a typo in grafico_modulo_boolean.
          Fixed the alert and event scale. Removed the 'last' element
          from the chart data array (does not seem to be used anywhere).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 11:12:45 +00:00
zarzuelo 81734b538d 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* operation/messages/message.php: Fixed the messages
	over the header for bug: 2993495



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 10:38:54 +00:00
zarzuelo d84c378293 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/massive_edit_modules.php: Fixed the
	massive change of user and password. Also the change of
	the export target and historical data was disable. Now
	are fixed too. Bug: 2997083



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 10:24:35 +00:00
zarzuelo 6827e5fbd4 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/massive_operations.php: Fixed the
	header using now the print_header function for
	bug: 2999269



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 10:04:50 +00:00
raulmateos 9bc6441414 2010-05-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/setup/file_manager.php: Changed deprecated split() function to
	explode(). Center delete image.

	* modules/manage_network_components.php: Center delete image.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-09 14:12:04 +00:00
Ramon Novoa 942ee05e8b 2010-05-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, include/fgraph.php,
          include/functions_db.php, include/functions_fsgraph.php: Fixed
          a lot of chart and report code related to Pandora FMS's data
          compression algorithm.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 18:18:23 +00:00
zarzuelo 392046ec9d 2010-05-07 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_recontask_form.php: Included
	the help icon into the header for bug: 2997559



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 10:29:48 +00:00
jsatoh 949bc8371a 2010-05-07 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_prediction_source_module.php: Added a missing
	help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 04:08:46 +00:00
raulmateos a34df658ff 2010-05-06 Raul Mateos <raulofpandora@gmail.com>
* include/config*.php: Updated year. Updated build.
	* include/functions_*.php: Updated year. Clean Code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-06 15:53:38 +00:00
mdtrooper 19ffa76f46 2010-05-06 Miguel de Dios <miguel.dedios@artica.es>
* include/config.inc.php: fixed the operation require when the php file to
	call config.php have a file with same name of "config_process.php" ...in
	rare cases.
	
	* include/config_process.php: fixed the operation require when the php file
	to call config.php have a file with same name of "functions.php",
	"functions_db.php", "functions_config.php" ...in rare cases. 
	
	* include/functions.php, include/functions_config.php: cleaned the source
	code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-06 12:48:31 +00:00
mdtrooper 55695ac6b7 2010-05-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php: added the height and width to save in
	the copy.
	Fixes: #2989340



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-05 17:30:29 +00:00
mdtrooper b9035ac627 2010-05-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: added the extract size of
	image and save.
	Fixes: #2992401



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-05 16:54:03 +00:00
mdtrooper 561ba6a688 2010-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed notices php messages when the
	visual map has the item label (item image without image and only text). 
	
	* godmode/reporting/visual_console_builder.php: changed the icon tab for
	the wizard, before it was a pill, now it is a wand.
	
	* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the validate
	static graph item.
	Fixes: #2994103



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-05 16:29:03 +00:00
mdtrooper 4b8601207b 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the php notice message when the
	index not exist in the var $data in the function "get_agentmodule_sla".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 17:05:25 +00:00
zarzuelo e8a78adcad 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_template.php: Fixed the
	link to edit module for bug: 2996521



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2665 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 15:17:38 +00:00
zarzuelo a188ad9492 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Set style to
	'mini' option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 12:13:17 +00:00
mdtrooper a2b73a4663 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: changed the style to show data in the
	items "TTRT", "TTO", "MTBF" and "MTTR".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:24:14 +00:00
mdtrooper 9860502861 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed in the function
	"get_agentmodule_data_average" prevent to use the var without value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:06:59 +00:00
zarzuelo 451bcdc5fc 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added the 
	high variation for the graphs when the
	parameter $mini is true



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 11:00:57 +00:00
mdtrooper 40c1fe60f7 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: added file to show the
	html preview of report.

	* godmode/reporting/reporting_builder.php: added the tab for the preview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 10:44:16 +00:00
zarzuelo 207282b6af 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* 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: Fixed the screens
	without headers for bug: 2996488



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 10:32:03 +00:00
mdtrooper 185dbb4afc 2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: added tooltip for to
	tell what is the separator character in the header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 08:54:13 +00:00
zarzuelo 57322b8633 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added "mini"
	parameter. Usefull for print the report with less
	size



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 08:36:35 +00:00
zarzuelo f5fa127ff8 2010-05-04 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php: 
	Increased the max number of digits in text inputs 
	for max_critical, min_critical, max_warning and
	min_warning for bug:2931191



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-04 06:19:21 +00:00
mdtrooper 89f35e54b2 2010-05-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/reporting/reporting_xml.php:  added default value "now" in
	$report["datetime"]. Removed (as comment at the momment) obsolet report
	items, and added the items: "event_report_agent", "text", "sql",
	"event_report_module", "alert_report_module", "alert_report_agent",
	"url", "database_serialized", "TTRT", "TTO", "MTBF" and "MTTR". 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 15:45:16 +00:00
mdtrooper 0014988481 2010-05-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the parameter "$html" in the
	function "alert_reporting_agent" and "alert_reporting_module", this flag is
	for return the html table or object table, by default the html. And fixed
	the title of "alert_report_module" and "alert_report_agent", fixed return
	of list "event_report_module" in the function "render_report_html_item".

	* godmode/reporting/reporting_builder.item_editor.php: fixed the lost field
	"period" in the item "database_serialized".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 12:02:56 +00:00
mdtrooper 8d8a3a0957 2010-04-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added the parameter "$html" in the
	function "get_module_detailed_event_reporting", this flag is for return
	the html table or object table, by default the html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 09:39:51 +00:00
zarzuelo 2634e18efb 2010-05-03 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php: Fixed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 09:02:18 +00:00
zarzuelo 979aa8b2a8 2010-05-03 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Fixed the successfully
	message over the header for bug: 2989965



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 07:39:11 +00:00
zarzuelo c6dd9b82ec 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.builder.php: Removed an
	useless combo of old version. Bug: 2993508



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:58:51 +00:00
zarzuelo 922a1d925f 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed the access at the
	groups without icon. bug: 2944540 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:41:43 +00:00
zarzuelo 83e17ce35a 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/group_view.php: Fixed the group
	1 problem. It was not showed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:31:24 +00:00
zarzuelo 6306f8e7eb 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/snmpconsole/snmp_view.php: Improved the
	code using printTruncateText



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:22:28 +00:00
zarzuelo bdcfd8fbe2 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Improved the printTruncateText
	function adding the parameter showTextInTitle



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:07:26 +00:00
zarzuelo 9bd5bb107f 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed the custom 
	value column tooltip. Now, the tooltip shows the full
	value instead of the custom OID. Bug: 2940432



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 10:43:46 +00:00
mdtrooper 9f3fdd6312 2010-04-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php: added in the function "safe_output" the flag
	$utf8 for set the encoding of output, by default true.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 10:35:20 +00:00
mdtrooper f94a1d9790 2010-04-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
	the sla vars in javascript.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 15:52:33 +00:00
mdtrooper 1e38d5307c 2010-04-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: added the function "printTruncateText" for
	facilitate trunc texts, and add the eye candy the tooltip.

	* godmode/reporting/reporting_builder.list_items.php: used the new function
	"printTruncateText".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 15:39:19 +00:00
Ramon Novoa c62bf12718 2010-04-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Added TTO, TTR, MTBF and MTTR
          reports.

        * include/functions_db.php: Fixed get_previous_data and wrote
          get_next_data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 15:31:14 +00:00
zarzuelo d4aac2b504 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* godmode/setup/gis_step_2.php: Fixed the creation 
	of map connection without name and without type
	of connection. Bug:2993713



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 14:32:22 +00:00
zarzuelo ce7d7274c6 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_recontask.php: Fixed the creation
	of recon task without name and network. Also, the network 
	is checked by the following regular expression 
	"/[0-9]+.+[0-9]+.+[0-9]+.+[0-9]+\/+[0-9]/"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 11:58:35 +00:00
zarzuelo 8200395bf8 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: Fixed that
	was allowed to create a visual map without name and without
	background. Bug: 2993503



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 11:20:51 +00:00
zarzuelo cf45f76d37 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: Fixed the critical render
	from an object that was not static graph when was heredated
	from another layout. Bug 2940950



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 10:46:16 +00:00
zarzuelo e5bf931f7b 2010-04-29 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_prediction.php:
        Limited the source modules availables for the prediction
        module at the modules with history_data = 1. bug:2922920



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 09:48:54 +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 79b04aefd9 2010-04-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
	the field "id_agent_module".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-29 08:21:43 +00:00
mdtrooper 8dddb86702 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added function "alert_reporting_agent"
	for make the html list of agent alerts, added function
	"alert_reporting_module" for same thing before function instead it is for
	modules. In report item "event_report_agent" fixed the output. Added report
	items "alert_report_module", "alert_report_agent", "url" and
	"database_serialized".
	
	* include/functions_db.php: added function "get_agent_alert_fired" for
	to extract the alerts fired of agent, and added "get_module_alert_fired"
	for alerts fired of module.
	
	* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: fixed the renamed
	column "row_separator" of previus commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 19:44:04 +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
mdtrooper ef47726438 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, godmode/gis_maps/configure_gis_map.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: cleaned debug traces in
	the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 18:38:58 +00:00
mdtrooper b0f4d153e7 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
	item.

	* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
	hidden input for id item, after it was out form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 16:06:32 +00:00
mdtrooper 7664534e8a 2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed a mistake
	copy&paste, now you can edit correctly the items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 14:21:35 +00:00
zarzuelo 878358c993 2010-04-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: fixed the
          error of divided by zero and now the widget
          display an error message. Bug #2992370



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 11:03:07 +00:00
slerena 9a9ea8d8fb 2010-04-28 Sancho Lerena <slerena@artica.es>
* include/pChart/pData.class,
    include/pChart/pChart.class: Fixed some notices on undefined variables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 09:11:27 +00:00
slerena 7bd6d62372 2010-04-28 Sancho Lerena <slerena@artica.es>
* include/pChart/pChart.class:

    * include/pChart/pData.class

    * include/fgraph.php: Fixed bug with eventgraph in graph_event_module().

    * include/functions.php: return_graphtype() uses now the log4x id 24 in
    ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs
    doesn't work on php >= 5.3.x :((

    * operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x.

    * operation/agentes/stat_win.php: Included missing functions_reporting.php
    include, it was missing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 09:10:23 +00:00
zarzuelo f51b453c4e 2010-04-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added at print_checkbox
                function the 'script' parameter



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 07:25:46 +00:00
mdtrooper 6b358c0e10 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: in function
	"get_agents_detailed_event_reporting" fixed param for $id_agents to array
	type, fixed the loop to save events and fixed in the loop to make the table.
	Added the function "get_module_detailed_event_reporting" for events of any
	module. In function "render_report_html_item" remove trace function, added
	the render option "event_report_module" for render list of events of any
	module.

	* include/functions_db.php: added function "get_module_events".
	
	* operation/gis_maps/ajax.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 17:43:32 +00:00
zarzuelo ce9fe70b91 2010-04-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
          operation/gis_maps/ajax.php
          godmode/agentes/planned_downtime.php
          godmode/agentes/manage_config_remote.php: Fixed many all group
          control from 1 to 0 value. Remove deprecated functions
          list_group() and list_group2() from functions_db.php




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 15:42:49 +00:00
mdtrooper 1bbb194939 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: added render html for "text" and "sql"
	item.
	
	* include/ajax/reporting.ajax.php: added request for the custom SQL.

	* include/functions_db.php: in function "get_db_value_filter" fixed the
	field when the field is escape string.

	* godmode/reporting/reporting_builder.item_editor.php: added the preview of
	custom SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 15:25:32 +00:00
zarzuelo a11d3472ad 2010-04-27 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_recontask_form.php: Avoided
          that the All group appears on the combobox for
          bug # 2992906



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 12:17:42 +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
mdtrooper 1acd14b4e5 2010-04-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code of
	"render_report_html_item" function for new types of report items.

	* include/functions.php: cleaned source code of "get_report_types" function
	and added new types of report items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 10:51:17 +00:00
zarzuelo 304b7393c1 2010-04-27 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Changed the group All values
                on tables with default group form 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 10:41:21 +00:00
mdtrooper fd376f630e 2010-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: removed hack for translate "any" text.
	
	* godmode/reporting/graph_builder.php: removed unused javascript function
	"agent_changed"
	
	* godmode/reporting/reporting_builder.php: re-added parameter
	$values['id_agent_module'].


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 07:35:50 +00:00
slerena 22916f22fe 2010-04-26 Sancho Lerena <slerena@ærtica.es>
* operation/agentes/datos_agente.php: Fixed the data table
        render for log4x data.

        * operation/agentes/estado_monitores.php: Graph icon should be
        shown when using  Log4x data, it has graphics (need to implement in
        Flash in the future).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 17:31:58 +00:00
Ramon Novoa 7a39659802 2010-04-26 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora.js: The id_group filter in
          agent_module_autocomplete is no longer needed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 11:17:25 +00:00
mdtrooper 1144ccaed3 2010-04-26 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: in the function
	"agent_changed_by_multiple_agents"fixed the id of "All" group, now it's the
	0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 10:03:39 +00:00
jsatoh 47fd26430b 2010-04-26 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager_editor_network.php: Added missing '_'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 06:20:51 +00:00
slerena 3d56880ef7 2010-04-23 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Fixed a doble include in the
        functions_enterprise.php file (breaks the tab "inventory" in the
        agent view).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 17:01:45 +00:00
zarzuelo 6326585436 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* general/ui/agents_list.php: Changed the all group
                condition from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 11:58:30 +00:00
zarzuelo 6cb14fd52b 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.php: Changed the
        All group on combos from 1 to 0 and fix the
        group all on tables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 11:14:57 +00:00
mdtrooper 3ecf8a5e29 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: re-added the list of reports,
	re-added the delete reports. And fixed the notice PHP message and the
	action edit in the main tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 10:44:36 +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
zarzuelo adc249189d 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_recontask_form.php: 
        Added the All group to combo 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 08:55:58 +00:00
zarzuelo bf58051188 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* operation/visual_console/index.php
       godmode/reporting/map_builder.php: Fixed the
        group all on tables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 08:23:58 +00:00
zarzuelo d8f9396e69 2010-04-23 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_compounds.php
       godmode/alerts/alert_list.php
       godmode/alerts/alert_templates.php
       godmode/alerts/configure_alert_action.php
       godmode/alerts/alert_actions.php: Changed the
        All group on combos from 1 to 0 and fix the
        group all on tables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 07:59:49 +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
mdtrooper 2f59592657 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function
	"agent_changed_by_multiple_agents" for query ajax with one or more agent
	select.
	
	* operation/agentes/ver_agente.php: added ajax response to
	"get_agent_modules_json_for_multiple_agents".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 18:50:00 +00:00
mdtrooper 6e35f1689d 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/tiny_mce/*: re-added (lost files) js library (BSD) for
	the eyecandy widget for textarea. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 18:46:31 +00:00
mdtrooper 8c19211c5f 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/tiny_mce/*: added js library (BSD) for the eyecandy
	widget for textarea. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 18:34:50 +00:00
zarzuelo 86f3ecfb29 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* operation/users/user_edit.php
       godmode/users/configure_user.php: Changed the
        All group on combos from 1 to 0 and fix the
        group all on tables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 17:25:28 +00:00
zarzuelo 29e23b1c8f 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* operation/incidents/incident.php: Changed the
        All group on combos from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 17:11:46 +00:00
zarzuelo 5f4f5e6e45 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Avoid to show
        the All group on the table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 16:54:02 +00:00
zarzuelo d9088a6eb4 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
       include/functions_agents.php
       include/functions_db.php: Change the way of validate
        the All group. Now the group All has id_group = 0
        and is not on the database

       * extensions/module_groups.php: Remove the All 
        group row from the table. Inprove the table style

       * operation/agentes/status_monitor.php
       operation/agentes/alerts_status.php
       operation/agentes/estado_agente.php
       operation/agentes/exportdata.php
       operation/agentes/networkmap.php 
       godmode/agentes/modificar_agente.php
       godmode/agentes/planned_downtime.php: Changed the
        All group on combos from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 16:51:23 +00:00
zarzuelo c9f2a2d1bb 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Added validation
        when remove a group. Now, if the group is not empty
        shows a message and dont allow to remove it



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 16:18:32 +00:00
mdtrooper 672faae011 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: erased trace line in the source of function
	"agent_changed", and force to select by default the none option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 11:58:17 +00:00
mdtrooper ed67836aca 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: changed function "agent_changed" for take
	the translate any or none texts from ajax or global var.
	
	* operation/agentes/ver_agente.php: added to package data the translate
	text for any.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 11:52:31 +00:00
slerena 2696b815e5 2010-04-21 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added function render_report_html_item()
    to render a given report element in HTML format. Fixed a small problem in
    SUM report type (int truncate invalidate most of SUM reports when not using
    a _inc data type).

    * include/functions.php: Updated all "is_module_xxx" from using ereg 
    (deprecated) to use preg_match.

    * include/functions_db.php: Moved reporting functions 
    get_agentmodule_data_average(); get_agentmodule_data_max(), 
    get_agentmodule_data_min() and  get_agentmodule_data_sum() from here
    to functions_reporting.php.

    * godmode/groups/group_list.php: Removing a group put all agents assigned
    to that group in other available group (choosen in realtime).

    * AUTHORS: Authors file update, was very outdated!.

    * operation/agentes/estado_generalagente.php: Fixed bug #2990430.

    * operation/reporting/reporting_viewer.php: Some changes for better 
    structuration of the HTML reporting viewer. Removed big chunk of code
    and put in function_reporting/render_report_html_item() function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 17:52:08 +00:00
mdtrooper dc02182601 2010-04-21 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: small improve, added new parameter into
	the function "agent_module_autocomplete", the parameter is "noneValue" for
	add a option for none module in the select of modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 16:13:42 +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
zarzuelo 9f99070a10 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: Fixed the delete the actual 
        user feature hidding the red cross in this user and with
        internal control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 14:24:04 +00:00
zarzuelo f379d923b8 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed a var definition 
        error



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 13:52:46 +00:00
zarzuelo a1168151d7 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added the parameter style 
        to print_select_from_sql() function




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 13:35:31 +00:00
mdtrooper 5df55a5ace 2010-04-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: rollback to the fixed (r2563) in the function
	"get_db_value_filter".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 12:41:45 +00:00
Pablo de la Concepción Sanz 643020236a 2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Make the services
	part (Enterprise) work nicely.

	* godmode/agentes/configurar_agente.php: Added enterprise hook for the 
	services parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 09:43:32 +00:00
Pablo de la Concepción Sanz 7a2439334a 2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/javascript/pandora.js: Added function agent_module_autocomplete
    to use with a text box, a hidden field and a selector to select an agent
    and a module from the agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 07:47:55 +00:00
jsatoh a28c2a8843 2010-04-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager.php, 
	godmode/modules/manage_network_components.php, 
	godmode/modules/manage_network_templates_form.php: Changed the substr()
	to mb_strimwidth(). Strings should be truncated with displayed length,
	not number of characters.

	* godmode/include/functions.php: Added wrapper mb_strimwidth().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 02:41:20 +00:00
zarzuelo 00d08bcdd6 2010-04-16 Sergio Martin <sergio.martin@artica.es>
* operation/users/user.php: Modified the users that
        are showed in the View users section. Now, the users
        of the logged user group are listed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 14:44:06 +00:00
Pablo de la Concepción Sanz b8566d8123 2010-04-16 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/ajax/agent.php: Modified to return the agent name at the i
    begining of the serialized result.

    * godmode/agentes/configurar_agente.php: Added help links and TODO tag
    to remember to change the tabs to use the print_page_header function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 10:07:10 +00:00
zarzuelo b43544c3e6 2010-04-15 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: fixed bug 2987162.
          Validation of create a user with User ID null



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-15 17:20:15 +00:00
mdtrooper 0acbd45197 2010-04-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added check new attribute "styleTable" to
	object table, this is for pass the style table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-15 16:50:09 +00:00
mdtrooper b38ab821f2 2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed bug in the function
	"format_array_to_update_sql" when the field yet escaped.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 16:11:49 +00:00
zarzuelo a4c6b43b29 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: fixed bug 2987177. Wrong index
          was associated with the delete icon in the users list.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 15:51:48 +00:00
mdtrooper f36696ebab 2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed bug in the function "get_db_value_filter"
	when the field's name is a reserve word of mysql crash.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 15:14:30 +00:00
zarzuelo 46303bbe57 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Typo fix for bug
          2953348



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 12:06:27 +00:00
zarzuelo 30d47b840d 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.php: Controled the sucessful of the 
          create an alarm to audit it for bug 2987006



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 09:21:33 +00:00