Commit Graph

335 Commits

Author SHA1 Message Date
guruevi 523a9c8779 2008-12-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: format_for_graph is now much simpler and uses 
	format_numeric.
	
	* include/functions_db.php: give_note_author, give_incident_author, 
	dame_numero_notas, borrar_incidencia, event_insert and 
	return_event_description are now in their respective functions_*.php files
	but under a new name. Fixed delete_agent transaction error detection
	
	* include/functions_events.php: Added get_event_description and
	create_event (formerly return_event_description and event_insert)
	
	* include/functions_html.php: print_timestamp attributes should be default
	empty, not required. Added print_username for a consistent username print
	
	* operation/agentes/ver_agente.php: Function renaming (create_event)
	
	* operation/incidents/incident.php: Partial rewrite. Uses new functions. 
	Also added some of feature request #2264838
	
	* operation/incidents/incident_detail.php: Partial rewrite. Uses new 
	functions. Added some of feature request #2264838 functionality.
	
	* operation/incidents/incident_search.php, 
	operation/incidents/incident_statistics.php: Minor style update
	
	* pandoradb.sql: New tincidencia and tnota layout. No use for tnota_inc
	
	* include/functions_incidents.php: All incidents functions. Documentation
	will be online soon. Also includes an upgrade mechanism for SVN users. 
	Mechanism should be removed for a stable version and integrated into 
	install/upgrade tool.

	* lib/PandoraFMS/DB.pm: New table layout doesn't require timestamp anymore

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-10 20:15:13 +00:00
raulmateos 61655acb25 2008-12-03 Raul Mateos <raulofpandora@gmail.com>
* include/functions_db.php: Now if no event, table shows "no event" text.
	Cosmetic table header change.
	* operation/agentes/tactical.php: Solve warning if no servers defined.
	Cosmetic table header change.
	* operation/events/events.php: Change "error" class to "not found" class.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-03 12:41:09 +00:00
jorgonzalez 0b95e7052a 2008-12-02 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated Spanish translation.

        * include/languages/fr.po, include/languages/fr.mo: Updated French  
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-02 11:42:24 +00:00
jorgonzalez a6d37be77c 2008-12-02 Jorge gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Bengali to translations.

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

        * include/languages/bn.po, include/languages/bn.mo: Added Bengali   
          translation from Rosetta and GNOME Translation Memory.

        * include/languages/Makefile: Added Bengali to translations.

        * include/languages/de.po, include/languages/de.mo: Updated German  
          translation from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-02 11:29:51 +00:00
jorgonzalez 9843334767 2008-12-01 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated po template.

        * include/languages/de.po, include/languages/de.mo: Updated German  
          translation from Rosetta translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-01 08:30:51 +00:00
jorgonzalez 453c3d534d 2008-11-27 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Greek translation.

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

	* include/languages/Makefile: Added 'el' files for translation.

	* 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/sk.po, include/languages/uk.po, 
	  include/languages/pt.mo, include/languages/ro.po, 
	  include/languages/ast.mo, include/languages/cs.mo, 
	  include/languages/ar.po, include/languages/pt_BR.mo, 
	  include/languages/es.mo, include/languages/fr.po, 
	  include/languages/sk.mo, include/languages/uk.mo, 
	  include/languages/ro.mo, include/languages/ca.po, 
	  include/languages/da.po, include/languages/tr.po, 
	  include/languages/sv.po, include/languages/de.po, 
	  include/languages/ja.po, include/languages/zh_TW.po, 
	  include/languages/he.po, include/languages/fi.po, 
	  include/languages/ar.mo, 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/da.mo, include/languages/tr.mo, 
	  include/languages/de.mo, include/languages/sv.mo, 
	  include/languages/ru.po, include/languages/ja.mo, 
	  include/languages/zh_TW.mo, include/languages/he.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, 
	  include/languages/ko.mo, include/languages/ko.po: Added Greek
	  translation, updated translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-27 14:40:55 +00:00
slerena 3d0b20a047 2008-11-26 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Fixed problem with agent module
        groups.

        * include/config_process.php: Fixed typo on prominent_time config token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 16:52:09 +00:00
jorgonzalez 55cdcaefe2 2008-11-26 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added korean translation.

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

        * include/languages/Makefile: Added 'ko' files for translation.

        * include/languages/ko.mo, include/languages/ko.po: Added korean
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 09:03:31 +00:00
jorgonzalez a3c4a4f5cc 2008-11-24 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated po template.

        * include/languages/es.po, include/languages/es.mo,
          include/languages/da.po, include/languages/da.mo: Updated
          translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-24 16:10:40 +00:00
guruevi cb3221be05 2008-11-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: Added function_exists check for multibyte 
	functions. Thanks to Glen Eustace for bug report. mb_string extension

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-21 20:16:14 +00:00
guruevi 5e8d3fa275 2008-11-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/setup/setup.php: Added prominent_time value to configuration.
	Also made setup.php available for singular GET requests. Implements 
	feature request #2267582

	* include/config_process.php: Added prominent_time to configuration. Also
	made sure some values are inserted into the database. Implements 
	feature request #2267582
	
	* include/functions.php: Removed give_human_time(). Fixed 
	human_time_description_raw and human_time_comparation for 0 values
	
	* include/functions_db.php: Called safe_input in get_agentmodules
	
	* include/functions_html.php: Added print_timestamp for feature request
	#2267582. Timestamps should be printed using this function.
	
	* include/styles/pandora.css: Simplified CSS for f9 classes
	
	* operation/agentes/estado_monitores: Rewrite. Also implemented 
	Glen Eustace's (from Godzone) feature request.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-21 17:58:30 +00:00
