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
Paperless-ngx Bot [bot]
7492ff9a1d
New translations django.po (Hungarian)
...
[ci skip]
2023-05-09 16:56:46 -07:00
Paperless-ngx Bot [bot]
fa5bd4fb75
New translations django.po (Slovenian)
...
[ci skip]
2023-05-09 05:47:20 -07:00
Paperless-ngx Bot [bot]
6a0f5ae9cb
New translations django.po (Slovenian)
...
[ci skip]
2023-05-09 03:37:38 -07:00
shamoon
2a65235e66
Support owner API query vars
2023-05-08 15:34:14 -07:00
shamoon
b537fde89b
Merge pull request #3336 from paperless-ngx/fix/issue-3332
...
Fix: dont perform mail actions when rule filename filter not met
2023-05-08 14:26:17 -07:00
shamoon
fce481620d
Merge pull request #3345 from paperless-ngx/fix/issue-3341
2023-05-08 07:04:49 -07:00
shamoon
c446a98520
Fix PassUserMixin not properly being used in DocumentViewSet
2023-05-07 17:40:09 -07:00
shamoon
33400cd4f3
Add proper testing for *__id__in testing
2023-05-07 00:04:23 -07:00
shamoon
beafebf4a6
Dont perform mail actions when rule filename filter not met
...
Update mail.py
2023-05-06 23:59:33 -07:00
shamoon
ab78b98d6a
Add "all" property to results
2023-05-06 11:31:47 -07:00
shamoon
bd1f9acc62
Dynamic counts include all pages, hide for "Any"
2023-05-05 01:01:57 -07:00
Paperless-ngx Bot [bot]
ccba2e32e1
New Crowdin updates ( #3298 )
...
* New translations messages.xlf (Spanish)
[ci skip]
* New translations messages.xlf (Dutch)
[ci skip]
* New translations messages.xlf (Portuguese, Brazilian)
[ci skip]
* New translations django.po (Portuguese, Brazilian)
[ci skip]
* New translations messages.xlf (German)
[ci skip]
* New translations messages.xlf (Finnish)
[ci skip]
* New translations messages.xlf (Catalan)
[ci skip]
2023-05-04 07:45:48 -07:00
Trenton H
e5225a3798
Fixes inversion in tagged mail searching
2023-05-04 06:29:41 -07:00