Commit Graph

964 Commits

Author SHA1 Message Date
mdtrooper e1bce331bb 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php: change the intervals, and use the
	new function "getNextAgentContact" for interval in agent view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:54:50 +00:00
mdtrooper c92436fbca 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: add the function "getNextAgentContact"
	that return the percentage of time for next contanct of agent (pass as
	id_agent).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:51:18 +00:00
mdtrooper a32557839b 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: lost in the last commit this file, fix the path for
	javascript.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:36:25 +00:00
mdtrooper b7ac0bb022 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php: fix the jquery lost in the last query, fix
	the auto-refresh graph, fix z-index level for calendar and fix the set begin
	data for graph.
	Fixes: 2857280



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:33:25 +00:00
mdtrooper ecd8d1b0e6 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: change the textbox interval for
	"print_extended_select_for_time" widget.
	* include/styles/pandora_minimal.css, operation/agentes/stat_win.php: change
	the period widget for "print_extended_select_for_time" too, and change
	the css for enlarge the float menu for new item.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:27:57 +00:00
mdtrooper 4378cc28f4 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: add "exactly" param to "human_time_description_raw"
	for return the time in time fractions as example "1 day 23:23:2".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:12:34 +00:00
mdtrooper 35cbb6d88c 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: add new function for add extend widget
	"print_extended_select_for_time", that write a two html control a
	select and textbox and scripting for interconet twice components and
	when change the textbox and save add the value in select and when
	change the selected put in textbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 18:50:48 +00:00
slerena 0ecf6dd955 2009-10-05 Sancho Lerena <slerena@artica.es>
* include/fgraph.php: Solved ticks in X label for boolean graphs.

        * operation/agentes/datos_agente.php: Show absolute timestamp and
        data with format_numeric() filter.

        * operation/agentes/estado_monitores.php: Solved typo.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-05 13:14:37 +00:00
mdtrooper 0938a77896 2009-10-01 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/reporting_builder.php: change the
	agent select html for ajax autocomplete ajax. Fix in part the bug
	#2870769, exactly 1º paragraph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-01 19:37:26 +00:00
mdtrooper b426d2a0eb 2009-10-01 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/alerts/alert_list.php: fix small bug that throw
	notice message for a array uninitialize.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-01 19:13:43 +00:00
slerena d12d0f2e27 2009-09-30 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated spec for a more complete  uninstall. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 23:56:20 +00:00
mdtrooper e07eb1c497 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_mod, include/javascript/pandora.js: cleanup
	the sourcecode and add more funcionality to funciton "html_entity_decode".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:52:40 +00:00
mdtrooper 7be6a8399c 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php:



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:46:18 +00:00
mdtrooper 065528bd94 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php: fix small typing bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:38:44 +00:00
slerena 9451d48603 2009-09-28 Sancho Lerena <slerena@artica.es>
* include/help/en/help_alert_macros.php: Updated macros help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 16:06:06 +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 f4d5f7c61f 2009-09-28 Sancho Lerena <slerena@artica.es>
* godmode/agentes/module_manager_editor_common.php: Postprocess field
        is now bigger.

        * godmode/servers/manage_export_form.php: Export servers was incorrectly
        assigned. Fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 09:36:57 +00:00
raulmateos 2afce52937 2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* operation/search_results.php: Add style to not found message.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-26 17:23:51 +00:00
raulmateos a77bcf1ac1 2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.

	* operation/agentes/alerts_status.php, operation/agentes/sla_view.php: 
	Unify titles improving integrity of appearance.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-26 17:05:46 +00:00
mdtrooper f8efe4e917 2009-09-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fix the js and add more entities
	for decode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:31:39 +00:00
mdtrooper 675b27c461 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: change the duplicate
	method and delete method, before it's a form with post and now it's a
	link with get.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:28:27 +00:00
mdtrooper 237794752e 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: add the feature to delete remote
	conf file in the agent configuration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:21:20 +00:00
mdtrooper 93d44abdfb 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fix the delete the conf and md5 files of agent
	to delete, before try delete conf and md5 files with name in uppercase.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:16:46 +00:00
mdtrooper 9e948d6d4c 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: add second parameter for trace a log in server
	file (plain text).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:09:01 +00:00
mdtrooper 0adc2b3c88 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: add checkbox to multiple delete
	modules in agent managent. And add class style css for disabled modules.
	* include/styles/pandora_minimal.css, include/styles/pandora_red.css,
	include/styles/pandora.css: Add "disabled_module" class for use this style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:04:14 +00:00
slerena a1be60d837 2009-09-25 Sancho lerena <slerena@artica.es>
* pandoradb.sql: SUSE is not very happy with some comments, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:21:00 +00:00
slerena 39d1e16888 2009-09-24 Sancho Lerena <slerena@artica.es>
* pandora_console/operation/agentes/datos_agente.php: Data in dataview 
        must be complete data, not "rounded" data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:40:14 +00:00
mdtrooper 237d76d92d 2009-09-21 Sancho Lerena <slerena@artica.es>
* include/functions_network_components.php,
	godmode/modules/manage_network_components.php: add icon duplicate (and
	necesary code...functions), that it's use for duplicate with easy the local
	components.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 20:52:31 +00:00
