e30676f889
Feature: Migrate import/export to rich progress ( #12260 )
...
* Refactor: migrate exporter/importer from tqdm to PaperlessCommand.track()
Replace direct tqdm usage in document_exporter and document_importer with
the PaperlessCommand base class and its track() method, which is backed by
Rich and handles --no-progress-bar automatically. Also removes the unused
ProgressBarMixin from mixins.py.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
* Refactor: add explicit supports_progress_bar and supports_multiprocessing to all PaperlessCommand subclasses
Each management command now explicitly declares both class attributes
rather than relying on defaults, making intent unambiguous at a glance.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-09 08:59:17 -07:00
Trenton H and GitHub
c30ee1ec03
Feature: Switch progress bar library to rich ( #12169 )
2026-02-26 12:20:21 -08:00
shamoon and GitHub
9c1561adfb
Change: change update content to handle archive disabled ( #8315 )
2024-11-20 20:01:13 +00:00
Trenton H and GitHub
13201dbfff
Ensure all creations of directories create the parents too ( #5711 )
2024-02-10 11:02:40 -08:00
Trenton H and GitHub
e8527ba723
Chore: Cleanup command arguments and standardize process count handling ( #4541 )
...
Cleans up some command help text and adds more control over process count for command with a Pool
2023-11-09 11:46:37 -08:00
Trenton H
6f163111ce
Upgrades black to v23, upgrades ruff
2023-04-26 09:35:27 -07:00
Trenton H
3bcbd05252
Fixes ruff not running isort against the codebase
2023-04-26 09:35:27 -07:00
Trenton Holmes
ab761e837c
Implements a better re-do of OCR by making the document archiver function common. Actually creates updated file now
2022-08-21 18:20:59 -07:00
Trenton Holmes
e8868d7ebf
Entirely removes the optipng, updates ghostscript fall back to also use WebP. Updates the conversion to use a multiprocessing pool
2022-06-11 08:38:49 -07:00
69ef26dab0
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
Trenton Holmes and Trenton Holmes
dd4d903f69
Uses the correct styling for output messages
2022-05-05 07:30:02 -07:00
Trenton Holmes
1771d18a21
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
fc695896dd
Format Python code with black
2022-02-27 15:26:41 +01:00
Stéphane Brunner
dc26c9b7cc
Add --no-progress-bar option to commands
2021-04-18 16:16:11 +02:00
jonaswinkler
6d934da5dd
Revert "associate error messages with documents"
...
This reverts commit aa3d91a3
2021-02-22 11:52:54 +01:00
jonaswinkler
aa3d91a338
associate error messages with documents
2021-02-22 11:38:16 +01:00
jonaswinkler
d64818b46c
fixes #591
2021-02-22 11:11:04 +01:00
jonaswinkler
65b37f61ca
update thumbnail in archiver, since page rotation might have changed
2021-02-21 23:29:52 +01:00
jonaswinkler
dfc23a2b38
bugfix for tika parser
2021-02-21 21:36:43 +01:00
jonaswinkler
ed0b1fe115
better exception logging
2021-02-11 22:16:41 +01:00
jonaswinkler
fca8576d80
archive filenames are now stored in the database and checked for collisions just as original filenames as well, unified method for archive version checking
2021-02-09 19:46:19 +01:00
jonaswinkler
431d4fd8e4
rework most of the logging
2021-02-05 01:10:29 +01:00
jonaswinkler
0d3ab3aaf7
remove lots of unused code
2021-02-04 23:40:53 +01:00
jonaswinkler
72616def4f
locking for the document archiver
2021-01-18 15:18:03 +01:00
jonaswinkler
316ee72177
bugfix
2020-12-05 01:21:16 +01:00
jonaswinkler
f88cf69173
bugfix
2020-12-05 00:37:05 +01:00
jonaswinkler
72a4ff0fca
proper document archiver with progress bar.
2020-12-03 01:04:52 +01:00
jonaswinkler
2f7396e2aa
code style.
2020-11-29 12:37:22 +01:00
jonaswinkler
24767f62c7
added checksums for archived documents.
2020-11-29 12:31:26 +01:00
jonaswinkler
074b682312
added a simple document archiver that produces archived versions of all originals.
2020-11-28 11:49:07 +01:00