Skip to content

Commit

Permalink
eliminando el submodulo
Browse files Browse the repository at this point in the history
  • Loading branch information
rensi4rn committed Aug 9, 2012
1 parent 3c0e437 commit 3a11131
Show file tree
Hide file tree
Showing 2,325 changed files with 630,256 additions and 1 deletion.
1 change: 0 additions & 1 deletion base
Submodule base deleted from 8cf49d
1 change: 1 addition & 0 deletions lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DatosGenerales.php
126 changes: 126 additions & 0 deletions lib/DatosGenerales.sample.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<?php
/**
* *********************************
*
* Clase:conexion
* Descripcion: Conexion y desconexion de bases de datos postgersql(conexiones persistenes)
*/
// Esta es la variable que indica el host del servidor Postgres
$_SESSION["_HOST"] = "192.168.1.234";
//$HOST = "192.168.1.8";
//Puerto
$_SESSION["_PUERTO"] = "5432";

//la palabra utilizada como semilla tambien debe configurarce y coincidir exactamente
//en el triger de creacion de usuarios
$_SESSION["_SEMILLA"] = "+_)(*&^%$#@!@TERPODO";


$_SESSION["_SEMILLA_OFUS"] = "1611829075654";

//nombre carpeta donde se aloja el framewoek en el servidor web
//la cokies solamente son admitidas en esta direccion
//$_SESSION["_FOLDER"] = "/web/lib/lib_control/";
$_SESSION["_FOLDER"] = "/web/";

//nombre carpeta de logs de postgres
$_SESSION["_FOLDER_LOGS_BD"] = "/var/lib/pgsql/9.1/data/pg_log/";

//nombre base de los archivos de los logs de base de datos el nombre del archivo sera :
//$_SESSION["_NOMBRE_LOG_BD"].-%Y-%m-%d.log
$_SESSION["_NOMBRE_LOG_BD"] ="postgresql";

// Esta es la variable que indica el usuario del servidor Postgres
$_SESSION["_USUARIO_CONEXION"] = "conexion" ;
//$USUARIO = "endesis" ;
// Esta es la variable que indica la contrasena del usuario de Postgres
$_SESSION["_CONTRASENA_CONEXION"] = "dbweb_conexion" ;

//DOMINIO PARA AUTENTIFICACION LDAP
$_SESSION["_DOMINIO"] = 'ende.bo';
//servidor de autenticacion ldap en el dominio especificado
$_SESSION["_SERVER_LDAP"] = '10.10.0.32';
//puerto de autenticacion ldap
$_SESSION["_PORT_LDAP"] = '389';


//$CONTRASENA = "1234" ;
// Esta es la variable que indica la base de datos a utilizar
$_SESSION["_BASE_DATOS"]= "dbweb";

$_SESSION["codificacion_xml"] = "UTF-8";//latin 9

$_SESSION["codificacion_header"] = "UTF-8";//Latin 9
//$_SESSION["CODIFICACION_HEADER"] = "utf-8";

// Usuarios administradores, el rol de administracion solo
// puede ejecutarse desde estas direcciones IP
//$_SESSION["_IP_ADMIN"]=array('10.100.105.64','10.100.105.57','10.100.105.51','10.100.105.52','10.100.105.50','10.100.105.59','192.168.3.0','192.168.2.236','192.168.122.101','192.168.1.195','192.168.1.3','192.168.0.31','192.168.1.28','192.168.1.243','192.168.1.220','192.168.2.90','192.168.1.21','192.168.1.17','192.168.1.250','192.168.3.233','10.100.105.53','10.100.105.58','10.100.105.54','192.168.1.5','10.100.105.69');


//Estuilo de iconos utilizados en la barra de herramientas
// icono_dibu, icono, icono_byn, icono_inc
$_SESSION['_ESTILO_MENU']='icono_dibu';

//varciale que determina el cotexto del sistema
//para determinar la claridad de los errores
// [desarrollo,produccion]
$_SESSION["_ESTADO_SISTEMA"] = "desarrollo"; //produccion


//$_SESSION["CODIFICACION_HEADER"] = "utf-8";

$_SESSION["type_header"] = "text/x-json";

//Metodo de envio de datos
//$_SESSION["metodo_envio"]="post";

//Variable que determina si la vista mandara los datos encriptado o no
$_SESSION["encriptar_data"]='no';

