Commit Graph

4977 Commits

Author SHA1 Message Date
mdtrooper 6bb7ca3a17 2014-01-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.data.php: fixed the access
	to user with operator read or and operator write in all group into
	the visualmaps.
	
	Incident: #538 from local tracker




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-23 14:26:41 +00:00
mdtrooper d59437f34a 2014-01-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixes the bug for
	the simple values positions and the enable links in the static
	graph.
	
	Incidents: #536 and #535 from local tracker




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-23 13:52:43 +00:00
zarzuelo 5a2b1b88b4 2014-01-22 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_view.php: Add exception
	of field1 in recovery fields to the new alert view

	* include/functions_reporting.php
	mobile/operation/agents.php
	mobile/operation/tactical.php
	mobile/include/style/main.css: Improve tactical and
	agents view in mobile console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-22 17:29:45 +00:00
mdtrooper b528f359cd 2014-01-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php,
	include/constants.php, include/functions_reporting.php: added
	constants and killed magic numbers and unicorns.
	
	* include/functions_modules.php: added function
	"modules_get_modules_in_group".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-22 12:52:43 +00:00
zarzuelo 76d7e0fe2a 2014-01-21 Sergio Martin <sergio.martin@artica.es>
* images/long_arrow.png
	godmode/alerts/alert_view.php
	godmode/alerts/alert_list.list.php
	include/styles/pandora.css: Added an advanced alert view
	with details, triggering conditions, actions escalation and
	actions fields including triggering, recovering and command preview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-21 16:42:44 +00:00
ramonn 91549b5a7c 2014-01-20 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Changed the type of tnetwork_component.description to
	  TEXT. Fixes ticket #487.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-20 14:45:17 +00:00
mdtrooper 17c6d55fd6 2014-01-20 Miguel de Dios <miguel.dedios@artica.es>
* mobile/include/user.class.php,
	mobile/include/system.class.php: fixed SQL injection.
	
	Issue found by Lincoln, a member of Corelan Team




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-20 12:05:03 +00:00
juanmanuelr 9796879bf2 2014-01-17 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.php: Fixed group filter in report
        list view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-17 12:59:00 +00:00
mdtrooper b362974d1e 2014-01-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed the PHP warnings and
	notices.
	
	Fixes: #2414




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-17 12:04:09 +00:00
juanmanuelr 557d5534e3 2014-01-17 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* godmode/events/event_edit_filter.php
        include/functions_events.php
        operation/events/events_list.php:Fixed an ACL issue with event filters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-17 11:53:30 +00:00
zarzuelo 1ca5e324ba 2014-01-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Added ack_utimestamp and id_agent
	to the grouped events query to fix bad results



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-17 10:37:03 +00:00
mdtrooper 80b92c76ee 2014-01-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	include/functions_agents.php: fixed the PHP warnings and notices.
	
	Fixes: #2412




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 17:26:27 +00:00
mdtrooper 6b35a90d28 2014-01-16 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the PHP notices about the var
	$search_keywords.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 16:19:05 +00:00
ramonn 850cd7c6f4 2014-01-16 Ramon Novoa <rnovoa@artica.es>
* godmode/alerts/alert_list.list.php,
	  include/functions.php,
	  include/functions_alerts.php: Changes to the alert view to make it more
	  compact.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 16:07:03 +00:00
zarzuelo dfd3fe3180 2014-01-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Fixed a warning message on
	PHP configuration advise. For Sourceforge ticket #2409



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-14 17:40:08 +00:00
zarzuelo 0a499e0375 2014-01-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php: Fix group parameter in links
	of groups view on mobile console. Incident #491




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-14 16:45:02 +00:00
mdtrooper 9ab4eba8b2 2014-01-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.list_items.php: fixed the
	list of modules from inventory item.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-14 10:50:27 +00:00
zarzuelo 5a2227d33a 2014-01-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Added to the header warnings the
	checking of some php.ini values for incident #393



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-13 13:06:45 +00:00
zarzuelo 03de0a1813 2014-01-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php: fix unecessary space under the
	area graphs when menu is not setted. If is setted, this space is
	for the overview graph. Incident #499



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-13 10:29:12 +00:00
mdtrooper 98b6921bf2 2014-01-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the show simple values in
	the visualconsole editor from the old Pandora versions.
	
	Fixes: #2407




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-10 15:11:48 +00:00
zarzuelo df8b32048a 2014-01-09 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js
	include/graphs/functions_flot.php: Fixed problem with the overview
	graph in IE9 for incident #477



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-09 15:02:28 +00:00
mdtrooper be56740004 2014-01-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: added function "https_is_running".
	
	* include/functions_gis.php, operation/gis_maps/render_view.php,
	operation/gis_maps/public_console.php, godmode/setup/gis_step_2.php:
	fixed the urls for google maps when it is running in https mode.
	
	Fixes: #2403




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-09 13:33:16 +00:00
jsatoh 613df874b7 2014-01-09 Junichi Satoh <junichi@rworks.jp>
* godmode/servers/plugin.php: Fixed that unexpected strings are set
	in parameter macro fields when multi-byte characters are entered.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-09 09:50:43 +00:00
mdtrooper 7c49b8d3e5 2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the empty action with trying to write
	some thing in the global search field when it is search anything.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-08 17:03:21 +00:00
