Commit Graph

1085 Commits

Author SHA1 Message Date
guruevi 82a084a873 2008-11-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php, godmode/snmpconsole/snmp_view.php:
	Added legend to satisfy feature request #2204169. Also made filters 
	persistent
	
	* operation/events/events.php: Usage of new function
	
	* operation/agentes/ver_agente.php,
	operation/agentes/estado_monitores.php: A bit of style update
	Fixed bug where $intervalo actually came from index.php
	
	* index.php: Put refresh in config (to prevent above bug)
	
	* include/styles/pandora_width.css, include/styles/pandora_red.css,
	include/styles/pandora_black.css, include/styles/pandora.css:
	Update so you can use datos_<color> in other things than td
	
	* include/functions_db.php: give_agentinterval is now get_agent_interval
	
	* include/functions.php: Added get_priority_class to find background 
	color classes		


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 21:26:59 +00:00
aloriel 7c5f35f70e 2008-11-20 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Corrected mistake for languages Slovak and
          Slovenian.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 18:33:51 +00:00
aloriel 43d9e82d11 2008-11-20 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Hebrew and Slovak translations to the
          database.

        * include/languages/index.pot: Updated po template.

        * include/languages/Makefile: added sk and he to translation.

        * include/languages/sk.po, include/languages/sk.mo,
          include/languages/he.po, include/languages/he.mo,
          include/languages/sl.mo, include/languages/pt.mo,
          include/languages/hi.po, include/languages/te.po,
          include/languages/hi.mo, include/languages/te.mo,
          include/languages/sl.po, include/languages/pt.po: Updated
          portuguese, slovenian, hindi, and telugu translations, added
          slovak and hebrew translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 18:30:37 +00:00
guruevi 200a450d1d 2008-11-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Updated for some faster processing
	and new functions.

	* operation/events/events.php,
	operation/agentes/estado_alertas,
	include/functions_reporting.php, 
	godmode/reporting/reporting_bulder.php, 
	godmode/reporting/map_builder.php, godmode/db/db_info.php: 
	Function name updates
	
	* include/functions_html.php: Small style update
	
	* include/functions_db.php: get_agents_in_group is now
	get_group_agents. Accepts array and specified case. 
	get_modules_in_agent is now get_agentmodules and accepts arrays
	of agents as well as which details to select. Deprecated 
	dame_nombre_agente in favor of get_agent_name which accepts case.
	Fixed get_agent_addresses for use in select boxes. Added filter
	to get_agentmodule_count
	
	* godmode/db/db_purge.php: Fixed queries and style updates
	
	* godmode/agentes/configurar_agente.php: Fixed IP select box
	
	* godmode/agentes/agent_manager.php: Style update and fixed a bug

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 14:09:26 +00:00
aloriel 83fa08129f 2008-11-19 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* pandoradb_data.sql: Added Arab and Turkish translations to the
          database. 

        * include/languages/index.pot: Updated po template.

        * include/languages/Makefile: added ar and tr to translation.

        * include/languages/cs.po, include/languages/cs.mo,
          include/languages/ar.po, include/languages/da.po,
          include/languages/tr.po, include/languages/ja.po,
          include/languages/fi.po, include/languages/ar.mo,
          include/languages/eu.po, include/languages/da.mo,
          include/languages/tr.mo, include/languages/ru.po,
          include/languages/ja.mo, include/languages/fi.mo,
          include/languages/eu.mo, include/languages/ru.mo: Updated/added
          translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-19 16:42:45 +00:00