//Variable que determina si los identificadores de registro seran ofuscados o no
$_SESSION["_OFUSCAR_ID"]='si';

//Variable para definir el tipo de conexion
//persistente , no_persistente
$_SESSION["_TIPO_CONEXION"]='no_persistente';

//variable para tomar
$_SESSION['cantidad_reportes']=200;
$_SESSION['fecha_pie']=false;

//Tiene que ser una imagen que pueda ser bien vista a un tamaño de 35*15
$_SESSION['dir_logo']='../../images/logo_reporte.jpg';

//tiempo de espera para la interfaces javascript en el cliente
$_SESSION["_TIMEOUT"]=200000;
$_SESSION['color_fill_reportes']='#F2F2F2';


//Para obligar conexiones ssl [SI, NO]

$_SESSION["_FORSSL"]="NO";
/*DoS para denegacion de servicio*/

//habilitar el control de DoS
$_SESSION['_CRT_DOS']='NO';
//la cantidad de datos que se almacenan en la pila
$_SESSION['_TAM_MAX']=10;
//segundos ultima transaccion sospechosa
$_SESSION['_SEG_DOS']=0;
//mili segundos ultima transaccion sospechosa
$_SESSION['_MSEG_DOS']=0.3;
//peso maximo para considerar una trasaccion como sospechosa
$_SESSION["_PESOMAX_DOS"]=9;

//Para el generador
/*$_SESSION["_QUITAR_CANT_PREFIJO_TABLA"]='no'; // si|no
$_SESSION["_CANT_PREFIJO_TABLA"]=3;//3;
$_SESSION["_PREFIJO_TABLA"]='f_';
*/
$_SESSION["_QUITAR_CANT_PREFIJO_TABLA"]='si'; // si|no
$_SESSION["_CANT_PREFIJO_TABLA"]=1;
$_SESSION["_PREFIJO_TABLA"]='f_';


?>
152 changes: 152 additions & 0 deletions lib/FirePHPCore-0.3.2/CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@

TODO:

- Fix code indenting in PHP 4 code
- Port maxDepth option to PHP 4 code

2010-10-26 - Release Version: 0.3.2

2010-10-12 - Release Version: 0.3.2rc6

- (Issue 154) getRequestHeader uses "getallheaders" even though it doesn't always exist. [25m]

2010-10-09 - Release Version: 0.3.2rc5

- (Issue 153) FirePHP incorrectly double-encodes UTF8 when mbstring.func_overload is enabled

2010-10-08 - Release Version: 0.3.2rc4

- Trigger upgrade message if part of FirePHP 1.0
- Removed FirePHP/Init.php inclusion logic and only load FirePHP.class.php if not already loaded

2010-07-19 - Release Version: 0.3.2rc3

- Fixed FirePHP/Init.php inclusion logic

2010-07-19 - Release Version: 0.3.2rc2

- (Issue 145) maxDepth option
- Changed maxObjectDepth and maxArrayDepth option defaults to 5
- Fixed code indentation

2010-03-05 - Release Version: 0.3.2rc1

- (Issue 114) Allow options to be passed on to basic logging wrappers
- (Issue 122) Filter objectStack property of FirePHP class
- (Issue 123) registerErrorHandler(false) by default
- Added setOption() and getOption() methods
- (Issue 117) dump() method argument validation
- Started adding PHPUnit tests
- Some refactoring to support unit testing
- Deprecated setProcessorUrl() and setRendererUrl()
- Check User-Agent and X-FirePHP-Version header to detect FirePHP on client
- (Issue 135) FirePHP 0.4.3 with Firebug 1.5 changes user agent on the fly
- (Issue 112) Error Predefined Constants Not available for PHP 5.x versions

2008-06-14 - Release Version: 0.3.1

- (Issue 108) ignore class name case in object filter

2009-05-11 - Release Version: 0.3
2009-05-01 - Release Version: 0.3.rc.1

- (Issue 90) PHP4 compatible version of FirePHPCore
- (Issue 98) Thrown exceptions don't send an HTTP 500 if the FirePHP exception handler is enabled
- (Issue 85) Support associative arrays in encodeTable method in FirePHP.class.php
- (Issue 66) Add a new getOptions() public method in API
- (Issue 82) Define $this->options outside of __construct
- (Issue 72) Message error if group name is null
- (Issue 68) registerErrorHandler() and registerExceptionHandler() should returns previous handlers defined
- (Issue 69) Add the missing register handler in the triumvirate (error, exception, assert)
- (Issue 75) [Error & Exception Handling] Option to not exit script execution
- (Issue 83) Exception handler can't throw exceptions
- (Issue 80) Auto/Pre collapsing groups AND Custom group row colors

