Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
256aa03
- Validar en la edición el ingreso de username existente. - en la li…
vrimada Apr 27, 2026
e576c23
Reporte de audtoria de usuarios
vrimada Apr 27, 2026
ee91db6
Parametrizacion de aceptación de condiciones en cada ingreso
vrimada Apr 27, 2026
293c77a
fix:auditoria de usuario
vrimada Apr 27, 2026
4facec5
LAB-240 urgencias: ocultar boton recordar practicas
vrimada Apr 28, 2026
82d0599
fix sesiones y auditoria
vrimada Apr 28, 2026
6e70dfa
label github
vrimada Apr 28, 2026
8284103
FIX: perfiles
vrimada Apr 29, 2026
bc8319f
Mantenimiento Mayo 1 (#90)
caroPintos May 4, 2026
c99e26c
(LAB-244) Correcion hoja de trabajo (#85)
vrimada May 4, 2026
fb3e141
(LAB-243) Visualizacion de disponibilidad de turnos por efector. (#84)
vrimada May 4, 2026
086be44
- Validar en la edición el ingreso de username existente. - en la li…
vrimada Apr 27, 2026
32ab18d
Reporte de audtoria de usuarios
vrimada Apr 27, 2026
88d423f
Parametrizacion de aceptación de condiciones en cada ingreso
vrimada Apr 27, 2026
cffea2b
fix:auditoria de usuario
vrimada Apr 27, 2026
c60c9e2
LAB-240 urgencias: ocultar boton recordar practicas
vrimada Apr 28, 2026
70d3e5a
fix sesiones y auditoria
vrimada Apr 28, 2026
7d10ead
label github
vrimada Apr 28, 2026
a4e0894
FIX: perfiles
vrimada Apr 29, 2026
6c9ff0b
Merge branch 'LAB-250' of https://github.com/andes/SIL2 into LAB-250
vrimada May 4, 2026
8ed1694
perfiles de usuario. cambio de adm externo a administrador ocutlar labo
vrimada May 5, 2026
67063ac
valores: len 100
vrimada May 6, 2026
5ac241d
len 500
vrimada May 6, 2026
ec6aee1
req8 y correcion reporte
vrimada May 6, 2026
6785d8b
fix: sacar "analisis" de la query porque no se usa para el reporte. e…
vrimada May 7, 2026
f278e70
revertiendo la eliminacion de auditoria de consulta
vrimada May 7, 2026
60f071b
unload
vrimada May 7, 2026
854cddd
fix turnos (#92)
vrimada May 12, 2026
5509a2c
Mantenimiento_Mayo2 (#93)
caroPintos May 12, 2026
88264f9
- Validar en la edición el ingreso de username existente. - en la li…
vrimada Apr 27, 2026
ff278ae
Reporte de audtoria de usuarios
vrimada Apr 27, 2026
6377b08
fix:auditoria de usuario
vrimada Apr 27, 2026
0264e52
fix sesiones y auditoria
vrimada Apr 28, 2026
12336f2
label github
vrimada Apr 28, 2026
99f72c7
req8 y correcion reporte
vrimada May 6, 2026
803df9f
fix: sacar "analisis" de la query porque no se usa para el reporte. e…
vrimada May 7, 2026
9c5756e
revertiendo la eliminacion de auditoria de consulta
vrimada May 7, 2026
d789164
unload
vrimada May 7, 2026
711ae64
Rebaseo con main y resolucion de conflictos
vrimada May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions .github/workflows/label02_has_conflicts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: PR conflict label

on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [master]

permissions:
pull-requests: write
issues: write
contents: read

jobs:
conflicts:
runs-on: ubuntu-latest
steps:
- name: Check conflicts
uses: actions/github-script@v7
with:
script: |
const { owner, repo } = context.repo;

async function checkPR(pr) {
let data;
let retries = 5;
const issue_number = pr.number;

while (retries > 0) {
const response = await github.rest.pulls.get({
owner,
repo,
pull_number: issue_number
});
data = response.data;
console.log(`PR #${issue_number} - mergeable: ${data.mergeable}, state: ${data.mergeable_state}`);

// Si mergeable es null, GitHub aún está calculando
if (data.mergeable !== null) break;

await new Promise(r => setTimeout(r, 5000));
retries--;
}

// Usamos mergeable === false para detectar conflictos reales
if (data.mergeable === false) {
console.log(`Adding "Conflictos" label to PR #${issue_number}`);
await github.rest.issues.addLabels({
owner,
repo,
issue_number,
labels: ['Conflictos']
});
} else if (data.mergeable === true) {
console.log(`Removing "Conflictos" label from PR #${issue_number} (if exists)`);
try {
await github.rest.issues.removeLabel({
owner,
repo,
issue_number,
name: 'Conflictos'
});
} catch (e) {
// label no existía
}
}
}

if (context.eventName === 'pull_request') {
await checkPR(context.payload.pull_request);
}

if (context.eventName === 'push') {
const { data: prs } = await github.rest.pulls.list({
owner,
repo,
state: 'open',
base: 'master'
});

for (const pr of prs) {
await checkPR(pr);
}
}
127 changes: 127 additions & 0 deletions Business/Data/AutoAnalizador/RealItem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/*
insert license info here
*/
using System;
using System.Collections;

namespace Business.Data.AutoAnalizador
{
/// <summary>
/// Generated by MyGeneration using the NHibernate Object Mapping template
/// </summary>
[Serializable]
public sealed class RealItem: Business.BaseDataAccess
{

#region Private Members
private bool m_isChanged;

private int m_idrealitem;
private string m_idreal;
private int m_iditem;
private bool m_habilitado;
#endregion

#region Default ( Empty ) Class Constuctor
/// <summary>
/// default constructor
/// </summary>
public RealItem()
{
m_idrealitem = 0;
m_idreal = String.Empty;
m_iditem = 0;
m_habilitado = false;
}
#endregion // End of Default ( Empty ) Class Constuctor

#region Required Fields Only Constructor
/// <summary>
/// required (not null) fields only constructor
/// </summary>
public RealItem(
string idreal,
int iditem,
bool habilitado)
: this()
{
m_idreal = idreal;
m_iditem = iditem;
m_habilitado = habilitado;
}
#endregion // End Required Fields Only Constructor

#region Public Properties

/// <summary>
///
/// </summary>
public int IdRealItem
{
get { return m_idrealitem; }
set
{
m_isChanged |= (m_idrealitem != value );
m_idrealitem = value;
}

}

/// <summary>
///
/// </summary>
public string IdReal
{
get { return m_idreal; }

set
{
if( value == null )
throw new ArgumentOutOfRangeException("Null value not allowed for IdReal", value, "null");

if( value.Length > 50)
throw new ArgumentOutOfRangeException("Invalid value for IdReal", value, value.ToString());

m_isChanged |= (m_idreal != value); m_idreal = value;
}
}

/// <summary>
///
/// </summary>
public int IdItem
{
get { return m_iditem; }
set
{
m_isChanged |= ( m_iditem != value );
m_iditem = value;
}

}

/// <summary>
///
/// </summary>
public bool Habilitado
{
get { return m_habilitado; }
set
{
m_isChanged |= ( m_habilitado != value );
m_habilitado = value;
}

}

/// <summary>
/// Returns whether or not the object has changed it's values.
/// </summary>
public bool IsChanged
{
get { return m_isChanged; }
}

#endregion
}
}
13 changes: 13 additions & 0 deletions Business/Data/AutoAnalizador/RealItem.hbm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="Business.Data.AutoAnalizador.RealItem,Business" table="LAB_RealItem">

<id name="IdRealItem" column="idRealItem" type="Int32" unsaved-value="0">
<generator class="native"/>
</id>
<property column="idReal" type="String" name="IdReal" not-null="true" length="50" />
<property column="idItem" type="Int32" name="IdItem" not-null="true" />
<property column="habilitado" type="Boolean" name="Habilitado" not-null="true" />

</class>
</hibernate-mapping>
30 changes: 27 additions & 3 deletions Business/Data/Laboratorio/AuditoriaUsuario.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public sealed class AuditoriaUsuario : Business.BaseDataAccess
private string m_accion;
private string m_username;

private int m_idusuarioregistro;
private int m_idusuarioregistro;
private string m_valorNuevo;
private string m_valorAnterior;
#endregion

#region Default ( Empty ) Class Constuctor
Expand Down Expand Up @@ -193,7 +195,29 @@ public bool IsChanged
{
get { return m_isChanged; }
}

#endregion
public string ValorNuevo
{
get { return m_valorNuevo; }
set
{
if (value != null && value.Length > 500)
throw new ArgumentOutOfRangeException("Invalid value for Valor Nuevo", value, value.ToString());

m_isChanged |= (m_valorNuevo != value); m_valorNuevo = value;
}
}

public string ValorAnterior
{
get { return m_valorAnterior; }
set
{
if (value != null && value.Length > 500)
throw new ArgumentOutOfRangeException("Invalid value for Valor Anterior", value, value.ToString());

m_isChanged |= (m_valorAnterior != value); m_valorAnterior = value;
}
}
#endregion
}
}
3 changes: 2 additions & 1 deletion Business/Data/Laboratorio/AuditoriaUsuario.hbm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<property column="accion" type="String" name="Accion" not-null="true" length="400" />

<property column="idUsuarioRegistro" type="Int32" name="IdUsuarioRegistro" not-null="true" />

<property column="valorAnterior" type="String" name="ValorAnterior" length="500" />
<property column="valorNuevo" type="String" name="ValorNuevo" length="500" />
</class>
</hibernate-mapping>
Loading
Loading