* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* operation/agentes/estado_monitores.php: Main view now also show last
data and a quick links to today graphs and data view. This feature has
been added because was requested by some users, and we think it's really
useful.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: add ajax request for actions.
* godmode/alerts/alert_list.php: change the checkboxs for a ajax
select for actions. And fix messages when you try make two times the same
alert.
Fixes: 2843852
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: clean code.
* include/javascript/pandora.js: fix bug in ie6 that it remove the "\n".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php: add bool param $localComponent
for to filter the tree when it's a local component.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: add the last required field
(Export) in the form.
Fixes: 2848951
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: add more (user and pass for
wmi or plugin) fields to massive edit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: add new function "get_all_groups", this function
return all groups.
* operation/agentes/ver_agente.php: add another code block for to respond
new ajax request (new select in form massive_edit_modules.php).
* godmode/agentes/massive_edit_modules.php: Fix in part bug #2848951 in
tracker sourceforge, rest things for to do is add more fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: now the select of
Module name have got all modules but you can filter in the select of
Module type. Fix in part but #2848951 in tracker sourceforge, exactly
the first paragraph of bug.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: add events for selects in
local modules form:
* godmode/agentes/module_manager_editor.php: add ajax request for local
modules form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Commented server type codes.
* godmode/servers/manage_export_form.php: Fixed problem assigning
export server because wasn't using the new server_type field.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f