A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Enhancement: larger previews in action dialogs (#8387)
shamoond1a4c1f2eb73
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex 33e9aacb8..7e828b278 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -2581,15 +2581,15 @@</context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1170</context>+ <context context-type="linenumber">1171</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1208</context>+ <context context-type="linenumber">1210</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1249</context>+ <context context-type="linenumber">1251</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -3293,7 +3293,7 @@<source>Delete original document after successful split</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html</context>- <context context-type="linenumber">49</context>+ <context context-type="linenumber">51</context></context-group></trans-unit><trans-unit id="2509141182388535183" datatype="html">@@ -6209,7 +6209,7 @@</context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1226</context>+ <context context-type="linenumber">1228</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/guards/dirty-saved-view.guard.ts</context>@@ -6670,88 +6670,88 @@<source>Split confirm</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1168</context>+ <context context-type="linenumber">1169</context></context-group></trans-unit><trans-unit id="2805304563009985503" datatype="html"><source>This operation will split the selected document(s) into new documents.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1169</context>+ <context context-type="linenumber">1170</context></context-group></trans-unit><trans-unit id="4158171846914923744" datatype="html"><source>Split operation will begin in the background.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1185</context>+ <context context-type="linenumber">1186</context></context-group></trans-unit><trans-unit id="3235014591864339926" datatype="html"><source>Error executing split operation</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1194</context>+ <context context-type="linenumber">1195</context></context-group></trans-unit><trans-unit id="6555329262222566158" datatype="html"><source>Rotate confirm</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1206</context>+ <context context-type="linenumber">1208</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>- <context context-type="linenumber">787</context>+ <context context-type="linenumber">788</context></context-group></trans-unit><trans-unit id="857641176955257111" datatype="html"><source>This operation will permanently rotate the original version of the current document.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1207</context>+ <context context-type="linenumber">1209</context></context-group></trans-unit><trans-unit id="4069543875319587651" datatype="html"><source>Rotation will begin in the background. Close and re-open the document after the operation has completed to see the changes.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1223</context>+ <context context-type="linenumber">1225</context></context-group></trans-unit><trans-unit id="2962674215361798818" datatype="html"><source>Error executing rotate operation</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1235</context>+ <context context-type="linenumber">1237</context></context-group></trans-unit><trans-unit id="3539261415918606512" datatype="html"><source>Delete pages confirm</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1247</context>+ <context context-type="linenumber">1249</context></context-group></trans-unit><trans-unit id="5854352498125813866" datatype="html"><source>This operation will permanently delete the selected pages from the original document.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1248</context>+ <context context-type="linenumber">1250</context></context-group></trans-unit><trans-unit id="8617528702531167646" datatype="html"><source>Delete pages operation will begin in the background. Close and re-open or reload this document after the operation has completed to see the changes.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1263</context>+ <context context-type="linenumber">1265</context></context-group></trans-unit><trans-unit id="1249139200486584973" datatype="html"><source>Error executing delete pages operation</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1272</context>+ <context context-type="linenumber">1274</context></context-group></trans-unit><trans-unit id="4958946940233632319" datatype="html">@@ -7096,13 +7096,6 @@</trans-unit><trans-unit id="6390006284731990222" datatype="html"><source>This operation will permanently rotate the original version of <x id="PH" equiv-text="this.list.selected.size"/> document(s).</source>- <context-group purpose="location">- <context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>- <context context-type="linenumber">788</context>- </context-group>- </trans-unit>- <trans-unit id="4233432423256408453" datatype="html">- <source>This will alter the original copy.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context><context context-type="linenumber">789</context>diff --git a/src-ui/src/app/components/common/confirm-dialog/delete-pages-confirm-dialog/delete-pages-confirm-dialog.component.scss b/src-ui/src/app/components/common/confirm-dialog/delete-pages-confirm-dialog/delete-pages-confirm-dialog.component.scssindex f74de973d..4ddd79bfa 100644--- a/src-ui/src/app/components/common/confirm-dialog/delete-pages-confirm-dialog/delete-pages-confirm-dialog.component.scss+++ b/src-ui/src/app/components/common/confirm-dialog/delete-pages-confirm-dialog/delete-pages-confirm-dialog.component.scss@@ -1,6 +1,6 @@.pdf-viewer-container {background-color: gray;- height: 350px;+ height: 550px;pdf-viewer {width: 100%;diff --git a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.htmlindex 7fb68218a..47e4c137c 100644--- a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html+++ b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.html@@ -6,7 +6,7 @@<div class="modal-body"><p>{{message}}</p><div class="row mb-2">- <div class="col-8">+ <div class="col-7"><div class="input-group input-group-sm"><div class="input-group-text" i18n>Page</div><input class="form-control" type="number" min="1" [(ngModel)]="page" />@@ -21,7 +21,7 @@</pdf-viewer></div></div>- <div class="col-4">+ <div class="col-5"><div class="d-grid"><button class="btn btn-sm btn-primary" (click)="addSplit()" [disabled]="!canSplit"><i-bs name="plus-circle"></i-bs> @@ -44,12 +44,12 @@</ul></div></div>- <div class="form-check form-switch mt-4">+</div>+<div class="modal-footer">+ <div class="form-check form-switch me-auto"><input class="form-check-input" type="checkbox" role="switch" id="deleteOriginalSwitch" [(ngModel)]="deleteOriginal" [disabled]="!userOwnsDocument"><label class="form-check-label" for="deleteOriginalSwitch" i18n>Delete original document after successful split</label></div>-</div>-<div class="modal-footer"><button type="button" class="btn" [class]="cancelBtnClass" (click)="cancel()" [disabled]="!buttonsEnabled"><span class="d-inline-block" style="padding-bottom: 1px;">{{cancelBtnCaption}}</span></button>diff --git a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.scss b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.scssindex e9d62c42b..9b8df66c5 100644--- a/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.scss+++ b/src-ui/src/app/components/common/confirm-dialog/split-confirm-dialog/split-confirm-dialog.component.scss@@ -1,6 +1,6 @@.pdf-viewer-container {background-color: gray;- height: 350px;+ height: 500px;pdf-viewer {width: 100%;diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.tsindex 6ea625651..2842509fc 100644--- a/src-ui/src/app/components/document-detail/document-detail.component.ts+++ b/src-ui/src/app/components/document-detail/document-detail.component.ts@@ -1164,6 +1164,7 @@ export class DocumentDetailComponentsplitDocument() {let modal = this.modalService.open(SplitConfirmDialogComponent, {backdrop: 'static',+ size: 'lg',})modal.componentInstance.title = $localize`Split confirm`modal.componentInstance.messageBold = $localize`This operation will split the selected document(s) into new documents.`@@ -1202,6 +1203,7 @@ export class DocumentDetailComponentrotateDocument() {let modal = this.modalService.open(RotateConfirmDialogComponent, {backdrop: 'static',+ size: 'lg',})modal.componentInstance.title = $localize`Rotate confirm`modal.componentInstance.messageBold = $localize`This operation will permanently rotate the original version of the current document.`diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.tsindex f823fe2bb..6892cc823 100644--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.ts@@ -782,11 +782,11 @@ export class BulkEditorComponentrotateSelected() {let modal = this.modalService.open(RotateConfirmDialogComponent, {backdrop: 'static',+ size: 'lg',})const rotateDialog = modal.componentInstance as RotateConfirmDialogComponentrotateDialog.title = $localize`Rotate confirm`rotateDialog.messageBold = $localize`This operation will permanently rotate the original version of ${this.list.selected.size} document(s).`- rotateDialog.message = $localize`This will alter the original copy.`rotateDialog.btnClass = 'btn-danger'rotateDialog.btnCaption = $localize`Proceed`rotateDialog.documentID = Array.from(this.list.selected)[0]