mdtrooper 8c27eaa196 2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fixed the agent name label.
	
	Fixes: #2401




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-08 15:45:14 +00:00
mdtrooper dd9b15cb8e 2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fixed with a dirty hack the bug about
	the google maps with own old version of openlayer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-08 15:11:15 +00:00
mdtrooper c294dc0348 2014-01-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php: fixed the manual stop
	of planned downtime.
	
	Fixes: #479 (Integria locally)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-07 15:48:32 +00:00
mdtrooper fcd99c4b10 2014-01-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fixed the save the font size in
	the networkmaps.
	
	Fixes: #2408




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-07 14:44:38 +00:00
hkosaka 1aecac3b35 2013-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added 'plugin_macros' and
	'module_macros' to the return column of tree_agents API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-27 09:44:57 +00:00
hkosaka 117b76a4e4 2013-12-27 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added 'module_macros' parameter
	to api_set_create_*_modules, api_set_update_*_module, and so
	on. Also added 'macros' parameter to plugin module functions.

	Fixes: #2398


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-27 07:22:57 +00:00
slerena 08e85ad68e 2013-12-26 Sancho Lerena <slerena@artica.es>
* include/api.php: Avoid to store API auth failure in
        session log to avoid DoS due high volume of transactions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-26 18:55:56 +00:00
zarzuelo 3c748ac6b3 2013-12-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: Fixed string simple 
	values in visual console for incident #463




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-19 17:21:02 +00:00
zarzuelo a246a62e1d 2013-12-19 Sergio Martin <sergio.martin@artica.es>
* godmode/modules/manage_network_components_form.php: Fixed WMI 
	components form fails due to bad javascript code for incident #462



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-19 16:37:30 +00:00
zarzuelo 55d3863873 2013-12-17 Sergio Martin <sergio.martin@artica.es>
* mobile/include/style/main.css: Add important attribute to 
	override jquery mobile style of last commit. Change home layout
	for widths greater than 800px (tablet devices)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-17 12:05:50 +00:00
zarzuelo 5078356016 2013-12-17 Sergio Martin <sergio.martin@artica.es>
* mobile/include/style/main.css: Add a responsive design hack to
	mobile console to increase tables with to 100% in tablet devices



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-17 08:18:54 +00:00
zarzuelo 33418972f3 2013-12-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Added criticity subquery to
	events grouped query to fix bad criticity bug.
	Incident: #406



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-16 16:20:56 +00:00
zarzuelo 97c51e9e28 2013-12-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_gis.php: Disable more controls
	from the google maps in GIS to fix arrows controls



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-16 10:33:13 +00:00
zarzuelo 6f3b057dda 2013-12-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_gis.php
	include/javascript/openlayers.pandora.js
	include/styles/pandora.css: Remove our zoom in google maps
	on GIS view to use googles one. Incident #448



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-16 09:29:43 +00:00
mdtrooper 182b594c1c 2013-12-13 Sergio Martin <sergio.martin@artica.es>
* mobile/operation/events.php, mobile/operation/modules.php,
	mobile/operation/agents.php: fixed the scroll of list for old
	browser in android mobiles devices.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-13 11:50:20 +00:00
zarzuelo 69fadfa732 2013-12-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Fixed wrong
	condition of minimum height of menu.
	Incident #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-13 09:22:15 +00:00
zarzuelo 98936c511f 2013-12-13 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Added auto scroll
	and resizable attributes to module graphs pop up
	to improve usability with zoomed graphs.
	Incident: #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-13 08:47:05 +00:00
zarzuelo 735a00a99f 2013-12-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/javascript/pandora.js
	include/styles/pandora.css
	operation/agentes/stat_win.php: A lot of fixes on the
	javascript graphs to be shown correctly in IE. Tested
	and working fine on IE9 with compatibility mode on.
	Incident: #417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-12 14:49:36 +00:00
zarzuelo 28967b062a 2013-12-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/flot/pandora.flot.js: Add one decimal
	to pie graphs to don't lose so much precision when 
	percentages are rounded
	Incident #407



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-11 12:57:09 +00:00
darode ccd94db5b8 2013-12-10 Dario Rodriguez <dario@artica.es>
* mobile/operation/modules.php,
        mobile/include/style/main.css: Fixed some style bugs
        related to layout on visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-10 18:09:47 +00:00
zarzuelo 38f3b09645 2013-12-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Fix storing of event 
	comments in metaconsole and shot the event comments more
	recent first. 
	Incident #440



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-10 12:22:55 +00:00
zarzuelo ac0512f439 2013-12-09 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css: Fix styles in group view
	for groups without states where letters were not visible
	Incident: 432



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-09 11:20:14 +00:00
darode e836f25ff4 2013-12-05 Dario Rodriguez <dario@artica.es>
* mobile/operation/events.php: Fixed a bug loading events
        filtergin by group when a group has no events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-05 15:33:53 +00:00
mdtrooper deddec24b0 2013-12-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the get events filtered by group.
	
	MERGED FROM THE BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-05 15:10:57 +00:00
darode 38f5aaef2a 2013-12-05 Dario Rodriguez <dario@artica.es>
* mobile/operation/networkmap.php: Fixed a bug width
        mobile network map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-12-05 15:03:58 +00:00