From 096e4052f0701e91df285fc9dc25521f849ad9a6 Mon Sep 17 00:00:00 2001
From: ValueOn AG
Date: Mon, 2 Jun 2025 23:53:13 +0200
Subject: [PATCH] NextGen FormGeneric
---
modules/interfaces/serviceManagementModel.py | 2 -
notes/changelog.txt | 39 ++++++++++----------
2 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/modules/interfaces/serviceManagementModel.py b/modules/interfaces/serviceManagementModel.py
index d8756542..73b96108 100644
--- a/modules/interfaces/serviceManagementModel.py
+++ b/modules/interfaces/serviceManagementModel.py
@@ -19,7 +19,6 @@ class FileItem(BaseModel, ModelMixin):
mandateId: str = Field(description="ID of the mandate this file belongs to")
filename: str = Field(description="Name of the file")
mimeType: str = Field(description="MIME type of the file")
- workflowId: Optional[str] = Field(None, description="Foreign key to workflow")
fileHash: str = Field(description="Hash of the file")
fileSize: int = Field(description="Size of the file in bytes")
creationDate: str = Field(default_factory=lambda: datetime.now().isoformat(), description="Date when the file was created")
@@ -40,7 +39,6 @@ register_model_labels(
"mandateId": {"en": "Mandate ID", "fr": "ID du mandat"},
"filename": {"en": "Filename", "fr": "Nom de fichier"},
"mimeType": {"en": "MIME Type", "fr": "Type MIME"},
- "workflowId": {"en": "Workflow ID", "fr": "ID du flux de travail"},
"fileHash": {"en": "File Hash", "fr": "Hash du fichier"},
"fileSize": {"en": "File Size", "fr": "Taille du fichier"},
"creationDate": {"en": "Creation Date", "fr": "Date de création"}
diff --git a/notes/changelog.txt b/notes/changelog.txt
index 78b68c11..c959119a 100644
--- a/notes/changelog.txt
+++ b/notes/changelog.txt
@@ -1,39 +1,38 @@
....................... TASKS
FIXES:
-- can you add generic sorting by field and pagination to the table, also to have possibility to move table borders
-now to adapt files.js with following specifics:
-- ADD function: File upload instead of form
+now to adapt users.js with following specifics:
- MandateId not editable, to use user's mandateId
-- Actions: Edit, Delete
+- authenticationAuthority to be "local" authority, not editable
+- Actions: Edit, Delete, Toggle "enabled"
+- Connections: not to render
+- language to select
+- privilege to select
+clean the module and remove legacy code and renderings, as now everything done in formGeneric
-now to adapt files.js with following specifics:
-- ADD function: File upload instead of form
-- MandateId not editable, to use user's mandateId
-- Actions: Edit, Delete
+now to adapt mandates.js with following specifics:
+- Actions: Edit, Delete, Toggle "enabled"
+- language to select
+clean the module and remove legacy code and renderings, as now everything done in formGeneric
+
+
+now to adapt connections.js with following specifics:
+- Actions: Delete, toggle Connect/Disconnect (based on status attribute's value)
+- Adding a new connection has two custom buttons, no form: One to connect to a "google" account and one to connect to a "msft" account. api connectors are already available. New record is produced.
+clean the module and remove legacy code and renderings, as now everything done in formGeneric
-To remove unused functions in files.js and to consolidate it to match new formGeneric.
-
-FormGeneric
-- ADD prompt: no mandateid for new prompt in the form
-- ALLE: After add, modify, delete to reload data new from api
-- ADD User: Kein Passwortfeld, connections noch drin
-- DELETE User: Fehler
-- UPDATE Mandate: enabled als Text statt boolean
-- ADD Mandate: error sending
-- Connections: Missing
-
UAC:
- Users disabled nicht sichtbar!
Workflow:
- Liste der Prompts nicht aktualisiert nach Änderungen in FormGeneric
--
+
+
- diese seite gesucht: "GET /.well-known/appspecific/com.chrome.devtools.json HTTP/1.1" 404 ?