Trenton H
|
aabcc9a1c4
|
Upgrades black to v23, upgrades ruff
|
2023-04-26 09:35:27 -07:00 |
|
Trenton H
|
30655f1b73
|
Fixes ruff not running isort against the codebase
|
2023-04-26 09:35:27 -07:00 |
|
Trenton H
|
d2c02b9102
|
Configures ruff as the one stop linter and resolves warnings it raised
|
2023-04-01 17:03:52 -07:00 |
|
Trenton Holmes
|
b78d87f44a
|
Adds owner and original name to the possible naming schemes
|
2023-03-12 15:29:58 -07:00 |
|
Trenton H
|
ec2b0eb308
|
Changes out the settings and a decent amount of test code to be pathlib compatible
|
2023-03-06 09:16:07 -08:00 |
|
Trenton Holmes
|
acfa7d633d
|
Creates a mix-in for asserting file system states
|
2023-02-20 10:25:21 -08:00 |
|
Trenton H
|
facec31bad
|
Moves the renaming ttask into the serialiser update instead of post_save. Feels more correct
|
2023-02-18 12:19:33 -08:00 |
|
Trenton H
|
aea79a1e9a
|
Moves the renaming triggered from a storage path change to be a background task
|
2023-02-18 12:19:33 -08:00 |
|
Trenton H
|
c5aa4e7cf6
|
When a StoragePath is changed, check if related documents require a rename
|
2023-02-18 12:19:33 -08:00 |
|
Trenton Holmes
|
f8c3f12146
|
Adds more options for the filename formatting
|
2022-11-01 08:44:30 -07:00 |
|
Markus
|
dd3b5c129c
|
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
|
f62193099c
|
Runs pyupgrade to Python 3.8+ and adds a hook for it
|
2022-05-06 09:04:08 -07:00 |
|
Trenton Holmes
|
6635fa5f0d
|
Runs the pre-commit hooks over all the Python files
|
2022-03-11 11:34:28 -08:00 |
|
kpj
|
c56cb25b5f
|
Format Python code with black
|
2022-02-27 15:26:41 +01:00 |
|
Felix Eckhofer
|
985c169d4b
|
Remove stray newline
|
2022-02-20 14:17:06 +01:00 |
|
Felix Eckhofer
|
feed3ddfcf
|
Add PAPERLESS_TRASH_DIR
When set, original files are moved here instead of being permanently
removed when a document is deleted.
|
2021-08-24 12:50:13 +02:00 |
|
jonaswinkler
|
b90a5f625a
|
update file renaming logic
|
2021-02-11 13:47:17 +01:00 |
|
jonaswinkler
|
cbab656f8c
|
added some test cases that I still need to address
|
2021-02-10 23:53:48 +01:00 |
|
jonaswinkler
|
c89be92127
|
added ASN to filename format #519
|
2021-02-09 23:03:07 +01:00 |
|
jonaswinkler
|
866d6f814d
|
update all test cases to address the archive filename changes
|
2021-02-09 19:51:16 +01:00 |
|
jonaswinkler
|
0871128638
|
fix some test cases
|
2021-02-09 00:00:46 +01:00 |
|
jonaswinkler
|
d99c085bff
|
test case
|
2020-12-19 14:48:42 +01:00 |
|
jonaswinkler
|
484481bb53
|
fixing some test case warnings, case insensitive sorting for tags, correspondents and types.
|
2020-12-16 13:49:48 +01:00 |
|
jonaswinkler
|
b012086dd8
|
prevent usage of {tags} directly.
|
2020-12-14 03:01:50 +01:00 |
|
jonaswinkler
|
972c8baae9
|
fixes #117
|
2020-12-14 02:46:46 +01:00 |
|
jonaswinkler
|
bf4370fb81
|
fixes #130
|
2020-12-14 02:19:53 +01:00 |
|
jonaswinkler
|
80e6fa3737
|
removed a janky test case that caused other test cases to fail
|
2020-12-09 22:18:03 +01:00 |
|
jonaswinkler
|
27893efdc9
|
a test that "verifies" that the file renaming lock works and no inconsistencies are created.
|
2020-12-08 21:08:44 +01:00 |
|
jonaswinkler
|
638113864f
|
fixes #90
|
2020-12-08 13:54:49 +01:00 |
|
jonaswinkler
|
655ce81cb6
|
changes to filename generation, partially addresses #90
|
2020-12-06 16:13:37 +01:00 |
|
jonaswinkler
|
1f90d50833
|
some more tests.
|
2020-12-01 14:15:43 +01:00 |
|
jonaswinkler
|
f08d494f1b
|
filename handling for archive files.
|
2020-11-30 21:38:42 +01:00 |
|
jonaswinkler
|
0e9d88ef7d
|
test cases for #67
|
2020-11-29 15:47:56 +01:00 |
|
Jonas Winkler
|
f976a0b4ba
|
mime type handling
|
2020-11-20 13:31:03 +01:00 |
|
Jonas Winkler
|
b195d17158
|
add exception handler for invalid filename formats.
|
2020-11-13 20:31:51 +01:00 |
|
Jonas Winkler
|
eb6805e37e
|
code style fixes
|
2020-11-12 21:09:45 +01:00 |
|
Jonas Winkler
|
ce7bb51df2
|
test database errors.
|
2020-11-11 14:38:41 +01:00 |
|
Jonas Winkler
|
8b8a2af053
|
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 |
|
Jonas Winkler
|
548941b1bb
|
added the filename handling back into the code
|
2020-11-08 13:00:45 +01:00 |
|
Jonas Winkler
|
d3af1e8815
|
unified data folders
|
2020-10-26 00:35:24 +01:00 |
|
Wolf-Bastian Poettner
|
bb8e3ad686
|
Add: ensure original directory is created and removed for each test case
|
2020-04-15 20:17:58 +00:00 |
|
Wolf-Bastian Poettner
|
0a064bfd74
|
Fix: testcase left unaccessible directory
|
2020-04-15 20:16:25 +00:00 |
|
Wolf-Bastian Poettner
|
3365550515
|
Add: more tests
|
2020-04-13 13:32:13 +00:00 |
|
Wolf-Bastian Poettner
|
679fdc407c
|
Add: make unit test add their temporary directory to the deletion list
|
2020-04-13 07:13:54 +00:00 |
|
Wolf-Bastian Poettner
|
e2cc21f5bb
|
Removed MEDIA_ROOT setting override for test that did not require it
|
2020-04-13 07:13:28 +00:00 |
|
Wolf-Bastian Poettner
|
8651c5f3bb
|
Add: Ability to specifically remove temporary directories that have been used by a unit test
|
2020-04-13 07:12:48 +00:00 |
|
Wolf-Bastian Poettner
|
c83f58eec4
|
Remove temporary directories after failed tests
|
2020-04-10 13:12:17 +00:00 |
|
Wolf-Bastian Poettner
|
c028f7dde5
|
Recover from accidentally renamed files
|
2020-04-10 12:54:07 +00:00 |
|
Wolf-Bastian Poettner
|
85a0560d77
|
Allow filename to use tags[KEY] and tags[INDEX]
|
2020-03-28 21:06:17 +00:00 |
|
Wolf-Bastian Poettner
|
4a98808858
|
Ensure, that document root is not deleted
|
2020-03-28 21:04:07 +00:00 |
|