A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
fixes #71
jonaswinklerfcc0cb7293e3
diff --git a/docs/changelog.rst b/docs/changelog.rstindex d6ad73ce2..eef6055c1 100644--- a/docs/changelog.rst+++ b/docs/changelog.rst@@ -8,11 +8,15 @@ Changelogpaperless-ng 0.9.4##################-* Front end: Clickable tags, correspondents and types allow quick filtering for related documents.-* Front end: Saved views are now editable.-* Front end: Preview documents directly in the browser.+* Front end:+ * Clickable tags, correspondents and types allow quick filtering for related documents.+ * Saved views are now editable.+ * Preview documents directly in the browser.+ * Navigation from the dashboard to saved views.+* Fixes:* A severe error when trying to use post consume scripts.+ * An error in the consumer that cause invalid messages of missing files to show up in the log.* The documentation now contains information about bare metal installs.paperless-ng 0.9.3diff --git a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.htmlindex 712e4dec7..2dfbe4481 100644--- a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html+++ b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html@@ -1,6 +1,9 @@<app-widget-frame [title]="savedView.title">- <table class="table table-sm table-hover table-borderless">+ <a header-buttons [routerLink]="" (click)="showAll()">Show all</a>+++ <table content class="table table-sm table-hover table-borderless"><thead><tr><th>Created</th>diff --git a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.ts b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.tsindex 9b124715f..413df0ae4 100644--- a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.ts+++ b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.ts@@ -1,6 +1,8 @@import { Component, Input, OnInit } from '@angular/core';+import { Router } from '@angular/router';import { PaperlessDocument } from 'src/app/data/paperless-document';import { SavedViewConfig } from 'src/app/data/saved-view-config';+import { DocumentListViewService } from 'src/app/services/document-list-view.service';import { DocumentService } from 'src/app/services/rest/document.service';@Component({@@ -10,7 +12,10 @@ import { DocumentService } from 'src/app/services/rest/document.service';})export class SavedViewWidgetComponent implements OnInit {- constructor(private documentService: DocumentService) { }+ constructor(+ private documentService: DocumentService,+ private router: Router,+ private list: DocumentListViewService) { }@Input()savedView: SavedViewConfig@@ -23,4 +28,9 @@ export class SavedViewWidgetComponent implements OnInit {})}+ showAll() {+ this.list.load(this.savedView)+ this.router.navigate(["documents"])+ }+}diff --git a/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html b/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.htmlindex 693935290..50d844b36 100644--- a/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html+++ b/src-ui/src/app/components/dashboard/widgets/statistics-widget/statistics-widget.component.html@@ -1,4 +1,6 @@<app-widget-frame title="Statistics">- <p class="card-text">Documents in inbox: {{statistics.documents_inbox}}</p>- <p class="card-text">Total documents: {{statistics.documents_total}}</p>+ <ng-container content>+ <p class="card-text">Documents in inbox: {{statistics.documents_inbox}}</p>+ <p class="card-text">Total documents: {{statistics.documents_total}}</p>+ </ng-container></app-widget-frame>\ No newline at end of filediff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.htmlindex fa7faab31..cb114e49e 100644--- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html+++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html@@ -1,6 +1,6 @@<app-widget-frame title="Upload new documents">- <form>+ <form content><ngx-file-dropdropZoneLabel="Drop documents here or" (onFileDrop)="dropped($event)"(onFileOver)="fileOver($event)" (onFileLeave)="fileLeave($event)"diff --git a/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.html b/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.htmlindex 3d45ae6fb..d0f637935 100644--- a/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.html+++ b/src-ui/src/app/components/dashboard/widgets/widget-frame/widget-frame.component.html@@ -1,8 +1,12 @@<div class="card mb-3 shadow"><div class="card-header">- <h5 class="card-title mb-0">{{title}}</h5>+ <div class="d-flex justify-content-between align-items-center">+ <h5 class="card-title mb-0">{{title}}</h5>+ <ng-content select ="[header-buttons]"></ng-content>+ </div>+</div><div class="card-body text-dark">- <ng-content></ng-content>+ <ng-content select ="[content]"></ng-content></div></div>\ No newline at end of file