guruevi 89fbb48b11 2008-11-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operations/snmpconsole/snmp_view.php: Removed 
	lang_string references in favor of __ ()
	
	* index.php: Style updates and function name update
	
	* include/functions_db.php: Removed lang_string function
	
	* include/functions.php: parameter_extra_clean is now 
	safe_url_extraclean. Also updated it slightly
	
	* godmode/admin_access_logs: Updated for style and speed

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-17 15:49:29 +00:00
aloriel af6a758a9c 2008-11-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* pandoradb_data.sql: Added Danish to available languages.

        * include/languages/da.po, include/languages/cs.po,
          include/languages/pt_BR.po, include/languages/es.po,
          include/languages/pl.mo, include/languages/it.mo,
          include/languages/sl.mo, include/languages/uk.po,
          include/languages/pt.mo, include/languages/ro.po,
          include/languages/ast.mo, include/languages/cs.mo,
          include/languages/pt_BR.mo, include/languages/fr.mo,
          include/languages/uk.mo, include/languages/ro.mo,
          include/languages/ca.po, include/languages/sv.po,
          include/languages/de.po, include/languages/zh_TW.po,
          include/languages/fi.po, include/languages/hi.po,
          include/languages/zh_CN.po, include/languages/fr.mo,
          include/languages/te.po, include/languages/eu.po,
          include/languages/hu.po, include/languages/ca.mo,
          include/languages/de.mo, include/languages/sv.mo,
          include/languages/ru.po, include/languages/zh_TW.mo,
          include/languages/fi.mo, include/languages/hi.mo,
          include/languages/zh_CN.mo, include/languages/gl.po,
          include/languages/te.mo, include/languages/eu.mo,
          include/languages/hu.mo, include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po,
          include/languages/pt.po, include/languages/ru.mo,
          include/languages/ast.po, include/languages/gl.mo: Updated
          languages and added Danish.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-17 09:42:28 +00:00
guruevi 51cdd352c0 2008-11-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/reporting/reporting_xml.php: Fixed bug #2268220

        * operation/events/events.php: Centered some columns

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-14 16:15:58 +00:00
guruevi 22cbfd7fc3 2008-11-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/incidents/incident_detail.php, incident.php: Update ACL's
        to reflect IR rights instead of default AR

        * operation/events/events.php: Updated style and html for new
        functions. Fixes Bug #2267593

        * index.php: Put REMOTE_ADDR in $config as well. It's easier to
        globalize in functions.

        * include/functions_reporting.php: Updated event_reporting to accept
        any type of date. Style update. get_group_stats didn't need global

        * include/functions_html.php: Updated print_table documentation with
        pre-existing $table->id. Also added $table->headclass[] for classes
        in headers

        * include/functions_events.php: New-style function file to aggregate
        events functions.

        * include/functions_db.php: gime_idgroup_from_idevent is now in
        functions_events.php as get_events_group. Renamed get_events_in_group
        to get_group_events return_priority is now get_priority_name

        * include/functions.php: Added safe_int function to clean up and remove
        non-ints from either single values or arrays of values. Also has min
        and max limiters. Added $pagination in lieu of $config["block_size"]
        to pagination function. That way larger block sizes (eg in events)
        will display correctly. Added strtotime on format_datetime

        * godmode/db/db_event.php: After an ACL error, it's better to exit


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-14 15:37:32 +00:00
esanchezm 6bec6417ea 2008-11-14 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Fixed an error when calculating
        working data modules that affects to strings modules. Thanks to Glen
        Eustace for the report and fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-14 09:11:55 +00:00
