* mobile/index.php, mobile/include/user.class.php,
include/functions.php: Fixed i18n failure in the mobile console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Add a default module_interval.
* util/pandora_db.pl: Moved data deletion code to a generic function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: improved the source code style.
* godmode/agentes/configurar_agente.php: fixed the agents address
with white spaces in the both sides.
Fixes: #2171
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java: Changed gps module
to update coordinates after a time of "interval" AND "15 metres" if
no change then uses lastKnownLocation.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Fix bad reposition
action of bar graphs values in pure mode
* include/graphs/flot/pandora.flot.js: Fix bad
reposition action of bar graphs values when resize
container
* include/functions_graph.php: Fix the graph of
database info of agents with most modules. Now
avoid pending delete and the data is showed properly
* operation/agentes/estado_generalagente.php: Fix a
missing change of agent view layout fix
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: Added
type (network/plugin/wmi) icon near the other type
(numeric/string/proc...) in the Type column in
network components list for bug #3609655
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/functions_groups.php: Fix a little the
groups view style
* operation/agentes/estado_generalagente.php: Fix the
layout of the agent main view table when url addres is
setted for bug #3609651
* general/header.php: Remove completly the link of
the autorefresh button from the header when is disabled
to avoid confusing
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/functions_ui.php: Fixed various styles of
header icons and tabs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/update_pandora.php: cleaned source code
style.
* include/functions_events.php,
operation/events/events.build_table.php: show columns by group in
metaconsole.
Fixes: #3609374
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/php_to_js_values.php: Added a separated file
to store from php interesting values to ve retrieved
from javascript
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php
include/javascript/pandora_modules.js
include/javascript/pandora.js
index.php
ajax.php: Added a simple system of interchange of
data from php to javascript with invisible divs.
Fixed ajax call of server plugin components macros
for bug 3612145
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* layout/spinner.xml: Changed spinnner text color to green.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidMainfest.xml: Set theme to themes.xml, moved permissions
and uses to top of file.
* layout/spinner.xml: Theme for spinner that sets text
color to grey.
* values/themes.xml: For setting theme on devices < sdk 11
(android 3.0)
* values-v11/themes.xml: For setting theme on device above
sdk 11
* src/pandroid/agent/Setup.java: Set spinnner to use new
theme for setting text color
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* assets/database/pandroid.zip: Removed as no longer needed
* assets/libs/android-sqlite-asset-helper: Removed as no longer
needed
* layout/setup.xml: Disabled autocorrect on server address
and agent name text edits. Changed all dip to sp. Changed order
of some objects
* layout/setupnosim.xml: Disabled autocorrect on server address
and agent name text edits. Changed all dip to sp. Changed order
of some objects
* src/pandroid/agent/Core.java: Reordered lots of code
to improve legibility.
* src/pandroid/agent/DataBaseHandler.java: Removed as
no longer needed
* src/pandroid/agent/DataBaseHandler.java: Removed as
no longer needed
* src/pandroid/agent/HelperSharedPreferences: Removed
as no longer needed
* src/pandroid/agent/PandroidAgent.java: Removed all relating
to SharedPreferences
* src/pandroid/agent/PandroidAgentListener.java: loadConf on service
start. Restored SharedPreferences getter and setter. Notification
shows the whole time alarm enabled, on stop agent dissapears. On
connection shows message(unavoidable at current time).
* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket
timeout to 2000ms.
* src/pandroid/agent/Setup.java: Reordered lots of code
to improve legibility.
* src/pandroid/agent/SMSBroadcastReceiver.java: Returned
to using local SharedPreferences.
* values: Added value for choosing task to report, odd suggestions.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Pandroid Agent v3.0_iso-8859-1.apk: Restored proper default values
for server and interval.
* src/pandroid/agent/Core.java: Restored proper default values
for server and interval.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Reverted to previous commit
SharedPreferences.
* src/pandroid/agent/PandroidAgent.java: Reverted to previous commit
SharedPreferences.
* src/pandroid/agent/PandroidAgentListener.java: Notification only
shows when attempting to send xml, can't work out how to have it
persistent and not dissapear when Pandroid activity is destroyed.
* src/pandroid/agent/SMSBroadcastReceiver.java: Reverted to previous
commit SharedPreferences.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* assets/database/pandroid.zip: Added buffer size initial value.
* layout: Added buffer size text edit.
* src/pandroid/agent/Core.java: Added variable for buffer size
with initial value of 256KB. Moved all preference reading/editing
to HelperSharedPreferences.
* src/pandroid/agent/DataBaseHandler.java: Now extends
sqliteassethelper library.
* src/pandroid/agent/HelperSharedPreferences: New helper class in
attempt to mitigate SharedPreferences loss.
* src/pandroid/agent/PandroidAgent.java: Removed SharedPreferences
references and methods.
* src/pandroid/agent/PandroidAgentListener.java: Rewritten all get
and put preferences to use HelperSharedPreferences instead.
* src/pandroid/agent/Setup.java: Added views for buffer size.
* src/pandroid/agent/SMSBroadcastReceiver.java: Changed to use
HelperSharedPreferences.
* values: Added buffer size to all strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Single SharedPreferences and
Editor objects that are retrieved when needed. getSharedData()
and putSharedData() moved to this class from
PandroidAgentListener.
* src/pandroid/agent/PandroidAgent.java: Instantiate static
SharedPreferences and Editor objects with getters for each.
* src/pandroid/agent/PandroidAgentListener.java: buildXML() and
contact() are now background tasks. Implemented buffer, if xml fails
to send it stays in the system, next succesful conection after sends
all of the unsent xml files, current buffer size = 99 files.
* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket to
timeout after 1000ms.
* src/pandroid/agent/SMSBroadcastReceiver.java: Changed SharedPreferences
to static version from PandroidAgent.java
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to include latest
changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Fix aesthetical issues
* include/functions_modules.php: Mark as needy to calculate
the module status count in an agent when disable/enable one of
his modules. The part of server to avoid disabled modules in
counts was made by ramon. BUG #3611683
* godmode/users/configure_user.php: Fix warnings due the
latest fields added to database schemma
* images/blank.gif: Add a missed image
* godmode/agentes/agent_template.php: Fix a little feedback
bug on template application and add category id to the
fields copied from components to modules when apply a template
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php,
godmode/setup/setup_general.php, extensions/pandora_logs.php: some
fixes in the source code from the indications of bug in the tracker.
Fixes: #3611333
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Separate load and store
methods for SharedPreferences and database.
* src/pandroid/agent/PandroidAgent.java: Values retrieved from
database onCreate. onPause and onDestroy values are saved to
database.
* src/pandroid/agent/PandroidAgentListener.java: Reverted to using
SharedPreferences at runtime, database used when app not in view.
Added module as proof of iso-8859-1 now working.
* Pandroid Agent v3.0_iso-8859-1.apk: For testing whether
configuration is no longer lost after an amount of time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php,
godmode/servers/plugin.php, operation/search_users.getdata.php,
operation/visual_console/render_view.php,
operation/events/events_marquee.php,
operation/events/events_list.php,
operation/snmpconsole/snmp_view.php,
operation/gis_maps/render_view.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.tracking.php,
operation/integria_incidents/incident.list.php: fixed the old refr
access for the config instead the get var.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/agents_modules.php: changed the header of the table
agents modules, now it uses css3 (and some tricks in javascript)
and the text for the modules is vertical.
Fixes: #3539424
* operation/integria_incidents/incident.list.php,
operation/search_users.getdata.php,
godmode/servers/manage_recontask_form.php,
godmode/massive/massive_delete_action_alerts.php,
godmode/modules/manage_network_components_form.php: improved the
source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/cross_double.png,
godmode/users/user_list.php: Added support to delete users from all
consoles to the metaconsole. Fixes bug #3607619.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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