Commit Graph

1298 Commits

Author SHA1 Message Date
slerena df54aa02fa 2009-12-24 Sancho Lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed some perms on postinstall.

        * pandora_console_install: Fixed some perms on postinstall.

        * pandora_console.spec: Removed one blank space :-))



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-24 10:55:36 +00:00
Ramon Novoa 612c34185d 2009-12-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php: Fixed avg. calculation in custom reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 17:36:32 +00:00
mdtrooper 4e152c38c7 2009-12-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.php: fixes bug in several fields of
	edit form downtime.
	Fixes: 2919938



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 13:19:08 +00:00
slerena 569d49bd22 2009-12-23 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Updated build.

        * godmode/agentes/planned_downtime.php: Fixed bad render when
        * downtime
        is running.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 12:33:51 +00:00
mdtrooper d40c64d203 2009-12-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fix warning messages when pass only group as
	string or integer in the function "isAllGroups".
	* include/functions_reporting.php: fix ambiguous colummn in query in the
	function "get_group_stats".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-23 11:48:19 +00:00
mdtrooper 9544da9b70 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_custom_graphs.php: fix the name of custom graphs in the
	config select box in widget.
	Fixes: 2918740



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 17:13:14 +00:00
mdtrooper de5ee31aa4 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, include/functions_db.php: fix alert message
	when the history DB is'nt setup.
	
	* general/header.php: fix alert message when the custom logo didn't exit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 15:46:54 +00:00
mdtrooper f413f1a1c3 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: clean source code, fix when try show boolean without
	data, and some changes in "grafico_modulo_sparse".
	
	* operation/agentes/stat_win.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 14:40:41 +00:00
mdtrooper 7458f10b93 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: add debug function "f2str" that return as
	string any call of function, for example "var_dump".
	
	*include/fgraph.php: into function "grafico_modulo_boolean" re-add alarms,
	clean source code and show again the flash graph.
	
	*include/functions_db.php: fix the access to IP client, it used very
	deprecate var, that clean of notice php message of error for this cause.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 12:56:46 +00:00
Ramon Novoa 781791ade0 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* include/api.php: Added an Enterprise API.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 17:11:31 +00:00
mdtrooper 5aeff7da55 2009-12-21 Miguel de Dios <miguel.dedios@artica.es>
* install.php: clean source code.
	
	* operation/agentes/datos_agente.php: fix bug, there was a wrong copy&paste,
	now there is correct parameters.
	Fixes: 2916332



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 15:23:32 +00:00
slerena 359c487eb9 2009-12-18 Sancho lerena <slerena@artica.es>
* pandora_console.spec: Ypdated build.

	* pandora_console_upgrade: Applied patch for more verbose information, submitted in 
	Sourceforge.

	* pandoradb_data.sql: Updated version to FINAL build and version ;-)

	* include/config_process.php: Updated build.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:25:38 +00:00
mdtrooper f16180b026 2009-12-18 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix the graph boolean, it's rewrite.
	Fixes: 2916195



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 17:05:58 +00:00
Ramon Novoa 16eb0d2b96 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Fixed SLA calculation. Was not working.

        * include/functions_fsgraph.php: Fixed bug #2913813.

        * include/functions_config.php, include/config_process.php,
          include/fgraph.php, include/functions_db.php,
          operation/events/export_csv.php, operation/agentes/export_csv.php,
          operation/agentes/datos_agente.php, godmode/menu.ph: Added history
          database support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 09:52:25 +00:00
mdtrooper 7d5d535db3 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when
	redraw graph in builder, and fix the empty column agent name in table of
	modules.
	Fixes: 2916194



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 16:16:55 +00:00
mdtrooper d28dab575c 2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
	info (Pandora version and build) to statistics in update process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-17 14:32:56 +00:00
raulmateos 0246f61498 2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php, DEBIAN/make_deb_package.sh: Preparing release
	changing version to final.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 17:50:57 +00:00
