Commit Graph

6738 Commits

Author SHA1 Message Date
markholland edff3417ed 2013-04-25 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Changed get and update
	database values methods to support new DataBaseHandler.

	* src/pandroid/agent/DataBaseHandler.java: Complete rewrite.

	* src/pandroid/agent/PandroidAgent.java: Removed initiate
	database, database now supplied with build.

	* src/pandroid/agent/PandroidAgentListener.java: changed
	SimIDReport to simIDReport to reflect database.

	* assets/database/pandroid.zip: zipped sqlite3
	database containing all default values.

	* libs/android-sqlite-asset-helper.jar: library to facilitate
	database operations. Only temporarily being used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-25 04:09:18 +00:00
mdtrooper 4475671c59 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php: fixed the call to function from
	enterprise in the open source installations.
	
	Fixes: #3611329




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 15:40:03 +00:00
mdtrooper e9233f78d6 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions_servers.php:
	fixed the set default value for "local_modules_rate".
	
	Fixes: #3611336




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 15:01:52 +00:00
mdtrooper 40476d1fad 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_alerts.php, extensions/agents_modules.php,
	godmode/menu.php, operation/menu.php: fixed old references to the
	config refr.
	
	Fixes: #3611361




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 14:46:57 +00:00
mdtrooper c9bd0d75ff 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/events/event_responses.editor.php: set the sizes of
	the widgets for the form in the metaconsole.
	
	Fixes: #3611423
	
	* godmode/users/configure_user.php




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 14:27:24 +00:00
mdtrooper 6d448bbfcf 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/tag/edit_tag.php: change the input text for textarea for
	large list of emails.
	
	Fixes: #3611473
	
	* pandoradb.sql: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:51:57 +00:00
mdtrooper 4e14d7a9b7 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.topology.php: fixed the PHP
	notice in the enterprise Dashboard.
	
	Fixes: #3611685




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:32:55 +00:00
mdtrooper 3963dc903a 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php,
	include/functions_networkmap.php: set the background transparent.
	
	Fixes: #3611686
	
	* include/styles/pandora.css, include/functions_ui.php: fixed the
	tabs in the header when the tab is bigger that standar tab, and
	the separator doesn't print.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 13:16:28 +00:00
mdtrooper 0eca5208ad 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.editor.php: fixed the header.
	
	Fixes: #3611687




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 12:57:46 +00:00
mdtrooper 78dca092a6 2013-04-24 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/groups.php, mobile/operation/agents.php,
	mobile/operation/tactical.php, mobile/operation/alerts.php,
	mobile/operation/agent.php, mobile/operation/events.php,
	mobile/operation/module_graph.php, mobile/operation/modules.php,
	mobile/include/style/main.css: some fixes.
	
	* include/functions.php: erased the lost trace.
	
	* include/functions_graph.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 12:36:32 +00:00
zarzuelo 5df3aa6bce 2013-04-24 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/servers.build_table.php
	godmode/servers/modificar_server.php: Rewrite missed
	servers buttons in last huge merge. Add success/error
	messages on this actions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 09:17:53 +00:00
slerena 62a10bfaf8 2013-04-24 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: patched the code of tagente_datos purge to have n chunks, 
        and in each chunk run a DELETE of only 1000 records at a time (with a LIMIT), 
        adding a 0,0001 second usleep() there, gives time to MySQL to put other 
        operations between, and locks doesn't appear to be a problem anymore. This
        should solve many problems detected in the past.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-24 01:12:50 +00:00
