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") {
// Skip encryption
callback(input);
return;
// Encrypt given value for at-rest storage using CryptoJS AES.
// Always return string of form RSA{<ciphertext>} via callback.
try {

View File

@@ -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",

View File

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

View File

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

View File

@@ -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: "--" },

View File

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

View File

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

View File

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