mdtrooper bb46924bf6 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: fix re-duplicate modules
	now only generate one copy.
	Fixes: 2915470



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 15:28:22 +00:00
mdtrooper 9255306789 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix print image error as tag <image> instead content
	file when there is error in data string. And add new type of graph, error
	graph.
	Fixes: 2908174



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 13:29:19 +00:00
mdtrooper 617074e1d3 2009-12-16 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fix the days in the last dates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 11:28:51 +00:00
mdtrooper ba11b4aa78 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php: tiny fix (a zero division) the tactical
	view when start with a empty Pandora. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-16 11:19:09 +00:00
mdtrooper dc11bebc15 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fix in the function "grafico_modulo_boolean" for
	show correct graph, and clean source code.
	* include/functions_extensions.php: change include_once to require_once for
	more security.
	Fixes: 2883786



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 17:53:27 +00:00
Ramon Novoa 126d51f874 2009-12-15 Ramon Novoa <rnovoa@artica.es>
* include/functions_fsgraph.php: Fixed bug #2913813.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-15 16:47:42 +00:00
mdtrooper 37956356a7 2009-12-14 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fix before copy&paste.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 17:00:13 +00:00
mdtrooper 3c986f88ec 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* include/swiftmailer/* : add the library "Swift Mailer" for make more
	easy and less bugs the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 16:56:04 +00:00
mdtrooper cb619001ea 2009-12-14 Raul Mateos <raulofpandora@gmail.com>
* include/swiftmailer/* : add the library "Swift Mailer" for make more
	easy and less bugs the source code.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-14 16:51:20 +00:00
raulmateos 700dc0cca0 2009-12-13 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Changed some colours.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 19:26:50 +00:00
raulmateos 16c7c7c3ae 2009-12-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder_wizard.php: Updated title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-13 17:04:23 +00:00
mdtrooper 703b222d8a 2009-12-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: change the function
	"get_db_all_row_by_steps_sql", now it support more connection with
	parameter $new for new conection and $result for connection.
	
	* operation/events/export_csv.php: rewrite to adapt the new 
	"get_db_all_row_by_steps_sql".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-10 17:46:25 +00:00
raulmateos df8d5dbf7d 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* images/god9.png: New image.

	* include/styles/menu.css: Added style for new menu item.

	* godmode/menu.php: New menu item.

	* godmode/reporting/map_builder.php: Updated internal links and title 
	because it will be a new entry in the menu.

	* operation/visual_console/render_view.php: Updated internal link for
	setup.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 16:20:48 +00:00
raulmateos e47997c182 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Corrected error in class. I don't add this to changelog.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 15:01:16 +00:00
raulmateos 5b038b6276 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/map_builder.php: Changed H1 to H3, to maintain coherence.

	* operation/visual_console/render_view.php: Added title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 14:48:26 +00:00
raulmateos 3383036f83 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php: Print table of items only
	if the the tables has data, else print no items defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 13:49:12 +00:00
mdtrooper d76ddace94 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: test empty title report before on
	submit in javascript, and test empty this title in PHP.
	Fixes: 2910627



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 12:27:57 +00:00
raulmateos 2e9e025096 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/db/db_info.php: Added icon to download database info.

	* include/style/tip.css: Removed unused style. Still help style is in
	the file. Not removed, maybe used some day...

	* operation/agentes/estado_grupo.php: Added colours to the numbers.
	Added the text "modules".

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 11:35:52 +00:00
raulmateos 87a7c07bdd 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* include/fgraph2.php: Deleted test file, never used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 10:23:55 +00:00
mdtrooper 4dc6aa99be 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "create_user_profile" add the
	parameter $assignUser to set assign user in table. And add the function
	"get_db_num_rows" that return the num of rows get from SQL. 
	
	* include/functions_api.php: add functions for new calls in the API,
	"set_new_user" create new user, "set_delete_user" delete a user,
	"set_add_user_profile" attach a user into group and profile,
	"set_delete_user_profile" deattach a user into group and profile,
	"set_new_incident" add new incident, "set_new_note_incident" add into
	new note into incident.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 20:21:16 +00:00
raulmateos 0833079d5e 2009-12-08 Raul Mateos <raulofpandora@gmail.com>
* include/auth/*.php: added style to error when accessing the files
	directly.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 14:48:59 +00:00
mdtrooper c407df29ce 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fix style for to clean form in
	networkmap when active "No Overlap".
	Fixes: 2821967



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 10:34:16 +00:00
mdtrooper a18ddccdc3 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add in "get_db_all_rows_filter" new parameter
	$returnSQL for return the string formated SQL instead the data. And add new
	function "get_db_all_row_by_steps_sql" that return row by row the data of
	query.
	
	* operation/events/export_csv.php: fixed the memory overload when try save
	into CSV a 10000 events or more, now use "get_db_all_row_by_steps_sql" for
	extract row by row the data.
	Fixes: 2859758



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 09:53:20 +00:00
mdtrooper 4ac5cbd3d9 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fix notice undefined var message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 08:23:59 +00:00
mdtrooper cf0e5245ee 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, operation/agentes/tactical.php: fix notice
	undefined var message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 08:10:13 +00:00
Pablo de la Concepción Sanz bf30724d74 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* Changelog: Changelog with the last chagnes that I forgot to include in
    the last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:51:41 +00:00
Pablo de la Concepción Sanz f32a754c9c 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* include/functions_api.php, include/functions.php,
    extensions/plugin_registration.php, operation/events/events.php,
    operation/agentes/exportdata.php, operation/agentes/stat_win.php,
    godmode/setup/setup.php, godmode/agentes/configurar_agente.php,
    godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php,
    godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
    godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English
    text strings updated to be more clear.

    * include/languages/index.pot: Regenerated with updated strings




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:48:59 +00:00
mdtrooper dd26a2649f 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: in the function "create_agent_module" add
	new parameter $disableACL (by default false) for use in API.
	
	* include/functions_api.php: add new functions for add new features to
	api, functions: "set_new_agent" create agent, "set_delete_agent"
	delete agent, "set_create_network_module" create network module,
	"get_module_data" get module data as CSV format in a period time,
	"get_graph_module_data" get a image file of module data in a period time.
	
	* include/functions_db.php: in function "delete_agent" add new parameter
	$disableACL (by default false) for use in API for example.
	
	* operation/agentes/datos_agente.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:00:00 +00:00
slerena b84ad8550d 2009-12-07 Sancho Lerena <slerena@artica.es>
* extensions/users_connected.php: New extension that shows
        currently active users connected to console.

        * extensions/pandora_logs.php: New extension that show to the
        user the contents of main log files (console, and server logs)
        only for Pandora administrators, of course.

        * general/header.php: Removed text label, this give problems
        on some languages and doesn't give needed information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 13:25:30 +00:00
mdtrooper 84c608d9ad 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/datos_agente.php: add a select box for select chunck to
	time to show data of agent module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 08:09:25 +00:00
slerena f4999f9179 2009-12-05 Sancho Lerena <slerena@gmail.com>
* operation/agentes/estado_monitores.php: Names and description
        was cutted and not shown as popup description. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 15:26:37 +00:00
raulmateos 56c7bf4aed 2009-12-05 Raul Mateos <raulofpandora@gmail.com>
* install.php: Modified description for XML_RPC.

	* extensions/pdate_manager/lib/libupdate_manager_client.php:
	Format error page if XML_PRC not found.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 11:38:12 +00:00
raulmateos 07a50fd7f4 2009-12-05 Raul Mateos <raulofpandora@gmail.com>
* images/pandora.png, pandora_logo.jpg: Deleted old files.

	* images/image_problem: Change background with new logo

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 23:28:58 +00:00