markholland d5d221a188 2013-04-23 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Migrated from shared
	preferences to sqlite database. Method to create and
	initialize database with default values.

	* src/pandroid/agent/DataBaseHandler.java: Creates
	a database and provides methods for interaction.

	* src/pandroid/agent/DataHandler.java: Objects for
	facilitating interaction of data with the database.

	* src/pandroid/agent/PandroidAgent.java: If first run
	then creates and initializes database. Needs to be 
	replaced by copying default db that would ship with 
	pandroid.

	* src/pandroid/agent/PandroidAgentListener.java: Adapted
	get and put sharedData to use database instead,

	* src/pandroid/agent/Setup.java: Reduced
	configuration updates

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 21:50:04 +00:00
markholland ee9849c173 2012-04-23 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/Core.java: Migrated from shared
	preferences to sqlite database. Method to create and
	initialize database with default values.

	* src/pandroid/agent/DataBaseHandler.java: Creates
	a database and provides methods for interaction.

	* src/pandroid/agent/DataHandler.java: Objects for
	facilitating interaction of data with the database.

	* src/pandroid/agent/PandroidAgent.java: If first run
	then creates and initializes database. Needs to be 
	replaced by copying default db that would ship with 
	pandroid.

	* src/pandroid/agent/PandroidAgentListener.java: Adapted
	get and put sharedData to use database instead,

	* src/pandroid/agent/Setup.java: Reduced
	configuration updates

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 21:43:37 +00:00
zarzuelo 7cbe4fdf75 2013-04-23 Sergio Martin <sergio.martin@artica.es>
* include/styles/dialog.css
	include/styles/images/dialog-titlebar-close.png
	include/styles/pandora.css
	include/ajax/events.php
	include/functions_events.php
	images/event_responses_col.png
	images/interrogant.png
	general/pandora_help.php
	general/footer.php
	general/login_page.php
	general/logon_ok.php: Change the help screens and 
	the modal windows visual style to new design.
	Little fixes to support metaconsole login and 
	some visual changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 14:57:29 +00:00
mdtrooper 34f8983e8a 2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, include/javascript/pandora_modules.js:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 14:51:09 +00:00
mdtrooper 17b8719ed0 2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: fixed the javascript to show
	the controls to upload file, create directory and create text file.
	
	Fixes: #3611231




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 13:30:38 +00:00
mdtrooper 5e1e067e76 2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php, operation/events/events.php,
	include/functions_events.php: fixed PHP warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 11:22:06 +00:00
mdtrooper 7a74b6515e 2013-04-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/tag/tag.php: fixed the column for large list of emails,
	now it shows a dialog.
	
	Fixes: #3611472
	
	* include/functions_api.php, operation/snmpconsole/snmp_browser.php,
	extensions/ssh_gateway.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 11:02:18 +00:00
pandora-release b750ffe177 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-23 10:12:47 +00:00
pandora-release 6848d031cb Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-22 22:02:23 +00:00
mdtrooper 484aa9c411 2013-04-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php, include/functions_graph.php:
	improved the source code style.
	
	* mobile/operation/agent.php, mobile/operation/modules.php: somes
	fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-22 17:43:28 +00:00
mariopulido87 5299fa647e 2013-04-22 Mario Pulido <mario.pulido@artica.es>
* include/help/es/help_alerts.php,
        include/help/en/help_alerts.php: Changes in help style



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-22 16:53:52 +00:00
mdtrooper 4aed973ece 2013-04-22 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/events.php, mobile/operation/module_graph.php,
	mobile/operation/modules.php, mobile/operation/agent.php,
	mobile/include/ui.class.php: some fixes.
	
	* include/functions_reporting.php, include/functions_groups.php,
	include/functions_graph.php: some fixes.




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

	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/users/configure_user.php
	operation/users/user_edit.php: Added new options in user 
	configuration to metaconsole agents editor and more meta
	options. Avoid to show useless options when metaconsole
	is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-22 10:31:20 +00:00
pandora-release a1c708597e Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-21 22:01:40 +00:00
jsatoh c7df413fba 2013-04-21 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf, NetBSD/pandora_server.conf: Updated
	default settings as the same as Linux ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-21 01:22:03 +00:00