guruevi 65d81fa325 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
jorgonzalez eaf5660b4b 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 b184efd4d5 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
jorgonzalez 4ea1e37444 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 e352a0d0b9 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
jorgonzalez b6ddade056 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 34ca6bff42 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
Esteban Sanchez 0873a78a4f 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 11f3b7ba26 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
jorgonzalez b97fb13b91 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 1cd6a2aa16 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
Esteban Sanchez c7eb9399ca 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
Esteban Sanchez 351dfc8ee1 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
Esteban Sanchez b12c02225e 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
guruevi 57aaa04cb0 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
Esteban Sanchez 1ae91e7281 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
jorgonzalez 334a8b1f7d 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
jorgonzalez 76187ab8ec 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
Ramon Novoa 9525ca587d 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
jorgonzalez cdf8109bf7 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
guruevi f795e611ac 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
Esteban Sanchez 695c23b493 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
jorgonzalez adeb4808a9 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
jorgonzalez 33ed2daacb 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
Esteban Sanchez 9aa3a05516 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
Ramon Novoa e94f4f491e 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
jorgonzalez 545cec59ce 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
Esteban Sanchez 21491c2ea9 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
guruevi 2005b69941 2008-10-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_data.sql, pandora_db.sql: id_npc was rendered unnecessary
        with the last rewrite of the profiles page and id_np should really be
        the key since that what we're selecting/sorting on.

        * operation/events/events.php: Fixed Bug #2174790 and fixed the
        brackets being in all the wrong places. Also added checks so that only
        admins can retrieve system events

        * include/functions_db.php: Added an option to get_user_groups so that
        other privileges than AR can be retrieved.

        * operation/visual_console/index.php: Added ACL check. Security issue 
        reported in bug #2174790

        * operation/menu.php: Added ACL check. Security issue reported in bug 
        #2174790


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 17:25:37 +00:00
jorgonzalez e57ce2582a 2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
* 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: Updated
          translations from Rosetta, thanks to all contributors.

        * Makefile: modified entries to make them be in alphabetic order.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 07:38:26 +00:00
slerena 91edacd9bf 2008-10-17 Sancho Lerena <slerena@gmail.com>
* fgraph.php, db_info.php, db_purge.php: Now show data also
	for string modules.

	* include/config_process.php, index.php: Header update for version
	2.1-dev.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-17 11:16:53 +00:00
guruevi d212b59b88 2008-10-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_html.php: Added print_error_message, a function
        that will print out <h3> error messages for you given a result

        * godmode/modules/manage_network_templates_form.php: Rewrite for new
        style and makes it easier for mass updates to templates (eg. if you
        have port 1-48 of a Cisco Switch (input, output and status) now you
        don't have to click 288 times.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-16 19:47:06 +00:00
guruevi ad4ba4d251 2008-10-15 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fix where the attachment wouldn't be 
        deleted because of a variable problem

        * operation/snmpconsole/snmp_alert.php: Rewrite. Fixes bug #2166256.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-15 18:40:34 +00:00
slerena f6957e14cc 2008-10-15 Sancho Lerena <slerena@artica.es>
* include/functions.php: Enterprise hook functions upgrade.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-15 13:21:21 +00:00
guruevi 13edae99af 2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Quick fix, should've been included in the last 2 versions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 19:45:08 +00:00
slerena f493719afd 2008-10-14 Sancho Lerena <slerena@artica.es>
* include/config_process.php, index.php: Updated version.

	* include/functions_db.php: Small fix in a foreach() warning.

	* operation/agentes/estadisticas.php: Old, unused code removed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 15:19:40 +00:00
guruevi 0f4f5ad058 2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Style changes and language updates and a 
        fully functional delete_agent function

        * include/functions.php: Comment update for safe_input

        * manage_config.php: Merged Sancho's bug fixes and a rewrite. It works 
        it is more elegant and is more extensive in database cleanup


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 15:07:53 +00:00
slerena d4a8133f1b 2008-10-14 Sancho Lerena <slerena@artica.es>
* include/pdf: Removed unused old code (ezPdf library).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 13:00:02 +00:00
Esteban Sanchez 5f47862a39 2008-10-14 Esteban Sanchez <estebans@artica.es>
* include/config_process.php: Added ENTERPRISE_DIR constant.

        * extensions/hello.php: Use extension better than plugin which is
        already used in other places.

        * godmode/reporting/map_builder.php: Use process_sql() to make SQL
        queries.

        * include/functions_db.php: Fixed some functions documentation. Added
        order_field to get_db_all_fields_in_table(). Style correction.

        * include/functions_extensions.php: Support to load enterprise
        extensions.

        * include/functions_reporting.php: Fixed general_stats() to returns
        stats also with a field name.

        * include/javascript/jquery.ui.core.js,
        include/javascript/jquery.ui.draggable.js,
        include/javascript/jquery.ui.droppable.js: Updated to latest version
        of jQuery UI.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 09:19:19 +00:00