Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fixes #134

jonaswinklerb13ec571f84c
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 84d04bc7a..b508bae13 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -28,6 +28,7 @@ paperless-ng 0.9.7
* The ``document_retagger`` no longer removes inbox tags or tags without matching rules.
* The new configuration option ``PAPERLESS_COOKIE_PREFIX`` allows you to run multiple instances of paperless on different ports.
This option enables you to be logged in into multiple instances by specifying different cookie names for each instance.
+ * Added a small version indicator to the front end.
* Fixes
@@ -38,6 +39,7 @@ paperless-ng 0.9.7
Paperless now assumes A4 paper size for PDF generation if no DPI information is present.
* Documents with empty titles could not be opened from the table view due to the link being empty.
* Fixed an issue with filenames containing special characters such as ``:`` not being accepted for upload.
+ * Fixed issues with thumbnail generation for plain text files.
paperless-ng 0.9.6
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html
index 7876150af..3d315ec32 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.html
+++ b/src-ui/src/app/components/app-frame/app-frame.component.html
@@ -17,6 +17,11 @@
<div class="container-fluid">
<div class="row">
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse" [ngbCollapse]="isMenuCollapsed">
+
+ <div style="position: absolute; bottom: 0; left: 0;" class="text-muted p-1">
+ {{versionString}}
+ </div>
+
<div class="sidebar-sticky pt-3">
<ul class="nav flex-column">
<li class="nav-item">
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.ts b/src-ui/src/app/components/app-frame/app-frame.component.ts
index ef859bf35..c4c00843d 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.ts
+++ b/src-ui/src/app/components/app-frame/app-frame.component.ts
@@ -7,6 +7,7 @@ import { PaperlessDocument } from 'src/app/data/paperless-document';
import { OpenDocumentsService } from 'src/app/services/open-documents.service';
import { SavedViewService } from 'src/app/services/rest/saved-view.service';
import { SearchService } from 'src/app/services/rest/search.service';
+import { environment } from 'src/environments/environment';
import { DocumentDetailComponent } from '../document-detail/document-detail.component';
@Component({
@@ -25,6 +26,8 @@ export class AppFrameComponent implements OnInit, OnDestroy {
) {
}
+ versionString = `${environment.appTitle} ${environment.version}`
+
isMenuCollapsed: boolean = true
closeMenu() {
diff --git a/src-ui/src/environments/environment.prod.ts b/src-ui/src/environments/environment.prod.ts
index 09154dfca..38699670e 100644
--- a/src-ui/src/environments/environment.prod.ts
+++ b/src-ui/src/environments/environment.prod.ts
@@ -1,5 +1,6 @@
export const environment = {
production: true,
apiBaseUrl: "/api/",
- appTitle: "Paperless-ng"
+ appTitle: "Paperless-ng",
+ version: "0.9.7"
};
diff --git a/src-ui/src/environments/environment.ts b/src-ui/src/environments/environment.ts
index 5e4b148dc..29a8f3af6 100644
--- a/src-ui/src/environments/environment.ts
+++ b/src-ui/src/environments/environment.ts
@@ -5,7 +5,8 @@
export const environment = {
production: false,
apiBaseUrl: "http://localhost:8000/api/",
- appTitle: "DEVELOPMENT P-NG"
+ appTitle: "Paperless-ng",
+ version: "DEVELOPMENT"
};
/*