* include/functions_html.php: Added style parameter to the
print_extended_select_for_time function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/sound_events.php: fixed the ajax check for when start
with empty list of events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php, operation/events/events_list.php: cleaned
style source code.
* operation/menu.php: added subentry in "View events" for "Sound Events".
* operation/events/events_rss.php: added source code for the $id_agent equal
-2 (this mean that get the agent by text name) and added new check for new
status.
* operation/events/events.php: added source code for the $id_agent equal -2
(this mean that get the agent by text name).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
TO DO: The table should be "migrated" to new table code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php, godmode/users/configure_user.php:
change the sec url variable to show the menu highlighted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Tools.pm: Moved the util functions
from pandora_manage to Tools.
* util/pandora_manage.pl: Added the apply policy
feature: includen conf file management; modules, alerts
and collection creation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php: Show text to admin if no other
user connected.
TO DO: This extension gives non-accurate information due to the use
of timestamp in one hour since the login event. It should be
improved to check logout events in table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: Able to edit profiles.
* godmode/users/configure_profile.php: New page, based on the old
profile one (that should be deleted if all it's OK)
* godmode/menu.php: Removed profiles menu entry.
* godmode/alerts/alert_list.list.php: Centered several icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh, pandora_server_installer, pandora_server.spec:
changed the permissions 750 for the dir "data_in" to 770, for to allow the
web api call for add module data for agent.
TODO: change the pandora_server.redhat.spec the permissions for dir
"data_in".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: added function "set_module_data" for to hook
call to create module data across web api.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: Added a function db_process_insert
to insert a generic query receiving a hash reference with
the parameters (columns in index and value in values)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ChangeLog: fixed previous commit of jobmate that erase some lines of
ChangeLog.
* index.php: cleaned source code style.
* mobile/include/style/main.css: added style for the login mobile page.
* mobile/include/user.class.php: the "loginShow" function have a nice
login box with some style.
* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
files for the login page. The key image is created for "barretr" in
http://www.openclipart.org/detail/3330.
* mobile/index.php: changes for to show logout and new login box.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php: Fixed bug
#3073239: bad intervals in combo for period selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added the parameter with
a definition module to module creation to create
a local module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: in function "print_select_groups" and function
"print_select_from_sql" added source code to check $config['text_char_long']
for show small text in this widgets.
* include/functions.php: in function "get_event_types" and "get_priorities"
added source code to check $config['text_char_long'] for show small text in
this widgets. And in function "get_priority_class" cleaned source code.
* operation/agentes/status_monitor.php, operation/events/events.php: cleaned
source code style.
* images/pandora.ico.gif: added image file for to use in the mobile footer.
* mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/tactical.php,
mobile/operation/agents/group_view.php, mobile/operation/events/events.php,
mobile/include/style/main.css, mobile/include/functions_web.php,
mobile/index.php, general/footer.php: continued the develop, yep the
Pandora Console Mobile is complete (only rest the bugs).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Fixed the agent deletion and
the module deletion to delete all the additional structures
and files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
godmode/agentes/modificar_agente.php: Added the calls
to enterprise to delete an agent to all their policies
when we delete it for bug 3072471
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: fixed the width by default in the function
"print_table", now there isn't a default width (before it was 80%).
* include/pchart_graph.php: fixed in the function "add_events" when tryed
to add a event out the data.
* include/fgraph.php: check the user with the mobile methods.
* include/functions_db.php: in function "check_login" check the user with
the mobile methods.
* images/status_sets/default/severity_warning_pixel.png,
images/status_sets/default/severity_normal_pixel.png,
images/status_sets/default/severity_informational_pixel.png,
images/status_sets/default/severity_maintenance_pixel.png,
images/status_sets/default/severity_critical_pixel.png: added the image
files for to show in the event mobile's page.
* mobile/operation/agents/view_agents.php,
mobile/operation/agents/tactical.php,
mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
mobile/operation/servers/view_servers.php, mobile/include/user.class.php,
mobile/include/system.class.php: changed the style the some pages to show
more clearly the pages in old m$-mobiles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_action_alerts.php,
godmode/massive/massive_delete_action_alerts.php: Fixed
addition/deletion for compound alerts does not work.
* include/functions_alerts.php: To fix above problem, added a function,
delete_alert_compound_action().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Update module
configuration from XML data files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Improved the last feature
of CLI deleting the modules of all conf files of
the incoming directory now
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent, win32/modules/pandora_module.cc: Added
module_interval information to the data XML.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added to CLI the deletion
of all modules without policy from config file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.inc.php: config_process.php is obtained from
defined path in homedir variable.
* godmode/agentes/module_manager_editor_network.php: Limit for
OID lenght was too short, DB gets 255 chars, now input also gets
255 chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f