A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix: complete load with native PDF viewer (#8699)
shamoon1d5e7e930e1d
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlfindex 531a90fe0..8f906be21 100644--- a/src-ui/messages.xlf+++ b/src-ui/messages.xlf@@ -2232,7 +2232,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">919</context>+ <context context-type="linenumber">922</context></context-group></trans-unit><trans-unit id="7266264608936522311" datatype="html">@@ -2509,19 +2509,19 @@</context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">943</context>+ <context context-type="linenumber">946</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">1250</context>+ <context context-type="linenumber">1253</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">1289</context>+ <context context-type="linenumber">1292</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">1330</context>+ <context context-type="linenumber">1333</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -3115,7 +3115,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">896</context>+ <context context-type="linenumber">899</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -6205,7 +6205,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">1307</context>+ <context context-type="linenumber">1310</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/guards/dirty-saved-view.guard.ts</context>@@ -6566,50 +6566,50 @@<source>Error retrieving metadata</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">630</context>+ <context context-type="linenumber">633</context></context-group></trans-unit><trans-unit id="3456881259945295697" datatype="html"><source>Error retrieving suggestions.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">659</context>+ <context context-type="linenumber">662</context></context-group></trans-unit><trans-unit id="8348337312757497317" datatype="html"><source>Document saved successfully.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">810</context>+ <context context-type="linenumber">813</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">824</context>+ <context context-type="linenumber">827</context></context-group></trans-unit><trans-unit id="448882439049417053" datatype="html"><source>Error saving document</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">828</context>+ <context context-type="linenumber">831</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">869</context>+ <context context-type="linenumber">872</context></context-group></trans-unit><trans-unit id="8410796510716511826" datatype="html"><source>Do you really want to move the document "<x id="PH" equiv-text="this.document.title"/>" to the trash?</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">897</context>+ <context context-type="linenumber">900</context></context-group></trans-unit><trans-unit id="282586936710748252" datatype="html"><source>Documents can be restored prior to permanent deletion.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">898</context>+ <context context-type="linenumber">901</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -6620,7 +6620,7 @@<source>Move to trash</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">900</context>+ <context context-type="linenumber">903</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -6631,7 +6631,7 @@<source>Reprocess confirm</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">939</context>+ <context context-type="linenumber">942</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -6642,70 +6642,70 @@<source>This operation will permanently recreate the archive file for this document.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">940</context>+ <context context-type="linenumber">943</context></context-group></trans-unit><trans-unit id="302054111564709516" datatype="html"><source>The archive file will be re-generated with the current settings.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">941</context>+ <context context-type="linenumber">944</context></context-group></trans-unit><trans-unit id="1192507664585066165" datatype="html"><source>Reprocess operation will begin in the background. Close and re-open or reload this document after the operation has completed to see new content.</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">951</context>+ <context context-type="linenumber">954</context></context-group></trans-unit><trans-unit id="4409560272830824468" datatype="html"><source>Error executing operation</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">962</context>+ <context context-type="linenumber">965</context></context-group></trans-unit><trans-unit id="4458954481601077369" datatype="html"><source>Page Fit</source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1035</context>+ <context context-type="linenumber">1038</context></context-group></trans-unit><trans-unit id="1217563727923422413" datatype="html"><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">1248</context>+ <context context-type="linenumber">1251</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">1249</context>+ <context context-type="linenumber">1252</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">1265</context>+ <context context-type="linenumber">1268</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">1274</context>+ <context context-type="linenumber">1277</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">1287</context>+ <context context-type="linenumber">1290</context></context-group><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.ts</context>@@ -6716,60 +6716,60 @@<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">1288</context>+ <context context-type="linenumber">1291</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">1304</context>+ <context context-type="linenumber">1307</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">1316</context>+ <context context-type="linenumber">1319</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">1328</context>+ <context context-type="linenumber">1331</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">1329</context>+ <context context-type="linenumber">1332</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">1344</context>+ <context context-type="linenumber">1347</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">1353</context>+ <context context-type="linenumber">1356</context></context-group></trans-unit><trans-unit id="6085793215710522488" datatype="html"><source>An error occurred loading tiff: <x id="PH" equiv-text="err.toString()"/></source><context-group purpose="location"><context context-type="sourcefile">src/app/components/document-detail/document-detail.component.ts</context>- <context context-type="linenumber">1393</context>+ <context context-type="linenumber">1396</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">1397</context>+ <context context-type="linenumber">1400</context></context-group></trans-unit><trans-unit id="4958946940233632319" datatype="html">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 751dc0e11..88e719005 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@@ -620,7 +620,10 @@ export class DocumentDetailComponent.subscribe({next: (result) => {this.metadata = result- if (this.archiveContentRenderType !== ContentRenderType.PDF) {+ if (+ this.archiveContentRenderType !== ContentRenderType.PDF ||+ this.useNativePdfViewer+ ) {this.previewLoaded = true}},