120 Commits

Author SHA1 Message Date
Michael Shamoon
681fcf1b1b allow PaperlessTask.started null 2022-06-13 16:21:37 -07:00
Michael Shamoon
44782ee2da Use pre_execute signal to specify started vs queued 2022-06-06 01:39:45 -07:00
Michael Shamoon
401663eec1 Update 1021_paperlesstask.py 2022-05-26 21:58:02 -07:00
Michael Shamoon
09f637a4cb Better tasks api endpoint 2022-05-26 21:09:05 -07:00
Michael Shamoon
90cd6950b2 update post_save signal receiver 2022-05-26 21:09:04 -07:00
Michael Shamoon
60ddd4a529 PaperlessTask and consumption_tasks endpoint 2022-05-26 21:05:24 -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
Michael Shamoon
67b3473365 Refactor to UiSettings 2022-05-17 11:11:39 -07:00
Michael Shamoon
e0efcdaa01 frontend settings db migration 2022-05-17 11:11:38 -07:00
Trenton Holmes
94b55d11ee Increases SavedViewFilterRule value to the maximum length 2022-04-08 08:55:58 -07:00
Felix Eckhofer
d142523d08 Add missing migration for savedviewfilterrule
Change introduced in d7cefabe98398f3916a5db6c33027c2d77d12b59.
2022-03-17 13:19:26 +01:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
d3aa1eb66d fix migration 2021-04-05 00:16:50 +02:00
jonaswinkler
19a7aa8fb6 Merge branch 'dev' into feature-unified-search 2021-04-04 20:41:29 +02:00
jonaswinkler
e14ce435de add migration to fix null characters in document contents 2021-04-04 20:41:08 +02:00
jonaswinkler
b28c3b3e1f add migration 2021-03-17 22:33:00 +01:00
jonaswinkler
f4812cd70c filter by title or title+content fixes #636 2021-02-28 16:19:41 +01:00
jonaswinkler
c1ae9f643b bugfixes 2021-02-25 22:16:31 +01:00
jonaswinkler
650edcf0db adjust migration 2021-02-24 23:52:25 +01:00
jonaswinkler
e9215b278c Merge branch 'dev' into feature-autocolor 2021-02-24 23:10:59 +01:00
jonaswinkler
07a862e300 more testing of the migration 2021-02-10 16:58:55 +01:00
jonaswinkler
2bd0bd84ff retries for archive generation 2021-02-10 14:50:20 +01:00
jonaswinkler
3293369f84 better logging for the migration 2021-02-10 00:52:01 +01:00
jonaswinkler
ed740f74f0 fix migration and more tests 2021-02-09 20:54:02 +01:00
jonaswinkler
7cdc867307 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
bd47582b2d validate move before migration 2021-02-09 00:13:13 +01:00
jonaswinkler
016a80ab88 only move unaffected files, regenerate affected files 2021-02-08 23:54:07 +01:00
jonaswinkler
dd5e48ced9 only move files if necessary 2021-02-08 22:49:01 +01:00
jonaswinkler
e1376cbf40 migration for #511 2021-02-08 20:59:14 +01:00
jonaswinkler
e1e19685b9 add missing migrations 2021-01-02 01:21:44 +01:00
jonaswinkler
7a8a6be123 fix #238 2021-01-01 23:09:10 +01:00
jonaswinkler
fe616c2c5c fix & test a migration 2020-12-19 21:52:58 +01:00
jonaswinkler
5e156d8124 fix up the migration for encrypted documents and a couple other associated issues. 2020-12-16 21:53:11 +01:00
jonaswinkler
1410bc4ce6 fix up the migration for encrypted documents. 2020-12-16 21:08:41 +01:00
jonaswinkler
56585d2645 these changes shouldn't have been commited at all. my bad. 2020-12-16 21:08:03 +01:00
jonaswinkler
771ff45999 fixed some issues with the ordering, test cases and migrations. 2020-12-16 18:40:19 +01:00
jonaswinkler
d4fba4a521 add backend support for saved views 2020-12-12 15:46:56 +01:00
jonaswinkler
ba7bf9b2d2 removed slugs entirely, since their only purpose was purely cosmetic anyway. 2020-12-09 00:04:37 +01:00
jayme-github
98787f5f4d Add automatic coloring of tags
Please see this as proposal on how to implement automatic/random colors
for tags while keeping the current set of hard coded colors in place (at
least in the frontend).

Bear with me as I have even less Angular knowledge than Django and just
tried to get away with as few changes as possible. :-) AIUI you want to
change to a color picking system anyways in the future, which could also
play well with this.

fixes #51
2020-12-04 10:05:47 +01:00
jonaswinkler
96dc4c1daa added checksums for archived documents. 2020-11-29 12:31:26 +01:00
jonaswinkler
984da65b7e refrain from creating the index as part of the migrations, messes with the test cases. 2020-11-27 13:56:07 +01:00
Jonas Winkler
34de0cf858 added a simple sanity checker. 2020-11-25 16:04:58 +01:00
Jonas Winkler
4f7e655425 reversible migrations. 2020-11-22 11:41:13 +01:00
Jonas Winkler
408c2cdd70 making the migration reversible 2020-11-20 18:45:37 +01:00
Jonas Winkler
f976a0b4ba mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
8c40c54421 codestyle 2020-11-18 22:41:14 +01:00
Jonas Winkler
d99b4623f8 first implementation of the mail rework 2020-11-15 23:56:22 +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
e8d4696c71 remove only automatically created schedules (almost) 2020-11-11 14:13:54 +01:00
Jonas Winkler
d3e7c8ff4e added a task scheduler for recurring tasks 2020-11-09 20:29:10 +01:00