* include/functions.php: Added pass of check_referer by url to
solve problems with autorefresh functionality.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
operation/reporting/reporting_xml.php: Fixed XML items exportation
and item editor for alert agent and alert event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php,
include/db/mysql.php,
include/db/oracle.php,
include/config_process.php,
include/functions_db.php,
operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed and
improved the history database feature.
* include/graphs/fgraph.php: Merged from 4.0 branch. Protect against
accidental output that might corrupt an image.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
include/functions_groups.php,
include/functions_os.php,
operation/tree.php: Fixed a problem with unknown agent
counting.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, godmode/setup/setup.php: Fixed that
ACL with API access cannot be removed after once configured. (Merged
from 4.0.2)
Fixed multiple recording of list_ACL_IPs_for_API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php: fixed the modules
name with white spaces...again in Pandora console..
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
operation/tree.php: Improved performance of tree
view for modules, its not very good but now works...
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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