2747 Commits

Author SHA1 Message Date
shamoon
bcf81f0a0d Fixes tests broken by #3721 2023-06-30 08:36:47 -07:00
Andreas Brett
44bb90da88 fixed typo
full stop should be outside of the quoted IP address
2023-06-30 15:11:14 +02:00
shamoon
fa75781c34 Migrate encrypted png thumbnails to webp 2023-06-29 13:21:15 -07:00
shamoon
67cd8e8352 Bumps version to 1.16.5 2023-06-27 14:51:49 -07:00
shamoon
35285b35df Adding explicit doc permissions test 2023-06-27 10:53:48 -07:00
Bastian Machek
324e30bd4b Feature: support barcode upscaling for better detection of small barcodes (#3655) 2023-06-27 10:18:47 -07:00
shamoon
b7d99ab8f3 Fix owner removed when set_permissions passed 2023-06-27 01:41:20 -07:00
shamoon
312cb165d8 Bumps version to 1.16.4 2023-06-26 11:25:18 -07:00
Paperless-ngx Bot [bot]
0e6d40270a New translations messages.xlf (Spanish) (#3659)
[ci skip]
2023-06-26 09:58:12 -07:00
Trenton H
97d9edda96 Updates tika client library and handle the changes to it 2023-06-26 10:41:05 -06:00
Trenton H
fe9874a96a Fixes generation of thumbnails when the archive file hasn't already been created 2023-06-26 10:36:50 -06:00
shamoon
6e9be0ba9b Include global and object-level permissions in export / import
adds test for transaction
2023-06-23 23:33:36 -07:00
Paperless-ngx Bot [bot]
1fc9559677 New Crowdin updates (#3654)
* New translations messages.xlf (Spanish)
[ci skip]

* New translations django.po (Chinese Simplified)
[ci skip]

* New translations messages.xlf (Chinese Simplified)
[ci skip]

* New translations django.po (Chinese Simplified)
[ci skip]
2023-06-21 21:02:14 -07:00
Trenton H
51bdabd766 Bumps version to 1.16.3 2023-06-21 09:49:36 -07:00
Paperless-ngx Bot [bot]
6e6376cf0d New Crowdin updates (#3529)
* New translations messages.xlf (French)
[ci skip]

* New translations messages.xlf (Spanish)
[ci skip]

* New translations messages.xlf (Arabic)
[ci skip]

* New translations messages.xlf (Belarusian)
[ci skip]

* New translations messages.xlf (Catalan)
[ci skip]

* New translations messages.xlf (Czech)
[ci skip]

* New translations messages.xlf (Danish)
[ci skip]

* New translations messages.xlf (German)
[ci skip]

* New translations messages.xlf (Finnish)
[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 (Norwegian)
[ci skip]

* New translations messages.xlf (Polish)
[ci skip]

* New translations messages.xlf (Portuguese)
[ci skip]

* New translations messages.xlf (Russian)
[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 messages.xlf (Indonesian)
[ci skip]

* New translations messages.xlf (Croatian)
[ci skip]

* New translations messages.xlf (Luxembourgish)
[ci skip]

* New translations messages.xlf (Serbian (Latin))
[ci skip]

* New translations messages.xlf (Hungarian)
[ci skip]

* New translations messages.xlf (Romanian)
[ci skip]

* New translations messages.xlf (Afrikaans)
[ci skip]

* New translations messages.xlf (Slovak)
[ci skip]
2023-06-21 08:03:43 -07:00
Trenton H
9bc0f1e367 Ignore errors when trying to copy the original file's stats 2023-06-21 07:54:27 -07:00
Johannes Plunien
9ae703f63e Add test for not moving default thumbnail
See also #3632 and #3631
2023-06-20 20:54:15 +02:00
Johannes Plunien
3a58a5f123 Copy default thumbnail if thumbnail generation fails
Fix #3631
2023-06-20 11:28:46 -07:00
Trenton H
72036a3760 Bumps the version to v1.16.2 2023-06-19 09:07:11 -07:00
Trenton H
7a63bcc817 Updates the httpx timeout to be 30s for all operations 2023-06-19 08:59:51 -07:00
Trenton Holmes
48ab961c68 Adds better error handling/checking around getting content of a document via Tika
Signed-off-by: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2023-06-18 08:39:17 -07:00
Trenton H
f636018603 Bumps version to 1.16.1 2023-06-16 09:56:40 -07:00
Trenton H
0c2ca56b97 Bumps version to 1.16.0 2023-06-15 08:54:51 -07:00
Trenton H
4504668cb2 Let ruff autofix some things from the newest version 2023-06-13 20:15:18 -07:00
Trenton H
2ade33cff4 Sets broker connection retry settings for celery 2023-06-13 20:15:18 -07:00
shamoon
e9911d73e4 Merge pull request #3579 from paperless-ngx/fix/issue-3578
Fix: return user first / last name from backend
2023-06-12 09:01:54 -07:00
Trenton H
ad71d0479e Changes the type of the connection timeout to be an int, not a float 2023-06-12 08:45:57 -07:00
shamoon
7abb927625 Return user first & last name from backend 2023-06-12 08:15:59 -07:00
shamoon
c8266c2156 Fix use of PAPERLESS_DB_TIMEOUT for all db types 2023-06-12 01:31:38 -07:00
Trenton H
27122aa2ea Silence a warning about setting this by setting it 2023-06-08 15:05:36 -07:00
shamoon
b181650939 Merge pull request #3554 from paperless-ngx/fix/issue-3553
Fix: handle mail rules with no filters on some imap servers
2023-06-07 13:00:38 -07:00
Trenton H
e83be2e540 In cases where a temporary file is created or used, copy the original file stats to it 2023-06-07 09:02:19 -07:00
shamoon
9b0fca3f5d Return default 'ALL' mailbox criterias for some imap servers 2023-06-06 20:00:31 -07:00
Trenton H
a12e1b351a Small improvements to coverage 2023-06-06 13:18:13 -07:00
Trenton H
1b3492a01f Rewrites the email parsing to be more clear and concise.
Adds testing to use httpx mocked responses to stand in as a server even offline
2023-06-06 09:05:26 -07:00
Trenton H
36f09c4974 Swapping out the tika and replaces requests with httpx 2023-06-06 09:05:26 -07:00
shamoon
3dac2d9b41 Update index.py 2023-06-04 10:41:45 -07:00
jayme-github
16a0a7c73a Feature: Allow to filter documents by original filename and checksum (#3485)
* Allow to filter documents by original filename and checksum

This adds filters for the original filename and checksum of documents to
be able to to lazy checks if the file is already stored in paperless.

* Add tests for DelayedQuery

* Add checksum and original_filename to whoosh index and DelayedQuery

* Refactored DelayedQuery to reduce duplicate code
* Choose icontains for checksums as whoosh has no exact match query term
* Bumped index version

* Revert whoosh filtering logic to simpler structure, remove redundant tests

Revert "Revert whoosh filtering logic to simpler structure, remove redundant tests"

This reverts commit 86792174bfbc697f42b72c4b39ee9eba483bb425.

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-06-04 10:34:27 -07:00
shamoon
a17eedb715 v1.15.1 2023-06-03 16:06:37 -07:00
shamoon
601fe83c4e v1.15.0 2023-06-03 09:28:02 -07:00
Paperless-ngx Bot [bot]
895c1f1b56 New Crowdin updates (#3405)
* New translations messages.xlf (German)
[ci skip]

* New translations django.po (Hungarian)
[ci skip]
2023-06-03 09:25:53 -07:00
shamoon
e9e1483685 Adds testing for unauthenticated API calls, simplify logging logic 2023-06-03 08:50:54 -07:00
Igor Rzegocki
aaf2ba2ba0 fix broken "failed login" signal 2023-06-03 17:48:17 +02:00
shamoon
2b9d30cb68 Exclude consumer & AnonymousUser users from export manifest 2023-05-30 20:51:25 -07:00
shamoon
f425fe9d62 Merge pull request #3472 from paperless-ngx/fix-disable-date-suggestions
Fix: prevent date suggestion search if disabled
2023-05-30 07:48:03 -07:00
shamoon
5a52957aa9 Merge pull request #3473 from jayme-github/fix_original_filename
Make DocumentSerializer return the original_filename
2023-05-27 12:50:07 -07:00
jayme-github
47c8cf2afa Make DocumentSerializer return the original_filename
Make get_original_file_name return the original filename instead of the
public filename.
2023-05-27 21:35:58 +02:00
shamoon
b294153ef5 prevent date suggestion search if disabled 2023-05-27 10:51:30 -07:00
chrisblech
d5db39d553 consumer.py: read create_date from original file (instead of temp copy)
In line 328, `self.path` is set to a fresh written copy of the source file. This copy has a different timestamp (=now).

When using the source file's timestamp as `create_date`, it makes much more sense to ask for the timestamp from `self.original_path`
2023-05-26 14:16:27 -07:00
Trenton H
f7e6361206 Just in case, catch a sometimes nltk error and return the basic processed content instead 2023-05-24 19:34:49 -07:00