310 Commits

Author SHA1 Message Date
Trenton Holmes
ef6ebf9888 Entirely removes the optipng, updates ghostscript fall back to also use WebP. Updates the conversion to use a multiprocessing pool 2022-06-11 08:38:49 -07:00
Adam H
32d5accd06 Longer (5 vs 0.2s) guard_cycle for Django-Q
To reduce average CPU load. Given paperless is mostly idling and when not, just spawns long-running operations (e.g., OCR), a 0.2s health-check of the Django-Q cluster is unnecessary. See also #1084
2022-06-04 10:12:53 +10:00
Trenton Holmes
50b24cec9a If debug mode is enabled, also pass this setting on to django-q 2022-06-01 08:59:20 -07:00
Trenton Holmes
95bbf47995 Updates to provide the user provided max pixel size to ocrmypdf 2022-05-22 16:56:08 -07:00
Markus
dd3b5c129c Feature: Dynamic document storage pathes (#916)
* Added devcontainer

* Add feature storage pathes

* Exclude tests and add versioning

* Check escaping

* Check escaping

* Check quoting

* Echo

* Escape

* Escape :

* Double escape \

* Escaping

* Remove if

* Escape colon

* Missing \

* Esacpe :

* Escape all

* test

* Remove sed

* Fix exclude

* Remove SED command

* Add LD_LIBRARY_PATH

* Adjusted to v1.7

* Updated test-cases

* Remove devcontainer

* Removed internal build-file

* Run pre-commit

* Corrected flak8 error

* Adjusted to v1.7

* Updated test-cases

* Corrected flak8 error

* Adjusted to new plural translations

* Small adjustments due to code-review backend

* Adjusted line-break

* Removed PAPERLESS prefix from settings variables

* Corrected style change due to search+replace

* First documentation draft

* Revert changes to Pipfile

* Add sphinx-autobuild with keep-outdated

* Revert merge error that results in wrong storage path is evaluated

* Adjust styles of generated files ...

* Adds additional testing to cover dynamic storage path functionality

* Remove unnecessary condition

* Add hint to edit storage path dialog

* Correct spelling of pathes to paths

* Minor documentation tweaks

* Minor typo

* improving wrapping of filter editor buttons with new storage path button

* Update .gitignore

* Fix select border radius in non input-groups

* Better storage path edit hint

* Add note to edit storage path dialog re document_renamer

* Add note to bulk edit storage path re document_renamer

* Rename FILTER_STORAGE_DIRECTORY to PATH

* Fix broken filter rule parsing

* Show default storage if unspecified

* Remove note re storage path on bulk edit

* Add basic validation of filename variables

Co-authored-by: Markus Kling <markus@markus-kling.net>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
2022-05-19 14:42:25 -07:00
Trenton Holmes
836373bc3b Adds configuration variable to the inotify debounce timing 2022-05-15 11:48:12 -07:00
Trenton Holmes
304d5b0d5a Updates the ignore date parsing to utilize the settings defined date order, instead of guessing a bit 2022-05-08 16:57:35 -07:00
Trenton Holmes
a944ef1ca6 Adds additional testing for both date parsing and consumed document created date 2022-05-08 16:57:35 -07:00
Quinn Casey
2dbd8e3430 Merge pull request #766 from paperless-ngx/feature-barcode-tiff-support
Feature barcode tiff support
2022-04-27 19:46:16 -07:00
Florian Brandes
40d1412e5e add TIFF barcode support
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-16 21:59:03 +02:00
Florian Brandes
007f3699a2 add "localhost" to ALLOWED_HOSTS
if PAPERLESS_URL is set and ALLOWED_HOSTS is NOT set

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-12 14:39:08 +02:00
Florian
a90d3bda14 Merge pull request #532 from paperless-ngx/feature-barcode-splitter
Feature barcode splitter
2022-04-11 08:51:48 +02:00
Michael Shamoon
eb7cc30394 add PAPERLESS_URL env variable for CSRF 2022-04-08 00:27:53 -07:00
Trenton Holmes
40b09d51b5 Merge pull request #501 from stumpylog/configure-worker-retry
Adds settings for worker retry time
2022-04-07 15:24:53 -07:00
Florian Brandes
e4095180fe set barcode reader default to disabled
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
florian on nixos (Florian Brandes)
e34bd748fc add config options and documentation
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Felix E
7df81f6a15 Merge pull request #591 from paperless-ngx/feature-version-checker
Feature: Update checker
2022-04-05 20:11:21 +02:00
Michael Shamoon
e48c3f5fcf Remove unused default 2022-04-04 07:05:00 -07:00
Michael Shamoon
106ab3fa7c Allow notify user if update checking not explicitly set 2022-04-02 10:10:49 -07:00
Michael Shamoon
703abae41a Add config variable for update check 2022-04-02 01:33:51 -07:00
Trenton Holmes
f389a29875 Fixes a couple of minor bugs in the downloading of documents and additional consumer ignore items 2022-04-01 11:12:18 -07:00
Michael Shamoon
6affde021b Add Belarusian localization 2022-03-31 19:42:08 -07:00
Trenton Holmes
c48c35fa05 Adds settings for worker retry time, with what should be sensible default 2022-03-31 10:24:46 -07:00
Henning Häcker
950efbe8cb add trailing comma 2022-03-30 09:23:45 +02:00
Henning Häcker
d2d09c2fc7 use double quotes 2022-03-30 09:23:45 +02:00
Henning Häcker
79e0de8fb3 fix default value for OCR_MAX_IMAGE_PIXELS 2022-03-30 09:23:45 +02:00
Henning Häcker
f4a0d8c040 extract OCR_MAX_IMAGE_PIXELS into settings.py 2022-03-30 09:23:45 +02:00
Michael Shamoon
920b03250b Add Turkish localization 2022-03-26 13:52:15 -07:00
Michael Shamoon
d89c005246 Add Serbian localization 2022-03-22 22:26:59 -07:00
Michael Shamoon
f843487081 Add Chinese localization
Addresses https://github.com/paperless-ngx/paperless-ngx/issues/134#issuecomment-1062950795
2022-03-13 14:26:52 -07:00
Michael Shamoon
1396825b95 Add Slovenian language for frontend
See #303
2022-03-13 09:15:42 -07:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
shamoon
96b6c94e42 Merge pull request #24 from tribut/feature-trash
Add temporary "delete to trash" functionality
2022-02-21 11:19:57 -08:00
Michel Weimerskirch
20865d7567 Enabled the Czech (cs-cz) translations 2022-02-18 09:39:06 +01:00
Michel Weimerskirch
7c85ae2784 Enabled the Danish (da-dk) translations 2022-02-18 09:18:04 +01:00
Michel Weimerskirch
36e134d3be Sort language lists by locale 2022-02-18 08:02:00 +01:00
Johann Bauer
41cd8b5565 Make Worker Timeout Configurable (#37)
* Make Worker Timeout Configurable

- defaults to 1800 seconds
- can be configured through environment for systems with weaker CPUs
- description added to documentation

Co-authored-by: evilsidekick <>
2022-02-15 20:28:08 +01:00
Felix Eckhofer
d38556cfd8 Add PAPERLESS_LOGOUT_REDIRECT_URL
When set, the user is redirected to this URL after a logout. Especially
useful in conjunction with PAPERLESS_ENABLE_HTTP_REMOTE_USER and SSO.
2021-08-26 18:40:12 +02:00
Felix Eckhofer
feed3ddfcf Add PAPERLESS_TRASH_DIR
When set, original files are moved here instead of being permanently
removed when a document is deleted.
2021-08-24 12:50:13 +02:00
Daniel Albers
bc685e8edb Make ignores configurable
Adds config file setting PAPERLESS_CONSUMER_IGNORE_PATTERNS.
2021-08-18 22:23:18 +02:00
Michel Weimerskirch
bcd801b47b Added support for Luxembourgish (lb_LU) as an interface language 2021-07-16 16:43:55 +02:00
jonaswinkler
215a36f15b update django-q 2021-06-13 15:43:32 +02:00
puuu
3d21a479e5 Fix serving static files under root_path 2021-05-14 18:14:59 +09:00
puuu
225dc0e9df Introduce BASE_URL, make LOGIN_URL and STATIC_URL work with subpath 2021-05-14 14:44:13 +09:00
Jonas Winkler
16b3f0b4b3 add swedish locale 2021-05-04 17:01:39 +02:00
jonaswinkler
3ca62be8e8 changes for django 3.2 2021-04-17 16:00:29 +02:00
jonaswinkler
131a897453 add pl-PL locale 2021-04-17 13:41:26 +02:00
jonaswinkler
4ff4ddc578 added pt-pt locale 2021-03-17 22:32:39 +01:00
jonaswinkler
959f39d843 Add spanish locale 2021-03-14 13:34:14 +01:00