From 51e96b5bc3f582f40fa597cdd516011bd1a7058f Mon Sep 17 00:00:00 2001 From: Rashmi Date: Wed, 14 Jan 2026 15:37:42 +0530 Subject: [PATCH 1/3] trend micro changes --- app/_i18n/i18n.properties | 4 +- app/common.cds | 117 +++++++++++++------ db/data/sap.attachments-UploadScanStates.csv | 6 + 3 files changed, 90 insertions(+), 37 deletions(-) create mode 100644 db/data/sap.attachments-UploadScanStates.csv diff --git a/app/_i18n/i18n.properties b/app/_i18n/i18n.properties index 20109968..4fa82a6f 100644 --- a/app/_i18n/i18n.properties +++ b/app/_i18n/i18n.properties @@ -110,4 +110,6 @@ URL=URL GeneralInformation=General Information #XFLD,50: Label for a section -Attachments=Attachments \ No newline at end of file +Attachments=Attachments +uploadStatus=Upload Status +type=Type \ No newline at end of file diff --git a/app/common.cds b/app/common.cds index 15d6d49b..57a455a9 100644 --- a/app/common.cds +++ b/app/common.cds @@ -73,11 +73,16 @@ annotate my.Books.attachments with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Attachments', @@ -154,11 +159,16 @@ annotate my.Books.references with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Attachments', @@ -229,11 +239,16 @@ annotate my.Books.footnotes with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Attachments', @@ -304,11 +319,16 @@ annotate my.Chapters.attachments with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Attachments', @@ -378,11 +398,16 @@ annotate my.Chapters.references with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy References', @@ -452,11 +477,16 @@ annotate my.Chapters.footnotes with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Footnotes', @@ -526,11 +556,16 @@ annotate my.Pages.attachments with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Attachments', @@ -600,11 +635,16 @@ annotate my.Pages.references with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy References', @@ -674,11 +714,16 @@ annotate my.Pages.footnotes with @UI: { }, LineItem : [ {Value: type, @HTML5.CssDefaults: {width: '10%'}}, - {Value: fileName, @HTML5.CssDefaults: {width: '25%'}}, + {Value: fileName, @HTML5.CssDefaults: {width: '20%'}}, {Value: content, @HTML5.CssDefaults: {width: '0%'}}, - {Value: createdAt, @HTML5.CssDefaults: {width: '20%'}}, - {Value: createdBy, @HTML5.CssDefaults: {width: '20%'}}, - {Value: note, @HTML5.CssDefaults: {width: '25%'}}, + {Value: createdAt, @HTML5.CssDefaults: {width: '15%'}}, + {Value: createdBy, @HTML5.CssDefaults: {width: '15%'}}, + {Value: note, @HTML5.CssDefaults: {width: '20%'}}, + { + Value : uploadStatus, + Criticality: uploadStatusNav.criticality, + @Common.FieldControl: #ReadOnly, + @HTML5.CssDefaults: {width: '20%'} }, { $Type : 'UI.DataFieldForAction', Label : 'Copy Footnotes', diff --git a/db/data/sap.attachments-UploadScanStates.csv b/db/data/sap.attachments-UploadScanStates.csv new file mode 100644 index 00000000..8432b60d --- /dev/null +++ b/db/data/sap.attachments-UploadScanStates.csv @@ -0,0 +1,6 @@ +code;name;criticality +uploading;Uploading;5 +Success;Success;3 +Failed;Scan failed;2 +VirusDetected;Virus Detected;1 +VirusScanInprogress;Virus Scan In Progress(refresh page);5 \ No newline at end of file From 9d7d3d603d115f9763fb4f769bee5a0c6bbccabd Mon Sep 17 00:00:00 2001 From: Rashmi Date: Wed, 14 Jan 2026 15:49:55 +0530 Subject: [PATCH 2/3] trend micro changes --- db/data/sap.attachments-UploadScanStates.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/data/sap.attachments-UploadScanStates.csv b/db/data/sap.attachments-UploadScanStates.csv index 8432b60d..9d56ff14 100644 --- a/db/data/sap.attachments-UploadScanStates.csv +++ b/db/data/sap.attachments-UploadScanStates.csv @@ -3,4 +3,4 @@ uploading;Uploading;5 Success;Success;3 Failed;Scan failed;2 VirusDetected;Virus Detected;1 -VirusScanInprogress;Virus Scan In Progress(refresh page);5 \ No newline at end of file +VirusScanInprogress;Virus Scan In Progress;5 \ No newline at end of file From 9f2636daae86634b116398e4524fc370b95e2f4b Mon Sep 17 00:00:00 2001 From: Rashmi Date: Wed, 14 Jan 2026 22:28:55 +0530 Subject: [PATCH 3/3] trend micro changes --- db/data/sap.attachments-UploadScanStates.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/data/sap.attachments-UploadScanStates.csv b/db/data/sap.attachments-UploadScanStates.csv index 9d56ff14..8432b60d 100644 --- a/db/data/sap.attachments-UploadScanStates.csv +++ b/db/data/sap.attachments-UploadScanStates.csv @@ -3,4 +3,4 @@ uploading;Uploading;5 Success;Success;3 Failed;Scan failed;2 VirusDetected;Virus Detected;1 -VirusScanInprogress;Virus Scan In Progress;5 \ No newline at end of file +VirusScanInprogress;Virus Scan In Progress(refresh page);5 \ No newline at end of file