guruevi b4d7cf4acc 2008-11-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/servers/view_server.php: Small language fix

        * operation/agentes/tactical.php: Rewrite using new functions and
        cleaner html. More understandable and outsourced calculations to
        get_group_stats

        * include/styles/pandora.css: Clean up CSS deprecated in other files

        * include/javascript/pandora.js: Noticed a small style difference

        * include/help/en/help_serverlag.php: Hopefully this makes server lag
        somewhat more understandable (I didn't know what it was)

        * include/functions_reporting.php: Renamed general_stats to
        get_group_stats and made it accept arrays. Also added ACL check and
        an easier output format. All calculations are now done here.

        * include/functions_html.php: print_table would always reset
        cellpaddings and cellspacing from 0 to 4. Fixed it

        * include/functions_db.php: Deprecated server_status for
        get_server_info. Added get_server_info which accepts single values or
        arrays of servers to be checked.

        * include/functions.php: Removed clean_output_breaks. Use built-in
        function nl2br() for that instead. They're faster and cross-platform

        * general/logon_ok.php: Same as tactical.php (both had to be updated)

        * ChangeLog: Somebody started using spaces instead of tabs?

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 14:24:34 +00:00
slerena 5009f2377e 2008-11-11 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added mta_user parameter who defines
        mail address used for alerts.

        * pandora_ctl: General control script to start/stop Pandora FMS
        daemons.

        * util/SLES10/*: Alternative start/stop daemons for SUSE and
        other systems that don't work fine with standard scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 12:32:58 +00:00
slerena 84f14ec48c 2008-11-11 Sancho Lerena <slerena@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php:
        Connection XML/RPC timeout incremented to 10.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 12:20:21 +00:00
ramonn e20447f852 2008-11-11 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/agent_disk_conf_editor.php: Fixed check of
          enterprise_include () return value.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 10:10:27 +00:00
aloriel f3cbafee88 2008-11-11 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/index.pot,
          include/languages/es.mo: Updated Spanish translation and template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 08:05:54 +00:00
slerena 83d6d22492 2008-11-10 Sancho Lerena <slerena@artica.es>
* operation/incidents/incident.php
        operation/incidents/incident_detail.php: Fixed some bugs in
        incident management that makes unusable the incident sytem
        Thanks to Esben for reporting this bug that was introduced
        only few days before closing 2.0 version :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-10 17:35:27 +00:00
slerena b42e8b0cd9 2008-11-10 Sancho Lerena <slerena@artica.es>
* include/funcions_db.php: Reference to inexistant table
        tagent_data_image has been deleted and fixed notice.

        * install.php: Fixed default var for homeurl.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-10 16:39:48 +00:00
slerena 91c6613e35 2008-11-08 Sancho Lerena <slerena@gmail.com>
* Config.pm: Fixed bug parsing config options with more
        than 2 digits. Thanks to Glen Eustace.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-09 14:42:13 +00:00
esanchezm de2f981319 2008-11-08 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Fixed a notice using
        get_db_value() which was replaced by get_db_sql().

        * include/functions_reporting.php: Fixed an error on
        get_fired_alerts_reporting_table() since id_alert field in
        talerta_agente_modulo is not reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-08 12:16:03 +00:00
esanchezm 6fa9a71836 2008-11-08 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Fixed value of 1 week
        period.

        * include/functions.php: Moved all human_time_* functionallity to
        human_time_description_raw().

        * include/functions_reporting.php: Fixed a bug in SLA calculation that
        affects small periods of time (less than 24 hours) due to data
        compression in the database.

        * operation/reporting/reporting_viewer.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-08 10:57:40 +00:00
esanchezm 0ababc37d4 2008-11-07 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Style corrections ins give_acl(). Show
	nothing on sql_error_handler based on error_reporting() level.

	* ChangeLog: Fixed my previous commit date.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-07 12:45:18 +00:00
slerena cb4457ccf0 2008-11-07 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Fixed an important problem detected
        in Keepalive module, present since revision #678.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-07 12:39:54 +00:00
guruevi 9c364b80dc 2008-11-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_View.php: Added a span with title over the
        time comp since some people want to know what time something went down.
        This should maybe be moved into a print_ function

        * operation/agentes/estado_generalagente.php: ACL check and style
        changes. Use of new functions

        * include/functions_db.php: dame_numero_datos - added inc and string
        can also filter on agent now. Renamed give_agent_address_from_list to
        get_agent_addresses. get_agent_addresses now returns an array with ips
        Changed give_agent_address to get_agent_address

        * godmode/agentes/manage_config.php,
        godmode/agentes/configurar_agente.php: Renamed functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-06 20:16:15 +00:00
esanchezm 128b20221e 2009-11-05 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added sql_error_handler() to show SQL
	errors. Improved SQL error messages in process_sql() so it shows now
	the failing sentence, the file and the line of the call.

	* index.php: Moved load_extensions() call after enterprise
	instalation so enterprise extensions are installed properly.

	* godmode/profiles/profile_list.php: HTML tags nesting fixed.

	* ChangeLog: Fixed previous commit message style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 13:12:45 +00:00
ramonn 6e8d05c1d2 2008-11-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Deleted 'id_inventory_server' column from 'tagente'
          (only needed in enterprise version).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 12:25:20 +00:00
aloriel 6bf062084a 2009-11-05 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/pt_BR.mo, include/languages/fr.po,
          include/languages/uk.mo, include/languages/ro.mo,   
          include/languages/ca.po, include/languages/sv.po,   
          include/languages/de.po, include/languages/zh_TW.po,
          include/languages/hi.po, include/languages/zh_CN.po,
          include/languages/fr.mo, include/languages/te.po,   
          include/languages/eu.po,  include/languages/hu.po,
          include/languages/ca.mo, include/languages/de.mo,   
          include/languages/sv.mo, include/languages/ru.po,   
          include/languages/zh_TW.mo, include/languages/hi.mo,
          include/languages/zh_CN.mo, include/languages/gl.po,
          include/languages/te.mo, include/languages/eu.mo,   
          include/languages/hu.mo,  include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po, 
          include/languages/ru.mo, include/languages/pt.po, 
          include/languages/ast.po, include/languages/gl.mo: Updated
          translations from rosetta: thanks to all contributors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 09:04:02 +00:00
ramonn 191fef477c 2008-11-04 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_snmpconsole: Added support for extended trap information
          (enterprise version).

        * bin/pandora_network: Updated function header.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 18:40:26 +00:00
ramonn e1bf5d8363 2008-11-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/DB.pm,
          lib/PandoraFMS/Tools.pm,
          bin/pandora_snmpconsole: Added support for enterprise version
          features.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 11:33:07 +00:00
aloriel 63f97bc9ab 2008-11-04 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 09:38:28 +00:00
ramonn 70fb5ba56a 2008-10-31 Ramon Novoa <rnovoa@artica.es>
* operation/snmpconsole/snmp_alert.php: Moved to
          godmode/snmpconsole/snmp_alert.php.

        * godmode/snmpconsole: Added to repository. SNMP console godmode
          subdirectory.

        * godmode/menu.php,
          operation/menu.php: Updated menus to reflect the change.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 17:40:43 +00:00
ramonn 69b3fdbd47 2008-10-31 Ramon Novoa <rnovoa@artica.es>
* include/styles/god.css,
          operation/menu.php,
          godmode/menu.php: Added support for enterprise SNMP console.

        * operation/snmpconsole/snmp_view.php: Added filtering, fullscreen
          support, interface changes and enterprise SNMP console support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 17:08:52 +00:00
aloriel 00c0de9f63 2008-10-31 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added support for finnish.                       



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 11:36:11 +00:00
aloriel 0fd0033bc7 2008-10-31 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot, include/languages/Makefile: Updated  
          translation infrastructure.

        * include/languages/fi.po, include/languages/fi.mo: Added finnish   
          translation from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 10:46:55 +00:00
slerena 19671ec6d4 2008-10-30 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm:  Some people reports problems with
        server stop detection. This could help, because has optimized
        way to detect servers, but is not a bugfix because I cannot
        reproduce the problem.

        * Config.pm: Updated version (2.1)

        * server/Launcher scripts: Updated version (2.1)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-30 13:15:18 +00:00
raulmateos 4aeb09e99c 2008-10-30 Raul Mateos <raulofpandora@gmail.com>
* win32/installer/pandora_2.0.mpi: Updated installer to let the user start
	the service during installation.
	* win32/installer/scripts/*.bat: Updated bat files with new service name.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-30 09:13:16 +00:00
guruevi c35a1f33a8 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2008-10-29 20:03:42 +00:00
esanchezm 7c866a3554 2008-10-28 Esteban Sanchez <estebans@artica.es>
* godmode/modules/manage_network_components.php: Replaced parameters
        manual check using entrada_limpia with get_parameter(). It was causing
        PHP notices and was not working fine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-28 14:22:44 +00:00
guruevi 19a21a4685 2008-10-27 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/users/user_list.php: Rewrite to use print_table. Fixed 
        security hole where the acl check didn't call exit

        * godmode/users/configure_user.php: Fixed security hole with acl check

        * godmode/setup/setup.php, godmode/setup/news.php, 
        godmode/setup/links.php: Removed call to comprueba_login, made acl 
        checks exit and require_once config.php

        * godmode/reporting/reporting_builder.php,
        godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php:
        Removed call to comprueba_login, made acl checks exit.

        * godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php: 
        Fixed acl check and removed call to comprueba_login.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-27 15:17:20 +00:00
esanchezm 61340cc1b6 2008-10-24 Esteban Sanchez <estebans@artica.es>
* operation/snmpconsole/snmp_alert.php: Fixed an error that doesn't
        allow to show some fields when editing an alert. It's done using
        javascript, but a PHP version might be better. Style correction.

        * include/functions_db.php: Added get_agent_with_ip().

        * operation/snmpconsole/snmp_view.php: Use get_agent_with_ip() since
        using get_db_row() is not enough for agents with many addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-24 09:52:46 +00:00
esanchezm 1c659f6022 2008-10-23 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Use print_select() to show the
        filter group list.

        * operation/users/user.php: Fixed a typo in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-23 06:58:38 +00:00
aloriel 98c4e571a5 2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.

        * include/languages/index.pot: Updated po template file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:34:07 +00:00
guruevi 3ae0fbb1c0 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Feature request #2166257

        * pandoradb.sql: Feature request #2166257

	* bin/pandora_snmpconsole: Feature request #2166257

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:05:15 +00:00
aloriel b95b1b0c6f 2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated po template file.

        * operation/messages/message.php, operation/servers/view_server.php,
          general/logon_ok.php, godmode/admin_access_logs.php,
          godmode/db/db_purge.php, godmode/agentes/manage_config.php,
          godmode/agentes/planned_downtime.php,
          godmode/agentes/manage_config_remote.php,
          godmode/reporting/graph_builder.php,
          godmode/servers/modificar_server.php: Updated translation
          infrastructure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:03:48 +00:00
guruevi e97ec02c47 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Style update and uses new 
        functions. Also uses (much) less SQL queries now. Fixed some bugs and 
        if an IP matches an existing agent, it gets checked against ACL

        * operation/snmpconole/snmp_alert.php: Added alert priority colors for 
        feature request #2166257

        * godmode/agentes/configurar_agente.php: Added a get_parameter for IP 
        addresses so creating an agent with predefined IP works. Used in SNMP
        view to add agents with unknown IP. To use, pass direccion in request

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 13:20:06 +00:00
esanchezm 4b95234ace 2008-10-22 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Style correction.

        * godmode/agentes/agent_manager.php,
        godmode/agentes/configurar_agente.php: Removed inventory server
        configuration, which was moved to an enterprise hook. Style
        correction.

        * include/functions.php: Added slash to enterprise_include() path to
        work in some rare cases.

        * include/functions_db.php: Errors in process_sql() are shown using
        trigger_error(), so they can be disabled setting error_reporting().

        * include/functions_html.php: Added print_input_image() to show input
        image HTML elements.

        * index.php: Added enterprise includes and hooks to show the future
        dashboard. Style corrections.

        * godmode/reporting/map_builder.php: Fixed error when creating a map.
        Javascript fixes. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 12:01:36 +00:00
esanchezm ff10ed7ea4 2008-10-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Removed inventory tables and fields from previous
        commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:36:09 +00:00
ramonn 6c3f21447c 2008-10-22 Ramon Novoa <rnovoa@artica.es>
* include/styles/op.css,
          include/styles/pandora.css,
          pandoradb.sql,
          operation/menu.php,
          godmode/agentes/configurar_agente.php,
          godmode/agentes/agent_manager.php,
          godmode/menu.php: Added inventory support.

        * operation/agentes/export_csv.php: Fixed, didn't work.

        * operation/agentes/ver_agente.php: Fixed tabs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:08:03 +00:00
aloriel 9451565327 2008-10-21 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* operation/servers/view_server.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor_plugin.php,
          godmode/agentes/module_manager_editor_prediction.php,
          godmode/agentes/module_manager_editor_data.php,
          godmode/agentes/configurar_agente.php: added translation context.

        * include/languages/cs.po, include/languages/pt_BR.po,
          include/languages/es.po, include/languages/uk.po,
          include/languages/ro.po, include/languages/fr.po,
          include/languages/ca.po, include/languages/de.po,
          include/languages/sv.po, include/languages/zh_TW.po,
          include/languages/hi.po, include/languages/zh_CN.po,
          include/languages/te.po, include/languages/eu.po,
          include/languages/hu.po, include/languages/ru.po,
          include/languages/gl.po, include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po,
          include/languages/pt.po, include/languages/ast.po,
          include/languages/index.pot: Updated translations from Rosetta, thanks to all contributors.         



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 14:34:47 +00:00
marostegui b7889ca4d2 2008-10-21 Manuel Arostegui <marostegui@artica.es>
* operation/menu.php: Fixed warning message if no layouts were defined
        on the visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 13:39:47 +00:00
esanchezm 5e5ecef789 2008-10-21 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Improved human_time_comparation() so it won't 
        return nothing like "1.7 minutes". Make enterprise_include use
        ENTERPRISE_DIR. Style correction.

        * operation/agentes/estado_agente.php: Uses generic functions. Reduce 
        one indent level by using continue on a loop. Fixes status flag to 
        check if agent is down with no monitors. Show the exact date on last 
        contact column title. Style corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 12:57:03 +00:00