Merge branch 'dev' into travis-multiarch-builds

This commit is contained in:
jonaswinkler 2021-01-10 19:27:10 +01:00
commit 8f9aab407d
6 changed files with 13 additions and 3 deletions

View File

@ -53,6 +53,12 @@ PAPERLESS_DBPASS=<password>
Defaults to "paperless". Defaults to "paperless".
PAPERLESS_DBSSLMODE=<mode>
SSL mode to use when connecting to PostgreSQL.
See `the official documentation about sslmode <https://www.postgresql.org/docs/current/libpq-ssl.html>`_.
Default is ``prefer``.
Paths and folders Paths and folders
################# #################

View File

@ -13,6 +13,7 @@
#PAPERLESS_DBNAME=paperless #PAPERLESS_DBNAME=paperless
#PAPERLESS_DBUSER=paperless #PAPERLESS_DBUSER=paperless
#PAPERLESS_DBPASS=paperless #PAPERLESS_DBPASS=paperless
#PAPERLESS_DBSSLMODE=prefer
# Paths and folders # Paths and folders

View File

@ -6,9 +6,11 @@
[style.color]="textColor" [style.color]="textColor"
[style.background]="backgroundColor" [style.background]="backgroundColor"
[clearable]="allowNull" [clearable]="allowNull"
[items]="items"
bindLabel="name"
bindValue="id"
(change)="onChange(value)" (change)="onChange(value)"
(blur)="onTouched()"> (blur)="onTouched()">
<ng-option *ngFor="let i of items" [value]="i.id">{{i.name}}</ng-option>
</ng-select> </ng-select>
<div *ngIf="showPlusButton()" class="input-group-append"> <div *ngIf="showPlusButton()" class="input-group-append">

View File

@ -2,5 +2,5 @@ export const environment = {
production: true, production: true,
apiBaseUrl: "/api/", apiBaseUrl: "/api/",
appTitle: "Paperless-ng", appTitle: "Paperless-ng",
version: "0.9.13" version: "0.9.14"
}; };

View File

@ -253,6 +253,7 @@ if os.getenv("PAPERLESS_DBHOST"):
"NAME": os.getenv("PAPERLESS_DBNAME", "paperless"), "NAME": os.getenv("PAPERLESS_DBNAME", "paperless"),
"USER": os.getenv("PAPERLESS_DBUSER", "paperless"), "USER": os.getenv("PAPERLESS_DBUSER", "paperless"),
"PASSWORD": os.getenv("PAPERLESS_DBPASS", "paperless"), "PASSWORD": os.getenv("PAPERLESS_DBPASS", "paperless"),
'OPTIONS': {'sslmode': os.getenv("PAPERLESS_DBSSLMODE", "prefer")},
} }
if os.getenv("PAPERLESS_DBPORT"): if os.getenv("PAPERLESS_DBPORT"):
DATABASES["default"]["PORT"] = os.getenv("PAPERLESS_DBPORT") DATABASES["default"]["PORT"] = os.getenv("PAPERLESS_DBPORT")

View File

@ -1 +1 @@
__version__ = (0, 9, 13) __version__ = (0, 9, 14)