2008-11-09 - Release Version: 0.2.1

- (Issue 70) Problem when logging resources

2008-10-21 - Release Version: 0.2.0

- Updated version to 0.2.0
- Switched to using __sleep instead of __wakeup
- Added support to exclude object members when encoding
- Add support to enable/disable logging

2008-10-17 - Release Version: 0.2.b.8

- New implementation for is_utf8()
- (Issue 55) maxObjectDepth Option not working correctly when using TABLE and EXCEPTION Type
- Bugfix for max[Object|Array]Depth when encoding nested array/object graphs
- Bugfix for FB::setOptions()

2008-10-16 - Release Version: 0.2.b.7

- (Issue 45) Truncate dump when string have non utf8 cars
- (Issue 52) logging will not work when firephp object gets stored in the session.

2008-10-16 - Release Version: 0.2.b.6

- (Issue 37) Display file and line information for each log message
- (Issue 51) Limit output of object graphs
- Bugfix for encoding object members set to NULL|false|''

2008-10-14 - Release Version: 0.2.b.5

- Updated JsonStream wildfire protocol to be more robust
- (Issue 33) PHP error notices running demos
- (Issue 48) Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0 given

2008-10-08 - Release Version: 0.2.b.4

- Bugfix for logging objects with recursion

2008-10-08 - Release Version: 0.2.b.3

- (Issue 43) Notice message in 0.2b2
- Added support for PHP's native json_encode() if available
- Revised object encoder to detect object recursion

2008-10-07 - Release Version: 0.2.b.2

- (Issue 28) Need solution for logging private and protected object variables
- Added trace() and table() aliases in FirePHP class
- (Issue 41) Use PHP doc in FirePHP
- (Issue 39) Static logging method for object oriented API

2008-10-01 - Release Version: 0.2.b.1

- Added support for error and exception handling
- Updated min PHP version for PEAR package to 5.2
- Added version constant for library
- Gave server library it's own wildfire plugin namespace
- Migrated communication protocol to Wildfire JsonStream
- Added support for console groups using "group" and "groupEnd"
- Added support for log, info, warn and error logging aliases
- (Issue 29) problem with TRACE when using with error_handler
- (Issue 33) PHP error notices running demos
- (Issue 12) undefined index php notice
- Removed closing ?> php tags
- (Issue 13) the code in the fb() function has a second return statement that will never be reached

2008-07-30 - Release Version: 0.1.1.3

- Include __className property in JSON string if variable was an object
- Bugfix - Mis-spelt "Exception" in JSON encoding code

2008-06-13 - Release Version: 0.1.1.1

- Bugfix - Standardize windows paths in stack traces
- Bugfix - Display correct stack trace info in windows environments
- Bugfix - Check $_SERVER['HTTP_USER_AGENT'] before returning

2008-06-13 - Release Version: 0.1.1

- Added support for FirePHP::TRACE log style
- Changed license to New BSD License

2008-06-06 - Release Version: 0.0.2

- Bugfix - Added usleep() to header writing loop to ensure unique index
- Bugfix - Ensure chunk_split does not generate trailing "\n" with empty data header
- Added support for FirePHP::TABLE log style
12 changes: 12 additions & 0 deletions lib/FirePHPCore-0.3.2/CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
_______________________________
F i r e P H P C o r e

Current Development
-------------------

Christoph Dorn <[email protected]>
Michael Day <[email protected]>

If you've done work on FirePHPCore and you are not listed here,
please feel free to add yourself.

32 changes: 32 additions & 0 deletions lib/FirePHPCore-0.3.2/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

Version: 0.3.2

------------------------------------------------------
Requirements
------------------------------------------------------

Client Side:

- Firefox - http://www.getfirefox.com/
- Firebug - http://www.getfirebug.com/
- FirePHP - http://www.firephp.org/

Server Side:

- PHP 5 (complete functionality)
- PHP 4 (most functionality)


------------------------------------------------------
Install Tutorial
------------------------------------------------------

http://www.firephp.org/HQ/Install.htm


------------------------------------------------------
Support
------------------------------------------------------

http://forum.firephp.org/

Loading

0 comments on commit 3a11131

Please sign in to comment.