Disable encryption

This commit is contained in:
naielv
2025-12-25 19:31:58 +01:00
parent ee219e1d96
commit fbf0a8c9e4
8 changed files with 3 additions and 8 deletions

View File

@@ -614,6 +614,9 @@ function TS_decrypt(input, secret, callback, table, id) {
} }
} }
function TS_encrypt(input, secret, callback, mode = "RSA") { function TS_encrypt(input, secret, callback, mode = "RSA") {
// Skip encryption
callback(input);
return;
// Encrypt given value for at-rest storage using CryptoJS AES. // Encrypt given value for at-rest storage using CryptoJS AES.
// Always return string of form RSA{<ciphertext>} via callback. // Always return string of form RSA{<ciphertext>} via callback.
try { try {

View File

@@ -134,7 +134,6 @@ PAGES.aulas = {
TS_IndexElement( TS_IndexElement(
"aulas,solicitudes", "aulas,solicitudes",
[ [
{"type": "_encrypted"},
{ {
key: "Solicitante", key: "Solicitante",
type: "persona", type: "persona",
@@ -244,7 +243,6 @@ PAGES.aulas = {
TS_IndexElement( TS_IndexElement(
"aulas,informes", "aulas,informes",
[ [
{"type": "_encrypted"},
{ {
key: "Autor", key: "Autor",
type: "persona", type: "persona",

View File

@@ -173,7 +173,6 @@ PAGES.avisos = {
TS_IndexElement( TS_IndexElement(
"avisos", "avisos",
[ [
{"type": "_encrypted"},
{ {
key: "Origen", key: "Origen",
type: "persona", type: "persona",

View File

@@ -87,7 +87,6 @@ PAGES.comedor = {
TS_IndexElement( TS_IndexElement(
"comedor", "comedor",
[ [
{"type": "_encrypted"},
{ {
key: "Fecha", key: "Fecha",
type: "raw", type: "raw",

View File

@@ -136,7 +136,6 @@ PAGES.materiales = {
`; `;
const config = [ const config = [
{"type": "_encrypted"},
{ key: "Revision", label: "Ult. Revisión", type: "fecha-diff", default: "" }, { key: "Revision", label: "Ult. Revisión", type: "fecha-diff", default: "" },
{ key: "Nombre", label: "Nombre", type: "text", default: "" }, { key: "Nombre", label: "Nombre", type: "text", default: "" },
{ key: "Ubicacion", label: "Ubicación", type: "text", default: "--" }, { key: "Ubicacion", label: "Ubicación", type: "text", default: "--" },

View File

@@ -111,7 +111,6 @@ PAGES.notas = {
TS_IndexElement( TS_IndexElement(
"notas", "notas",
[ [
{"type": "_encrypted"},
{ {
key: "Autor", key: "Autor",
type: "persona-nombre", type: "persona-nombre",

View File

@@ -900,7 +900,6 @@ PAGES.pagos = {
var totals = { ingresos: 0, gastos: 0 }; var totals = { ingresos: 0, gastos: 0 };
const config = [ const config = [
{"type": "_encrypted"},
{ {
key: "Fecha", key: "Fecha",
label: "Fecha/Hora", label: "Fecha/Hora",

View File

@@ -203,7 +203,6 @@ PAGES.personas = {
`; `;
const config = [ const config = [
{"type": "_encrypted"},
// { // {
// label: "Persona", // label: "Persona",
// type: "persona", // type: "persona",