* include/functions_os.php: Created this file.
include/functions_groups,
operation/tree.php: Fixed a bug related to search
improved performance of OS tab for tree view.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Merged from 4.0.x: Fixed bug:
string truncation did not always work for multi-byte
characters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php,
include/functions_groups.php: Fixed some errors and
improved performance of group tree view.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java: All api operations are now asynchronous.
* res/layout/create_incident.xml: Progress circle next to groups spinner.
* res/values/strings.xml: New entries.
* res/menu/options_menu_list_events.xml, res/menu/options_menu.xml: New incident icon.
* res/drawable-ldpi/incident.png: Added new icon
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php: Fixed bug:
If the data type of module is string, don't export the data in format: table, Excel or CSV.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Fixed bug: When you
copy a policy module, still liked to policy.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php
operation/agentes/exportdata.csv.php
operation/agentes/exportdata.excel.php: Fixed bug export
data: If you choose first the type of export, the chosen
agent modules are not loaded into the page.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixed that 'Affect'
column at 'planned downtime' may show bad values. cleaned
source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: Fixed function search_agent when
metaconsole is activated an one of the nodes return no agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_io.php: Added new safe string function
to scape strings to use it in regular expressions and
change the parameters of enterprise functions to be
compatible con last changes
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/os.list.php: Fixed bug: you can delete
operating systems defined by default in the installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: Added IncidenList (new activity)
* src/pandroid_event_viewer/pandorafms/IncidentListItem.java: Added, value object of incidents.
* src/pandroid_event_viewer/pandorafms/IncidentList.java: New activity. It will show all incidents.
* src/pandroid_event_viewer/pandorafms/Options.java: Little refactoring.
* src/pandroid_event_viewer/pandorafms/EventList.java: Deprecated function removed.
* res/layout/item_list_incident_layout.xml: Layout of IncidentList items.
* res/values/strings.xml: Added new entries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Now Agent's link points to mobile console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_modules.php: Added units to
module massive editor and missed help bubble in the same
editor to post process field
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/include/user.class.php: added option to get from url a
"autologin" with the user and the password for this action.
* mobile/index.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: Now, on MainActivity's restart, fetches groups and tags if url was changed.
* src/pandroid_event_viewer/pandorafms/Options.java: Puts a boolean in SharedPreferences if url was changed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: Added a method to get all tags.
* include/functions_api.php: Added de get_tags api call.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/pChart/pDraw.class.php: Graphs with all data equal
to zero are displayed correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Fixed error updating
report items (agent and module were lost if you update item report).
Merged bugfix from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_template.php: Fixed bug: adding
modules to an agent with templates, if the agent already had
modules can be duplicated with the same name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions_groups.php: Group/tactical stats
are now done with functins in function_group. This
method is also used in the server for the batch
stats system.
* operation/agentes/estado_ultimopaquete.php: Fixed
view on non-init policy modules, shown in the data tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Updated batch statistic queries to get
information about groups. SQL code taken from new functions in
functions_group.php. Unified criteria to calculate information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Duplicate the operations
too when duplicate a synthetic module for bug
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Removed unused methods and added two that will set images to the left of some textviews.
* res/layout/item_list_event_extended.xml: Refactored some linear layouts with textviews and imageviews. Now, it is a single textview with an image on the left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added to API a test function
to test the API connection returning OK when success
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_main.php: Tiny bug fix. The number of log4x
turns red when tagente_datos (not tagente_datos_log4x) is more
than the threshold (max_data).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: A bit more
space on IP target field (a URL doesn't fit there!).
* include/styles/pandora.css: Plugin description is not shown
in small font.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f