* include/functions_events.php: Truncated agent and module name
* include/functions_reporting.php: Added functionality to store info of
General, Top n and Exception reports
* include/pchart_graph.php: Added function graph_sla_horizontal to print
sla horizontal graph bar. (Not working properly yet)
* include/pandora_graph.php: Added prototipe for
function graph_sla_horizontal
* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
* include/functions.php: Added options top n, exception and general for
the combo box to select report type.
* pandoradb.sql: added fome fields to treport_content table
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to
treport_content table
* godmode/reporting/reporting_builder.list_items.php: Truncated agent
and module name
* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
bar to the report table
* godmode/reporting/reporting_builder.php: Added variables for the new
kinds of reports, top n, exception and general
* godmode/reporting/reporting_builder.item_editor.php: Added html
elements for the new kind of reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reportings.php: Added functionality to show only
wrong modules
* pandoradb.sql: Added column 'only_display_wrong" to treports_content
* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
'only_display_wrong" to treports_content
* godmode/reporting/reporting_builder.php: Added functionality to show
only wrong modules
* godmode/reporting/reporting_builder.item_editor.php: Added functionality
to show only wrong modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js, pandoradb.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql,
godmode/modules/manage_network_components_form.php,
godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components.php: added the "post process"
parameter to network component and use in network component editor and
module editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
year, just to know these files are updated from v3.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_v3.1_to_v3.2.sql,
pandoradb.sql: Some fields are now TEXT due the problem with new
HTML entities encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the
size of field "nombre" in table "tagente" for html entities.
Fixes: #3136610
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
fields with small length now with the HTML encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
custom script items (due the referencial integrity).
* pandoradb_data.sql: Octopods instead octopus.
* godmode/menu.php,
* godmode/servers/recon_script.php: Added new option to manage recon scripts
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php: Changes to manage the new recon
tasks using custom-defined scripts to detect and monitor things (neeed some
Javascript improvements).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
table "tagente_modulo" the field "policy_adopted" for to set a module
pre exist in policy as adopted.
*operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted
but unlinked" in the list of modules.
Pending tasks: #3083123
* include/functions_modules.php: cleaned source code style in function
"update_agent_module".
* godmode/agentes/module_manager_editor_network.php: fixed warning messages
when use this file in policies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Deleted several
columns from the events view and adding a
show/hide advanced fields feature.
Added a new state 'in process' to validation
and an input comment when a status is changed.
* include/fgraph.php: Fixed quotes
in constant definition
* include/functions_ui.php
include/functions_agents.php
include/functions_alerts.php
operation/agentes/alerts_status.php
operation/agentes/alerts_status.functions.php
images/bell_pause.png
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php
godmode/massive/massive_operations.php
godmode/massive/massive_standby_alerts.php: Added
the feature of set and set off on standby an alert
in the alets management and view if an alert is in
standby in the rest of views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
new column to talert_template_modules to support standby alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Call to get_agents () with current
user and without returning "all" group, this avoid to render non-visible
(ACL) agents in the AJAX control to return an agent.
* pandoradb.sql: ttrap value* information resized.
* extensions/users_connected.php: ACL check before show users.
* operation/events/events_marquee.php: Added ACL check.
* operation/events/events.php: System events not shown to normal
users.
* operation/menu.php: Server view is now only for PM.
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
table.
* general/noaccess.php: Added code to avoid image usage when called
from different directories than standard.
* godmode/agentes/agent_manager.php: Proper call to
get_user_groups().
* godmode/menu.php: Profiles are now under user management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
operation/agentes/estado_generalagente.php
operation/agentes/custom_fields.php
operation/agentes/ver_agente.php
operation/agentes/agent_fields.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql
godmode/agentes/fields_manager.php
godmode/agentes/configurar_agente.php
godmode/agentes/configure_field.php
godmode/agentes/agent_manager.php
godmode/menu.php: Added the custom field feature
including agents custom fields managment, agent
custom field viewer, custom fields added at the
agent configuration, customization of the custom
fields to display it in the agent details and
the creation of two new tables into the sql scripts
All for pending task: 3052918
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on
agente_modulo to unlink the modules from policies
* images/unlinkpolicy.png
images/linkpolicy.png: Added two icons to linked and unlinked policies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.
* index.php: Prevent HTTP response splitting attacks.
* pandora_console.spec: Updated some spec variables and description.
* pandoradb.sql,
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
to store the snmp_community on detected hosts in a recon task.
* extras/pandora_diag.php: Fixed security problem in relative path.
* general/pandora_help.php,
general/footer.php: Fixed security problem in relative path/include.
* general/login_page.php: Fixed security problem in URL parsing.
* godmode/servers/manage_recontask_form.php,
manage_recontask.php: Implemented new feature to use a snmp comunity on all
network modules added to a new detected host.
* config_process.php: Updated build.
* functions.php: New version of safe_url_extraclean() function (security fix)
and modified also enterprise_include* functions to have a secure include.
* functions_ui.php: Secured function get_include_contents().
* operation/agentes/gis_view.php: Secured url extraction/parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added parameter $readOnly in the
function "file_explorer".
*pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added into the
table "talert_template_modules" the column "id_policy_alerts".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module
field into agente_modulo table for future use
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/help/en/help_network_map.php
include/help/es/help_network_map.php
pandoradb.sql
operation/agentes/networkmap.topology.php
operation/agentes/networkmap.groups.php
operation/agentes/ver_agente.php
operation/agentes/networkmap.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
storage on database, clean the network maps code and fixed some
little bugs of the same section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added new parameters in the function
"get_agentmodule_sla", the parameters days of week to search and range of
time. And use new parameteres in the call for SLA data in function
"render_report_html_item".
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
"treport_content" added the fields for set days of week and range time
for SLA.
* operation/reporting/reporting_xml.php: use new parameters in the call for
SLA data.
* godmode/reporting/reporting_builder.php: added source code for save,
update new fields (days of week and time range).
* godmode/reporting/reporting_builder.item_editor.php: added source code to
show the fields (days of week and time range).
Pending task: #3033457
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
use in the subgroups trees (new feature in comming for 3.2).
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
migrate from 3.1 to 3.2.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
repository the branch 3.1.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: fixed the syntax of sql for compatibility of mysql 5.0 that
this versión is used in Debian Lenny for example. Now run in 5.0 and next
versións.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql
godmode/setup/gis_step_2.php
godmode/gis_maps/configure_gis_map.php: Added at the combos the
group All and asigned in creation layers -1 value to None value
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the
column "row_separator" to more exactly name "column_separator". Sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
foreign key between treport and tgrupo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
add_sla actions.
* include/functions.php: added in the function "get_report_types" new types
of items/contents for reporting.
* pandoradb.sql: added columns custom_logo, header, first_page, footer,
custom_font into the table treport. And in the table treport_content have
new columns text, external_source, treport_custom_sql_id, header_definition,
row_separator, line_separator. Added new table treport_custom_sql.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
same to pandoradb.sql.
* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
images for order list items for reports.
* godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: made new forms to
manage the reporting, now Pandora have tabs and list of items. In the list
of items, you can order manually or automatically the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Alert information now show the default
actions properly,and the action conditions (max/min).
* include/functions_alerts.php: Added support on get_alert_templates_types
for new alert type "onchange".
* pandoradb.sql,
extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert
type "onchange".
* godmode/alerts/alert_list.php: Alert information now shows the default
action (if exist) and have a link to edit the template directly from here.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_events.php: Fixed typo (switched meaning) in two labels.
* include/styles/pandora.css: Changed background color of th default style.
* include/functions_reporting.php: Improved function get_group_stats(). Now
supports stats from batch-mode and get realtime stats in a more efficient
way. Fixed get_fired_alerts_reporting_table() to avoid problems in external
reporting (PDF & XML).
* include/functions_servers.php: get_server_performance() now uses batch mode
stats reporting, and improved also the realtime stats generation. Same with
function get_server_info().
* include/functions_config.php: Added new config tokens (not fully
implemented yet) for event, trap, strings and audit automatic purge.
* include/functions_ui.php: Added new print_page_header() function to set
the new standard header in all pages, using the "tabbed" format to show
the title, subtitle and other options like help, or custom-tabs for the page
* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to
tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
agents_unknown.
* extensions/ext_backup: New directory to place "deleted" extensions.
* extensions/dbmanager/dbmanager.css: Table names now are in it's original
lowercase/uppercase format.
* extensions/dbmanager.php: Updated headers, and now return "empty" when
a search is empty, instead "error" as before.
* extensions/users_connected.php
extensions/module_groups.php
extensions/plugin_registration.php
extensions/pandora_logs.php
operation/incidents/incident.php
operation/snmpconsole/snmp_view.php
operation/users/user.php
operation/users/user_edit.php
godmode/agentes/planned_downtime.php
operation/events/events.php
operation/visual_console/index.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/agentes/exportdata.php
operation/agentes/ver_agente.php
operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/users/user_statistics.php: Added new header format.
* operation/agentes/estado_grupo.php: Removed old group view.
* operation/agentes/tactical.php: Adapted to use new realtime/batch
statistical system. Placed events above server info. Showing only pending
events and other minor changes.
* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
most ugly, but much more useful than before.
* operation/agentes/networkmap.php: Added title.
* operation/messages/message.php: Added title and adding some exists in
code was missing before.
* operation/reporting/reporting_viewer.php: Added title.
* operation/reporting/graph_viewer.php: Added title.
* operation/reporting/custom_reporting.php: Added title.
* operation/servers/view_server.php:
* operation/menu.php: Replaced old group view with new (this has english
name). Removed autorefresh "by default" in server view.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.
* extras/pandora_diag.php: Minor changes, removed some info and added other.
* general/logon_ok.php: Minor aesthetic changes.
* general/header.php: Fixed missing ";"
* operation/extensions.php,
godmode/extensions.php: Added support for delete extensions.
* godmode/menu.php: New setup items.
* godmode/setup/setup.php,
godmode/setup/performance.php,
godmode/setup/setup_visuals.php: Reordered setup options, new setup section
"Performance", added new performance options to set "realtime" statistics
or "batchmode" with it's own interval. Some setup info is now shared with
the servers (but it it's any change in setup, servers should be restarted
anyway).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified data
model using a new table tgis_data_status to save the current GIS data and
the table tgis_data_history to store the historical GIS data. That also
means that the GIS related fields from the table tagente are now in the
table tgis_data_status. The foreign key in the table tgis_map_layer to
tgrupo has been droped because now it's possible to have layers without
group, just agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add the parameter id layer in the function
"makeLayer" for add the id layer (id of db) in the layer. Fill in the
sourcecode in the function "activateAjaxRefresh" that now show new
agents in the map in real time and add make changes in this function.
* operation/gis_maps/render_view.php: use the new parameter in the call
of function "makeLayer".
* operation/gis_maps/ajax.php: add code to return new positions (and name
and icon) when the ask the positions in "activateAjaxRefresh".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: add new fields to tnetwork_component for support the
snmp ver 3.
* godmode/modules/manage_network_components_form.php,
godmode/modules/manage_network_components_form_network.php
godmode/modules/manage_network_components.php: add support to snmp ver 3,
add the fields for this use, and now can create and edit network
component with snmp ver 3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/gis_maps/index.php: Fixed regresion, standarized using map_id
as parameter.
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
default_map to table tgis_map to mark the default map
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
Added several index and dropped some fields in tagente_datos and
tagente_datos_string tagent_access.
* godmode/setup/setup.php,
* include/functions_config.php: Management of new timezone settings and
realtime stats parameters.
* include/config_process.php: New timezone management. Updated build.
* pandoradb_data.sql: Build update. Added new tokens realtimestats and
stats_interval.
* install.php: Several changes: Now display GPL licence, better SQL error
management, and steps are shown now as text instead a progress bar. Also
show version and build of the installer.
* extensions/dbmanager.php: Removed some warnings
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.
* godmode/agentes/module_manager_editor_network.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Implemented partial support for
SNMP v3. Miguel will finish the work :-)
* index.php: Session close function deprecated, replaced by a more standard
method with unset.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: add the group column for SLA purposes.
* operation/agentes/gis_view.php: page for GIS data in agents view.
* operation/agentes/ver_agente.php: add the tab for GIS data.
* operation/menu.php, godmode/menu.php: change the lines for show the
entries in menu, now show the entries gis when it's set on.
* godmode/setup/setup.php: add the field to set on or off the GIS features
in the Pandora Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql,
pandoradb_data.sql: Modified the GIS related tables, to make a better
GIS Data model, also included the activate_gis config parameter on tconfig.
Added column timezone_offset to table tserver_export so the export server
can send timezone information
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
number_of_packages to tgis_data to track the number of data packages
received while the agent is in the same position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
schema to give a default value to start_timestamp on tgis_data, without
it as is a timestamp MySQL sets the default value as CURRENT_TIMESTAMP
and also sets the CURRENT_TIMESTAMP ON UPDATE, setting the DEFAULT
CURRENT_TIMESTAMP prevents MySQL to set the ON UPDATE CURRENT_TIMESTAMP.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
schema to add, group_id and zoom_level to the table tgis_map and set the
primary keys of the new tables as autoincremet.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f