mdtrooper 63216a678e Fix date in changelog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 07:55:59 +00:00
slerena 26bf7fe088 2009-09-21 Sancho Lerena <slerena@artica.es>
* install.php: Updated  version in the main screen (2.0 > 3.0)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:59:34 +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
mdtrooper dcaa76bd5e 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: change the function "update_agent_module"
	for to add the update only that not delete pending.
	* godmode/agentes/massive_edit_modules.php: fix form to set disabled and
	history data as select box instead checkbox that this had bug because
	it was disabled didn't set false or true in db.
	Fixes: 2860987



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 15:14:44 +00:00
mdtrooper 0c4577434e 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/map_builder.php: add parameter to ajax
	for filter the modules disabled.
	Fixes: 2857374



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 11:51:30 +00:00
mdtrooper a8e507006a 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/map_builder.php: fix small bug when
	there are'nt any elements in the map and it try loop foearch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 11:36:48 +00:00
mdtrooper 889b4b2f73 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/functions_events.php: fix the insert event,
	before Pandora console inserted timestamp as string timestamp, now Pandora
	console insert the event with clean and numeric unix timestamp.
	* pandora_console/include/functions_alerts.php: cleanup the sourcecode.
	Fixes: 2854087



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 09:45:18 +00:00
mdtrooper 09b43fb34a 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php, godmode/alerts/alert_list.php: fix
	bug when there aren't not defined or attach action in template alert. Before
	it was showing the loading ajax gif, now it show the select box with none.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 15:38:44 +00:00
mdtrooper 30c99f70cc 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions_agents.php: cleanup
	sourcecode, and important optimize, because the old querys was very huge
	when the query have consult with all agent ids. That affect when login
	as admin into Pandora Console in systems with few resources (more or
	less 1Gb RAM in a desktop computer).
	* include/functions_db.php: add function "isAllGroups" that test if the
	array pass as parameter is all groups in DB, and return true o false. And
	cleanup source code.
	Fixes: 2824327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 13:10:49 +00:00
mdtrooper b830a2547a 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleanup the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 09:11:25 +00:00
mdtrooper 6ef435c3d9 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleanup the source code and add many
	comments



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 08:48:38 +00:00
mdtrooper adbc90664f 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: fix the id for access to jquery
	in the field3.
	* godmode/alerts/configure_alert_action.php: fix the id for access to jquery
	in the event keyup.
	Fixes: 2845692



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 14:51:09 +00:00
mdtrooper 8aaa4f5d04 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add function "get_db_value_sql" for use in
	alert_list.php and in futures uses. This function returns the first column
	and first row from a query pass as parameters.
	* godmode/alerts/alert_list.php: fix bug that you can't add new alerts.
	Fixes: 2859264



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 13:56:48 +00:00
mdtrooper f7278fbd98 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: change the method for test if a
	module is a numeric, and can normalize. Now obtain the ids from modules tipe
	that it's not proc or string, and this ids use to test.
	Fixes: 2849325



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 12:02:06 +00:00
mdtrooper 602f3c4cdb 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php: change (at the moment) the ajax for
	delete elements by html static form with select, because sometimes (when you
	try delete elements with bigger dimensions fail).
	Fixes: 2815063



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 10:20:38 +00:00
mdtrooper 9c009b6b94 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: fix the pagination when it has
	a search, and fix the pagination and delete element in the page.
	Fixes: 2857846



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 15:35:22 +00:00
mdtrooper e5d41944d9 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php, godmode/agentes/agent_manager.php,
	godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php,
	godmode/alerts/alert_list.php: fix the bug that the div of autocomplete
	don't show.
	Fixes: 2856945



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 14:38:13 +00:00
mdtrooper 6d0fc39a96 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/alerts/alert_list.php: minor fixes
	for styles warnings.
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 09:29:45 +00:00
slerena 716fa92069 2009-09-14 Sancho Lerena <slerena@artica.es>
* general/error_dbconfig.php, 
	  general/error_authconfig.php
	  general/error_emptyconfig.php: Error messages have it's own page.

	* config_process.php, functions_config.php: Removed "inline" error pages, 
	and moved out. Auto_update is not set to ON if not present, just once, and
	this is managed by extension itself.

	* functions.php: Added function "return_graphtype" to calculate graphtype
	depending on id_module_type.

	* styles/install.css: Some style fixes.

	* operation/agentes/estado_monitores.php: Some code cleanup using the new 
	function to get graphtype.

	* operation/agentes/estado_ultimopaquete.php: Some code cleanup with the
	new function to get graphtype and fixed a bug in data timestamp calculation.

	* operation/agentes/status_monitor.php: monitor list now show quick links 
	to graph and show latest data, like the main agent view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 01:02:44 +00:00
mdtrooper 7daa8f7013 2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: change the order to include and write
	"<script>" in file for don't affect to ajax requests.
	Fixes: 2848523



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-11 11:19:23 +00:00
mdtrooper 342f16ca85 2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fix bug for character "`" in
	name also in description, translate to html entitie.
	Fixes: 2838129



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-11 10:40:13 +00:00
mdtrooper 7b294b0978 2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fix bug in "Alerts » Manage alerts" when
	you choose the agent the module select did'nt change to enable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-11 09:21:24 +00:00