From fbf0a8c9e4f30da167f13c76da8b9703016353bc Mon Sep 17 00:00:00 2001 From: naielv <109038805+naielv@users.noreply.github.com> Date: Thu, 25 Dec 2025 19:31:58 +0100 Subject: [PATCH] Disable encryption --- src/app_modules.js | 3 +++ src/page/aulas.js | 2 -- src/page/avisos.js | 1 - src/page/comedor.js | 1 - src/page/materiales.js | 1 - src/page/notas.js | 1 - src/page/pagos.js | 1 - src/page/personas.js | 1 - 8 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/app_modules.js b/src/app_modules.js index c55837d..ebe4256 100644 --- a/src/app_modules.js +++ b/src/app_modules.js @@ -614,6 +614,9 @@ function TS_decrypt(input, secret, callback, table, id) { } } function TS_encrypt(input, secret, callback, mode = "RSA") { + // Skip encryption + callback(input); + return; // Encrypt given value for at-rest storage using CryptoJS AES. // Always return string of form RSA{} via callback. try { diff --git a/src/page/aulas.js b/src/page/aulas.js index e71dffb..2f050ec 100644 --- a/src/page/aulas.js +++ b/src/page/aulas.js @@ -134,7 +134,6 @@ PAGES.aulas = { TS_IndexElement( "aulas,solicitudes", [ - {"type": "_encrypted"}, { key: "Solicitante", type: "persona", @@ -244,7 +243,6 @@ PAGES.aulas = { TS_IndexElement( "aulas,informes", [ - {"type": "_encrypted"}, { key: "Autor", type: "persona", diff --git a/src/page/avisos.js b/src/page/avisos.js index 69dd705..1e76163 100644 --- a/src/page/avisos.js +++ b/src/page/avisos.js @@ -173,7 +173,6 @@ PAGES.avisos = { TS_IndexElement( "avisos", [ - {"type": "_encrypted"}, { key: "Origen", type: "persona", diff --git a/src/page/comedor.js b/src/page/comedor.js index 2738681..ec62209 100644 --- a/src/page/comedor.js +++ b/src/page/comedor.js @@ -87,7 +87,6 @@ PAGES.comedor = { TS_IndexElement( "comedor", [ - {"type": "_encrypted"}, { key: "Fecha", type: "raw", diff --git a/src/page/materiales.js b/src/page/materiales.js index f79450d..f5e4bec 100644 --- a/src/page/materiales.js +++ b/src/page/materiales.js @@ -136,7 +136,6 @@ PAGES.materiales = { `; const config = [ - {"type": "_encrypted"}, { key: "Revision", label: "Ult. Revisión", type: "fecha-diff", default: "" }, { key: "Nombre", label: "Nombre", type: "text", default: "" }, { key: "Ubicacion", label: "Ubicación", type: "text", default: "--" }, diff --git a/src/page/notas.js b/src/page/notas.js index bf85243..b2f9513 100644 --- a/src/page/notas.js +++ b/src/page/notas.js @@ -111,7 +111,6 @@ PAGES.notas = { TS_IndexElement( "notas", [ - {"type": "_encrypted"}, { key: "Autor", type: "persona-nombre", diff --git a/src/page/pagos.js b/src/page/pagos.js index 47eeffc..f8296d6 100644 --- a/src/page/pagos.js +++ b/src/page/pagos.js @@ -900,7 +900,6 @@ PAGES.pagos = { var totals = { ingresos: 0, gastos: 0 }; const config = [ - {"type": "_encrypted"}, { key: "Fecha", label: "Fecha/Hora", diff --git a/src/page/personas.js b/src/page/personas.js index 986a913..ba863b4 100644 --- a/src/page/personas.js +++ b/src/page/personas.js @@ -203,7 +203,6 @@ PAGES.personas = { `; const config = [ - {"type": "_encrypted"}, // { // label: "Persona", // type: "persona",