2676 Commits

Author SHA1 Message Date
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
Trenton H
bad8d304cb Improves the logging mixin and allows it to be typed better 2023-05-23 17:16:39 -07:00
Kim Oliver Drechsel
e016aa12c1 Add SSL Support for MariaDB (#3444)
* Add ssl options for mariadb

* Add ssl mode for mariadb

Add ssl mode as documented in https://mysqlclient.readthedocs.io/user_guide.html#functions-and-attributes

* run linting over settings.py

* Add docs for SSL mode with MariaDB

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 11:46:29 -07:00
Trenton H
1396f25419 Updates handling of barcodes to encapsulate logic, moving it out of tasks and into barcodes 2023-05-22 06:52:31 -07:00
shamoon
7c34c8a8d2 v1.14.5 2023-05-15 08:08:59 -07:00
shamoon
afd2e8a80c Merge pull request #3352 from paperless-ngx/l10n_dev
New Crowdin updates
2023-05-15 08:07:49 -07:00
Trenton Holmes
2f12206911 Changes the error mode to replace instead of ignore, to better highlight where a problem happened 2023-05-13 09:29:18 -07:00
Trenton H
6722b6e31c Adds better handling for files with invalid utf8 content 2023-05-13 09:29:18 -07:00
Paperless-ngx Bot [bot]
02902d6911 New translations django.po (Polish)
[ci skip]
2023-05-13 04:51:23 -07:00
Paperless-ngx Bot [bot]
2c8fc6d876 New translations django.po (Polish)
[ci skip]
2023-05-13 03:37:55 -07:00
shamoon
5a579ccf1c Merge pull request #3359 from paperless-ngx/feature-fix-autocomplete-respect-perms
Fix: respect permissions for autocomplete suggestions
2023-05-12 13:35:45 -07:00
shamoon
f7a52698c9 Update some version strings 2023-05-11 15:06:17 -07:00
shamoon
4a0d6c733d Respect permissions for autocomplete suggestions 2023-05-11 14:43:25 -07:00
Trenton H
ee99c30d49 Transition to new library for finding IPs from the Django request 2023-05-11 13:51:04 -07:00
shamoon
da8021045b Resolve CodeQL warnings 2023-05-11 12:56:01 -07:00
shamoon
0cfb436e57 Merge pull request #3309 from paperless-ngx/feature-owner-filtering
Feature: owner filtering
2023-05-11 10:05:51 -07:00
Paperless-ngx Bot [bot]
70657abb26 New translations django.po (Portuguese, Brazilian)
[ci skip]
2023-05-10 19:17:32 -07:00
shamoon
cf7c979bb1 Merge pull request #3329 from paperless-ngx/feature-full-dynamic-counts
Enhancement: dynamic counts include all pages, hide for "Any"
2023-05-10 11:15:47 -07:00
shamoon
e54e552aad Merge pull request #3347 from paperless-ngx/fix/issue-3346
Fix: default frontend to current owner, allow setting no owner on create
2023-05-10 08:18:08 -07:00
shamoon
4443ba9d5e Default frontend to current owner, allow setting no owner on create 2023-05-09 19:53:34 -07:00
shamoon
ae0ae3d8db Apply code suggestions
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-05-09 19:48:19 -07:00
shamoon
4d84a0a87b Re-work filter editor, bulk editor & reset buttons 2023-05-09 19:48:04 -07:00