Trenton Holmes
ce2958531a
Corrects the functionality of the webp conversion script
2022-06-10 08:56:25 -07:00
Trenton Holmes
fe9082fda8
Corrects the logic of thumbnail path to account for both getting existing path or building expected path
2022-06-10 07:59:22 -07:00
Trenton Holmes
799d80272e
Adds untested manual conversion command
2022-06-10 07:17:15 -07:00
Trenton Holmes
ea8596b4d2
Minor tweaks to getting the document thumbnail path. Adds text thumbnail as webp
2022-06-10 06:56:28 -07:00
Michael Shamoon
f208f89179
webp thumbnail support with png fallback
2022-06-10 02:28:13 -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
shamoon
49a6813d5e
Merge pull request #1049 from paperless-ngx/bugfix-better-sanity-msgs
...
Bugfix: Better sanity check messages
2022-06-02 11:17:56 -07:00
Trenton Holmes
eec66bcf75
Merge pull request #1032 from pheerai/feature-mailActionCustomTag
...
Feature mail action custom tag
2022-06-02 09:46:34 -07:00
Paperless-ngx Translation Bot [bot]
b748a8148c
New Crowdin updates ( #959 )
...
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations django.po (Dutch)
[ci skip]
* New translations django.po (French)
[ci skip]
* New translations django.po (Romanian)
[ci skip]
* New translations django.po (Spanish)
[ci skip]
* New translations django.po (Belarusian)
[ci skip]
* New translations django.po (Czech)
[ci skip]
* New translations django.po (Greek)
[ci skip]
* New translations django.po (Finnish)
[ci skip]
* New translations django.po (Hebrew)
[ci skip]
* New translations django.po (Italian)
[ci skip]
* New translations django.po (Polish)
[ci skip]
* New translations django.po (Serbian (Latin))
[ci skip]
* New translations django.po (Portuguese)
[ci skip]
* New translations django.po (Russian)
[ci skip]
* New translations django.po (Slovak)
[ci skip]
* New translations django.po (Slovenian)
[ci skip]
* New translations django.po (Swedish)
[ci skip]
* New translations django.po (Turkish)
[ci skip]
* New translations django.po (Chinese Simplified)
[ci skip]
* New translations django.po (Portuguese, Brazilian)
[ci skip]
* New translations django.po (Luxembourgish)
[ci skip]
* New translations django.po (Danish)
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations django.po (German)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations django.po (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
2022-06-01 10:20:51 -07:00
shamoon
93a4bab889
Merge pull request #1058 from paperless-ngx/bugfix-enable-django-q-debug
...
Bugfix: Pass debug setting on to django-q
2022-06-01 09:20:38 -07: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
806a8ced53
Fixes formatting
2022-06-01 08:20:04 -07:00
Trenton Holmes
018cb0b740
Updates the Document str to account for a blank title instead of assuming title will be populated
2022-06-01 08:03:38 -07:00
Trenton Holmes
61e633fe24
Update no content warning to be more clear it is missing OCR content
...
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
2022-06-01 07:44:48 -07:00
Trenton Holmes
741d4fb77f
Removes unused import
2022-06-01 07:43:46 -07:00
Trenton Holmes
efc1e676e2
Updates to use pathlib instead of os.path
2022-05-31 08:42:11 -07:00
Trenton Holmes
4807576dac
Refines the sanity check header, fixes other test issues
2022-05-30 18:21:24 -07:00
Trenton Holmes
37b19ea3ef
Makes the sanity check messages better for users
2022-05-30 17:03:33 -07:00
Oliver Rümpelein
2c878318ab
Add migration for new rule.
2022-05-29 15:22:50 +02:00
Oliver Rümpelein
f2115d89cf
Merge remote-tracking branch 'upstream/dev' into feature-mailActionCustomTag
2022-05-29 13:51:54 +02:00
Oliver Rümpelein
78fa05da9d
Clear cache instead of working around it.
2022-05-27 22:51:32 +02:00
Quinn Casey
d7654e978d
Merge pull request #1008 from paperless-ngx/bugfix-max-pixel-setting
...
Bugfix: Corrects the setting of max pixel size for OCR
2022-05-26 09:12:24 -07:00
Oliver Rümpelein
acd525a9d9
Make test work.
2022-05-26 12:42:20 +02:00
Oliver Rümpelein
164cd19296
Revert all changes to tests, will need a more structured approach.
2022-05-25 20:47:43 +02:00
Oliver Rümpelein
cbb36e8941
Add first draft implementation, test broken.
2022-05-25 19:23:52 +02:00
Michael Shamoon
f6aeb12a95
use force_authenticate in api tests
2022-05-23 23:07:49 -07:00
Trenton Holmes
95bbf47995
Updates to provide the user provided max pixel size to ocrmypdf
2022-05-22 16:56:08 -07:00
Michael Shamoon
59a335ac13
Update django.po
2022-05-19 15:24:43 -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
shamoon
0c8889a1fc
Merge pull request #919 from paperless-ngx/feature-settings-saved-to-db
...
Feature: frontend settings saved to database
2022-05-18 11:33:17 -07:00
Philipp
87866bcab0
Add "Created" as additional (optional) parameter for post_documents ( #965 )
...
* Added "created" as optional parameter for post_documents.
* Fixed Conflict
* After Black Reformatting
* Run "add-trailing-comma"
* The right order between black and trailing comma is important....
* Added required=False
* Adds unit test for optional created in document api POST
* Fixes adding of settings override
* And a mis-added print, sigh
Co-authored-by: Philipp <philipp@invalid.invalid>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
2022-05-18 02:56:32 -07:00
Michael Shamoon
51b552168a
pull frontend lang setting from db if set
2022-05-18 02:41:15 -07:00
Michael Shamoon
099fc21764
Add ui_settings to exporter
2022-05-17 11:13:58 -07:00
Trenton Holmes
cb65c5e6d5
Removes accidental printing left in testing
2022-05-17 11:13:58 -07:00
Trenton Holmes
78b721a817
Makes minor improvements to ui_settings API testing
2022-05-17 11:13:58 -07:00
Michael Shamoon
b7b44bfb4e
Code suggestions
...
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-17 11:13:58 -07:00
Michael Shamoon
8cda57588d
basic python tests
2022-05-17 11:13:19 -07:00
Michael Shamoon
e8ead471a9
Remove post_save receiver
2022-05-17 11:13:19 -07:00
Michael Shamoon
c12e55f54c
Properly get username & display name
2022-05-17 11:13:19 -07:00
Michael Shamoon
67b3473365
Refactor to UiSettings
2022-05-17 11:11:39 -07:00
Michael Shamoon
798c827b0f
fix key constraint error
2022-05-17 11:11:38 -07:00
Michael Shamoon
7fbd2076c3
Basic frontend settings retrieval
2022-05-17 11:11:38 -07:00
Michael Shamoon
fd59b14d88
skeleton frontend_settings api endpoint
2022-05-17 11:11:38 -07:00
Michael Shamoon
e0efcdaa01
frontend settings db migration
2022-05-17 11:11:38 -07:00
Trenton Holmes
7f6edda761
Merge pull request #953 from paperless-ngx/bugfix-intoify-debounce
...
Bugfix: Adds configurable intoify debounce time
2022-05-17 09:25:29 -07:00
shamoon
f7c08bbdd1
Merge pull request #942 from paperless-ngx/bugfix-date-format
...
Bugfix: Fixes document filename date off by 1 issue
2022-05-16 21:47:56 -07:00
Florian Brandes
78cb3430e0
fixes #949 : change to MIME detection for files
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-05-16 17:29:29 +02:00
Trenton Holmes
836373bc3b
Adds configuration variable to the inotify debounce timing
2022-05-15 11:48:12 -07:00
Trenton Holmes
58f3cb9209
Moves the asserts to be closer together
2022-05-14 08:20:55 -07:00
Paperless-ngx Translation Bot [bot]
0ddb073e9b
New Crowdin updates ( #911 )
...
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations django.po (Polish)
[ci skip]
* New translations django.po (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
* New translations messages.xlf (Polish)
[ci skip]
* New translations messages.xlf (Italian)
[ci skip]
* New translations messages.xlf (Luxembourgish)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (Chinese Simplified)
[ci skip]
* New translations messages.xlf (Turkish)
[ci skip]
* New translations messages.xlf (Swedish)
[ci skip]
* New translations messages.xlf (Slovenian)
[ci skip]
* New translations messages.xlf (Slovak)
[ci skip]
* New translations messages.xlf (Portuguese)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Hebrew)
[ci skip]
* New translations messages.xlf (Danish)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Greek)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Czech)
[ci skip]
* New translations messages.xlf (Belarusian)
[ci skip]
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Romanian)
[ci skip]
* New translations messages.xlf (Russian)
[ci skip]
* New translations messages.xlf (French)
[ci skip]
* New translations messages.xlf (Serbian (Latin))
[ci skip]
* New translations messages.xlf (Arabic, Saudi Arabia)
[ci skip]
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
2022-05-13 20:34:51 -07:00