* include/functions_alerts.php: Fixed the group of the
event generated when validate an alert manually
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_view.php
include/styles/pandora.css
include/functions_alerts.php: Fix some bugs when
doesnt exist an action with min-infinite situation.
Some visual fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* godmode/agentes/configurar_agente.php,
include/functions_network_components.php,
include/functions_alerts.php: fixed the name of items to duplicate,
now they have a html entities for whitespaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
include/functions_alerts.php
operation/agentes/status_monitor.php
operation/agentes/status_events.php
mobile/operation/modules.php: Fixed several calls
to acl tags with same fixes of Juanma in previous commits
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php
include/javascript/jquery.pandora.controls.js
include/functions_treeview.php
operation/tree.php
operation/agentes/ver_agente.php
godmode/groups/group_list.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/reporting/graph_builder.graph_editor.php: Add sorting
in many agents list retrieved by ajax and tree view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php, include/functions_alerts.php,
operation/agentes/alerts_status.php: improved the function
"get_group_alerts" to use in the places that there were a foreach
loop with all agents for any group.
Fixes: #2060
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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: Updated and fixed
some column types.
* include/functions_alerts.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: Added support for on-demand module status
calculations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: fixed the function
"tags_get_acl_tags_module_condition" when the user profile is in
the all group.
* include/functions_reporting.php, include/functions_alerts.php,
operation/agentes/estado_monitores.php: improve the code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Change the update counts
of fired alerts when validate to do it only when the validation
is of a unvalidated alert. This change is to avoid broke
counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php
include/functions_modules.php
include/functions_reporting.php
include/functions_servers.php: Fix counts when validate or
delete alerts and fix some little bugs of previous commits
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Update the fired
counts on validate alerts function
* include/functions_events.php
include/functions_reporting.php
include/javascript/jquery.pandora.js
include/functions_treeview.php
operation/tree.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/search_agents.php: Improve and unify code
of the status counts in agents list, agent detail,
tree view and search views
* ajax.php: Load the user language in the
ajax entry point. Until now the language was the
general!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, operation/agentes/alerts_status.php:
improved the style code.
* include/functions_alerts.php: in function "get_group_alerts" fixed
the get all alerts, sometimes set empty the return array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php,
extensions/resource_exportation.php,
operation/events/event_statistics.php,
operation/events/events_list.php,
operation/reporting/reporting_viewer.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
include/functions_alerts.php, include/functions_reports.php,
include/functions_events.php, include/graphs/fgraph.php,
include/functions_graph.php, include/styles/pandora.css,
include/functions_reporting.php, include/functions_agents.php: a lot
of changes and fixes from the branch for the reports.
MERGED FROM PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Setted last_reference database
field to actual utimestamp when create an alert to avoid
unecessary charge on server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions.php
include/functions_alerts.php
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_list.builder.php: Improved the
periods control and added it to the alerts action threshold
and alert template threshold
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, godmode/alerts/alert_special_days.php,
godmode/alerts/configure_alert_special_days.php,
godmode/alerts/configure_alert_template.php,
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql,
pandoradb.oracle.sql, pandoradb.postgreSQL.sql, pandoradb.sql,
include/functions_alerts.php: Added special days feature. It allows
to define special days (holidays and special working days) for
alert templates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php
include/functions_agents.php
include/functions_alerts.php: New functionality for the Api.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
function in order to not retrieve delete modules.
Fixes: #3401666
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Some mofications over update_tag
function.
* include/functions_alerts.php: Added new function
alerts_get_alerts_module_name() to retrieve alerts of a module
in html select tag format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions_reporting.php
include/functions_alerts.php
operation/incidents/incident_detail.php
operation/agentes/status_events.php
operation/agentes/tactical.php
operation/integria_incidents/incident_detail.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php
operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
prefix.
* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in
functions_events.php have "events_" prefix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f