mechanarchy
|
6ad3d45d60
|
Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling (#3861)
* Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling
* Add test for 'doc_pk' filename formatter
|
2023-07-30 08:30:50 -07:00 |
|
Trenton H
|
3bcbd05252
|
Fixes ruff not running isort against the codebase
|
2023-04-26 09:35:27 -07:00 |
|
Trenton Holmes
|
97ff2e126c
|
Adds owner and original name to the possible naming schemes
|
2023-03-12 15:29:58 -07:00 |
|
Trenton Holmes
|
0a81439415
|
No need for an extra import, the object is smart already
|
2022-11-01 08:44:30 -07:00 |
|
Trenton Holmes
|
4fcaa72886
|
Adds more options for the filename formatting
|
2022-11-01 08:44:30 -07:00 |
|
Markus
|
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
|
f3dced3199
|
Fixes Document public filename so it will use the local date instead of UTC date
|
2022-05-13 09:10:36 -07:00 |
|
Trenton Holmes
|
3003bdd507
|
Runs pyupgrade to Python 3.8+ and adds a hook for it
|
2022-05-06 09:04:08 -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 |
|
jonaswinkler
|
5b56fad9c7
|
fix test case
|
2021-02-12 01:31:50 +01:00 |
|
jonaswinkler
|
1d002149dc
|
added ASN to filename format #519
|
2021-02-09 23:03:07 +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
|
c2d8bda83c
|
fix for #511
|
2021-02-08 19:59:14 +01:00 |
|
jonaswinkler
|
431d4fd8e4
|
rework most of the logging
|
2021-02-05 01:10:29 +01:00 |
|
jonaswinkler
|
0927f9d477
|
some bug fixes and tests
|
2021-01-18 14:16:32 +01:00 |
|
jonaswinkler
|
89d6e422f5
|
fix bugs and test cases
|
2021-01-02 15:37:27 +01:00 |
|
jonaswinkler
|
31bea6a361
|
path sanitation
|
2020-12-15 14:11:05 +01:00 |
|
jonaswinkler
|
8cc0336338
|
prevent usage of {tags} directly.
|
2020-12-14 03:01:50 +01:00 |
|
jonaswinkler
|
bad7caa8b9
|
fixes #117
|
2020-12-14 02:46:46 +01:00 |
|
jonaswinkler
|
251fc582e9
|
fixes #130
|
2020-12-14 02:19:53 +01:00 |
|
jonaswinkler
|
9da11f29c7
|
fixes #90
|
2020-12-08 13:54:49 +01:00 |
|
jonaswinkler
|
c1fc8b2dac
|
codestyle
|
2020-12-06 19:04:32 +01:00 |
|
jonaswinkler
|
a079c310b4
|
changes to filename generation, partially addresses #90
|
2020-12-06 16:13:37 +01:00 |
|
jonaswinkler
|
fd3df1ec58
|
some more tests.
|
2020-12-01 14:15:43 +01:00 |
|
jonaswinkler
|
8a5c782425
|
filename handling for archive files.
|
2020-11-30 21:38:42 +01:00 |
|
Jonas Winkler
|
ef6690905e
|
todo note.
|
2020-11-25 14:51:00 +01:00 |
|
Jonas Winkler
|
450fb877f6
|
code cleanup
|
2020-11-21 15:34:00 +01:00 |
|
Jonas Winkler
|
b44f8383e4
|
code cleanup
|
2020-11-21 14:03:45 +01:00 |
|
Jonas Winkler
|
41650f20f4
|
mime type handling
|
2020-11-20 13:31:03 +01:00 |
|
Jonas Winkler
|
727f86c369
|
codestyle
|
2020-11-18 22:41:14 +01:00 |
|
Jonas Winkler
|
82168e1a51
|
add exception handler for invalid filename formats.
|
2020-11-13 20:31:51 +01:00 |
|
Jonas Winkler
|
9956b7ff1b
|
added some more fields for document file naming.
|
2020-11-12 11:12:39 +01:00 |
|
Jonas Winkler
|
adc217e6fd
|
This is how the original filenames were generated. Keep it this way for compatibility.
|
2020-11-12 10:42:18 +01:00 |
|
Jonas Winkler
|
734da28b69
|
fixed the file handling implementation. The feature is cool, but the original implementation had so many small flaws it wasn't even funny.
|
2020-11-11 14:21:33 +01:00 |
|