Jayden and GitHub
879cd4a30a
Enhancement: Add --url argument to document_fuzzy_match to improve output ( #13123 )
...
Added a new --url argument to specify the base URL of the Paperless instance, allowing matched documents to be displayed as clickable links. Updated the logic to fetch document titles based on the presence of the base URL.
2026-08-12 08:23:05 -07:00
2fd1a1cf3a
Feature: Document fuzzy match improvements ( #12579 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-15 20:59:43 +00:00
Trenton H and GitHub
1caa3eb8aa
Chore: Disables the system checks for management commands in tests and when unnecessary ( #12332 )
2026-03-16 15:10:35 +00:00
0bc032a67d
Development: improve test portability ( #12187 )
...
* Fix: improve test portability
* Make settings always consistent
* Make a few more tests deterministic wrt settings
* Dont pollute settings for this one
* Fix timezone issue with mail parser
* Update test_parser.py
* Uh, I guess OCR gives variants for this
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-02-27 23:24:11 +00:00
Trenton H and GitHub
c30ee1ec03
Feature: Switch progress bar library to rich ( #12169 )
2026-02-26 12:20:21 -08:00
Sebastian Steinbeißer and GitHub
3b5ffbf9fa
Chore(mypy): Annotate None returns for typing improvements ( #11213 )
2026-02-02 08:44:12 -08:00
36d45ecf4d
Development: fix unreachable code around assertRaises blocks ( #11365 )
...
* tests: general cleanup and fixes for runnning under docker
This now allows tests to be run under a locally built or production
docker image with something like:
`docker run --rm -v $PWD:/usr/src/paperless --entrypoint=bash paperlessngx/paperless-ngx:latest -c "uv run pytest"`
Specific fixes:
- fix unreachable code around `assertRaises` blocks
- fix `assertInt` typos
- fix `str(e)` vs `str(e.exception)` issues
- skip permission-based checks when root (in a docker container)
- catch `OSError` problems when instantiating `INotify` and
skip inotify-based tests when it's unavailable.
* Reverts most files to dev while keeping the exception assert fixes
---------
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com >
2025-11-18 18:28:43 +00:00
shamoon and GitHub
6119c215e7
Fix: skip fuzzy matching for empty document content ( #10914 )
2025-09-22 23:30:24 -07:00
edb8c06e2a
Chore(deps): Bump the django group across 1 directory with 9 updates ( #10538 )
...
* Chore(deps): Bump the django group across 1 directory with 9 updates
Bumps the django group with 9 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [django](https://github.com/django/django ) | `5.1.8` | `5.2.5` |
| [django-auditlog](https://github.com/jazzband/django-auditlog ) | `3.1.2` | `3.2.1` |
| [django-guardian](https://github.com/django-guardian/django-guardian ) | `2.4.0` | `3.0.3` |
| [django-multiselectfield](https://github.com/goinnn/django-multiselectfield ) | `0.1.13` | `1.0.1` |
| [django-soft-delete](https://github.com/san4ezy/django_softdelete ) | `1.0.18` | `1.0.19` |
| [djangorestframework](https://github.com/encode/django-rest-framework ) | `3.16.0` | `3.16.1` |
| [djangorestframework-guardian](https://github.com/rpkilby/django-rest-framework-guardian ) | `0.3.0` | `0.4.0` |
| [drf-spectacular-sidecar](https://github.com/tfranzel/drf-spectacular-sidecar ) | `2025.4.1` | `2025.8.1` |
| [pytest-django](https://github.com/pytest-dev/pytest-django ) | `4.10.0` | `4.11.1` |
Updates `django` from 5.1.8 to 5.2.5
- [Commits](https://github.com/django/django/compare/5.1.8...5.2.5 )
Updates `django-auditlog` from 3.1.2 to 3.2.1
- [Release notes](https://github.com/jazzband/django-auditlog/releases )
- [Changelog](https://github.com/jazzband/django-auditlog/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/django-auditlog/compare/v3.1.2...v3.2.1 )
Updates `django-guardian` from 2.4.0 to 3.0.3
- [Release notes](https://github.com/django-guardian/django-guardian/releases )
- [Commits](https://github.com/django-guardian/django-guardian/compare/v2.4.0...3.0.3 )
Updates `django-multiselectfield` from 0.1.13 to 1.0.1
- [Release notes](https://github.com/goinnn/django-multiselectfield/releases )
- [Changelog](https://github.com/goinnn/django-multiselectfield/blob/master/CHANGES.rst )
- [Commits](https://github.com/goinnn/django-multiselectfield/compare/v0.1.13...v1.0.1 )
Updates `django-soft-delete` from 1.0.18 to 1.0.19
- [Changelog](https://github.com/san4ezy/django_softdelete/blob/master/CHANGELOG.md )
- [Commits](https://github.com/san4ezy/django_softdelete/commits )
Updates `djangorestframework` from 3.16.0 to 3.16.1
- [Release notes](https://github.com/encode/django-rest-framework/releases )
- [Commits](https://github.com/encode/django-rest-framework/compare/3.16.0...3.16.1 )
Updates `djangorestframework-guardian` from 0.3.0 to 0.4.0
- [Changelog](https://github.com/rpkilby/django-rest-framework-guardian/blob/master/CHANGELOG )
- [Commits](https://github.com/rpkilby/django-rest-framework-guardian/compare/0.3.0...0.4.0 )
Updates `drf-spectacular-sidecar` from 2025.4.1 to 2025.8.1
- [Commits](https://github.com/tfranzel/drf-spectacular-sidecar/compare/2025.4.1...2025.8.1 )
Updates `pytest-django` from 4.10.0 to 4.11.1
- [Release notes](https://github.com/pytest-dev/pytest-django/releases )
- [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.10.0...v4.11.1 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 5.2.5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: django
- dependency-name: django-auditlog
dependency-version: 3.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: django
- dependency-name: django-guardian
dependency-version: 3.0.3
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: django
- dependency-name: django-multiselectfield
dependency-version: 1.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: django
- dependency-name: django-soft-delete
dependency-version: 1.0.19
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: django
- dependency-name: djangorestframework
dependency-version: 3.16.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: django
- dependency-name: djangorestframework-guardian
dependency-version: 0.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: django
- dependency-name: drf-spectacular-sidecar
dependency-version: 2025.8.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: django
- dependency-name: pytest-django
dependency-version: 4.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: django
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix log matches related to newlines, add newlines to stdout.writelines
* Fix disable api remote auth test, Django 5.2 no longer uses process_request
* Remove postgres version check
* Update administration.md
* Handle django-multiselectfield v1.0 changes
* Update administration.md
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2025-08-11 13:45:14 -07:00
shamoon
0b079f57ed
Partially Revert "Chore(deps): Bump the small-changes group across 1 directory with 6 updates ( #9921 )"
...
This partially reverts commit 1fe166e014 .
2025-05-19 12:20:05 -07:00
1fe166e014
Chore(deps): Bump the small-changes group across 1 directory with 6 updates ( #9921 )
...
* Chore(deps): Bump the small-changes group across 1 directory with 6 updates
Bumps the small-changes group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler ) | `0.9.25` | `0.9.26` |
| [django](https://github.com/django/django ) | `5.1.8` | `5.2.1` |
| [django-auditlog](https://github.com/jazzband/django-auditlog ) | `3.0.0` | `3.1.2` |
| [drf-spectacular-sidecar](https://github.com/tfranzel/drf-spectacular-sidecar ) | `2025.4.1` | `2025.5.1` |
| [ocrmypdf](https://github.com/ocrmypdf/OCRmyPDF ) | `16.10.0` | `16.10.1` |
| [setproctitle](https://github.com/dvarrazzo/py-setproctitle ) | `1.3.5` | `1.3.6` |
Updates `concurrent-log-handler` from 0.9.25 to 0.9.26
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases )
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Preston-Landers/concurrent-log-handler/compare/0.9.25...0.9.26 )
Updates `django` from 5.1.8 to 5.2.1
- [Commits](https://github.com/django/django/compare/5.1.8...5.2.1 )
Updates `django-auditlog` from 3.0.0 to 3.1.2
- [Release notes](https://github.com/jazzband/django-auditlog/releases )
- [Changelog](https://github.com/jazzband/django-auditlog/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jazzband/django-auditlog/compare/v3.0.0...v3.1.2 )
Updates `drf-spectacular-sidecar` from 2025.4.1 to 2025.5.1
- [Commits](https://github.com/tfranzel/drf-spectacular-sidecar/compare/2025.4.1...2025.5.1 )
Updates `ocrmypdf` from 16.10.0 to 16.10.1
- [Release notes](https://github.com/ocrmypdf/OCRmyPDF/releases )
- [Changelog](https://github.com/ocrmypdf/OCRmyPDF/blob/main/docs/release_notes.md )
- [Commits](https://github.com/ocrmypdf/OCRmyPDF/compare/v16.10.0...v16.10.1 )
Updates `setproctitle` from 1.3.5 to 1.3.6
- [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst )
- [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.5...version-1.3.6 )
---
updated-dependencies:
- dependency-name: concurrent-log-handler
dependency-version: 0.9.26
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: django
dependency-version: 5.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: django-auditlog
dependency-version: 3.1.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: drf-spectacular-sidecar
dependency-version: 2025.5.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: ocrmypdf
dependency-version: 16.10.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: setproctitle
dependency-version: 1.3.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix log matches related to newlines, add newlines to stdout.writelines
* Fix disable api remote auth test, Django 5.2 no longer uses process_request
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2025-05-19 11:03:02 -07:00
Trenton H and GitHub
4813a7bc70
Chore: Adds additional rules for Ruff linter ( #5660 )
2024-02-05 21:46:59 +00:00
Trenton H and GitHub
7289c4ea56
Feature: Allow deletion of documents via the fuzzy matching command ( #4957 )
...
* Adds new flag allowing deletion of one of a document pair which is over the match ratio
* Documents the new command option
2023-12-17 18:37:38 -08:00
Trenton H
7aa72f768f
Uses regex matching against the messages, as ordering and exact matched value don't matter, just the count of matches
2023-09-12 08:59:09 -07:00
Trenton H
81b9f2d4e0
Cleans up the docs, adds validation of the process count, include the test descriptions
2023-09-12 08:17:12 -07:00
Trenton H
a03a745295
Adds multiprocessing to the fuzzy matching for a speedup
2023-09-12 08:17:12 -07:00
shamoon and Trenton H
ce8bf90663
Add progress bar to document_fuzzy_match
2023-09-12 08:17:12 -07:00
Trenton Holmes
e2ae919a84
Implements a new command for fuzzy matching document content and reporting potential duplicates
2023-09-12 08:17:12 -07:00