jsatoh 0ccf322ad9 2013-04-21 Junichi Satoh <junichi@rworks.jp>
* pandora_agent_installer: Added support for NetBSD.

	* NetBSD/pandora_agent, NetBSD/pandora_agent.conf: Added launcher
	script and configuration file for NetBSD.

	Contributed by Hiroki SHIMIZU. Thanks!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-21 00:36:33 +00:00
pandora-release d7b54dc29f Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-20 22:01:24 +00:00
jsatoh 0a99b604b7 2013-04-20 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert-matches.php: Updated help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-20 14:09:07 +00:00
pandora-release 78c84a0c4b Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-19 22:01:29 +00:00
mdtrooper afb35e376e 2013-04-19 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/modules.php: fixed another typo bug in the code
	that throwed PHP notices.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-19 11:56:47 +00:00
mdtrooper c2bb044405 2013-04-19 Miguel de Dios <miguel.dedios@artica.es>
* mobile/operation/modules.php: fixed the typo bugs in the code.
	
	* include/functions_tags.php, include/functions_html.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-19 11:39:41 +00:00
pandora-release ca1a7770e4 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 22:01:35 +00:00
slerena 267d26ac02 2013-04-18 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Added a usleep() inside loops to aliviate
        SQL transactions. This should help to improve performance and
        avoid lockings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 18:09:28 +00:00
pandora-release 1a41b942b8 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 16:01:37 +00:00
mdtrooper 5fef09e515 2013-04-18 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 15:19:35 +00:00
mdtrooper 9a278d6088 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: improved the code source style.
	
	* pandoradb.oracle.sql: fixed duplicated fields
	"critical_instructions", "warning_instructions" and
	"unknown_instructions" in the table "tagente_modulo".
	
	* godmode/agentes/module_manager_editor.php,
	godmode/agentes/configurar_agente.php: fixed PHP warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 15:04:51 +00:00
mdtrooper c6bacd7403 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/visual_console/render_view.php,
	godmode/reporting/visual_console_builder.php,
	include/functions_events.php: some fixes about PHP warnings.
	
	Fixes: #3611022




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 09:25:23 +00:00
ramonn aebb74d46c 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Empty the configuration hash before reloading
	  the configuration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 18:01:49 +00:00
ramonn 76d756c40e 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Update the module interval. Fixes bug
	  #3610666.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 17:59:49 +00:00
mdtrooper 819bf11891 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/module.php: fixed the PHP warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 16:18:34 +00:00
mdtrooper 9060876a19 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/url_address.php: fixed the width of iframe.
	
	Fixes: #3611067




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 15:50:22 +00:00
mdtrooper 1ae824f78d 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_treeview.php: fixed the PHP warning.
	
	Fixes: #3611072




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 15:31:26 +00:00
ramonn 658f0c8620 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Server.pm,
	  bin/pandora_server: Moved server tasks to their own thread. Fixes
	  bug #3609450.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 14:58:50 +00:00
mdtrooper b43e2e554d 2013-04-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fixed the data to show in the
	autocomplete when it is not set kind of data.
	
	Fixes: #3607968




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 14:45:17 +00:00
ramonn 34516f29bd 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Style fix.

	* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Added support for multiple ip
	  addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:49:47 +00:00
ramonn 9c91b05353 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed a bug when concatenating multiple ip
	  addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:45:28 +00:00
ramonn f6c8530666 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for sending multiple ip addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:44:32 +00:00
zarzuelo 032c8b25e1 2013-04-17 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	operation/agentes/ver_agente.php
	images/network_small.png
	images/agent_sync.png
	images/module_sync.png
	images/network_mc.png
	images/group_sync.png
	images/database_mc.png
	images/tag_sync.png
	images/alerts_template.png
	images/alerts_command.png
	images/alerts_sync.png
	images/gm_tag.png
	images/gm_agent.png
	images/users_sync.png
	images/groups_small/email.png
	images/groups_small/mail.png
	images/gm_category.png
	images/policies_queue.png
	images/alerts_action.png: Several aesthetic changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 08:21:22 +00:00